📄 isup_codec.c
字号:
"PUBR", 4, "Public network serving the remote user", "PRIVR", 5, "Private network serging the remote user", "LIF", 6, "Local interface controlled by this link", "INT", 7, "International network", "IW", 10, "Unknown (beyond an interworking point)", NULL); CODING = new Set("CODING","Coding Standard",2,0, "CCITT", 0, "CCITT Standard", "NAT", 2, "National Standard", "NET", 3, "Network specific", NULL); CODING_X = new Field("EXT","Extension",1,0); REC = new Set("REC","Recommendation",7,1, "Q763", 0, "Recommendation Q.763", "X21", 3, "Recommendation X.21", "X25", 4, "Recommendation X.25", "LAND", 5, "Public land mobile network", NULL); NOREC = new Codec_NULL("NOREC","No Recommendation"); CODING_X_B = new Bra("EXT:","Extension Branch",(Codec*)CODING_X, REC , 0, NOREC, 1, NULL); CAUSV = new Set("CAUSV","Cause Value",7,1, "UN", 1, "Unallocated (unassigned) number", "NRSTN", 2, "No route to specified transit net", "NRD", 3, "No route to destination", "SSIT", 4, "Send special information tone", "MDT", 5, "Misdialled trunk prefix", "NORM", 16, "Normal call clearing", "UB", 17, "User busy", "NUR", 18, "No user responding", "NAU", 19, "No answer from user (alerted)", "CR", 21, "Call rejected", "NC", 22, "Number changed", "DOO", 27, "Destination out of order", "AI", 28, "Address incomplete", "FR", 29, "Facility rejected", "NU", 31, "Normal - unspecified", "NCA", 34, "No circuit available", "NOO", 38, "Network out of order", "TF", 41, "Temporary failure", "SEC", 42, "Switching equipment congestion", "UID", 43, "Access information discarded", "RCNA", 44, "Requested channel not available", "PREMT", 45, "Preemption", "RUU", 47, "Resource unavailable -unspecified", "RFNS", 50, "Requested facility not subscribed", "ICB", 55, "Incoming calls barred within CUG", "BCNAT", 57, "Bearer capability not authorized", "BCNAV", 58, "Bearer capability not available", "SUU", 63, "Service unavailable -unspecified", "BCNI", 65, "Bearer capability not implemented", "RFU", 69, "Requested facility unimplemented", "RDIA", 70, "Only restrictd digital info avail", "SIU", 79, "Service unimplemented -unspecif'd", "MCUG", 87, "Called user not member of CUG", "ID", 88, "Incompatible destination", "ITNS", 91, "Invalid transit network selection", "IMU", 95, "Invalid message - unspecified", "MT", 97, "Message type non-existent", "P-D", 99, "Parameter non-existent -discarded", "IPC", 100, "Invalid parameter contents", "RTE", 102, "Recovery on timer expiry", "P-P", 103, "Parameter non-existent -passed on", "PEU", 111, "Protocol error - unspecified", "IWU", 127, "Interworking class - unspecified", NULL);};Codec_RDI ::Codec_RDI () : Parameter("RDI","Redirection Info",16,5,0,(Codec**)&RDGI) { RDGI = new Set("RDGI","Redirecting Ind",3,0, "NONE", 0, "No redirection", "R", 1, "Call rerouted", "RIR", 2, "Call rerouted, all info restricted", "F", 3, "Call forwarded", "FIR", 4, "Call forwarded, all info restricted", "RNR", 5, "Call rerouted, number restricted", "FNR", 6, "Call forwarded, number restricted", NULL); CFNR = new Set("CFNR","No Reply Forwarding",1,0, "NO", 0, "Not yet occutred", "YES", 1, "Has occurred", NULL); ORGRR = new Set("ORGRR","Orig Redir Reason",4,0, "UNK", 0, "Unknown/not available", "UB", 1, "User busy", "NOREP",2, "No reply", "UNC", 3, "Unconditional", NULL); COUNT = new Field("COUNT","Redirection Counter",4,0); RDGR = new Set("RDGR","Redirecting Reason",4,0, "UNK", 0, "Unknown/not available", "UB", 1, "User busy", "NOREP",2, "No reply", "UNC", 3, "Unconditional", NULL);};Codec_CGI ::Codec_CGI () : Parameter("CGI","Cct Group Supv Type",8,1,0,(Codec**)&TYPE) { TYPE = new Set("TYPE","Type Ind",2,6, "MAINT", 0, "Maintenance oriented", "HW", 1, "Hardware failure oriented", "SW", 2, "Software oriented", NULL);};Codec_RnS ::Codec_RnS () : Parameter("R&S","Range and Status",-1,2,0,(Codec**)&RANGE) { RANGE = new Field("RANGE","Range",8,0); STATUS = new OctetString("STATUS","Status",-1);};Codec_FACI ::Codec_FACI () : Parameter("FACI","Facility Indicator",8,1,0,(Codec**)&FACI) { FACI = new Set("FACI","Facility Indicator",8,0, "UUI", 2, "User to user service", NULL);};Codec_FAII ::Codec_FAII () : Parameter("FAII","Facility Info Inds",8,5,0,(Codec**)&CPF) { CPF = new Set("CPF","Called Party Free",1,0, "NO", 0, "Busy", "YES", 1, "Free", NULL); CPAN = new Set("CPAN","Calling Party Answer",1,0, "NO", 0, "No calling party answer", "YES", 1, "Calling pary answer", NULL); FRE = new Set("FRE","Facility Req Enquiry",1,0, "NO", 0, "No enquiry", "YES", 1, "Active enquiry", NULL); FRA = new Set("FRA","Facility Req Active",1,0, "NO", 0, "Not active", "YES", 1, "Active", NULL); SPARE = new Codec_SPAR4();};Codec_CUGI ::Codec_CUGI () : Parameter("CUGI","CUG Interlock Code",32,2,0,(Codec**)&BCODE) { BCODE = new Field("BCODE","Binary Code",16,0); NETID = new OctetString("NETID","Network Identity",16);};Codec_INDEX ::Codec_INDEX () : Parameter("INDEX","Index",8,1,0,(Codec**)&INDEX) { INDEX = new Field("INDEX","Index",8,0);};Codec_USI ::Codec_USI () : Parameter("USI","User Service Info",16,6,0,(Codec**)&ITC) { ITC = new Set("ITC","Info Trans Capability",5,0, "SPEECH", 0, "Speech", "UNRESDIG", 8, "Unrestricted digital information", "RESDIG", 9, "Restricted digital information", "AUDIO3", 16, "3.1 kHz audio", "AUDIO7", 17, "7 kHz audio", "AUDIO15", 18, "15 kHz audio", "VIDEO", 24, "Video", NULL); CODING = new Set("CODING","Coding Standard",2,0, "CCITT", 0, "CCITT Standard", "NAT", 2, "National Standard", "NET", 3, "Network specific", NULL); EXT1 = new Codec_SPAR1(); ITR = new Set("ITR","Info Transfer Rate",5,0, "PACK", 0, "Channel size", "64", 16, "64 kbits/s", "2x64", 17, "2 x 64 kbits/s", "384", 19, "384 kbits/s", "1536", 21, "1536 kbits/s", "1920", 23, "1920 kbits/s", NULL); ITM = new Set("ITM","Info Transfer Mode",2,0, "C", 0, "Circuit mode", "P", 1, "Packet mode", NULL); EXT2 = new Codec_SPAR1();};Codec_ISPC ::Codec_ISPC () : Parameter("ISPC","Signalling Point Code",-1,1,0,(Codec**)&PCODE) { PCODE = new Codec_PC("SPC","Signalling Point Code");};Codec_UUI ::Codec_UUI () : Parameter("UUI","User to User Info",-1,1,0,(Codec**)&DATA) { DATA = new OctetString("DATA","Data",-1);};Codec_CONN ::Codec_CONN () : Parameter("CONN","Connected Number",-1,7,0,(Codec**)&NAI) { NAI = new Codec_NAI(); OE = new Codec_OE(); SCR = new Codec_SCR(); PRES = new Codec_PRES(); NPLAN = new Codec_NPLAN(); INN = new Codec_SPAR1(); ADDI = new Codec_ADDI();};Codec_SRIS ::Codec_SRIS () : Parameter("SRIS","Suspend/Resume Inds",8,1,0,(Codec**)&SRI) { SRI = new Set("SRI","Suspend/Resume Ind",1,7, "ISDN", 0, "ISDN subscriber initiated", "NET", 1, "Network initiated", NULL);};Codec_TNS ::Codec_TNS () : Parameter("TNS","Transit Ntwk Selection",-1,4,0,(Codec**)&NETPLAN) { NETPLAN = new Codec_NETPLAN(); NETTYPE = new Codec_NETTYPE(); OE = new Codec_OE(); ADDI = new Codec_ADDI();};Codec_EVNT ::Codec_EVNT () : Parameter("EVNT","Event Information",8,2,0,(Codec**)&EVNTI) { EVNTI = new Set("EVNTI","Event Indicator",7,0, "ALERT", 1, "ALERTing", "PROG", 2, "PROGRESS", "IBI", 3, "Inband information/pattern now available", "BUSY", 4, "Call forwarded on busy", "NOREP", 5, "Call forwarded on no reply", "UNC", 6, "Call forwarded unconditional", NULL); EVNTP = new Set("EVNTP","Event Presentation",1,0, "NO", 0, "No indication", "YES", 1, "Presentation restricted", NULL);};Codec_CSI ::Codec_CSI () : ParameterR("CSI","Circuit State Info",8,1,0,(Codec**)&CSTATE) { // this set repeats CSTATE = new Set("CSTATE","Circuit State",8,0, "TRANS", 0, "Transient", "UNEQP", 3, "Unequipped", "ICB-NB", 4, "Incoming busy, no blocking", "ICB-LB", 5, "Incoming busy, local M block", "ICB-RB", 6, "Incoming busy, remote M block", "ICB-LRB", 7, "Incoming busy, local/remote M block", "OGB-NB", 8, "Outgoing busy, no blocking", "OGB-LB", 9, "Outgoing busy, local M block", "OGB-RB", 10, "Outgoing busy, remote M block", "OGB-LRB", 11, "Outgoing busy, local/remote M block", "IDL-NB", 12, "Idle, no blocking", "IDL-LB", 13, "Idle, local M block", "IDL-RB", 14, "Idle, remote M block", "IDL-LRB", 15, "Idle, local/remote M block", "IDL-NB-LB", 28, "Idle, local HW block", "IDL-LB-LB", 29, "Idle, local M & HW block", "IDL-RB-LB", 30, "Idle, remote M block, local HW block", "IDL-LRB-LB", 31, "Idle, local/remote M block, local HW blk", "IDL-NB-RB", 44, "Idle, remote HW block", "IDL-LB-RB", 45, "Idle, local M block, remote HW block", "IDL-RB-RB", 46, "Idle, remote M & HW block", "IDL-LRB-RB", 47, "Idle, local/remote M block, remote HW blk", "IDL-NB-LRB", 60, "Idle, local/remote HW block", "IDL-LB-LRB", 61, "Idle, local M block, local/remote HW blk", "IDL-RB-LRB", 62, "Idle, remote M block, local/remote HW blk", "IDL-LRB-LRB", 63, "Idle, local/remote M & HW block", NULL);};Codec_CSI ::Codec_CSI (const Codec_CSI & original) : ParameterR((ParameterR&)original) { CSTATE = new Set(*original.CSTATE);};Codec_CSI*Codec_CSI ::copy() { return new Codec_CSI(*this);};Codec_ACL ::Codec_ACL () : Parameter("ACL","Automatic Cong Level",8,1,0,(Codec**)&ACL) { ACL = new Set("ACL","Automatic Congestion Level",8,0, "1", 1, "Congestion level 1 exceeded", "2", 2, "Congestion level 2 exceeded", NULL);};Codec_OCDN ::Codec_OCDN () : Parameter("OCDN","Original Called Number",-1,7,0,(Codec**)&NAI) { NAI = new Codec_NAI(); OE = new Codec_OE(); SCR = new Codec_SPAR2(); PRES = new Codec_PRES(); NPLAN = new Codec_NPLAN(); INN = new Codec_SPAR1(); ADDI = new Codec_ADDI();};Codec_OBCI ::Codec_OBCI () : Parameter("OBCI","Opt Backward Call Inds",8,4,0,(Codec**)&IBI) { IBI = new Set("IBI","Inband Information",1,0, "NO", 0, "No indication", "YES", 1, "Inband info/pattern now avail", NULL); CFMO = new Set("CFMO","Call Forwarding Ind",1,0, "NO", 0, "No indication", "YES", 1, "Call forwarding may occur", NULL); SPARE = new Codec_SPAR5(); USRNET = new Set("USR/NET","User-network interaction",1,0, "NO", 0, "No indication", "YES", 1, "User-network interaction", NULL);};Codec_GENADR::Codec_GENADR() : Parameter("GENADR","Generic Address",-1,8,0,(Codec**)&TYPADR) { TYPADR = new Set("TYPADR","Type of Address",8,0, "DIAL", 0, "Dialed number", "DEST", 1, "Destination number", "SUPF", 2, "Suppl calling addr -screen failed", "SUP", 3, "Suppl calling addr -not screened", NULL); NAI = new Codec_NAI(); OE = new Codec_OE(); SCR = new Codec_SPAR2(); PRES = new Codec_PRES(); NPLAN = new Codec_NPLAN(); INN = new Codec_SPAR1(); ADDI = new Codec_ADDI();};Codec_GENDIG::Codec_GENDIG() : Parameter("GENDIG","Generic Digits",-1,3,0,(Codec**)&TYPDIG) { TYPDIG = new Set("TYPDIG","Type of Digits",5,0, "AC", 0, "Account code", "ATH", 1, "Authorization code", "PRIV", 2, "Private network traveling classmark", NULL); GENES = new Set("GENES","Gen Encoding Scheme",3,0, "EVEN", 0, "BCD even", "ODD", 1, "BCD odd", "IA5", 2, "IA5", NULL); ADDI = new Codec_ADDI();};Codec_EGRESS::Codec_EGRESS() : Parameter("EGRESS","Egress",-1,1,0,(Codec**)&DATA) { DATA = new OctetString("DATA","Data",-1);};Codec_JUR ::Codec_JUR () : Parameter("JUR","Jurisdiction",-1,1,0,(Codec**)&ADDI) { ADDI = new Codec_ADDI();};Codec_CIDC ::Codec_CIDC () : Parameter("CIDC","Carrier Id Code",-1,3,0,(Codec**)&NETPLAN) { NETPLAN = new Codec_NETPLAN(); NETTYPE = new Codec_NETTYPE(); ADDI = new Codec_ADDI();};Codec_BGROUP::Codec_BGROUP() : Parameter("BGROUP","Business Group",32,9,0,(Codec**)&PSEL) { PSEL = new Set("PSEL","Party Selector",4,0, "NI", 0, "No indication", "CGPN", 1, "Calling party number", "CDPN", 2, "Called party number", "CONN", 3, "Connected number", "RDGN", 4, "Redirecting number", "OCDN", 5, "Original called number", NULL); LPII = new Field("LPII","Line Privileges",1,0); BGIDT = new Set("BGIDT","Business Group ID Type",1,0, "MBG", 0, "Multi-location", "IWPN", 1, "Private network interworking", NULL); AS = new Set("AS","Attendant Station",1,0, "NI", 0, "No indication", "LINE", 1, "Attendant line", NULL); SPARE = new Codec_SPAR1(); BGID = new Field("BGID","Business Group ID Type",8,0); SUBID = new Field("SUBID","Sub-Group ID",8,0); TBGLP = new Set("TBGLP","Term Line Priviledge",4,0, "UNR", 0, "Unrestricted", "SEMI", 1, "Semi-restricted", "FULL", 2, "Fully restricted", "FULLI",3, "Fully intraswitch restricted", "DEN", 4, "Denied", NULL); OBGLP = new Set("OBGLP","Orig Line Priviledge",4,0, "UNR", 0, "Unrestricted", "SEMI", 1, "Semi-restricted", "FULL", 2, "Fully restricted", "FULLI",3, "Fully intraswitch restricted", "DEN", 4, "Denied", NULL);};Codec_NOTI ::Codec_NOTI () : Parameter("NOTI","Notification Ind",8,1,0,(Codec**)&NOT) { NOT = new Set("NOT","Notification Ind",7,1, "CW", 96, "Call waiting", "RH", 249, "Remote hold", "RHR", 250, "Remote hold released", "CF", 251, "Call forwarding", NULL);};Codec_SVACT ::Codec_SVACT () : Parameter("SVACT","Service Activation",8,1,0,(Codec**)&SVACT) { SVACT = new Set("SVACT","Service Activation",8,0, "CWOT", 124, "Call waiting originating invoked", "DCWI", 125, "Dial call waiting invoked", "CRI", 126, "Complete call request, ISUP used", "CRNI", 127, "Complete call request, ISUP not used", NULL);};Codec_TRNSRQ::Codec_TRNSRQ() : Parameter("TRNSRQ","Transaction Request",-1,2,0,(Codec**)&TRANSID) { TRANSID = new Field("TRANSID","Transaction ID",32,0); CPA = new Codec_CPA("CPA","Call Party Address");};Codec_SPR ::Codec_SPR () : Parameter("SPR","Special Processing Req",8,1,0,(Codec**)&SPR) { SPR = new Set("SPR","Special Processing Req",8,0, "SPR", 127, "SSP Processing required", NULL);};
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -