Finally Kidi did you solve this issue ?

Me no, I found out my issue maybe linked to ESM_CLASS, will try the patch
below as maybe my SMS-C does not accept the default message mode Kannel
uses: 0x03 (Store and Forward), Most SMS-C use 0x00 (Default Mode).

Well, regarding esm_class, I always have to modify smsc_smpp.c on line:

pdu->u.submit_sm.esm_class = ESM_CLASS_SUBMIT_STORE_AND_FORWARD_MODE

to

pdu->u.submit_sm.esm_class = ESM_CLASS_SUBMIT_DEFAULT_SMSC_MODE

In order for my operator's SMSCs being able to process my messages.
They seem to like a "0" instead of a "3" on esm_class.

I'd love to be able to do that without patching Kannel! I think a
config directive would suffice for me, but I think that maybe there
are some people that would also like to do that on a message basis...

Regards,

BTW, I am not not in France Elton :), but thanks for your help

BR,

Emmanuel

2010/10/8 Elton Hoxha <elt...@gmail.com>

> Both of you guys are posting from France, probably connected to the same
> SMSC :)
>
> Maybe operator is having any night activity and destination tables of SMSC
> have been affected.
>
> On Fri, Oct 8, 2010 at 1:28 AM, Kidi Kidi <kidi...@yahoo.fr> wrote:
>
>>  either i use the parameters below or not i get the same result. i have a
>> shortcode 2845 and i want to sent a message to a long phone number.
>>
>> source-addr-ton=1
>> source-addr-npi=1
>> dest-addr-ton=1
>> dest-addr-npi=1
>> bind-addr-ton=1
>> bind-addr-npi=1
>>
>>  ------------------------------
>> *De :* Emmanuel CHANSON <emmanuelchan...@gmail.com>
>> *À :* Kidi Kidi <kidi...@yahoo.fr>
>> *Cc :* users@kannel.org
>> *Envoyé le :* Jeu 7 octobre 2010, 23h 12min 58s
>> *Objet :* Re: SMSC returned error code 0x0000000b (Invalid Destination
>> Address) in response to submit_sm.
>>
>> I have exactly the same issue at the moment and I try to determine if it
>> is a Kannel or SMSC issue:
>> I try different combination of TON & NPI without success.
>>
>> For the moment I would say it is a SMSC configuration issue...but
>>
>> bearerbox.log
>> ---------------------
>> 2010-10-07 10:54:34 [16729] [6] DEBUG: SMPP[m]: throughput (0.00,0.00)
>> 2010-10-07 10:54:34 [16729] [6] DEBUG: SMPP[m]: throughput (0.00,0.00)
>> 2010-10-07 10:54:34 [16729] [6] DEBUG: SMPP[m]: Got PDU:
>> 2010-10-07 10:54:34 [16729] [6] DEBUG: SMPP PDU 0xb3802be0 dump:
>> 2010-10-07 10:54:34 [16729] [6] DEBUG:   type_name: enquire_link_resp
>> 2010-10-07 10:54:34 [16729] [6] DEBUG:   command_id: 2147483669 =
>> 0x80000015
>> 2010-10-07 10:54:34 [16729] [6] DEBUG:   command_status: 0 = 0x00000000
>> 2010-10-07 10:54:34 [16729] [6] DEBUG:   sequence_number: 37 = 0x00000025
>> 2010-10-07 10:54:34 [16729] [6] DEBUG: SMPP PDU dump ends.
>> 2010-10-07 10:54:34 [16729] [6] DEBUG: SMPP[m]: throughput (0.00,0.00)
>> 2010-10-07 10:55:00 [16729] [18] DEBUG: boxc_receiver: sms received
>> 2010-10-07 10:55:00 [16729] [6] DEBUG: SMPP[m]: throughput (0.00,0.00)
>> 2010-10-07 10:55:00 [16729] [6] DEBUG: SMPP[m]: Sending PDU:
>> 2010-10-07 10:55:00 [16729] [6] DEBUG: SMPP PDU 0xb3803980 dump:
>> 2010-10-07 10:55:00 [16729] [6] DEBUG:   type_name: submit_sm
>> 2010-10-07 10:55:00 [16729] [6] DEBUG:   command_id: 4 = 0x00000004
>> 2010-10-07 10:55:00 [16729] [6] DEBUG:   command_status: 0 = 0x00000000
>> 2010-10-07 10:55:00 [16729] [6] DEBUG:   sequence_number: 38 = 0x00000026
>> 2010-10-07 10:55:00 [16729] [6] DEBUG:   service_type: NULL
>> 2010-10-07 10:55:00 [16729] [6] DEBUG:   source_addr_ton: 2 = 0x00000002
>> 2010-10-07 10:55:00 [16729] [6] DEBUG:   source_addr_npi: 1 = 0x00000001
>> 2010-10-07 10:55:00 [16729] [6] DEBUG:   source_addr: "5656"
>> 2010-10-07 10:55:00 [16729] [6] DEBUG:   dest_addr_ton: 1 = 0x00000001
>> 2010-10-07 10:55:00 [16729] [6] DEBUG:   dest_addr_npi: 1 = 0x00000001
>> 2010-10-07 10:55:00 [16729] [6] DEBUG:   destination_addr: "xxxxxxxxx"
>> 2010-10-07 10:55:00 [16729] [6] DEBUG:   esm_class: 3 = 0x00000003
>> 2010-10-07 10:55:00 [16729] [6] DEBUG:   protocol_id: 0 = 0x00000000
>> 2010-10-07 10:55:00 [16729] [6] DEBUG:   priority_flag: 0 = 0x00000000
>> 2010-10-07 10:55:00 [16729] [6] DEBUG:   schedule_delivery_time: NULL
>> 2010-10-07 10:55:00 [16729] [6] DEBUG:   validity_period: NULL
>> 2010-10-07 10:55:00 [16729] [6] DEBUG:   registered_delivery: 0 =
>> 0x00000000
>> 2010-10-07 10:55:00 [16729] [6] DEBUG:   replace_if_present_flag: 0 =
>> 0x00000000
>> 2010-10-07 10:55:00 [16729] [6] DEBUG:   data_coding: 0 = 0x00000000
>> 2010-10-07 10:55:00 [16729] [6] DEBUG:   sm_default_msg_id: 0 = 0x00000000
>> 2010-10-07 10:55:00 [16729] [6] DEBUG:   sm_length: 4 = 0x00000004
>> 2010-10-07 10:55:00 [16729] [6] DEBUG:   short_message: "test"
>> 2010-10-07 10:55:00 [16729] [6] DEBUG: SMPP PDU dump ends.
>> 2010-10-07 10:55:00 [16729] [6] DEBUG: SMPP[m]: throughput (1.00,0.00)
>> 2010-10-07 10:55:00 [16729] [18] DEBUG: send_msg: sending msg to box:
>> <127.0.0.1>
>> 2010-10-07 10:55:00 [16729] [6] DEBUG: SMPP[m]: throughput (1.00,0.00)
>> 2010-10-07 10:55:00 [16729] [6] WARNING: SMPP: PDU NULL terminated string
>> (message_id) has no NULL.
>> 2010-10-07 10:55:00 [16729] [6] DEBUG: SMPP[m]: Got PDU:
>> 2010-10-07 10:55:00 [16729] [6] DEBUG: SMPP PDU 0xb3802f50 dump:
>> 2010-10-07 10:55:00 [16729] [6] DEBUG:   type_name: submit_sm_resp
>> 2010-10-07 10:55:00 [16729] [6] DEBUG:   command_id: 2147483652 =
>> 0x80000004
>> 2010-10-07 10:55:00 [16729] [6] DEBUG:   command_status: 11 = 0x0000000b
>> 2010-10-07 10:55:00 [16729] [6] DEBUG:   sequence_number: 38 = 0x00000026
>> 2010-10-07 10:55:00 [16729] [6] DEBUG:   message_id: NULL
>> 2010-10-07 10:55:00 [16729] [6] DEBUG: SMPP PDU dump ends.
>> 2010-10-07 10:55:00 [16729] [6] ERROR: SMPP[m]: *SMSC returned error code
>> 0x0000000b (Invalid Destination Address) in response to submit_sm.*
>> 2010-10-07 10:55:00 [16729] [6] DEBUG: SMPP[m]: throughput (1.00,0.00)
>>
>>
>>
>> Regards,
>>
>> Emmanuel
>>
>> 2010/10/8 Kidi Kidi <kidi...@yahoo.fr>
>>
>>>    Hi,
>>> I use kannel SMPP ESME and i get this error whenever i try to send a MT
>>> message :
>>>
>>> SMSC returned error code 0x0000000b (Invalid Destination Address) in
>>> response to submit_sm.
>>>
>>>
>>>
>>
>>
>

Reply via email to