Hi,
Use the uac_replace_from() to change the URI only and build a new URI
based on the old one:
$var(new_uri) = sip:+$fU+@10.200.0.5 ;
uac_replace_from($var(new_uri))
or, much simpler:
uac_replace_from(sip:$...@10.200.0.5)
see: http://www.opensips.org/Resources/DocsCoreVar16#toc39
Hi
I have a simple question.
I know the from_uri can get the FROM information. and I can use
uac_replace_from() to change uri.
But I just want to modify the domain only , the username need to be
reserved.
Thus
From: 123 sip:1...@192.168.0.1 sip%3a...@192.168.0.1;-From: 123
sip:1...@10.200.0.5