Hi
No posible, please use append_branch() and seturi("
sip:08121069941@10.70.1.1:5060"); for forward call
UAC---->KAMAILIO A---->MSC---->Mobile Subscriber
# if someone calls B, the call should be forwarded to C too.
if (method=="INVITE" && uri=~"sip:B@xx.xxx.xx ")
{
# copy the current branch (branches[0]) into
# a new branch (branches[1])
append_branch();
# all URI manipulation functions work on branches[0]
# thus, URI manipulation does not touch the
# appended branch (branches[1])
seturi("sip:C@domain");
# now: branch 0 = C@domain
# branch 1 = B(a)xx.xx.xx.xx
See Detail
http://www.open-voip.org/index.php?title=Kamailio_%22revert%22_%22append_br…
//Gafar
On Wed, Dec 3, 2014 at 5:56 PM, Massimo Varriale (IPZeta) <
m.varriale(a)ipzeta.it> wrote:
Hi,
I'm trying to send outbound calls to an external IP address adding a
prefix, is this possible using function rewritehostport?
Thank you
Max
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users(a)lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users