Hello Hillel,
My suggestion is to use the same defaultapp to catch ALL the
incoming messages. So, if you have to add/delete/modify any service,
you won't have to restart Kannel each time. With this approach, you
keep your conf file clean, and all processing is done within your
application.
Best regards,
Rodrigo.
On 8/7/07, Hillel <[EMAIL PROTECTED]> wrote:
> Hi,
>
> To make my previous question clearer, we have a sms-service with the default
> keyword that collects the incoming SMSs for all short codes. However, we
> want SMSs to certain short codes to not go to the default get-url. We have
> tried the configuration below, but blank SMSs still go to the default
> get-url.
> Some competitions ask entrants to send in a blank SMS (where there is no
> content in the SMS).
>
> (As the keyword field is mandatory, we've had to leave it in and put in some
> arbitrary value. We've set the keyword-regex to try catching everything
> that comes in.)
>
> Is this possible with the current Kannel CVS or do you need to use the
> default sms-service to receive blank SMSs?
>
> Any suggestions appreciated.
>
> group = sms-service
> accepted-smsc=smsc1
> allowed-receiver-prefix=11111
> 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
>
> group = sms-service
> keyword = default
> omit-empty= true
> text = "Default service specified"
> get-url =
> "http://localhost/defaultapp?sender=%p&text=%a&time=%t&appaddress=%P"
>
> Thanks.
>
>
>