/*
***********************************************************************

 CVOPS internal definitions for MobSim-MSC CC protocol

***********************************************************************
*/

/*
*
$ pdus
*
*/

#define CC_Message	0
#define CC_Alert        1
#define CC_Call_Conf    2
#define CC_Call_Proc    3
#define CC_Conn         4
#define CC_Conn_Ack     5
#define CC_Disc         6
#define CC_Release      7
#define CC_Rel_Compl    8
#define CC_Setup        9


/*
*
$ states
*
*/

#define idle            0
#define call_init       1
#define call_proc       2
#define call_delivered  3
#define conn_ind        4
#define active          5
#define call_present    6
#define call_conf       7
#define call_recv       8
#define release_req     9
#define disc_ind       10
#define wait_data	11

/*
*
$ variable structure
*
*/

typedef struct {
	sint32		n_imsi,
			n_cm_service_type,
			n_location_area,
			n_cause,
			n_judgement,
			n_protocol_disc;
	FRAME_PTR	SendFrame,
			RecFrame;
	VTASK		*self;
	char		*s_errorString;

} VARIABLE_STR;


/*
*
$ end
*
*/

/*
$ asn
*/

#define asn_cm_service_type 0
#define asn_mobile_identity 1
#define asn_mMs_Assignment_Req_prim 2
#define asn_mMs_Assignment_Complete_prim 3
#define asn_user_data 4
#define asn_mm_cause 5
#define asn_imsi 6
#define asn_protocol_discriminator 7
#define asn_transaction_identifier 8
#define asn_l3_message 9
#define asn_ccp_Alert_pdu 10
#define asn_cc_cause 11
#define asn_ccp_Call_Proceeding_pdu 12
#define asn_ccp_Connect_pdu 13
#define asn_ccp_Connect_Ack_pdu 14
#define asn_calling_number 15
#define asn_called_number 16
#define asn_ccs_Alert_prim 17
#define asn_ccs_Connect_prim 18
#define asn_ccs_Setup_Cnf_prim 19
#define asn_ccs_Setup_Request_prim 20
#define asn_ccs_Disc_Ind_prim 21
#define ASN_VAR_COUNT 22

/*
$ end asn
*/

