[SR-Users] Need help in rewriting the Request URI
Ajay Sabat
Ajay.Sabat at panasonic.aero
Thu Feb 7 21:16:16 CET 2013
Hi Daniel,
Thanks for your help.
I am trying to use uac_replace_to(uri). But how would I mention the destination ip address resolved from the domain name?
For example, if I hard code the ip address as given below it works. But I need to modify such a way that it automatically uses the ip address of the remote host in the To header uri.
if (uri=~".*@video-conf")
{
rewritehost("video-conf");
uac_replace_to("sip:$rU at 192.168.252.155");
}
More information about the sr-users
mailing list