[SR-Users] LCR, problem with routing (prefix, from_uri, grp_id)

Iñaki Baz Castillo ibc at aliax.net
Mon Jun 21 00:53:41 CEST 2010


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