Initializes a SiConEvnt structure for transmitting an initial address message (IAM).
S16 TXISUPAPIFUNC ISUPInitIAM ( S16 switchType, SiConEvnt *event, U8 *cdPty, U8 cdPtyLen, U8 *cgPty, U8 cgPtyLen)
Argument |
Description |
switchType |
One of the following switch type indicators: ST_ANS88 ST_ANS92 ST_ANS95 ST_BICC ST_ETSIV2 ST_ETSIV3 ST_ITU97 ST_ITUBLUE ST_ITUWHITE ST_JNTT ST_Q767 |
event |
Pointer to the SiConEvnt structure to be initialized. |
cdPty |
Pointer to BCD called party address. |
cdPtyLen |
Number of BCD digits in called party address. |
cgPty |
Pointer to BCD calling party address. A null pointer can be passed in this argument. |
cgPtyLen |
Number of BCD digits in calling party address. |
The fields of the SiConEvnt structure are initialized as described in the following tables, based on the switchType parameter. Fields not described are not applicable to an IAM. This function is called in preparation for a call to ISUPConnectReq.
ANSI 88, ANSI 92, and ANSI 95 values
Field |
ANSI 88 |
ANSI 92 |
ANSI 95 |
natConInd |
Present |
Present |
Present |
satInd |
SAT_NONE |
SAT_NONE |
SAT_NONE |
contChkInd |
CONTCHK_NOTREQ |
CONTCHK_NOTREQ |
CONTCHK_NOTREQ |
echoCntrlDevInd |
ECHOCDEV_NOTINCL |
ECHOCDEV_NOTINCL |
ECHOCDEV_NOTINCL |
fwdCallInd |
Present |
Present |
Present |
natIntCallInd |
CALL_NAT |
CALL_NAT |
CALL_NAT |
end2EndMethInd |
E2EMTH_NOMETH |
E2EMTH_NOMETH |
E2EMTH_NOMETH |
intInd |
INTIND_NOINTW |
INTIND_NOINTW |
INTIND_NOINTW |
intend2EndInfoInd |
E2EINF_NOINFO |
|
|
segInd |
|
SEGIND_NOINTW |
SEGIND_NOINTW |
isdnUsrPrtInd |
ISUP_USED |
ISUP_USED |
ISUP_USED |
isdnUsrPrtPrfInd |
PREF_PREFAW |
PREF_PREFAW |
PREF_PREFAW |
isdnAccInd |
ISDNACC_ISDN |
ISDNACC_ISDN |
ISDNACC_ISDN |
sccpMethInd |
|
SCCPMTH_NOIND |
SCCPMTH_NOIND |
cdPtyNum |
Present |
Present |
Present |
natAddrInd |
NATNUM |
NATNUM |
NATNUM |
numPlan |
NP_ISDN |
NP_ISDN |
NP_ISDN |
innInd |
INN_ALLOW |
INN_ALLOW |
INN_ALLOW |
addrSig |
from cdPty |
from cdPty |
from cdPty |
oddEven |
from cdPtyLen |
from cdPtyLen |
from cdPtyLen |
CgPtyCat |
CAT_ORD |
CAT_ORD |
CAT_ORD |
usrServInfo |
Present |
Present |
Present |
infoTranCap |
ITC_SPEECH |
ITC_SPEECH |
ITC_SPEECH |
cdeStand |
CSTD_NAT |
CSTD_NAT |
CSTD_NAT |
infoTranRate0 |
ITR_64KBIT |
ITR_64KBIT |
ITR_64KBIT |
tranMode |
TM_CIRCUIT |
TM_CIRCUIT |
TM_CIRCUIT |
establish |
NOT_PRESENT |
NOT_PRESENT |
NOT_PRESENT |
config |
NOT_PRESENT |
NOT_PRESENT |
NOT_PRESENT |
chanStruct |
NOT_PRESENT |
NOT_PRESENT |
NOT_PRESENT |
infoTranRate1 |
NOT_PRESENT |
NOT_PRESENT |
NOT_PRESENT |
symmetry |
NOT_PRESENT |
NOT_PRESENT |
NOT_PRESENT |
usrInfLyr1Prot |
UIL1_G711ULAW |
UIL1_G711ULAW |
UIL1_G711ULAW |
lyr1Ident |
L1_IDENT |
L1_IDENT |
L1_IDENT |
usrRate |
NOT_PRESENT |
NOT_PRESENT |
NOT_PRESENT |
negot |
NOT_PRESENT |
NOT_PRESENT |
NOT_PRESENT |
syncAsync |
NOT_PRESENT |
NOT_PRESENT |
NOT_PRESENT |
flcOnRx |
NOT_PRESENT |
NOT_PRESENT |
NOT_PRESENT |
flcOnTx |
NOT_PRESENT |
NOT_PRESENT |
NOT_PRESENT |
niClkOnRx |
NOT_PRESENT |
NOT_PRESENT |
NOT_PRESENT |
niClkOnTx |
NOT_PRESENT |
NOT_PRESENT |
NOT_PRESENT |
interRate |
NOT_PRESENT |
NOT_PRESENT |
NOT_PRESENT |
inOutBandNeg |
NOT_PRESENT |
NOT_PRESENT |
NOT_PRESENT |
asgnrAsgne |
NOT_PRESENT |
NOT_PRESENT |
NOT_PRESENT |
logLnkNegot |
NOT_PRESENT |
NOT_PRESENT |
NOT_PRESENT |
mode |
NOT_PRESENT |
NOT_PRESENT |
NOT_PRESENT |
multiFrm |
NOT_PRESENT |
NOT_PRESENT |
NOT_PRESENT |
hdrNoHdr |
NOT_PRESENT |
NOT_PRESENT |
NOT_PRESENT |
parity |
NOT_PRESENT |
NOT_PRESENT |
NOT_PRESENT |
nmbDatBits |
NOT_PRESENT |
NOT_PRESENT |
NOT_PRESENT |
nmbStpBits |
NOT_PRESENT |
NOT_PRESENT |
NOT_PRESENT |
modemType |
NOT_PRESENT |
NOT_PRESENT |
NOT_PRESENT |
duplexMode |
NOT_PRESENT |
NOT_PRESENT |
NOT_PRESENT |
usrInfLyr2Prot |
NOT_PRESENT |
NOT_PRESENT |
NOT_PRESENT |
lyr2Ident |
NOT_PRESENT |
NOT_PRESENT |
NOT_PRESENT |
usrInfLyr3Prot |
NOT_PRESENT |
NOT_PRESENT |
NOT_PRESENT |
lyr3Ident |
NOT_PRESENT |
NOT_PRESENT |
NOT_PRESENT |
opFwdCallInd |
NOT_PRESENT |
|
|
cugIntCode |
NOT_PRESENT |
|
|
accTrnsprt |
NOT_PRESENT |
NOT_PRESENT |
NOT_PRESENT |
businessgrp |
|
NOT_PRESENT |
NOT_PRESENT |
callRef |
NOT_PRESENT |
NOT_PRESENT |
NOT_PRESENT |
cdPtyNum |
Present |
Present |
Present |
natAddrInd |
NATNUM |
NATNUM |
NATNUM |
numPlan |
NP_ISDN |
NP_ISDN |
NP_ISDN |
innInd |
INN_ALLOW |
INN_ALLOW |
INN_ALLOW |
addrSig |
from cdPty |
from cdPty |
from cdPty |
oddEven |
from cdPtyLen |
from cdPtyLen |
from cdPtyLen |
carrierId |
|
NOT_PRESENT |
NOT_PRESENT |
carSelInf |
|
NOT_PRESENT |
NOT_PRESENT |
chargeNum |
NOT_PRESENT |
NOT_PRESENT |
NOT_PRESENT |
cirAssign |
|
|
NOT_PRESENT |
connReq |
NOT_PRESENT |
NOT_PRESENT |
NOT_PRESENT |
egress |
|
NOT_PRESENT |
NOT_PRESENT |
genAddr |
|
NOT_PRESENT |
NOT_PRESENT |
genDigits |
|
NOT_PRESENT |
NOT_PRESENT |
genName |
|
|
NOT_PRESENT |
hopCount |
|
|
NOT_PRESENT |
infoReqInd |
|
NOT_PRESENT |
NOT_PRESENT |
jurisInf |
|
NOT_PRESENT |
NOT_PRESENT |
netTransport |
|
NOT_PRESENT |
NOT_PRESENT |
opServInfo |
|
|
NOT_PRESENT |
origCdNum |
|
NOT_PRESENT |
NOT_PRESENT |
origLineInf |
NOT_PRESENT |
NOT_PRESENT |
NOT_PRESENT |
mlppPrec |
|
NOT_PRESENT |
NOT_PRESENT |
redirNum |
NOT_PRESENT |
NOT_PRESENT |
NOT_PRESENT |
redirInfo |
NOT_PRESENT |
NOT_PRESENT |
NOT_PRESENT |
remotOper |
|
|
NOT_PRESENT |
serviceAct |
|
NOT_PRESENT |
NOT_PRESENT |
serviceCode |
|
|
NOT_PRESENT |
specProcReq |
|
NOT_PRESENT |
NOT_PRESENT |
transReq |
|
NOT_PRESENT |
NOT_PRESENT |
transNetSel |
NOT_PRESENT |
NOT_PRESENT |
NOT_PRESENT |
userServInfo1 |
|
|
NOT_PRESENT |
usr2UsrInfo |
NOT_PRESENT |
|
NOT_PRESENT |
ITU Blue Book, ITU White Book, and ITU Q.767 values
Field |
ITU Blue Book |
ITU White Book |
ITU Q.767 |
natConInd |
Present |
Present |
Present |
satInd |
SAT_NONE |
SAT_NONE |
SAT_NONE |
contChkInd |
CONTCHK_NOTREQ |
CONTCHK_NOTREQ |
CONTCHK_NOTREQ |
echoCntrlDevInd |
ECHOCDEV_NOTINCL |
ECHOCDEV_NOTINCL |
ECHOCDEV_NOTINCL |
fwdCallInd |
Present |
Present |
Present |
natIntCallInd |
CALL_NAT |
CALL_NAT |
CALL_NAT |
end2EndMethInd |
E2EMTH_NOMETH |
E2EMTH_NOMETH |
E2EMTH_NOMETH |
intInd |
INTIND_NOINTW |
INTIND_NOINTW |
INTIND_NOINTW |
isdnUsrPrtInd |
ISUP_USED |
ISUP_USED |
ISUP_USED |
isdnUsrPrtPrfInd |
PREF_PREFAW |
PREF_PREFAW |
PREF_PREFAW |
isdnAccInd |
ISDNACC_ISDN |
ISDNACC_ISDN |
ISDNACC_ISDN |
sccpMethInd |
SCCPMTH_NOIND |
SCCPMTH_NOIND |
SCCPMTH_NOIND |
cdPtyNum |
Present |
Present |
Present |
natAddrInd |
NATNUM |
NATNUM |
NATNUM |
numPlan |
NP_ISDN |
NP_ISDN |
NP_ISDN |
innInd |
INN_ALLOW |
INN_ALLOW |
INN_ALLOW |
addrSig |
from cdPty |
from cdPty |
from cdPty |
oddEven |
from cdPtyLen |
from cdPtyLen |
from cdPtyLen |
CgPtyCat |
CAT_ORD |
CAT_ORD |
CAT_ORD |
txMedReg |
TMR_SPEECH |
TMR_SPEECH |
TMR_SPEECH |
opFwdCallInd |
NOT_PRESENT |
NOT_PRESENT |
NOT_PRESENT |
cugIntCode |
NOT_PRESENT |
NOT_PRESENT |
NOT_PRESENT |
usrServInfo |
NOT_PRESENT |
NOT_PRESENT |
NOT_PRESENT |
accTrnsprt |
NOT_PRESENT |
NOT_PRESENT |
NOT_PRESENT |
callRef |
NOT_PRESENT |
NOT_PRESENT |
|
cdPtyNum |
Present |
Present |
Present |
natAddrInd |
NATNUM |
NATNUM |
NATNUM |
numPlan |
NP_ISDN |
NP_ISDN |
NP_ISDN |
innInd |
INN_ALLOW |
INN_ALLOW |
INN_ALLOW |
addrSig |
from cdPty |
from cdPty |
from cdPty |
oddEven |
from cdPtyLen |
from cdPtyLen |
from cdPtyLen |
connReq |
NOT_PRESENT |
NOT_PRESENT |
|
genDigits |
|
NOT_PRESENT |
|
genNmb |
|
NOT_PRESENT |
|
propDly |
|
NOT_PRESENT |
|
netFac |
|
NOT_PRESENT |
|
notifInd |
|
NOT_PRESENT |
|
orgPteCde |
|
NOT_PRESENT |
|
parmCom |
|
NOT_PRESENT |
|
origCdNum |
NOT_PRESENT |
NOT_PRESENT |
|
locNum |
|
NOT_PRESENT |
|
mlppPrec |
|
NOT_PRESENT |
|
redirgNum |
NOT_PRESENT |
NOT_PRESENT |
|
redirInfo |
NOT_PRESENT |
NOT_PRESENT |
|
remotOper |
|
NOT_PRESENT |
|
serviceAct |
|
NOT_PRESENT |
|
transNetSel |
NOT_PRESENT |
NOT_PRESENT |
|
txMedReqPr |
|
NOT_PRESENT |
|
userServInfo |
|
NOT_PRESENT |
|
usrServInfo1 |
|
NOT_PRESENT |
|
usr2UsrInfo |
NOT_PRESENT |
NOT_PRESENT |
NOT_PRESENT |
usr2UsrInd |
NOT_PRESENT |
NOT_PRESENT |
|
ITU97, ETSI V2, and ETSI V3 values
Field |
ITU97 |
ETSI V2 |
ETSI V3 |
natConInd |
Present |
Present |
Present |
satInd |
SAT_NONE |
SAT_NONE |
SAT_NONE |
contChkInd |
CONTCHK_NOTREQ |
CONTCHK_NOTREQ |
CONTCHK_NOTREQ |
echoCntrlDevInd |
ECHOCDEV_NOTINCL |
ECHOCDEV_NOTINCL |
ECHOCDEV_NOTINCL |
fwdCallInd |
Present |
Present |
Present |
natIntCallInd |
CALL_NAT |
CALL_NAT |
CALL_NAT |
end2EndMethInd |
E2EMTH_NOMETH |
E2EMTH_NOMETH |
E2EMTH_NOMETH |
intInd |
INTIND_NOINTW |
INTIND_NOINTW |
INTIND_NOINTW |
isdnUsrPrtInd |
ISUP_USED |
ISUP_USED |
ISUP_USED |
isdnUsrPrtPrfInd |
PREF_PREFAW |
PREF_PREFAW |
PREF_PREFAW |
isdnAccInd |
ISDNACC_ISDN |
ISDNACC_ISDN |
ISDNACC_ISDN |
sccpMethInd |
SCCPMTH_NOIND |
SCCPMTH_NOIND |
SCCPMTH_NOIND |
cdPtyNum |
Present |
Present |
Present |
natAddrInd |
NATNUM |
NATNUM |
NATNUM |
numPlan |
NP_ISDN |
NP_ISDN |
NP_ISDN |
innInd |
INN_ALLOW |
INN_ALLOW |
INN_ALLOW |
addrSig |
from cdPty |
from cdPty |
from cdPty |
oddEven |
from cdPtyLen |
from cdPtyLen |
from cdPtyLen |
CgPtyCat |
CAT_ORD |
CAT_ORD |
CAT_ORD |
txMedReg |
TMR_SPEECH |
TMR_SPEECH |
TMR_SPEECH |
opFwdCallInd |
NOT_PRESENT |
NOT_PRESENT |
NOT_PRESENT |
cugIntCode |
NOT_PRESENT |
NOT_PRESENT |
NOT_PRESENT |
usrServInfo |
NOT_PRESENT |
NOT_PRESENT |
NOT_PRESENT |
accTrnsprt |
NOT_PRESENT |
NOT_PRESENT |
NOT_PRESENT |
callRef |
NOT_PRESENT |
NOT_PRESENT |
NOT_PRESENT |
cdPtyNum |
Present |
Present |
Present |
natAddrInd |
NATNUM |
NATNUM |
NATNUM |
numPlan |
NP_ISDN |
NP_ISDN |
NP_ISDN |
innInd |
INN_ALLOW |
INN_ALLOW |
INN_ALLOW |
addrSig |
from cdPty |
from cdPty |
from cdPty |
oddEven |
from cdPtyLen |
from cdPtyLen |
from cdPtyLen |
connReq |
NOT_PRESENT |
NOT_PRESENT |
NOT_PRESENT |
genDigits |
NOT_PRESENT |
NOT_PRESENT |
NOT_PRESENT |
genNmb |
NOT_PRESENT |
NOT_PRESENT |
NOT_PRESENT |
propDly |
NOT_PRESENT |
NOT_PRESENT |
NOT_PRESENT |
netFac |
NOT_PRESENT |
NOT_PRESENT |
NOT_PRESENT |
notifInd |
NOT_PRESENT |
NOT_PRESENT |
NOT_PRESENT |
orgPteCde |
NOT_PRESENT |
NOT_PRESENT |
NOT_PRESENT |
parmCom |
NOT_PRESENT |
NOT_PRESENT |
NOT_PRESENT |
origCdNum |
NOT_PRESENT |
NOT_PRESENT |
NOT_PRESENT |
locNum |
NOT_PRESENT |
NOT_PRESENT |
NOT_PRESENT |
mlppPrec |
NOT_PRESENT |
NOT_PRESENT |
NOT_PRESENT |
redirgNum |
NOT_PRESENT |
NOT_PRESENT |
NOT_PRESENT |
redirInfo |
NOT_PRESENT |
NOT_PRESENT |
NOT_PRESENT |
remotOper |
NOT_PRESENT |
NOT_PRESENT |
NOT_PRESENT |
serviceAct |
NOT_PRESENT |
NOT_PRESENT |
NOT_PRESENT |
transNetSel |
NOT_PRESENT |
NOT_PRESENT |
NOT_PRESENT |
txMedReqPr |
NOT_PRESENT |
NOT_PRESENT |
NOT_PRESENT |
userServInfo |
NOT_PRESENT |
NOT_PRESENT |
NOT_PRESENT |
usrServInfo1 |
NOT_PRESENT |
NOT_PRESENT |
NOT_PRESENT |
usr2UsrInfo |
NOT_PRESENT |
NOT_PRESENT |
NOT_PRESENT |
usr2UsrInd |
NOT_PRESENT |
NOT_PRESENT |
NOT_PRESENT |
cCSS |
NOT_PRESENT |
NOT_PRESENT |
NOT_PRESENT |
netMngmtCtrls |
NOT_PRESENT |
NOT_PRESENT |
NOT_PRESENT |
cirAssMap |
NOT_PRESENT |
NOT_PRESENT |
NOT_PRESENT |
callDivTrtmnt |
NOT_PRESENT |
NOT_PRESENT |
NOT_PRESENT |
cdINNum |
NOT_PRESENT |
NOT_PRESENT |
NOT_PRESENT |
callOffTrtmnt |
NOT_PRESENT |
NOT_PRESENT |
NOT_PRESENT |
confTrtmnt |
NOT_PRESENT |
NOT_PRESENT |
NOT_PRESENT |
uIDCapInd |
NOT_PRESENT |
NOT_PRESENT |
NOT_PRESENT |
collCallReq |
NOT_PRESENT |
NOT_PRESENT |
NOT_PRESENT |
freePhone |
NOT_PRESENT |
NOT_PRESENT |
NOT_PRESENT |
scfId |
NOT_PRESENT |
NOT_PRESENT |
NOT_PRESENT |
corrId |
NOT_PRESENT |
NOT_PRESENT |
NOT_PRESENT |
Field |
BICC |
natConInd |
Present |
satInd |
SAT_NONE |
contChkInd |
CONTCHK_NOTEXP |
echoCntrlDevInd |
ECHOCDEV_NOTINCL |
fwdCallInd |
Present |
natIntCallInd |
CALL_NAT |
end2EndMethInd |
E2EMTH_NOMETH |
intInd |
INTIND_NOINTW |
isdnUsrPrtInd |
BICC_USED |
isdnUsrPrtPrfInd |
BICC_PREFAW |
isdnAccInd |
ISDNACC_ISDN |
sccpMethInd |
SCCPMTH_NOIND |
cdPtyNum |
Present |
natAddrInd |
NATNUM |
numPlan |
NP_ISDN |
innInd |
INN_ALLOW |
addrSig |
from cdPty |
oddEven |
from cdPtyLen |
CgPtyCat |
CAT_ORD |
txMedReg |
TMR_SPEECH |
opFwdCallInd |
NOT_PRESENT |
cugIntCode |
NOT_PRESENT |
usrServInfo |
NOT_PRESENT |
accTrnsprt |
NOT_PRESENT |
callRef |
|
cdPtyNum |
Present |
natAddrInd |
NATNUM |
numPlan |
NP_ISDN |
innInd |
INN_ALLOW |
addrSig |
from cdPty |
oddEven |
from cdPtyLen |
connReq |
|
genDigits |
|
genNmb |
|
propDly |
|
netFac |
|
notifInd |
|
orgPteCde |
|
parmCom |
|
origCdNum |
|
locNum |
|
mlppPrec |
|
redirgNum |
|
redirInfo |
|
remotOper |
|
serviceAct |
|
transNetSel |
|
txMedReqPr |
|
userServInfo |
|
usrServInfo1 |
|
usr2UsrInfo |
NOT_PRESENT |
usr2UsrInd |
|
Field |
NTT |
natConInd |
Present |
satInd |
SAT_NONE |
contChkInd |
CONTCHK_NOTREQ |
echoCntrlDevInd |
ECHOCDEV_NOTINC L |
fwdCallInd |
Present |
natIntCallInd |
CALL_NAT |
end2EndMethInd |
E2EMTH_NOMETH |
intInd |
INTIND_NOINTW |
isdnUsrPrtInd |
ISUP_USED |
isdnUsrPrtPrfInd |
PREF_PREFAW |
isdnAccInd |
ISDNACC_ISDN |
sccpMethInd |
SCCPMTH_NOIND |
cdPtyNum |
Present |
natAddrInd |
NATNUM |
numPlan |
NP_ISDN |
innInd |
INN_ALLOW |
addrSig |
from cdPty |
oddEven |
from cdPtyLen |
cgPtyCat |
CAT_ORD |
txMedReg |
TMR_SPEECH |
accTrnsprt |
NOT_PRESENT |
cdPtyNum |
Present |
natAddrInd |
NATNUM |
numPlan |
NP_ISDN |
innInd |
INN_ALLOW |
addrSig |
from cdPty |
oddEven |
from cdPtyLen |
genNmb |
NOT_PRESENT |
serviceAct |
NOT_PRESENT |
userServInfo |
NOT_PRESENT |
msgAreaInfo |
NOT_PRESENT |
contractorNum |
NOT_PRESENT |
cgNumNonNotRsn |
NOT_PRESENT |
addUsrId |
NOT_PRESENT |
carrierInfoTrans |
NOT_PRESENT |
U8 *called = "8479258900";
U8 cdPty[20];
U8 cdPtyLen = 0;
U8 *calling = "8479258901";
U8 cgPty[20];
U8 cgPtyLen = 0;
S16 switchType = ST_ANSI92;
SiConEvnt iamEvnt;
cdPtyLen = ISUPASCIItoBCD(called, cdPty, 20);
cgPtyLen = ISUPASCIItoBCD(calling, cgPty, 20);
memset(&iamEvnt, 0, sizeof(SiConEvnt));
ISUPInitIAM( switchType, &iamEvnt, cdPty, cdPtyLen, cgPty, cgPtyLen);