You are on page 1of 8

/**************************************************************/ TCAP COMPONENT TYPES /**************************************************************/ #define T_Component_invoke 1 #define T_Component_returnResultLast 2 #define T_Component_returnError 3 #define T_Component_reject 4 #define T_Component_returnResultNotLast 5

/**************************************************************/ /* TCAP MessageType */ /**************************************************************/ #define T_MessageType_undirectional 1 #define T_MessageType_begin 2 #define T_MessageType_end 3 #define T_MessageType_continue_ 4 #define T_MessageType_abort_ 5

/*! * MAP Application Contexts. */ typedef enum { /*! Location Updating */ DEF_AC_networkLocUp_v1 = 1, DEF_AC_networkLocUp_v2 = 1, DEF_AC_networkLocUp_v3 = 1, /*! Location Cancellation */ DEF_AC_locationCancel_v1 = 2, DEF_AC_locationCancel_v2 = 2, DEF_AC_locationCancel_v3 = 2, /*! Roaming Number enquiry */ DEF_AC_roamingNbEnquiry_v1 = 3, DEF_AC_roamingNbEnquiry_v2 = 3, DEF_AC_roamingNbEnquiry_v3 = 3,

/*! Location Information Retrieval */ DEF_AC_locInfoRetrieval_v1 = 5, DEF_AC_locInfoRetrieval_v2 = 5, DEF_AC_locInfoRetrieval_v3 = 5, /*! Call Controll transfer */ DEF_AC_callControlTransfer_v3 = 6, DEF_AC_callControlTransfer_v4 = 6, /*! Location registers restart */ DEF_AC_reset_v1 = 10, DEF_AC_reset_v2 = 10, /*! Hand over control */ DEF_AC_handoverControl_v1 = 11, DEF_AC_handoverControl_v2 = 11, /*! IMSI retrieval */ DEF_AC_imsiRetrieval_v2 = 26, /*! Equipment managent */ DEF_AC_equipmentMngt_v1 = 13, DEF_AC_equipmentMngt_v2 = 13, /*! Information retrieval */ DEF_AC_infoRetrieval_v1 = 14, DEF_AC_infoRetrieval_v2 = 14, /*! Inter VLR information retrieval */ DEF_AC_interVlrInfoRetrieval_v1 = 14, DEF_AC_interVlrInfoRetrieval_v2 = 15, /*! Stand alone subscriber data management */ DEF_AC_subscriberDataMngt_v1 = 16, DEF_AC_subscriberDataMngt_v2 = 16, DEF_AC_subscriberDataMngt_v3 = 16, /*! Tracing */ DEF_AC_tracing_v1 = 17, DEF_AC_tracing_v2 = 17, DEF_AC_tracing_v3 = 17, /*! Network functional SS handling */ DEF_AC_networkFunctionalSs_v1 = 18, DEF_AC_networkFunctionalSs_v2 = 18,

/*! Network USSD handling */ DEF_AC_networkUnstructuredSs_v1 = 18, DEF_AC_networkUnstructuredSs_v2 = 19, /*! short message gateway */ DEF_AC_shortMsgGateway_v1 = 20, DEF_AC_shortMsgGateway_v2 = 20, DEF_AC_shortMsgGateway_v3 = 20, /*! MO SM relay */ DEF_AC_shortMsgMORelay_v1 = 21, DEF_AC_shortMsgMORelay_v2 = 21, DEF_AC_shortMsgMORelay_v3 = 21, /*! SM alert */ DEF_AC_shortMsgAlert_v1 = 23, DEF_AC_shortMsgAlert_v2 = 23, DEF_AC_shortMsgAlert_v3 = 23, /*! SM waiting data management */ DEF_AC_mwdMngt_v1 = 24, DEF_AC_mwdMngt_v2 = 24, DEF_AC_mwdMngt_v3 = 24, /*! MT SM relay */ DEF_AC_shortMsgMTRelay_v1 = 21, DEF_AC_shortMsgMTRelay_v2 = 25, DEF_AC_shortMsgMTRelay_v3 = 25, /*! MS purging */ DEF_AC_msPurging_v1 = 27, DEF_AC_msPurging_v2 = 27, DEF_AC_msPurging_v3 = 27, /*! Subscriber info enquiry */ DEF_AC_subscriberInfoEnquiry_v3 = 28, /*! Any time interrogation enquiry */ DEF_AC_anyTimeInfoEnquiry_v3 = 29, /*! Group call control */ DEF_AC_groupCallControl_v3 = 31, /*! Provide SIWFS number */ DEF_AC_SIWFSAllocation_v3 = 12,

/*! GPRS location updating */ DEF_AC_gprsLocationUpdate_v3 = 32, /*! GPRS location information retrieval */ DEF_AC_gprsLocationInfoRetrieval_v3 = 33, /*! Failure reportining */ DEF_AC_failureReport_v3 = 34, /*! GPRS notify */ DEF_AC_gprsNotify_v3 = 35, /*! Suplimentary service invocation notification */ DEF_AC_ssInvocationNotification_v3 = 36, /*! Reporting */ DEF_AC_reporting_v3 = 7, /*! Call completion */ DEF_AC_callCompletion_v3 = 8, /*! Location service gateway */ DEF_AC_locationSvcGateway_v3 = 37, /*! Location service enquiry */ DEF_AC_locationScvEnquiry_v3 = 38, /*! Process USSD Request */ DEF_AC_ProcessUnstructuredSS_RequestV3 = 59, DEF_AC_ProcessUnstructuredSS_RequestV2 = 59, /*! Immediate Subscriber Termination(IST) Alerting */ DEF_AC_alerting = 4, /*! Immediate Subscriber Termination(IST) */ DEF_AC_serviceTermination = 9, /*! Mobility Management event notification */ DEF_AC_mm_eventReporting = 42, /*! Any time information handling */ DEF_AC_anyTimeInfoHandling = 43, /*! Subscriber Data modification notification */ DEF_AC_subscriberDataModificationNotification = 22,

/*! Authentication Failure Report */ DEF_AC_authenticationFailureReport = 39 } EAppContext ; /* MAP OPCODES */ #define UPDATE_LOCATION #define CANCEL_LOCATION #define INSERT_SUBSCRIBER_DATA #define DELETE_SUBSCRIBER_DATA #define OPCODE_NOT_PRESENT #define PROVIDE_ROAMING_NUMBER #define ROUTING_INFO_FOR_SM #define FORWARD_SM #define MT_FORWARD_SM #define READY_FOR_SM #define ACTIVATE_TRACE_MODE #define DEACTIVATE_TRACE_MODE #define PURGE_MS #define SEND_AUTHENTICATION_INF #define RESET #define RESTORE_DATA #define PROCESS_UNSTRUCTURED #define PROVIDE_SUBSCRIBER_INFO #define SEND_IMSI #define SET_REPORTING_STATE #define STATUS_REPORT #define REMOTE_USER_FREE #define REGISTER_SS #define BEGIN_SUBSCRIBER_ACTIVITY #define MAP_ERASE_SS #define MAP_ACTIVATE_SS #define MAP_DEACTIVATE_SS #define MAP_INTERROGATE_SS #define MAP_REGISTER_PASSWORD #define MAP_PROCESS_UNSTRUCTURED_SS #define MAP_PROCESS_UNSTRUCTURED_SS_DATA 19 #define MAP_UNSTRUCTURED_SS_REQUEST #define MAP_UNSTRUCTURED_SS_NOTIFY #define MAP_REGISTER_CC_ENTRY #define MAP_ERASE_CC_ENTRY #define SEND_PARAMETERS #define NOTE_SUBSCRIBER_PRESENT 2 3 7 8 0 4 45 46 44 66 50 51 67 56 37 57 59 70 58 73 74 75 10 54 11 12 13 14 17 59 60 61 76 77 9 48

#define FORWARD_CHECK_SS_INDICATION #define GET_PASSWORD #define REPORT_SM_DELIVERY_STATUS #define ALERT_SERVICE_CENTER #define ALERT_SERVICE_CENTER_WO_RESULT #define INFORM_SERVICE_CENTER #define MAP_ANY_TIME_INTERROGATION #define UPDATE_GPRS_LOCATION #define FAILURE_REPORT #define NOTE_MS_PRESENT_FOR_GPRS #define NOTE_MM_EVENT #define AUTHENTICATION_FAILURE_REPORT #define RESUME_CALL_HANDLING #define IST_ALERT #define IST_COMMAND #define INFORM_SERVICE_CENTRE #define PROVIDE_SUBSCRIBER_LOCATION #define SUBSCRIBER_LOCATION_REPORT

38 18 47 64 49 63 71 23 25 26 89 15 6 87 88 63 83 86

#define UN_SUPPORTED_OPCODE /* CAP OPCODES */ #define INITIAL_DP 0 V3 */ #define ASSIST_REQUEST_INSTRUCTION V2 & V3 */ #define ESTABLISH_TEMPORARY_CONNECTION /* CAP V2 & V3 */ #define DISCONNECT_FORWARD_CONNECTION /* CAP V2 & V3 */ #define CONNECT_TO_RESOURCE V2 & V3 */ #define CONNECT V2 & V3 */ #define RELEASE_CALL V2 & V3 */ #define REQUEST_REPORT_BCSM_EVENT V1 & V2 & V3 */

-1

/* CAP V1 & V2 & 16 17 18 19 20 22 23 /* CAP /* CAP V1 & /* CAP V1 & /* CAP /* CAP

#define EVENT_REPORT_BCSM V2 & V3 */ #define CONTINUE 31 V3 */ #define RESET_TIMER V3 */ #define FURNISH_CHARGING_INFORMATION V2 & V3 */ #define APPLY_CHARGING V2 & V3 */ #define APPLY_CHARGING_REPORT V2 & V3 */ #define CALL_GAP 41

24

/* CAP V1 & /* CAP V1 & V2 &

33 34 35 36

/* CAP V2 & /* CAP /* CAP /* CAP

/* CAP V3 */ 44 45 46 /* CAP /* CAP /* CAP /* CAP V2 & 48 49 /* CAP /* CAP V2 & /* CAP V1 & 56 60 61 62 63 64 65 66 67 /* CAP /* CAP V3 */ /* CAP /* CAP V3 */ /* CAP /* CAP V3 */ /* CAP V3 */ /* CAP V3 */ /* CAP

#define CALL_INFORMATION_REPORT V2 & V3 */ #define CALL_INFORMATION_REQUEST V2 & V3 */ #define SEND_CHARGING_INFORMATION V2 & V3 */ #define PLAY_INFORMATION 47 V3 */ #define PROMPT_AND_COLLECT_USER_INFORMATION /* CAP V2 & V3 */ #define SPECIALIZED_RESOURCE_REPORT V2 & V3 */ #define CANCEL 53 V3 */ #define ACTIVITY_TEST 55 V2 & V3 */ #define CONTINUE_WITH_ARGUMENT V3 */ #define INITIAL_DP_SMS #define FURNISH_CHARGING_INFORMATION_SMS V3 */ #define CONNECT_SMS #define REQUEST_REPORT_SMS_EVENT V3 */ #define EVENT_REPORT_SMS #define CONTINUE_SMS #define RELEASE_SMS #define RESET_TIMER_SMS V3 */

#define ACTIVITY_TEST_GPRS 70 #define APPLY_CHARGING_GPRS V3 */ #define APPLY_CHARGING_REPORT_GPRS V3 */ #define CANCEL_GPRS 73 #define CONNECT_GPRS 74 #define CONTINUE_GPRS 75 #define ENTITY_RELEASED_GPRS V3 */ #define FURNISH_CHARGING_INFORMATION_GPRS V3 */ #define INITIAL_DP_GPRS 78 #define RELEASE_GPRS 79 #define EVENT_REPORT_GPRS 80 #define REQUEST_REPORT_GPRS_EVENT V3 */ #define RESET_TIMER_GPRS 82 #define SEND_CHARGING_INFORMATION_GPRS /* CAP V3 */

71 72

/* CAP V3 */ /* CAP /* CAP /* CAP V3 */ /* CAP V3 */ /* CAP V3 */ /* CAP /* CAP /* CAP V3 */ /* CAP V3 */ /* CAP V3 */ /* CAP /* CAP V3 */ 83

76 77

81

You might also like