On 8/7/07, eCommunicate <[EMAIL PROTECTED]> wrote: > > Hi Stripe, > > Without using the default keyword, I've been trying to setup the > Kannel.conf > file to send all SMSs going to a specific short code to a get-url > independent of the keyword. > We are currently using the default keyword case for another application. > > The only way seem to be using the code below. As the keyword field in > mandatory, I've had to leave it in and put in some arbitrary value. > I've set the keyword-regex to try catching everything that comes in. > > The main problem I need to find a solution for is if someone sends in a > blank SMS, the blank SMS will not be sent to the get-url. Any suggestions > appreciated. > > group = sms-service > accepted-smsc=smsc1 > allowed-receiver-prefix=1111 > get-url = "http://localhost/app?sender=%p&text=%a&time=%t&appaddress=%P" > omit-empty= true > keyword= any_keyword_will_do > keyword-regex =. > catch-all = true > > Thanks.
I use this: # For one group of SMSC connections # group = sms-service keyword = default omit-empty = true max-messages = 0 accepted-smsc-regex=^ab- get-url = " http://myDomain.tld/myScript.php?smsc_id=%i&short_code=%P&phone=%p&message=%a " # For other group of SMSC connections # group = sms-service keyword = default omit-empty = true max-messages = 0 accepted-smsc-regex=^cd- get-url = " http://myOtherDomain.tld/myOtherScript.php?smsc_id=%i&short_code=%P&phone=%p&message=%a " # Default # group = sms-service keyword = default omit-empty = true text = "No service specified" Regards, Juan
