Hi, I am testing Kannel using the Logica SMSC simulator. When I send an SMS text message, using the sendsms service and requesting a delivery report, the delivery report seems to be being treated as a new SMS text message and the default SMS service is applied causing a spurious message to be sent to the SMSC simulator. Here is the relevant excerpt from the smsbox log:
2008-09-30 08:24:58 [10084536] [4] INFO: Starting to service <id:Smsc2001 sub:1 dlvrd:1 submit date:0809300824 done date:0809300824 stat:0 err:0 text:PLAY:Outstanding bal> from <48790013336> to <48790013336> 2008-09-30 08:24:58 [10084536] [4] DEBUG: formatted text answer: <No service specified> 2008-09-30 08:24:58 [10084536] [4] DEBUG: message length 20, sending 1 messages 2008-09-30 08:24:58 [10084536] [0] DEBUG: Got ACK (0) of 328f4442-42cf-4b0f-8a81-c1a3e1a3ff1d 2008-09-30 08:24:58 [10084536] [0] DEBUG: No client - multi-send or ACK to pull-reply And, from the simulator, showing both the original message and the spurious message: 08:24:54 [pavel] client request: (submit: (pdu: 109 4 0 3) (addr: 2 1 13013) (addr: 2 1 48790013336) (sm: msg: PLAY:Outstanding balance: 1371,79 PLN. Pay off Your account.) (opt: ) ) 08:24:54 [pavel] putting message into message store 08:24:54 [pavel] server response: (submit_resp: (pdu: 0 80000004 0 3) Smsc2001 ) 08:24:58 [pavel] server request: (deliver: (pdu: 0 5 0 [1]) (addr: 2 1 48790013336) (addr: 2 1 48790013336) (sm: enc: ASCII msg: id:Smsc2001 sub:1 dlvrd:1 submit date:0809300824 done date:0809300824 stat:0 err:0 text:PLAY:Outstanding bal) (opt: ) ) 08:24:58 [pavel] client response: (deliver_resp: (pdu: 17 80000005 0 1) ) 08:24:58 [pavel] client request: (submit: (pdu: 69 4 0 4) (addr: 2 1 13013) (addr: 2 1 48790013336) (sm: msg: No service specified) (opt: ) ) 08:24:58 [pavel] putting message into message store 08:24:58 [pavel] server response: (submit_resp: (pdu: 0 80000004 0 4) Smsc2002 ) The attached tar archive contains the configuration file and log files. Can someone explain what I need to change to eliminate the sending of the spurious message? Thanks, James
conf_and_logs.tar.gz
Description: conf_and_logs.tar.gz
