I think there's a directive in sms service omite-empty or something like that , to avoid send empty response On Nov 29, 2012 2:27 AM, "Milan P. Stanic" <[email protected]> wrote:
> On Wed, 2012-11-28 at 23:53, chen yee tan wrote: > > Hi, > > > > I have configured kannel to route sms to a java servlet upon receiving > it. It is working, but I have 2 issues that not able to solve. I am not > able to find solution in kannel doc. > > > > 1. If my java servlet responses a text, then sender will receive the > responded text. I totally understand this. However, I set my java servlet > not to response anything, but sender received <Empty reply from service > provider>. Why ? How to disable it if nothing responsed from servlet ? > > > > 2. If I turn off apache tomcat. Sender will receive Could not fetch > content, sorry. Here is what I want to know how to: > > a. Disable the message to send back when not able to reach servlet. > > b. Queue the sms routing and try to route every x sec till a defined > timeout is reached, then send a defined message to sender. > > > > > > Do I need to modify kannel code in order to do 2a and 2b ? > > > > 3. Where to change <Empty reply from service provider> and Could not > fetch content, sorry. ? > > > > Below is part of my configuration: > > max-messages = 0 > in group sms-service > > > #--------------------------------------------- > > # SEND-SMS USERS > > > > group = sendsms-user > > username = xxx > > password = xxxxxx > > > > #--------------------------------------------- > > # SERVICES > > # > > > > group = sms-service > > keyword = default > > get-url = "http://10.1.1.1/SMSReceiver?sender=%p&text=%a&time=%t" > > concatenation = true > > text = "No service specified" > > > > Chen Yee > > -- > Kind regards, Milan > -------------------------------------------------- > Arvanta, http://www.arvanta.net > Please do not send me e-mail containing HTML code or documents in > proprietary format (word, excel, pps and so on) > >
