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

Juha Heinanen jh at tutpro.com
Mon Jul 5 17:43:28 CEST 2010


Maciej Bylica writes:

> > dialplan module supports regexs.  perhaps you can you that to produce an
> > attribute that you can match to lcr prefixes.
> 
> What do You mean by saying that?
> How to produce an attribute that may be matched to lcr prefixes?

if dp_translate matches a dialplan match_exp then corresponding attr
value is assigned to attrs_pvar.  you can then prefix $rU with that
value and call load_gws().

-- juha



More information about the sr-users mailing list