Please, check the first line from the log file...
-- H On Thu, Nov 19, 2009 at 11:48 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-tp26421255p26421255.html > Sent from the Kannel - User mailing list archive at Nabble.com. > > > -- Henri Hovi http://www.patidure.com http://patidure.blogspot.com