📄 pubdef.hpp
字号:
#define PSG_IE_L3_SNDCMP 0xae // Send Conplete#define PSG_IE_L3_SPIND 0xaf // Service profile identification#define PSG_IE_L3_SHIFT 0xb0 // Shift#define PSG_IE_L3_SIGNAL 0xb1 // Signal#define PSG_IE_L3_TDSAI 0xb2 // Transit delay selection and indication#define PSG_IE_L3_TNWS 0xb3 // Transit Network Selection#define PSG_IE_L3_U2U 0xb4 // User-to-user/* * Declare call released mode. */#define CRM_NEITHER_CONTROLLED 0 // Neither party controlled.#define CRM_CALLING_CONTROLLED 1 // Calling party controlled.#define CRM_CALLED_CONTROLLED 2 // Called party controlled.// Declare TUP message index.#define PSG_MSG_TUP_IAI 0x0100#define PSG_MSG_TUP_IAM 0x0101#define PSG_MSG_TUP_ACM 0x0102#define PSG_MSG_TUP_ANC 0x0103#define PSG_MSG_TUP_CLF 0x0104#define PSG_MSG_TUP_RLG 0x0105#define PSG_MSG_TUP_SAM 0x0106#define PSG_MSG_TUP_COT 0x0107#define PSG_MSG_TUP_CCR 0x0108#define PSG_MSG_TUP_FOT 0x0109#define PSG_MSG_TUP_CHG 0x010A#define PSG_MSG_TUP_CCL 0x010B#define PSG_MSG_TUP_OPR 0x010C#define PSG_MSG_TUP_MPM 0x010D#define PSG_MSG_TUP_RSC 0x010E#define PSG_MSG_TUP_BLO 0x010F#define PSG_MSG_TUP_BLA 0x0110#define PSG_MSG_TUP_UBL 0x0111#define PSG_MSG_TUP_UBA 0x0112#define PSG_MSG_TUP_GRS 0x0113#define PSG_MSG_TUP_GRA 0x0114#define PSG_MSG_TUP_MGB 0x0115#define PSG_MSG_TUP_MBA 0x0116#define PSG_MSG_TUP_MGU 0x0117#define PSG_MSG_TUP_MUA 0x0118#define PSG_MSG_TUP_HGB 0x0119#define PSG_MSG_TUP_HBA 0x011A#define PSG_MSG_TUP_HGU 0x011B#define PSG_MSG_TUP_HUA 0x011C#define PSG_MSG_TUP_SGB 0x011D#define PSG_MSG_TUP_SBA 0x011E#define PSG_MSG_TUP_SGU 0x011F#define PSG_MSG_TUP_SUA 0x0120#define PSG_MSG_TUP_ANN 0x0121#define PSG_MSG_TUP_ANU 0x0122#define PSG_MSG_TUP_CBK 0x0123#define PSG_MSG_TUP_SAO 0x0124#define PSG_MSG_TUP_GRQ 0x0125#define PSG_MSG_TUP_GSM 0x0126#define PSG_MSG_TUP_RAN 0x0127#define PSG_MSG_TUP_CFL 0x0128#define PSG_MSG_TUP_ACB 0x0129#define PSG_MSG_TUP_ACC 0x012A#define PSG_MSG_TUP_ADI 0x012B#define PSG_MSG_TUP_CGC 0x012C#define PSG_MSG_TUP_DPN 0x012D#define PSG_MSG_TUP_LOS 0x012E#define PSG_MSG_TUP_NNC 0x012F#define PSG_MSG_TUP_SEC 0x0130#define PSG_MSG_TUP_SSB 0x0131#define PSG_MSG_TUP_SST 0x0132#define PSG_MSG_TUP_EUM 0x0133#define PSG_MSG_TUP_UNN 0x0134#define PSG_MSG_TUP_CCF 0x0135#define PSG_MSG_TUP_SLB 0x0136#define PSG_MSG_TUP_STB 0x0137#define PSG_MSG_TUP_MAL 0x0138#define PSG_MSG_TUP_HBLO 0x0181#define PSG_MSG_TUP_HBLA 0x0182#define PSG_MSG_TUP_HUBL 0x0183#define PSG_MSG_TUP_HUBA 0x0184#define PSG_MSG_TUP_CRM 0x0185 // Call release method.// Declare PTL_PCU primitive type.// Add 2006-04-27, by Wu jianjin.#define PCU_DECLARE 0x0000#define PCU_MT_RECEPIT 0x0010//// Declare SCCP message index.// Add 2006-08-07, by Wu jianjin.//#define PSG_MSG_SCCP_CR 0x0101 // 连接请求 Connection Request#define PSG_MSG_SCCP_CC 0x0102 // 连接确认 Connection Acknowledgement#define PSG_MSG_SCCP_CREF 0x0103 // 拒绝连接 Connection Refused#define PSG_MSG_SCCP_RLSD 0x0104 // 释放连接 Released#define PSG_MSG_SCCP_RLC 0x0105 // 释放完成 Release Complete#define PSG_MSG_SCCP_DT1 0x0106 // 数据形式1 Data form 1#define PSG_MSG_SCCP_DT2 0x0107 // 数据形式2 Data form 2#define PSG_MSG_SCCP_AK 0x0108 // 数据证实 Data Acknowledgement#define PSG_MSG_SCCP_UDT 0x0109 // 单位数据 Unitdata#define PSG_MSG_SCCP_UDTS 0x010a // 单位数据业务 Unitdata Service#define PSG_MSG_SCCP_ED 0x010b // 加速数据 Expedited Data#define PSG_MSG_SCCP_EA 0x010c // 加速数据证实 Expedited Data Acknowledgement#define PSG_MSG_SCCP_RSR 0x010d // 复原请求 Reset Request#define PSG_MSG_SCCP_RSC 0x010e // 复原确认 Reset Confirm#define PSG_MSG_SCCP_ERR 0x010f // 协议数据单元错误 Protocol Data Unit Error#define PSG_MSG_SCCP_IT 0x0110 // 不活动性测试 Inactivity Test#define PSG_MSG_SCCP_XUDT 0x0111 // 增强单位数据 Extended Unitdata#define PSG_MSG_SCCP_XUDTS 0x0112 // 增强单位数据业务 Extended Unitdata Service#define PSG_MSG_SCCP_LUDT 0x0113 // Long Unitdata#define PSG_MSG_SCCP_LUDTS 0x0114 // Long Unitdata service//// Declare SCCP IE// Add 2006-08-07, by Wu jianjin.//#define PSG_IE_SC_EOP PSG_IE_ENDOPT // 0xc2 // End of optional parameters. It has been defined before.#define PSG_IE_SC_DLR 0xd1 // Destination local reference#define PSG_IE_SC_SLR 0xd2 // Source local reference#define PSG_IE_SC_CDA PSG_IE_CLDPRTNUM // 0x87 // Called address#define PSG_IE_SC_CGA PSG_IE_CLNPRTNUM // 0x88 // Calling address#define PSG_IE_SC_PTLCLS 0xd3 // Protocol class#define PSG_IE_SC_SGMRSM 0xd4 // Segmenting/reassembling#define PSG_IE_SC_RSN 0xd5 // Receive sequence number#define PSG_IE_SC_SEQSGM 0xd6 // Sequencing/segmenting#define PSG_IE_SC_CREDIT 0xd7 // Credit#define PSG_IE_SC_RELCAUSE 0xd8 // Release cause#define PSG_IE_SC_RETCAUSE 0xd9 // Return cause#define PSG_IE_SC_RSTCAUSE 0xda // Reset cause#define PSG_IE_SC_ERRCAUSE 0xdb // Error cause#define PSG_IE_SC_RFUCAUSE 0xdc // Refusal cause#define PSG_IE_SC_DATA 0xdd // Data#define PSG_IE_SC_SGM 0xde // Segmentation#define PSG_IE_SC_HOP 0xdf // Hop counter#define PSG_IE_SC_IMP 0xe0 // Importance#define PSG_IE_SC_LONGDATA 0xe1 // Long data#define PSG_IE_SC_SSN 0xe2 // Subsystem number#define PSG_IE_SC_DPC PSG_IE_DPC // 0x30 DPC#define PSG_IE_SC_SMI 0xe4 //Subsystem multiplicity indicator#define PSG_IE_SC_SCMG 0xe5#define PSG_IE_SC_OE 0xe6#define PSG_IE_SC_ADDRNTR 0xe7#define PSG_IE_SC_TTYPE 0xe8#define PSG_IE_SC_NUMPLAN 0xe9 //Numbering plan#define PSG_IE_SC_ENCDSCHM 0xea //Encoding scheme#define PSG_IE_SC_SCIND 0xeb //Signal code indicator#define PSG_IE_SC_SSNIND 0xec //SSN indicator#define PSG_IE_SC_GTIND 0xed //GT indicator#define PSG_IE_SC_RTIND 0xee //Route indicator// Add 2006-08-23, by Wu jianjin.#define PSG_IE_SC_EDS 0xef // Expedited data selection.#define PSG_IE_SC_CID 0xf0 // Connection identification.#define PSG_IE_SC_RSPA 0xf1 // Responding address.#define PSG_IE_SC_ORIGINATOR 0xf2 // Originator.#define PSG_IE_SC_SEQCTL 0xf3 // Sequence control.#define PSG_IE_SC_RETOPT 0xf4 // Return option.// End 2006-08-23// SCCP API primitive.#define PSG_SC_CONNECT_REQ 0x0001#define PSG_SC_CONNECT_IND 0x0002#define PSG_SC_CONNECT_RSP 0x0003#define PSG_SC_CONNECT_CFM 0x0004#define PSG_SC_DATA_REQ 0x0005#define PSG_SC_DATA_IND 0x0006#define PSG_SC_EXPEDITED_REQ 0x0007#define PSG_SC_EXPEDITED_IND 0x0008#define PSG_SC_RESET_REQ 0x0009#define PSG_SC_RESET_IND 0x000A#define PSG_SC_RESET_RSP 0x000B#define PSG_SC_RESET_CFM 0x000C#define PSG_SC_DISCONNECT_REQ 0x000D#define PSG_SC_DISCONNECT_IND 0x000E#define PSG_SC_INFORM_REQ 0x000F#define PSG_SC_INFORM_IND 0x0010#define PSG_SC_UNITDATA_REQ 0x0011#define PSG_SC_UNITDATA_IND 0x0012#define PSG_SC_NOTICE_IND 0x0013#define PSG_SM_REG_REQ 0x0010#define PSG_SM_REG_ACK 0x0011#define PSG_SM_DEG_REQ 0x0014#define PSG_SM_DEG_ACK 0x0015// SCCP subsystem number.#define SSN_NOTUSED 0x00 // SSN not known/not used.#define SSN_SCCPMGM 0x01 // SCCP management.#define SSN_ISUP 0x03 // ISDN user part.#define SSN_OMAP 0x04 // OAMP (Operation, Maintenance and Administration Part).#define SSN_MAP 0x05 // MAP (Mobile Application Part)#define SSN_HLR 0x06 // HLR (Home Location Register)#define SSN_VLR 0x07 // VLR (Visitor Location Register)#define SSN_MSC 0x08 // MSC (Mobile Switching Centre)#define SSN_EIC 0x09 // EIC (Equipment Identifier Centre)#define SSN_AUC 0x0A // AUC (Authentication Centre)#define SSN_ISDNSS 0x0B // ISDN supplementary services.#define SSN_BISDNB2A 0x0D // broadband ISDN edge-to-edge applications#define SSN_TCTR 0x0E // TC test responder// ### The following lines are added for SAP project./*SAP*/#define SAP_DECLARE 0x0000#define SAP_MAP_MT 0x0010#define SAP_MAP_MTRSP 0x0011#define SAP_MAP_UPDATE 0x0012#define SAP_MAP_CANCEL 0x0013#define SAP_MAP_INSDATA 0x0014#define SAP_MAP_SM_ROUTEINFO_REQ 0x0015#define SAP_MAP_SM_ROUTEINFO_RSP 0x0016/*-------------------added by lpx 2007-06-15 for caixiu ---------------*/#define SAP_ISUP_IAM 0x0017#define SAP_ISUP_ACM 0x0018#define SAP_ISUP_ANM 0x0019#define SAP_ISUP_CON 0x0020#define SAP_ISUP_REL 0x0021#define SAP_ISUP_SAM 0x0022/*-------------------end by lpx 2007-06-15 for caixiu ---------------*//*sap_maprsp*/#define SAP_IE_TIME 0x00#define SAP_IE_CLGADDR 0x01#define SAP_IE_CLDADDR 0x02#define SAP_IE_DTID 0x03#define SAP_IE_INVOKEID 0x04#define SAP_IE_RSPCODE 0x05/*sap_mtsm*/#define SAP_IE_CALLER 0x06#define SAP_IE_CALLEE 0x07#define SAP_IE_SMSC 0x08#define SAP_IE_MT_TIME 0x09#define SAP_IE_SMCONT 0x0a/*SAP_RTINFO*/#define SAP_IE_MSIDSN 0x0b#define SAP_IE_IMSI 0x0c/*sap_location*/#define SAP_IE_MSC 0x0d#define SAP_IE_VLR 0x0f/*-------------------added by lpx 2007-06-15 for caixiu ---------------*/#define SAP_IE_DPC 0x50#define SAP_IE_OPC 0x51#define SAP_IE_CIC 0x52#define SAP_IE_RELCAUSE 0x53#define SAP_IE_ADDNUM 0x54 // Subsequence number./*-------------------end by lpx 2007-06-15 for caixiu ---------------*/// ### End 2007-07-26.// ### Adding for R2 module, 2007-12-26.//-------------------------------------------------------------------------#define PSG_MSG_R2_IAM 0x0101 // 呼叫建立#define PSG_MSG_R2_ACM 0x0102 // 地址全#define PSG_MSG_R2_ANM 0x0103 // 应答#define PSG_MSG_R2_CRM 0x0104 // 呼叫释放方式#define PSG_MSG_R2_SAM 0x0105 // 后续号码#define PSG_MSG_R2_CTL 0x0106#define PSG_MSG_R2_CCL 0x0107 // 主叫挂机#define PSG_MSG_R2_BLA 0x0108 // 本地闭塞#define PSG_MSG_R2_UBA 0x0109 // 本地解闭塞#define PSG_MSG_R2_BLO 0x010a // 远端闭塞#define PSG_MSG_R2_UBL 0x010b // 远端解闭塞#define PSG_MSG_R2_REL 0x010c#define PSG_MSG_R2_RLC 0x010d#define PSG_MSG_R2_OPR 0x010e#define PSG_MSG_R2_MPM 0x010f#define PSG_MSG_R2_RAN 0x0110#define PSG_MSG_R2_RSC 0x0111#define PSG_MSG_R2_INR 0x1000#define PSG_MSG_R2_DISC 0x1001// add by CuiQian 2007-9-25// R2 host/application management API message type.//---------------------------------------------------#define PSG_RM_CCCTL_REQ 0x0014#define PSG_RM_CCCTL_IND 0x0015//---------------------------------------------------//------------------------------------------------------------------------// R2 with Layer2#define R2_LINE_REQUEST 0x0001#define R2_LINE_INDICATION 0x0002#define R2_LINE_QUERY 0x0003#define R2_LINE_RESPONSE 0x0004#define R2_MFC_REQUEST 0x0005#define R2_MFC_INDICATION 0x0006#define R2_MFC_STOP_REQUEST 0x0007#define R2_MFC_STOP_INDICATION 0x0008#define R2_SW_CONNECT 0x0009#define R2_SW_DISCONNECT 0x000a#define R2_SW_QUERY 0x000b#define R2_SW_RESPONSE 0x000c#define R2_SW_RESET 0x000d#define TNK_STATUS_REQUEST 0x000e#define TNK_STATUS_INDICATION 0x000f//------------------------------------------------------------------------#define R2_VAR_CHINA MTP3_VAR_CHINA // CHINA ISUP#define PSG_IE_KBINF 0xd0 // Information for KB by lxg// ### End 2007-12-26.#endif// ------------------------------------------------------------------------//// Revision list.// ==============//// 1.0, 2003-07-23, Lu Shengsheng// Initial version.//// ------------------------------------------------------------------------
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -