[Serusers] about URI request
Martin Hoffmann
hn at nvnc.de
Wed Apr 9 23:29:52 CEST 2008
liu york wrote:
>
> i want to distribute tow alieas users use different pstn gw with same area code.
> i add below in my cfg.but it doesnt work.any advice for me ? many many thx.
>
> if (uri=~"^sip:0060.*@(my\.test\.com)"){
Most likely, there is something wrong with the regular expression.
I don't quite remember what kind of regexps SER uses, but it also worth
a try escaping parantheses. Although, in this case you don't really need
them.
Regards,
Martin
More information about the sr-users
mailing list