Commit 31b7ccde authored by schmitting's avatar schmitting
Browse files

CPG and ANM groups done

parent 349adbe8
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -902,6 +902,9 @@ const Bit7 c_HLC_AudioVisual := '1100010'B;
/* Value 'Call is not end-to-end ISDN' of bit field element 'Progress description' in ISDN IE 'Progress Indicator' */
const Bit7 c_PI_1 := '0000001'B;

/* Value 'Destination address is non-ISDN' of bit field element 'Progress description' in ISDN IE 'Progress Indicator' */
const Bit7 c_PI_2 := '0000010'B;

/* Value 'Origination address is non-ISDN' of bit field element 'Progress description' in ISDN IE 'Progress Indicator' */
const Bit7 c_PI_3 := '0000011'B;

+130 −104
Original line number Diff line number Diff line
@@ -66,7 +66,7 @@ template ACM_MSG m_ACM_OtherParameters
/* TX template for Address complete message (ACM) with BCI, GNI, UUI, CCPI, PCI and unknown parameter parameterized and without other optional parameters.*/
{
 msgType := '00000110'B,                                 /* Message Type '00000110'B */
 backwardCallIndicators := m_BCI_Def,                    /* Backward call indicators, F, len=2 */
 backwardCallIndicators := p_BCI,                        /* Backward call indicators, F, len=2 */
 pOptional := '00000001'B,                               /* Pointer to optional parameters. */
 optionalParameters := m_ACM_USED_OPTIONAL_PARAMS(omit, p_UUIF, omit, p_GNI, omit, omit, p_PCI, omit, omit, p_CCPI, p_UNKNOWN), /* SET: optional parameters of Address complete message (ACM) */
 endOfOptionalParameters := '00000000'B                  /* End of optional parameters, O, len=1 */
@@ -180,53 +180,59 @@ template ANM_MSG m_ANM_MSG_Def :=
{
 msgType := '00001001'B,         /* Message Type '00001001'B */
 pOptional := '00000000'B,       /* Pointer to optional parameters. */
 optionalParameters := m_ANM_USED_OPTIONAL_PARAMS(omit, omit, omit), /* SET: optional parameters of Answer message (ANM) */
 optionalParameters := omit,     /* SET: optional parameters of Answer message (ANM) */
 endOfOptionalParameters := omit /* End of optional parameters, O, len=1 */
}

template ANM_MSG mw_ANM_MSG_Def :=
/* RX template for Answer message (ANM) with 'any'-values */
template ANM_MSG m_ANM_BasicCall
					(template ATP_PAR_tlv p_ATP,
					 template TMU_PAR_tlv p_TMU) := 
/* TX template for Answer message (ANM) with Access transport and Transmission medium used parameterized, and without other optional parameters.*/
{
 msgType := '00001001'B,                                /* Message Type '00001001'B */
 pOptional := ?,                                        /* Pointer to optional parameters. */
 optionalParameters := mw_ANM_OPTIONAL_PARAMS_any,      /* SET: optional parameters of Answer message (ANM) */
 endOfOptionalParameters := '00000000'B ifpresent       /* End of optional parameters, O, len=1 */
 pOptional := '00000001'B,                              /* Pointer to optional parameters. */
 optionalParameters := m_ANM_USED_OPTIONAL_PARAMS(omit, omit, p_ATP, omit, p_TMU, omit), /* SET: optional parameters of Answer message (ANM) */
 endOfOptionalParameters := '00000000'B                 /* End of optional parameters, O, len=1 */
}

template ANM_MSG mw_ANM_MSG_anyOpt :=
/* RX template for Answer message (ANS) with 'any'-optional parameters */
template ANM_MSG m_ANM_COLP
					(template CPN_PAR_tlv p_CPN,
					 template GNU_PAR_tlv p_GNU) := 
/* TX template for Answer message (ANM) with Coonected number and Generic number parameterized, and without other optional parameters.*/
{
 msgType := '00001001'B,                                /* Message Type '00001001'B */
 pOptional := ?,                                        /* Pointer to optional parameters. */
 optionalParameters := mw_ANM_OPTIONAL_PARAMS_any,      /* SET: optional parameters of Answer message (ANS) */
 endOfOptionalParameters := '00000000'B ifpresent       /* End of optional parameters, O, len=1 */
 pOptional := '00000001'B,                              /* Pointer to optional parameters. */
 optionalParameters := m_ANM_USED_OPTIONAL_PARAMS(omit, p_CPN, omit, p_GNU, omit, omit), /* SET: optional parameters of Answer message (ANM) */
 endOfOptionalParameters := '00000000'B                 /* End of optional parameters, O, len=1 */
}

template ANM_MSG m_ANM_RDNR(template RNS_PAR_tlv p_RDNR) := 
/* TX template for Answer message (ANM) with Redirection number restriction parameterized, and without other optional parameters.*/
template ANM_MSG m_ANM_OtherParameters
					(template UUIF_PAR_tlv p_UUIF,
					 template RNS_PAR_tlv p_RNS) := 
/* TX template for Answer message (ANM) with User-to-user information and Redirection number restriction parameterized, and without other optional parameters.*/
{
 msgType := '00001001'B,                                /* Message Type '00001001'B */
 pOptional := '00000001'B,                              /* Pointer to optional parameters. */
 optionalParameters := m_ANM_USED_OPTIONAL_PARAMS(omit, omit, p_RDNR), /* SET: optional parameters of Answer message (ANM) */
 optionalParameters := m_ANM_USED_OPTIONAL_PARAMS(p_UUIF, omit, omit, omit, omit, p_RNS), /* SET: optional parameters of Answer message (ANM) */
 endOfOptionalParameters := '00000000'B                 /* End of optional parameters, O, len=1 */
}

template ANM_MSG m_ANM_AT_CNSU(template ATP_PAR_tlv p_AT_CNSU) := 
/* TX template for Answer message (ANM) with Access transport/Connected sub-address parameterized, and without other optional parameters.*/
template ANM_MSG mw_ANM_MSG_Def :=
/* RX template for Answer message (ANM) with 'any'-values */
{
 msgType := '00001001'B,                                /* Message Type '00001001'B */
 pOptional := '00000001'B,                              /* Pointer to optional parameters. */
 optionalParameters := m_ANM_USED_OPTIONAL_PARAMS(omit, p_AT_CNSU, omit), /* SET: optional parameters of Answer message (ANM) */
 endOfOptionalParameters := '00000000'B                 /* End of optional parameters, O, len=1 */
 pOptional := ?,                                        /* Pointer to optional parameters. */
 optionalParameters := mw_ANM_OPTIONAL_PARAMS_any,      /* SET: optional parameters of Answer message (ANM) */
 endOfOptionalParameters := '00000000'B ifpresent       /* End of optional parameters, O, len=1 */
}

template ANM_MSG m_ANM_CNN(template CPN_PAR_tlv p_CNN) := 
/* TX template for Answer message (ANM) with Connected number parameterized, and without other optional parameters.*/
template ANM_MSG mw_ANM_MSG_anyOpt :=
/* RX template for Answer message (ANS) with 'any'-optional parameters */
{
 msgType := '00001001'B,                                /* Message Type '00001001'B */
 pOptional := '00000001'B,                              /* Pointer to optional parameters. */
 optionalParameters := m_ANM_USED_OPTIONAL_PARAMS(p_CNN, omit, omit), /* SET: optional parameters of Answer message (ANM) */
 endOfOptionalParameters := '00000000'B                 /* End of optional parameters, O, len=1 */
 pOptional := ?,                                        /* Pointer to optional parameters. */
 optionalParameters := mw_ANM_OPTIONAL_PARAMS_any,      /* SET: optional parameters of Answer message (ANS) */
 endOfOptionalParameters := '00000000'B ifpresent       /* End of optional parameters, O, len=1 */
}
} /* end group ANM */

@@ -306,9 +312,19 @@ template CON_MSG m_CON_Def :=
/* TX template for Connect message (CON) with default BCI, and no optional parameters except Call History Information.*/
{
 msgType := '00000111'B,                                             /* Message Type '00000111'B */
 backwardCallIndicators := m_BCI_Def,                    /* Backward call indicators, F, len=2 */
 backwardCallIndicators := m_BCI_cpStatInd(c_BCI_cldPstatInd_noInd), /* Backward call indicators, F, len=2 */
 pOptional := '00000000'B,                                           /* Pointer to optional parameters. */
 optionalParameters := omit,                                         /* SET: optional parameters of Connect message (CON) */
 endOfOptionalParameters := omit                                     /* End of optional parameters, O, len=1 */
}

template CON_MSG m_CON_BasicCall(template ATP_PAR_tlv p_ATP, template TMU_PAR_tlv p_TMU) :=
/* TX template for Connect message (CON) with default BCI, and no optional parameters except Call History Information.*/
{
 msgType := '00000111'B,                                             /* Message Type '00000111'B */
 backwardCallIndicators := m_BCI_cpStatInd(c_BCI_cldPstatInd_noInd), /* Backward call indicators, F, len=2 */
 pOptional := '00000001'B,                                           /* Pointer to optional parameters. */
 optionalParameters := m_CON_USED_OPTIONAL_PARAMS,       /* SET: optional parameters of Connect message (CON) */
 optionalParameters := m_CON_USED_OPTIONAL_PARAMS(p_ATP,p_TMU),      /* SET: optional parameters of Connect message (CON) */
 endOfOptionalParameters := '00000000'B                              /* End of optional parameters, O, len=1 */
}

@@ -352,6 +368,87 @@ template COT_MSG m_COT_MSG(template Bit1 p_cti) :=
}
} /* end group COT */

group CPG {
template CPG_MSG m_CPG_EIF(Bit7 p_eventInd) :=
/* TX template for Call progress message (CPG) with event information parameterized and without optional parameters. */
{
 msgType := '00101100'B,                /* Message Type '00101100'B */
 eventInformation := m_EIF(p_eventInd), /* Event information, F, len=1 */
 pOptional := '00000000'B,              /* Pointer to optional parameters. */
 optionalParameters := omit,            /* SET: optional parameters of Call progress message (CPG) */
 endOfOptionalParameters := omit        /* End of optional parameters, O, len=1 */
}

template CPG_MSG m_CPG_BasicCall
					(template EIF_PAR_v p_EIF, 
					 template BCI_PAR_tlv p_BCI, 
					 template OBCI_PAR_tlv p_OBCI, 
					 template ATP_PAR_tlv p_ATP, 
					 template TMU_PAR_tlv p_TMU) :=
/* TX template for Call progress message (CPG) with Event information and with Backward call indicators, Optional backward call indicators, Access transport and Transmission medium used parameters*/
{
 msgType := '00101100'B,                                /* Message Type '00101100'B */
 eventInformation := p_EIF,                             /* Event information, F, len=1 */
 pOptional := '00000001'B,                              /* Pointer to optional parameters. */
 optionalParameters := m_CPG_USED_OPTIONAL_PARAMS(p_BCI, p_OBCI, p_ATP, omit, omit, p_TMU, omit, omit), /* SET: optional parameters of Call progress message (CPG) */
 endOfOptionalParameters := '00000000'B                 /* End of optional parameters, O, len=1 */
}

template CPG_MSG m_CPG_GNI(template GNI_PAR_tlv p_GNI) :=
/* TX template for Call progress message (CPG) with event information = 'progress' and with Generic notification. */
{
 msgType := '00101100'B,                                /* Message Type '00101100'B */
 eventInformation := m_EIF(c_EVI_eventInd_progr),       /* Event information, F, len=1 */
 pOptional := '00000001'B,                              /* Pointer to optional parameters. */
 optionalParameters := m_CPG_USED_OPTIONAL_PARAMS(omit, omit, omit, omit, p_GNI, omit, omit, omit), /* SET: optional parameters of Call progress message (CPG) */
 endOfOptionalParameters := '00000000'B                 /* End of optional parameters, O, len=1 */
}

template CPG_MSG m_CPG_CDIV
					(template RNN_PAR_tlv p_RNN,
					 template GNI_PAR_tlv p_GNI, 
					 template CDI_PAR_tlv p_CDI, 
					 template RNS_PAR_tlv p_RNS) :=
/* TX template for Call progress message (CPG) with event information = 'progress' and with Redirection number, call diversion information, redirection number restriction and generic notification set to "Call is diverting"*/
{
 msgType := '00101100'B,                                /* Message Type '00101100'B */
 eventInformation := m_EIF(c_EVI_eventInd_progr),       /* Event information, F, len=1 */
 pOptional := '00000001'B,                              /* Pointer to optional parameters. */
 optionalParameters := m_CPG_USED_OPTIONAL_PARAMS(omit, omit, omit, p_RNN, p_GNI, omit, p_CDI, p_RNS), /* SET: optional parameters of Call progress message (CPG) */
 endOfOptionalParameters := '00000000'B                 /* End of optional parameters, O, len=1 */
}

template CPG_MSG mw_CPG_MSG_anyOpt(template EIF_PAR_v p_EIF) :=
/* RX template for Call progress message (CPG) with 'any'-optional parameters */
{
 msgType := '00101100'B,                                /* Message Type '00101100'B */
 eventInformation := p_EIF,                             /* Event information, F, len=1 */
 pOptional := ?,                                        /* Pointer to optional parameters. */
 optionalParameters := mw_CPG_OPTIONAL_PARAMS_any,      /* SET: optional parameters of Call progress message (CPG) */
 endOfOptionalParameters := '00000000'B ifpresent       /* End of optional parameters, O, len=1 */
}

template CPG_MSG mw_CPG_EVI(Bit7 p_eventInd) :=
/* RX template for Call progress message (CPG) with event information parameterized, and with 'any' optional parameters. */
{
 msgType := '00101100'B,                                /* Message Type '00101100'B */
 eventInformation := mw_EIF(p_eventInd),                /* Event information, F, len=1 */
 pOptional := ?,                                        /* Pointer to optional parameters. */
 optionalParameters := mw_CPG_OPTIONAL_PARAMS_any,      /* SET: optional parameters of Address complete message (ACM) */
 endOfOptionalParameters := '00000000'B ifpresent       /* End of optional parameters, O, len=1 */
}

template CPG_MSG mw_CPG_EVI_GNI(Bit7 p_eventInd, template GNI_PAR_tlv p_GNI) :=
/* RX template for Call progress message (CPG) with event information and Generic notification indicator parameterized, and with 'any' other optional parameters. */
{
 msgType := '00101100'B,                                /* Message Type '00101100'B */
 eventInformation := mw_EIF(p_eventInd),          /* Event information, F, len=1 */
 pOptional := '00000001'B,                              /* Pointer to optional parameters. */
 optionalParameters := mw_CPG_USED_OPTIONAL_PARAMS(p_GNI), /* SET: optional parameters of Call progress message (CPG) */
 endOfOptionalParameters := '00000000'B                 /* End of optional parameters, O, len=1 */
}
} /* end group CPG */

group FAC {
template FAC_MSG mw_FAC_MSG_anyOpt :=
/* RX template for Facility message (FAC) with 'any'-optional parameters */
@@ -432,77 +529,6 @@ template FRJ_MSG mw_FRJ_UUI(template UUID_PAR_tlv p_UUI) :=
}
} /* end group FRJ */

group CPG {
template CPG_MSG m_CPG_UKNP(template UNKNOWN_PAR_tlv p_UKNP) :=
/* TX template for Call progress message (CPG) with default event information, Parameter compatibility information, with an unknown parameter and without other optional parameters. */
{
 msgType := '00101100'B,                                /* Message Type '00101100'B */
 eventInformation := m_EIF_Def,                         /* Event information, F, len=1 */
 pOptional := '00000001'B,                              /* Pointer to optional parameters. */
 optionalParameters := m_CPG_USED_OPTIONAL_PARAMS(omit, m_PCI_PAR_tlv_Fpar(m_ParameterInstructionIndicator_RelCall), p_UKNP), /* SET: optional parameters of Call progress message (CPG) */
 endOfOptionalParameters := '00000000'B                 /* End of optional parameters, O, len=1 */
}

template CPG_MSG mw_CPG_MSG_anyOpt(template EIF_PAR_v p_EIF) :=
/* RX template for Call progress message (CPG) with 'any'-optional parameters */
{
 msgType := '00101100'B,                                /* Message Type '00101100'B */
 eventInformation := p_EIF,                             /* Event information, F, len=1 */
 pOptional := ?,                                        /* Pointer to optional parameters. */
 optionalParameters := *, //mw_CPG_OPTIONAL_PARAMS_any,      /* SET: optional parameters of Call progress message (CPG) */
 endOfOptionalParameters := '00000000'B ifpresent       /* End of optional parameters, O, len=1 */
}

template CPG_MSG m_CPG_EVI(Bit7 p_eventInd) :=
/* TX template for Call progress message (CPG) with event information parameterized and without optional parameters. */
{
 msgType := '00101100'B,                                /* Message Type '00101100'B */
 eventInformation := m_EIF(p_eventInd),           /* Event information, F, len=1 */
 pOptional := '00000000'B,                              /* Pointer to optional parameters. */
 optionalParameters := omit,                            /* SET: optional parameters of Call progress message (CPG) */
 endOfOptionalParameters := omit                        /* End of optional parameters, O, len=1 */
}
template CPG_MSG m_CPG_CDI(template GNI_PAR_tlv p_GNI, template RNN_PAR_tlv p_RNN, template CDI_PAR_tlv p_CDI, template RNS_PAR_tlv p_RNS) :=
/* TX template for Call progress message (CPG) with event information = 'progress' and withRedirection number, call diversion information, redirection number restriction and generic notification set to "Call is diverting"*/
{
 msgType := '00101100'B,                                /* Message Type '00101100'B */
 eventInformation := m_EIF(c_EVI_eventInd_progr), /* Event information, F, len=1 */
 pOptional := '00000001'B,                              /* Pointer to optional parameters. */
 optionalParameters := m_CPG_OPTIONAL_PARAMS_CDI(p_GNI, p_RNN, p_CDI, p_RNS), /* SET: optional parameters of Call progress message (CPG) */
 endOfOptionalParameters := '00000000'B                 /* End of optional parameters, O, len=1 */
}

template CPG_MSG m_CPG_EVI_GNI(Bit7 p_eventInd, template GNI_PAR_tlv p_GNI) :=
/* TX template for Call progress message (CPG) with event information and Generic notification indicator parameterized, and without other optional parameters. */
{
 msgType := '00101100'B,                                /* Message Type '00101100'B */
 eventInformation := m_EIF(p_eventInd),           /* Event information, F, len=1 */
 pOptional := '00000001'B,                              /* Pointer to optional parameters. */
 optionalParameters := m_CPG_USED_OPTIONAL_PARAMS(p_GNI, omit, omit), /* SET: optional parameters of Call progress message (CPG) */
 endOfOptionalParameters := '00000000'B              /* End of optional parameters, O, len=1 */
}

template CPG_MSG mw_CPG_EVI(Bit7 p_eventInd) :=
/* RX template for Call progress message (CPG) with event information parameterized, and with 'any' optional parameters. */
{
 msgType := '00101100'B,                                /* Message Type '00101100'B */
 eventInformation := mw_EIF(p_eventInd),          /* Event information, F, len=1 */
 pOptional := ?,                                         /* Pointer to optional parameters. */
 optionalParameters := mw_CPG_OPTIONAL_PARAMS_any,      /* SET: optional parameters of Address complete message (ACM) */
 endOfOptionalParameters := '00000000'B ifpresent       /* End of optional parameters, O, len=1 */
}

template CPG_MSG mw_CPG_EVI_GNI(Bit7 p_eventInd, template GNI_PAR_tlv p_GNI) :=
/* RX template for Call progress message (CPG) with event information and Generic notification indicator parameterized, and with 'any' other optional parameters. */
{
 msgType := '00101100'B,                                /* Message Type '00101100'B */
 eventInformation := mw_EIF(p_eventInd),          /* Event information, F, len=1 */
 pOptional := '00000001'B,                              /* Pointer to optional parameters. */
 optionalParameters := mw_CPG_USED_OPTIONAL_PARAMS(p_GNI), /* SET: optional parameters of Call progress message (CPG) */
 endOfOptionalParameters := '00000000'B                 /* End of optional parameters, O, len=1 */
}
} /* end group CPG */

group GRS {
template GRS_MSG m_GRS_MSG_noOpt(template RAS_PAR_lv p_RAS) :=
/* TX template for Circuit group reset message (CGR) without optional parameters */
+87 −87

File changed.

Preview size limit exceeded, changes collapsed.

+1055 −346

File changed.

Preview size limit exceeded, changes collapsed.