Hi All,
Update : After I patched the kannel the error message are no longer present
however MO are still not being delivered to the application but I received new
error in SMSBOX log as per below.
2016-04-13 10:38:58 [12246] [5] ERROR: smsbox_req_thread: no sender/receiver,
dump follows:
2016-04-13 10:38:58 [12246] [5] DEBUG: Msg object at 0x1378640:
2016-04-13 10:38:58 [12246] [5] DEBUG: type: sms
2016-04-13 10:38:58 [12246] [5] DEBUG: sms.sender:
2016-04-13 10:38:58 [12246] [5] DEBUG: Octet string at 0x1378800:
2016-04-13 10:38:58 [12246] [5] DEBUG: len: 12
2016-04-13 10:38:58 [12246] [5] DEBUG: size: 13
2016-04-13 10:38:58 [12246] [5] DEBUG: immutable: 0
2016-04-13 10:38:58 [12246] [5] DEBUG: data: 2b 36 30 31 30 33 30 36 34 38
3x 3x +601030648xx
2016-04-13 10:38:58 [12246] [5] DEBUG: Octet string dump ends.
2016-04-13 10:38:58 [12246] [5] DEBUG: sms.receiver:
2016-04-13 10:38:58 [12246] [5] DEBUG: sms.udhdata:
2016-04-13 10:38:58 [12246] [5] DEBUG: sms.msgdata:
2016-04-13 10:38:58 [12246] [5] DEBUG: Octet string at 0x1378500:
2016-04-13 10:38:58 [12246] [5] DEBUG: len: 1
2016-04-13 10:38:58 [12246] [5] DEBUG: size: 2
2016-04-13 10:38:58 [12246] [5] DEBUG: immutable: 0
2016-04-13 10:38:58 [12246] [5] DEBUG: data: 31
1
2016-04-13 10:38:58 [12246] [5] DEBUG: Octet string dump ends.
2016-04-13 10:38:58 [12246] [5] DEBUG: sms.time: 1460515138
2016-04-13 10:38:58 [12246] [5] DEBUG: sms.smsc_id:
2016-04-13 10:38:58 [12246] [5] DEBUG: Octet string at 0x13784b0:
2016-04-13 10:38:58 [12246] [5] DEBUG: len: 8
2016-04-13 10:38:58 [12246] [5] DEBUG: size: 9
2016-04-13 10:38:58 [12246] [5] DEBUG: immutable: 0
2016-04-13 10:38:58 [12246] [5] DEBUG: data: 73 6d 70 70 55 53 53 44
smppUSSD
2016-04-13 10:38:58 [12246] [5] DEBUG: Octet string dump ends.
2016-04-13 10:38:58 [12246] [5] DEBUG: sms.smsc_number:
2016-04-13 10:38:58 [12246] [5] DEBUG: sms.foreign_id:
2016-04-13 10:38:58 [12246] [5] DEBUG: sms.service:
2016-04-13 10:38:58 [12246] [5] DEBUG: sms.account:
2016-04-13 10:38:58 [12246] [5] DEBUG: Octet string at 0x1378460:
2016-04-13 10:38:58 [12246] [5] DEBUG: len: 6
2016-04-13 10:38:58 [12246] [5] DEBUG: size: 7
2016-04-13 10:38:58 [12246] [5] DEBUG: immutable: 0
2016-04-13 10:38:58 [12246] [5] DEBUG: data: 7x 6x 7x 3x 3x 3x
xxx126
2016-04-13 10:38:58 [12246] [5] DEBUG: Octet string dump ends.
2016-04-13 10:38:58 [12246] [5] DEBUG: sms.id:
852d8fa4-25f3-44fb-856b-39a2fa9d8131
2016-04-13 10:38:58 [12246] [5] DEBUG: sms.sms_type: 0
2016-04-13 10:38:58 [12246] [5] DEBUG: sms.mclass: -1
2016-04-13 10:38:58 [12246] [5] DEBUG: sms.mwi: -1
2016-04-13 10:38:58 [12246] [5] DEBUG: sms.coding: 3
2016-04-13 10:38:58 [12246] [5] DEBUG: sms.compress: 0
2016-04-13 10:38:58 [12246] [5] DEBUG: sms.validity: -1
2016-04-13 10:38:58 [12246] [5] DEBUG: sms.deferred: -1
2016-04-13 10:38:58 [12246] [5] DEBUG: sms.dlr_mask: -1
2016-04-13 10:38:58 [12246] [5] DEBUG: sms.dlr_url:
2016-04-13 10:38:58 [12246] [5] DEBUG: sms.pid: 0
2016-04-13 10:38:58 [12246] [5] DEBUG: sms.alt_dcs: 0
2016-04-13 10:38:58 [12246] [5] DEBUG: sms.rpi: -1
2016-04-13 10:38:58 [12246] [5] DEBUG: sms.charset:
2016-04-13 10:38:58 [12246] [5] DEBUG: sms.boxc_id:
2016-04-13 10:38:58 [12246] [5] DEBUG: sms.binfo:
2016-04-13 10:38:58 [12246] [5] DEBUG: Octet string at 0x1378860:
2016-04-13 10:38:58 [12246] [5] DEBUG: len: 4
2016-04-13 10:38:58 [12246] [5] DEBUG: size: 5
2016-04-13 10:38:58 [12246] [5] DEBUG: immutable: 0
2016-04-13 10:38:58 [12246] [5] DEBUG: data: 55 53 53 44
USSD
2016-04-13 10:38:58 [12246] [5] DEBUG: Octet string dump ends.
2016-04-13 10:38:58 [12246] [5] DEBUG: sms.msg_left: -1
2016-04-13 10:38:58 [12246] [5] DEBUG: sms.split_parts: (nil)
2016-04-13 10:38:58 [12246] [5] DEBUG: sms.priority: 0
2016-04-13 10:38:58 [12246] [5] DEBUG: sms.resend_try: -1
2016-04-13 10:38:58 [12246] [5] DEBUG: sms.resend_time: -1
2016-04-13 10:38:58 [12246] [5] DEBUG: sms.meta_data:
2016-04-13 10:38:58 [12246] [5] DEBUG: Octet string at 0x1378890:
2016-04-13 10:38:58 [12246] [5] DEBUG: len: 65
2016-04-13 10:38:58 [12246] [5] DEBUG: size: 66
2016-04-13 10:38:58 [12246] [5] DEBUG: immutable: 0
2016-04-13 10:38:58 [12246] [5] DEBUG: data: 3f 73 6d 70 70 3f 75 73 73 64
5f 68 6c 72 3d 36 ?smpp?ussd_hlr=6
2016-04-13 10:38:58 [12246] [5] DEBUG: data: 30 26 75 73 73 64 5f 6f 70 74
69 6f 6e 61 6c 3d 0&ussd_optional=
2016-04-13 10:38:58 [12246] [5] DEBUG: data: 30 30 31 30 30 34 33 34 35 37
30 44 42 30 46 46 00100434570DB0FF
2016-04-13 10:38:58 [12246] [5] DEBUG: data: 26 75 73 73 64 5f 73 72 76 5f
6f 70 3d 25 31 32 &ussd_srv_op=%12
2016-04-13 10:38:58 [12246] [5] DEBUG: data: 26
&
2016-04-13 10:38:58 [12246] [5] DEBUG: Octet string dump ends.
2016-04-13 10:38:58 [12246] [5] DEBUG: Msg object ends.
Bearerbox log
7292:2016-04-13 10:38:58 [12229] [6] DEBUG: SMPP[smppUSSD]: Got PDU:
7293:2016-04-13 10:38:58 [12229] [6] DEBUG: SMPP PDU 0x7feef000b390 dump:
7294:2016-04-13 10:38:58 [12229] [6] DEBUG: type_name: deliver_sm
7295:2016-04-13 10:38:58 [12229] [6] DEBUG: command_id: 5 = 0x00000005
7296:2016-04-13 10:38:58 [12229] [6] DEBUG: command_status: 0 = 0x00000000
7297:2016-04-13 10:38:58 [12229] [6] DEBUG: sequence_number: 505 = 0x000001f9
7298:2016-04-13 10:38:58 [12229] [6] DEBUG: service_type: "USSD"
7299:2016-04-13 10:38:58 [12229] [6] DEBUG: source_addr_ton: 1 = 0x00000001
7300:2016-04-13 10:38:58 [12229] [6] DEBUG: source_addr_npi: 1 = 0x00000001
7301:2016-04-13 10:38:58 [12229] [6] DEBUG: source_addr: "601030648xx"
7302:2016-04-13 10:38:58 [12229] [6] DEBUG: dest_addr_ton: 0 = 0x00000000
7303:2016-04-13 10:38:58 [12229] [6] DEBUG: dest_addr_npi: 0 = 0x00000000
7304:2016-04-13 10:38:58 [12229] [6] DEBUG: destination_addr: NULL
7305:2016-04-13 10:38:58 [12229] [6] DEBUG: esm_class: 0 = 0x00000000
7306:2016-04-13 10:38:58 [12229] [6] DEBUG: protocol_id: 0 = 0x00000000
7307:2016-04-13 10:38:58 [12229] [6] DEBUG: priority_flag: 0 = 0x00000000
7308:2016-04-13 10:38:58 [12229] [6] DEBUG: schedule_delivery_time: NULL
7309:2016-04-13 10:38:58 [12229] [6] DEBUG: validity_period: NULL
7310:2016-04-13 10:38:58 [12229] [6] DEBUG: registered_delivery: 0 =
0x00000000
7311:2016-04-13 10:38:58 [12229] [6] DEBUG: replace_if_present_flag: 0 =
0x00000000
7312:2016-04-13 10:38:58 [12229] [6] DEBUG: data_coding: 15 = 0x0000000f
7313:2016-04-13 10:38:58 [12229] [6] DEBUG: sm_default_msg_id: 0 = 0x00000000
7314:2016-04-13 10:38:58 [12229] [6] DEBUG: sm_length: 1 = 0x00000001
7315:2016-04-13 10:38:58 [12229] [6] DEBUG: short_message: "1"
7316:2016-04-13 10:38:58 [12229] [6] DEBUG: ussd_service_op:
7317:2016-04-13 10:38:58 [12229] [6] DEBUG: Octet string at 0x7feef0006220:
7318:2016-04-13 10:38:58 [12229] [6] DEBUG: len: 1
7319:2016-04-13 10:38:58 [12229] [6] DEBUG: size: 2
7320:2016-04-13 10:38:58 [12229] [6] DEBUG: immutable: 0
7321:2016-04-13 10:38:58 [12229] [6] DEBUG: data: 12
.
7322:2016-04-13 10:38:58 [12229] [6] DEBUG: Octet string dump ends.
7323:2016-04-13 10:38:58 [12229] [6] DEBUG: ussd_hlr: "60"
7324:2016-04-13 10:38:58 [12229] [6] DEBUG: ussd_optional: "00100434570DB0FF"
7325:2016-04-13 10:38:58 [12229] [6] DEBUG: ussd_srv_op:
7326:2016-04-13 10:38:58 [12229] [6] DEBUG: Octet string at 0x7feef0001150:
7327:2016-04-13 10:38:58 [12229] [6] DEBUG: len: 1
7328:2016-04-13 10:38:58 [12229] [6] DEBUG: size: 2
7329:2016-04-13 10:38:58 [12229] [6] DEBUG: immutable: 0
7330:2016-04-13 10:38:58 [12229] [6] DEBUG: data: 12
.
7331:2016-04-13 10:38:58 [12229] [6] DEBUG: Octet string dump ends.
7332:2016-04-13 10:38:58 [12229] [6] DEBUG: SMPP PDU dump ends.
Seems like NULL destination are processed but smsbox won't proceed. Anything
else than can I do from my side to get this working
Thank you,
Arif Noor
-----Original Message-----
From: users [mailto:[email protected]] On Behalf Of Arif Noor
Sent: Tuesday, April 12, 2016 9:26 AM
To: Stipe Tolj
Cc: [email protected]
Subject: RE: USSD with Kannel
Hi Stipe,
Thank you for the patch, will do a test once I arrived at the office, also I
have sent the email to you for the specification of the ussd gateway.
Arif Noor.
-----Original Message-----
From: Stipe Tolj [mailto:[email protected]]
Sent: Monday, April 11, 2016 11:25 PM
Cc: Arif Noor; [email protected]
Subject: Re: USSD with Kannel
Am 11.04.2016 17:19, schrieb Stipe Tolj:
>
> I'll prepare a simple patch that let's you resolve the issue.
please try to apply the following patch to the source tree and re-compile.
--
Best Regards,
Stipe Tolj
-------------------------------------------------------------------
Düsseldorf, NRW, Germany
Kannel Foundation tolj.org system architecture
http://www.kannel.org/ http://www.tolj.org/
stolj at kannel.org st at tolj.org
-------------------------------------------------------------------