diff options
author | Harald Welte <laforge@gnumonks.org> | 2010-08-01 22:50:32 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2010-08-01 22:50:32 +0200 |
commit | 05943cb3cb8aee13433b0d465a00067f841c9821 (patch) | |
tree | 1d6514eb03bed4b8275194b2d8d58c1cdf099ea0 | |
parent | 0d7cd6c86d64501cd956172773391050ac22d931 (diff) |
use proper payload for UpdateGprsLocationArg and matching localOpCode
-rw-r--r-- | src/tcap_test.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/tcap_test.c b/src/tcap_test.c index 1b9d15e..ef0e0ec 100644 --- a/src/tcap_test.c +++ b/src/tcap_test.c @@ -71,8 +71,9 @@ static struct tcap_obj_ident gprsLocationUpdateContext_v3 = { }; static uint8_t gprs_loc_upd_param[] = { - 0x30, 0x1d, 0x04, 0x0f, 0x30, 0x31, 0x32, 0x33, 0x34, 0x35, 0x36, 0x37, 0x38, 0x39, 0x31, 0x32, - 0x33, 0x34, 0x35, 0x04, 0x01, 0x31, 0x04, 0x07, 0x31, 0x2e, 0x32, 0x2e, 0x33, 0x2e, 0x34 + 0x30, 0x22, 0x04, 0x08, 0x15, 0x10, 0x60, 0x24, 0x06, 0x00, 0x85, 0xf8, 0x04, 0x07, 0x91, 0x26, + 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, @@ -86,7 +87,7 @@ static int send_comp_req(enum tcap_primitive prim, uint32_t dialg_id, tcci->dialg_id = dialg_id; tcci->invoke_id = invoke_id; tcci->linked_id = NULL; - tcci->operation.local = 1; + tcci->operation.local = 23; tcci->timeout_secs = 10; tcci->op_class = 1; |