Hi,

You have an error in your configuration. If the second sms-service is supposed to be default, use:

keyword = default

not

keyword = ""

It allows multiple defaults. It will use the first matching one.

BR,
Nikos

----- Original Message ----- From: "Aldo Zavala" <[email protected]>
To: <[email protected]>
Sent: Friday, September 17, 2010 3:16 AM
Subject: multiple default SMS-service's. Is it possible?


Hi, is there possible to set more than one default SMS-service? Like a way that make kannel to differentiate by short code number, or something....

As I understand a default SMS-Service is one that you don't need to specify the service name at the body of the SMS, such as TO: 454545 TEXT:"72501" , and a not a default so your sms-service will process the second word as keyword as TO: 454545 TEXT:"Weather 72501". A default one would be like you only enter the keyword and SMS-Service will process the first word.


Example of one of my SMS-Services:
------------------------------------
group = sms-service
keyword = Horoscope
catch-all = true
accepted-smsc = huawei
get-url = "http://192.168.8.188/services/horoscope/mobile_horoscope.php?sign=%s&sendto=%p";
accept-x-kannel-headers = true
max-messages = 3
concatenation = false
omit-empty = true


Example of one of my default SMS-Service:
----------------------------------------
group = sms-service
keyword = ""
name = weather
catch-all = true
accepted-smsc = huawei
faked-sender = 7678
assume-plain-text = true
get-url = "http://192.168.8.188/services/garitas/mobile_weather.php?port=%a&sendto=%p";
accept-x-kannel-headers = true
max-messages = 3
concatenation = false
omit-empty = true



Thanks,

Aldo Zavala


Reply via email to