use proper payload for UpdateGprsLocationArg and matching localOpCode

This commit is contained in:
Harald Welte 2010-08-01 22:50:32 +02:00
parent 0d7cd6c86d
commit 05943cb3cb
1 changed files with 4 additions and 3 deletions

View File

@ -71,8 +71,9 @@ static struct tcap_obj_ident gprsLocationUpdateContext_v3 = {
}; };
static uint8_t gprs_loc_upd_param[] = { static uint8_t gprs_loc_upd_param[] = {
0x30, 0x1d, 0x04, 0x0f, 0x30, 0x31, 0x32, 0x33, 0x34, 0x35, 0x36, 0x37, 0x38, 0x39, 0x31, 0x32, 0x30, 0x22, 0x04, 0x08, 0x15, 0x10, 0x60, 0x24, 0x06, 0x00, 0x85, 0xf8, 0x04, 0x07, 0x91, 0x26,
0x33, 0x34, 0x35, 0x04, 0x01, 0x31, 0x04, 0x07, 0x31, 0x2e, 0x32, 0x2e, 0x33, 0x2e, 0x34 0x18, 0x01, 0x21, 0x07, 0xf1, 0x04, 0x05, 0x04, 0xdd, 0x84, 0xc1, 0x35, 0xa0, 0x06, 0x83, 0x00,
0x84, 0x02, 0x04, 0x20
}; };
static int send_comp_req(enum tcap_primitive prim, uint32_t dialg_id, static int send_comp_req(enum tcap_primitive prim, uint32_t dialg_id,
@ -86,7 +87,7 @@ static int send_comp_req(enum tcap_primitive prim, uint32_t dialg_id,
tcci->dialg_id = dialg_id; tcci->dialg_id = dialg_id;
tcci->invoke_id = invoke_id; tcci->invoke_id = invoke_id;
tcci->linked_id = NULL; tcci->linked_id = NULL;
tcci->operation.local = 1; tcci->operation.local = 23;
tcci->timeout_secs = 10; tcci->timeout_secs = 10;
tcci->op_class = 1; tcci->op_class = 1;