Re: USSD with Kannel

Sam <[email protected]>
Newsgroups gmane.comp.mobile.kannel.user
Message-ID <CABQSVznXgV4GzMJats8U7fSDBm3BS0uT4Z=CFU3X0U99k=LuKA@mail.gmail.com>
Hello,

I am having exactly this same issue and with smsbox getting stalled on the
error -  smsbox_req_thread: no sender/receiver, dump follows:

Did anyone manage to get this resolved?

Thanks.

On Tue, Sep 27, 2016 at 4:31 PM Stipe Tolj <[email protected]> wrote:

> Am 13.04.2016 05:35, schrieb Arif Noor:
> > 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
>
> Hi Arif,
>
> sorry for the long delay in response. Please let me know in case this is
> still an ongoing issue, and we will try to assist.
>
> --
> 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
> -------------------------------------------------------------------
>
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.