What does your services.php do? Does it send a message to the subscriber? In that case, it shouldn't return any message on top of that.
== Rene From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of Ombongi Moraa Fe Sent: Wednesday, 18 July, 2012 10:15 To: users@kannel.org; mohammedsl...@gmail.com; esantil...@netsescr.com Subject: Re: Kannel Adds 2 send-SMS requests for every subscriber Morning Team, As per Esteban & Saleem's advise; I'm posting the config files of one of the SMSCs and its associated logs for todays content. [saf.conf] group = core admin-port = 17000 smsbox-port = 17001 admin-password = coRe status-password = coRe admin-allow-ip = "*.*.*.*" box-allow-ip = "*.*.*.*" log-file = "/var/log/kannel/saf.usage.log" log-level = 0 access-log = "/var/log/kannel/saf.access.log" access-log-clean = true access-log-format = "%t %l [ID:%I] [SMSC:%i] [SVC:%n] [from:%p] [to:%P] [flags:%m:%c:%M:%C:%d] [msg:%L:%b] [udh:%U:%u]" # default access-log-format follows: #access-log-format = "%t %l [SMSC:%i] [SVC:%n] [ACT:%A] [BINF:%B] [from:%p] [to:%P] [flags:%m:%c:%M:%C:%d] [msg:%L:%b] [udh:%U:%u]" group = smsc smsc = smpp smsc-id = safreceive host = ********************* receive-port = 9000 #transceiver-mode = true smsc-username = *********** smsc-password = *************** system-type = smpp address-range = "" source-addr-ton = 2 dest-addr-ton = 1 source-addr-npi = 1 dest-addr-npi = 1 interface-version = 34 msg-id-type="0x01" #reconnect-delay = 60 enquire-link-interval = 30 group = smsc smsc = smpp smsc-id = safsend host = ******************* port = 9000 #transceiver-mode = true smsc-username = ********************* smsc-password = ***************** system-type = smpp address-range = "" source-addr-ton = 2 dest-addr-ton = 1 source-addr-npi = 1 dest-addr-npi = 1 interface-version = 34 msg-id-type="0x01" #reconnect-delay = 60 enquire-link-interval = 30 group = smsbox bearerbox-host = localhost sendsms-port = 17002 sendsms-chars = 0123456789 log-file = "/var/log/kannel/saf.usage.log" log-level = 1 access-log = "/var/log/kannel/saf.access.log" reply-couldnotfetch = "Sorry, service is currently under maintenance. Content will be delivered to u soon" #reply-emptymessage= "Sorry, service is currently under maintenance. Content will be delivered to u soon" #http-request-retry = 5 #http-queue-delay = 30 group = sms-service keyword = default url = "http://localhost/services/services.php?paymentStatus=Processed <http://localhost/services/services.php?paymentStatus=Processed&phone=%25p&r equest=%25a&original_dest=%25P&udh=%25u> &phone=%p&request=%a&original_dest=%P&udh=%u" max-messages = 0 omit-empty = 1 group = sendsms-user username = 2197coRe password = coRe default-smsc = celtelsend default-sender = 2197 [Logs for SMSC Saf for the shortcode 2197.] 2012-07-18 05:00:07 Sent SMS [ID:25ee847c-83d2-4015-bb10-cf1e45455686] [SMSC:safsend] [SVC:2197coRe] [from:2197] [to:254788814333] [flags:1:0:-1:-1:31] [msg:108:QUOTE OF THE DAY:The victory of success is half won when one gains the habit of work. - Sarah Knowles Bolton] [udh:0:] 2012-07-18 05:00:07 Receive DLR [ID:8665a8dc-957e-44b4-a99c-3030d44d1974] [SMSC:safsend] [SVC:2197coRe] [from:2197] [to:254788814333] [flags:-1:-1:-1:-1:8] [msg:4:ACK/] [udh:0:] 2012-07-18 08:00:08 send-SMS request added - sender:2197coRe:2197 127.0.0.1 target:2547******** request: 'QUOTE OF THE DAY:The victory of success is half won when one gains the habit of work. - Sarah Knowles Bolton' 2012-07-18 08:00:08 send-SMS request added - sender:2197coRe:2197 127.0.0.1 target:25478******** request: 'QUOTE OF THE DAY:The victory of success is half won when one gains the habit of work. - Sarah Knowles Bolton' 2012-07-18 05:00:08 Sent SMS [ID:36818692-bf3d-4ea3-b2f0-5d3f955903fc] [SMSC:safsend] [SVC:2197coRe] [from:2197] [to:25478********] [flags:1:0:-1:-1:31] [msg:108:QUOTE OF THE DAY:The victory of success is half won when one gains the habit of work. - Sarah Knowles Bolton] [udh:0:] 2012-07-18 05:00:08 Receive DLR [ID:e5849c0e-5ef5-432b-8da3-39f40c7d7484] [SMSC:safsend] [SVC:2197coRe] [from:2197] [to:25478********] [flags:-1:-1:-1:-1:8] [msg:4:ACK/] [udh:0:] 2012-07-18 05:00:08 Sent SMS [ID:90d9907d-940c-4138-b6a2-cafe4df6e927] [SMSC:safsend] [SVC:2197coRe] [from:2197] [to:25478********] [flags:1:0:-1:-1:31] [msg:108:QUOTE OF THE DAY:The victory of success is half won when one gains the habit of work. - Sarah Knowles Bolton] [udh:0:] 2012-07-18 05:00:08 Receive DLR [ID:a10a61ac-68b6-4f22-b4d1-512b4ce4734f] [SMSC:safsend] [SVC:2197coRe] [from:2197] [to:25478*******] [flags:-1:-1:-1:-1:8] [msg:4:ACK/] [udh:0:] Saludos Ombongi Moraa fe On 17 July 2012 12:06, Ombongi Moraa Fe <moraa.lovetak...@gmail.com> wrote: Hello Team, I work @ a PRSP firm and I'm not an expert yet to the SMS Management of platform. For the past like 3 weeks, this particular shortcode has been sending out 2 subscription messages for every subscriber. Trouble is that now the user is being charged for receiving 2 identical messages. I've ckecked the kannel logs for both SMSCs we're connected to and they both show that kannel adds 2 send-SMS requests. So obviously the problem is on my end. How can I troubleshoot and resolve this? The problem is just with this one shortcode. Log Sample for one SMSC connection: 2012-07-16 08:00:05 send-SMS request added - sender:2197coRe:2197 127.0.0.1 target:254788814333 request: 'VERSE OF THE DAY:Lk 12:22-25 ..The life is more than meat, and the body is more than raiment.' 2012-07-16 08:00:05 send-SMS request added - sender:2197coRe:2197 127.0.0.1 target:254788814333 request: 'VERSE OF THE DAY:Lk 12:22-25 ..The life is more than meat, and the body is more than raiment.' I will really appreciate the team's help. Saludos Ombongi Moraa fe SaludosOmbongi Moraa fe <http://www.google.com/translate_t?text=Saludos%0A%0AOmbongi%20Moraa%20fe&la ngpair=auto%7Cauto> <javascript:void(0)> >>