[SR-Users] LCR, problem with routing (prefix, from_uri, grp_id)
Maciej Bylica
mbsip at gazeta.pl
Sun Jul 4 22:15:41 CEST 2010
Hi again,
Last question in this topic i hope.
Could I use regex in prefix column (lcr table)?
I just want to have a minimum number of entries created there, and to
block the rest of prefixes in this way.
Thx,
Maciej.
2010/6/21 Iñaki Baz Castillo <ibc at aliax.net>:
> 2010/6/20 Maciej Bylica <mbsip at gazeta.pl>:
>> Hi Iñaki,
>>
>>> You can inspect manually (via script) the calling number and set the
>>> "from_uri" pseudo variable according to it. Would it be valid?
>>> Setting "48" and "48221112233" in the lcr entries is not valid as when
>>> the CLI is 48221112233 both entries would match it (perhaps randomly
>>> or based on first entry in the table). I strongly prefer to play with
>>> cusom "from_uri" values manually set in the script befor invoking
>>> load_gws("pseudovariable").
>>>
>> Sry for delay.
>> I followed Your instructions and the effect is possitive - it works.
>>
>> Many thanks,
>
> Great ;)
>
> --
> Iñaki Baz Castillo
> <ibc at aliax.net>
>
More information about the sr-users
mailing list