Hi All, We've been running kannel successfully recently with a single telecom. While trying to add new telco in the kannel.conf, it can successfully make the connection and the messages are received in the smsc logs.
The problem is, incoming sms are not parsed properly and it doesn't even come into smsbox.log Here is the problematic smsc group group = smsc smsc = smpp smsc-id = nputl allowed-smsc-id = nputl host = 192.168.71.10 port = 5020 smsc-username = username smsc-password = password system-type = "Logica" source-addr-autodetect = 1 transceiver-mode = true address-range = "" enquire-link-interval = 400 source-addr-ton = 0 source-addr-npi = 1 dest-addr-ton = 0 dest-addr-npi = 1 throughput = 5 log-file = /var/log/kannel/smsc-nputl.log log-level = 0 our-host = 192.168.71.2 The respective sms log in smsc-nputl.log is 2010-02-01 10:49:48 [873] [7] DEBUG: Optional parameter tag (0x0381) 2010-02-01 10:49:48 [873] [7] DEBUG: Optional parameter length read as 13 2010-02-01 10:49:48 [873] [7] DEBUG: SMPP[nputl]: Got PDU: 2010-02-01 10:49:48 [873] [7] DEBUG: SMPP PDU 0x95bf108 dump: 2010-02-01 10:49:48 [873] [7] DEBUG: type_name: deliver_sm 2010-02-01 10:49:48 [873] [7] DEBUG: command_id: 5 = 0x00000005 2010-02-01 10:49:48 [873] [7] DEBUG: command_status: 0 = 0x00000000 2010-02-01 10:49:48 [873] [7] DEBUG: sequence_number: 3243146 = 0x00317c8a 2010-02-01 10:49:48 [873] [7] DEBUG: service_type: NULL 2010-02-01 10:49:48 [873] [7] DEBUG: source_addr_ton: 1 = 0x00000001 2010-02-01 10:49:48 [873] [7] DEBUG: source_addr_npi: 1 = 0x00000001 2010-02-01 10:49:48 [873] [7] DEBUG: source_addr: "97712291892" 2010-02-01 10:49:48 [873] [7] DEBUG: dest_addr_ton: 1 = 0x00000001 2010-02-01 10:49:48 [873] [7] DEBUG: dest_addr_npi: 1 = 0x00000001 2010-02-01 10:49:48 [873] [7] DEBUG: destination_addr: "2888" 2010-02-01 10:49:48 [873] [7] DEBUG: esm_class: 0 = 0x00000000 2010-02-01 10:49:48 [873] [7] DEBUG: protocol_id: 0 = 0x00000000 2010-02-01 10:49:48 [873] [7] DEBUG: priority_flag: 0 = 0x00000000 2010-02-01 10:49:48 [873] [7] DEBUG: schedule_delivery_time: NULL 2010-02-01 10:49:48 [873] [7] DEBUG: validity_period: NULL 2010-02-01 10:49:48 [873] [7] DEBUG: registered_delivery: 0 = 0x00000000 2010-02-01 10:49:48 [873] [7] DEBUG: replace_if_present_flag: 0 = 0x00000000 2010-02-01 10:49:48 [873] [7] DEBUG: data_coding: 0 = 0x00000000 2010-02-01 10:49:48 [873] [7] DEBUG: sm_default_msg_id: 0 = 0x00000000 2010-02-01 10:49:48 [873] [7] DEBUG: sm_length: 4 = 0x00000004 2010-02-01 10:49:48 [873] [7] DEBUG: short_message: "TEST" 2010-02-01 10:49:48 [873] [7] DEBUG: callback_num: 2010-02-01 10:49:48 [873] [7] DEBUG: Octet string at 0x95ecc58: 2010-02-01 10:49:48 [873] [7] DEBUG: len: 13 2010-02-01 10:49:48 [873] [7] DEBUG: size: 14 2010-02-01 10:49:48 [873] [7] DEBUG: immutable: 0 2010-02-01 10:49:48 [873] [7] DEBUG: data: 00 00 00 30 30 30 32 32 39 31 38 39 32 ...0002291892 2010-02-01 10:49:48 [873] [7] DEBUG: Octet string dump ends. 2010-02-01 10:49:48 [873] [7] DEBUG: SMPP PDU dump ends. *2010-02-01 10:49:48 [873] [7] WARNING: SMPP[nputl]: Mallformed addr `2888', generally expected at least 7 digits. 2010-02-01 10:49:48 [873] [7] WARNING: smsbox_list empty!* 2010-02-01 10:49:48 [873] [7] DEBUG: SMPP[nputl]: Sending PDU: 2010-02-01 10:49:48 [873] [7] DEBUG: SMPP PDU 0x95d3798 dump: 2010-02-01 10:49:48 [873] [7] DEBUG: type_name: deliver_sm_resp 2010-02-01 10:49:48 [873] [7] DEBUG: command_id: 2147483653 = 0x80000005 2010-02-01 10:49:48 [873] [7] DEBUG: command_status: 0 = 0x00000000 2010-02-01 10:49:48 [873] [7] DEBUG: sequence_number: 3243146 = 0x00317c8a 2010-02-01 10:49:48 [873] [7] DEBUG: message_id: NULL 2010-02-01 10:49:48 [873] [7] DEBUG: SMPP PDU dump ends. There is two warnings, one which says it expects atleast 7 digits, but since this is just a warning, other functionality should be working right? There are no log entries in smsbox.log or smsbox-access.log, bearerbox.log as well. There is however these two entries in bearerbox-access.log 2010-02-01 10:49:48 Receive SMS [SMSC:nputl] [SVC:] [ACT:] [BINF:] [FID:] [from:+97712291892] [to:+2888] [flags:-1:0:-1:0:-1] [msg:4:TEST] [udh:0:] 2010-02-01 10:53:47 Receive SMS [SMSC:nputl] [SVC:] [ACT:] [BINF:] [FID:] [from:+97712291892] [to:+2888] [flags:-1:0:-1:0:-1] [msg:4:TEST] [udh:0:] Is there something wrong in the configs? Bibek Shrestha -- bibekshrestha at gmail dot com Blog: http://bibekshrestha.com.np Twitter: http://twitter.com/bibstha
