Here is it:
2009-11-22 01:15:40 [17725] [7] DEBUG: SMPP PDU 0x93dbad0 dump:
2009-11-22 01:15:40 [17725] [7] DEBUG:   type_name: deliver_sm
2009-11-22 01:15:40 [17725] [7] DEBUG:   command_id: 5 = 0x00000005
2009-11-22 01:15:40 [17725] [7] DEBUG:   command_status: 0 = 0x00000000
2009-11-22 01:15:40 [17725] [7] DEBUG:   sequence_number: 3 = 0x00000003
2009-11-22 01:15:40 [17725] [7] DEBUG:   service_type: NULL
2009-11-22 01:15:40 [17725] [7] DEBUG:   source_addr_ton: 0 = 0x00000000
2009-11-22 01:15:40 [17725] [7] DEBUG:   source_addr_npi: 0 = 0x00000000
2009-11-22 01:15:40 [17725] [7] DEBUG:   source_addr: NULL
2009-11-22 01:15:40 [17725] [7] DEBUG:   dest_addr_ton: 0 = 0x00000000
2009-11-22 01:15:40 [17725] [7] DEBUG:   dest_addr_npi: 0 = 0x00000000
2009-11-22 01:15:40 [17725] [7] DEBUG:   destination_addr: NULL
2009-11-22 01:15:40 [17725] [7] DEBUG:   esm_class: 0 = 0x00000000
2009-11-22 01:15:40 [17725] [7] DEBUG:   protocol_id: 0 = 0x00000000
2009-11-22 01:15:40 [17725] [7] DEBUG:   priority_flag: 0 = 0x00000000
2009-11-22 01:15:40 [17725] [7] DEBUG:   schedule_delivery_time: NULL
2009-11-22 01:15:40 [17725] [7] DEBUG:   validity_period: NULL
2009-11-22 01:15:40 [17725] [7] DEBUG:   registered_delivery: 0 = 0x00000000
2009-11-22 01:15:40 [17725] [7] DEBUG:   replace_if_present_flag: 0 =
0x00000000
2009-11-22 01:15:40 [17725] [7] DEBUG:   data_coding: 0 = 0x00000000
2009-11-22 01:15:40 [17725] [7] DEBUG:   sm_default_msg_id: 0 = 0x00000000
2009-11-22 01:15:40 [17725] [7] DEBUG:   sm_length: 5 = 0x00000005
2009-11-22 01:15:40 [17725] [7] DEBUG:   short_message: "asdfs"
2009-11-22 01:15:40 [17725] [7] DEBUG: SMPP PDU dump ends.
2009-11-22 01:15:40 [17725] [7] ERROR: SMPP[SMSC]: Mallformed
destination_addr `(null)', may not be empty. Discarding MO message.
2009-11-22 01:15:40 [17725] [7] DEBUG: SMPP[SMSC]: Sending PDU:
2009-11-22 01:15:40 [17725] [7] DEBUG: SMPP PDU 0x93dbba8 dump:
2009-11-22 01:15:40 [17725] [7] DEBUG:   type_name: deliver_sm_resp
2009-11-22 01:15:40 [17725] [7] DEBUG:   command_id: 2147483653 = 0x80000005
2009-11-22 01:15:40 [17725] [7] DEBUG:   command_status: 11 = 0x0000000b
2009-11-22 01:15:40 [17725] [7] DEBUG:   sequence_number: 3 = 0x00000003
2009-11-22 01:15:40 [17725] [7] DEBUG:   message_id: NULL
2009-11-22 01:15:40 [17725] [7] DEBUG: SMPP PDU dump ends.

I'm using Logica Open Source SMPP, I don't know if it's can send
Destination_addr or not... But why Kannel need a destination_addr? Can I
disable this option?


Alejandro Guerrieri wrote:
> 
> Please paste the deliver_sm PDU dump. I bet you're not sending the
> destination_addr.
> 
> Regards,
> 
> Alejandro
> 
> On Thu, Nov 19, 2009 at 10:18 AM, st2forget <st2for...@gmail.com> wrote:
> 
>>
>> Hi all, I'm new Kannel user. I've configure Kannel to bind with SMSC
>> Simulator via SMPP protocol. The problem is Kannel can send message to
>> Kannel correctly, but when SMSC Simulator send back a message to Kannel,
>> it
>> doesn't execute get-url. I've seen log file and there is an error:
>>
>> #2009-11-19 16:02:45 [15418] [6] ERROR: SMPP[SMSC]: Mallformed
>> destination_addr `(null)', may not be empty. Discarding MO message.
>> #2009-11-19 16:02:45 [15418] [6] DEBUG: SMPP[SMSC]: Sending PDU:
>> #2009-11-19 16:02:45 [15418] [6] DEBUG: SMPP PDU 0x81a6508 dump:
>> #2009-11-19 16:02:45 [15418] [6] DEBUG:   type_name: deliver_sm_resp
>> #2009-11-19 16:02:45 [15418] [6] DEBUG:   command_id: 2147483653 =
>> 0x80000005
>> #2009-11-19 16:02:45 [15418] [6] DEBUG:   command_status: 11 = 0x0000000b
>> #2009-11-19 16:02:45 [15418] [6] DEBUG:   sequence_number: 17 =
>> 0x00000011
>> #2009-11-19 16:02:45 [15418] [6] DEBUG:   message_id: NULL
>> #2009-11-19 16:02:45 [15418] [6] DEBUG: SMPP PDU dump ends.
>>
>> I wonder if it's because the message ID is null or it's a bug of Kannel.
>> How
>> can Kannel receive message from SMSC even if it's a null ID message?
>> This is my configuration of Kannel:
>>
>> group = core
>> admin-port = 13000
>> admin-password = hoanggia
>> admin-deny-ip = "*.*.*.*"
>> admin-allow-ip = "127.0.0.1"
>> smsbox-port = 13001
>> wapbox-port = 13002
>> wdp-interface-name = "*"
>> log-file = "/var/log/kannel/bearerbox.log"
>> box-deny-ip = "*.*.*.*"
>> box-allow-ip = "127.0.0.1"
>>
>> group = wapbox
>> bearerbox-host = localhost
>> log-file = "/var/log/kannel/wapbox.log"
>>
>> group = smsc
>> smsc-id = SMSC
>> smsc = smpp
>> host = 10.10.50.2
>> port = 2552
>> receive-port = 2552
>> transceiver-mode = true
>> smsc-username = "pavel"
>> smsc-password = wpsd
>> system-type = ""
>> address-range = ""
>>
>> group = modems
>> id = wavecome
>> name = Wavecom
>> detect-string = "WAVECOM"
>>
>> group = smsbox
>> smsbox-id = SMSbox
>> bearerbox-host = 127.0.0.1
>> sendsms-port = 13013
>> sendsms-chars = "0123456789+"
>> log-file = "/etc/kannel/smsbox.log"
>> #global-sender = 123123123123
>> log-level = 0
>>
>> group = sendsms-user
>> username = baochau
>> password = hoanggia
>> concatenation= true
>> max-messages = 10
>>
>> group = smsbox-route
>> smsbox-id = SMSbox
>> smsc-id = SMSC
>>
>> group = sms-service
>> keyword=default
>> accept-x-kannel-headers = true
>> #keyword-regex = .*
>> catch-all=true
>> max-messages = 0
>> get-url = "http://localhost/default.php?phone=%p&text=%a";
>>
>> I'm using Ubuntu 8.04. Thanks for any advice.
>> --
>> View this message in context:
>> http://old.nabble.com/Mallformed-destination_addr-%60%28null%29%27-tp26421244p26421244.html
>> Sent from the Kannel - User mailing list archive at Nabble.com.
>>
>>
>>
> 
> 

-- 
View this message in context: 
http://old.nabble.com/Mallformed-destination_addr-%60%28null%29%27-tp26421244p26459002.html
Sent from the Kannel - User mailing list archive at Nabble.com.


Reply via email to