Re: [REQ] generic config struct for parameter value lists
Stipe Tolj <[email protected]>
| Newsgroups | gmane.comp.mobile.kannel.devel |
|---|---|
| Organization | tolj.org system architecture |
| Message-ID | <[email protected]> |
Hillel wrote:
> Hi list,
>
> This will be great if it will allow one to use different GET URLs based
> solely on a short code or a combination of short code and keyword (with or
> without a regular expression).
>
> If I understand the user guide correctly you can't set get-url's based on
> short codes or combinations of short codes and keywords.
>
> For example:
>
> group = smsbox-route1
> shortcode = "1111"
> keyword = "comp"
> get-url ="http://somewhere1/foobar-list"
>
> group = smsbox-route2
> shortcode = "1111"
> keyword = "go"
> get-url ="http://somewhere2/foobar-list"
actually your groups examples are a bit mixed. You refer to the 'sms-service'
groups and not 'smsbox-route' groups, right?
The 'sms-service' groups CAN be associtated to a specific shortcode for routing
MO messages to specific URLs via usage of 'accepted-smsc' for the originated
smsc-id to be matched and 'allowed-receiver-prefix' to match the destination
addresss.
This means for your above example:
group = sms-service
allowed-receiver-prefix = 1111
keyword = comp
get-url = "http://somewhere_1/foobar"
group = sms-service
allowed-receiver-prefix = 1111
shortcode = go
get-url = "http://somewhere_2/foobar"
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
-------------------------------------------------------------------