Re: USSD: Mallformed destination_addr `(null)', may not be empty. Discarding MO message

kayode tobi <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <[email protected]>
Hi Andreas,

I am so grateful for your response.

However, I have been to this supplier with this question, but they claim this is how they push requests to all connected clients via SMPP.

Please look at this again:

2012-11-27 11:38:35 [6369] [6] DEBUG: SMPP[USSD]: throughput (0.00,0.00)
2012-11-27 11:38:35 [6369] [6] DEBUG: Optional parameter tag (0x001e)
2012-11-27 11:38:35 [6369] [6] DEBUG: Optional parameter length read as 33
2012-11-27 11:38:35 [6369] [6] DEBUG: Optional parameter tag (0x0202)
2012-11-27 11:38:35 [6369] [6] DEBUG: Optional parameter length read as 15
2012-11-27 11:38:35 [6369] [6] DEBUG: Optional parameter tag (0x0203)
2012-11-27 11:38:35 [6369] [6] DEBUG: Optional parameter length read as 13
2012-11-27 11:38:35 [6369] [6] DEBUG: Optional parameter tag (0x0501)
2012-11-27 11:38:35 [6369] [6] DEBUG: Optional parameter length read as 1
2012-11-27 11:38:35 [6369] [6] DEBUG: Found configured optional parameter `mydata'
2012-11-27 11:38:35 [6369] [6] DEBUG: Optional parameter tag (0x0424)
2012-11-27 11:38:35 [6369] [6] DEBUG: Optional parameter length read as 5
2012-11-27 11:38:35 [6369] [6] DEBUG: SMPP[USSD]: Got PDU:
2012-11-27 11:38:35 [6369] [6] DEBUG: SMPP PDU 0x7ff7c8001550 dump:
2012-11-27 11:38:35 [6369] [6] DEBUG:   type_name: data_sm
2012-11-27 11:38:35 [6369] [6] DEBUG:   command_id: 259 = 0x00000103
2012-11-27 11:38:35 [6369] [6] DEBUG:   command_status: 0 = 0x00000000
2012-11-27 11:38:35 [6369] [6] DEBUG:   sequence_number: 1 = 0x00000001
2012-11-27 11:38:35 [6369] [6] DEBUG:   service_type: "USSD"
2012-11-27 11:38:35 [6369] [6] DEBUG:   source_addr_ton: 1 = 0x00000001
2012-11-27 11:38:35 [6369] [6] DEBUG:   source_addr_npi: 1 = 0x00000001
2012-11-27 11:38:35 [6369] [6] DEBUG:   source_addr: "2347055932235"
2012-11-27 11:38:35 [6369] [6] DEBUG:   dest_addr_ton: 0 = 0x00000000
2012-11-27 11:38:35 [6369] [6] DEBUG:   dest_addr_npi: 0 = 0x00000000
2012-11-27 11:38:35 [6369] [6] DEBUG:   destination_addr: NULL
2012-11-27 11:38:35 [6369] [6] DEBUG:   esm_class: 1 = 0x00000001
2012-11-27 11:38:35 [6369] [6] DEBUG:   registered_delivery: 0 = 0x00000000
2012-11-27 11:38:35 [6369] [6] DEBUG:   data_coding: 0 = 0x00000000
2012-11-27 11:38:35 [6369] [6] DEBUG:   message_payload:
2012-11-27 11:38:35 [6369] [6] DEBUG:    Octet string at 0x7ff7c80018c0:
2012-11-27 11:38:35 [6369] [6] DEBUG:      len:  5
2012-11-27 11:38:35 [6369] [6] DEBUG:      size: 6
2012-11-27 11:38:35 [6369] [6] DEBUG:      immutable: 0
2012-11-27 11:38:35 [6369] [6] DEBUG:      data: aa 19 0c 36 02                                    ...6.
2012-11-27 11:38:35 [6369] [6] DEBUG:    Octet string dump ends.
2012-11-27 11:38:35 [6369] [6] DEBUG:   receipted_message_id:

 "

 When the highlighted "data: aa 19 0c 36 02" was decripted, it revealed the code "*300#" which I presume should be the destination address.

1. Kindly enlighten me what this should be, because they claim my app (kannel) is what is not accepting the destination address.

2. Do you think I am missing anything in the kannel config? If yes, can u let me see a sample kannel USSD config?

3. Can I set configure kannel to accept NULL destination address?

Thank you so much for your time.



Best Regards,
Kayode











________________________________
 From: Andreas Fink <[email protected]>
To: kayode tobi <[email protected]> 
Cc: "[email protected]" <[email protected]> 
Sent: Monday, 14 January 2013, 9:20
Subject: Re: USSD: Mallformed destination_addr `(null)', may not be empty. Discarding MO message
 

there is your error in the log:

2012-11-27 11:38:35 [6369] [6] DEBUG:   dest_addr_ton: 0 = 0x00000000
2012-11-27 11:38:35 [6369] [6] DEBUG:   dest_addr_npi: 0 = 0x00000000
2012-11-27 11:38:35 [6369] [6] DEBUG:   destination_addr: NULL
2012-11-27 11:38:35 [6369] [6] ERROR: SMPP[USSD]: Mallformed destination_addr `(null)', may not be empty. Discarding MO message.

talk to your supplier and ask them why they send you no destination address.

On 14.01.2013, at 09:11, kayode tobi <[email protected]> wrote:


>
>Hi Team,
>
>I have been very successful in using kannel (with binds to SMSC) to deliver MT messages to handsets.
>
>I have just been given a project that involves receiving MO messages from a USSD gateway and I am getting the Error above.
>
>
>When I send *300# from the phone, I get "USSDC: Rejected by ESME" back on the phone.
>
>
>Attached to this mail is the complete error from my log and my kannel config (Kannel bearerbox version `svn-r4979M')
>
>Kindly assist to check where this error is coming from and if I am doing something wrong.
>
>Thank you
> 
>Best Regards,
>Kayode
>
>
>
>
>
>
>
>
>
>
><COMPLETE ERROR><KANNEL CONF>
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.