Tomer B schrieb: > Hi, > > I have a scenario where the smsc sends an sms to my kannel and kannel > calls a url of mine (a servlet > I then return to kannel HTTP 200 OK with text in body "Message sent > successfully". > However then kannel sends another sms to the mobile phone with this text > "Message sent successfully". > > How can i disable this? > > the relevant section of MO in my kannel is: > > group = sms-service > keyword = default > catch-all = true > max-messages = 10 > accepted-smsc = "smsc1;smsc2" > get-url = > "http://localhost:8080/myservlet?from=%p&to=%P&text=%a&coding=%c&charset=%C > <http://localhost:8080/myservlet?from=%p&to=%P&text=%a&coding=%c&charset=%C>"
the 'sms-service' group does that by INTENTION. It's defined to pass a MO to a get-url, read the HTTP response, and send the HTTP response body as MT back to the subscriber. If you don't want to hand over the HTTP response body as MT, simply use max-messages = 0 in your sms-service group here. Stipe -- ------------------------------------------------------------------- Kölner Landstrasse 419 40589 Düsseldorf, NRW, Germany tolj.org system architecture Kannel Software Foundation (KSF) http://www.tolj.org/ http://www.kannel.org/ mailto:st_{at}_tolj.org mailto:stolj_{at}_kannel.org -------------------------------------------------------------------
