Hello,
Using a proper script logic you can get to replacing the TO/FROM hdr
only once per branch - keep the new value into a variable (like AVP) so
you can change it as many times you need -> before seding the call out,
do the actual replace.
If you need to do the change per branch, you need to put the
uac_replace_xxx in the branch route !
Regards,
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com
On 09.12.2013 13:57, AMPTEL PTY LTD | RuvixTel wrote:
Hi all
Just wondering, if anyone able to assist us with below:
We are using Opensips 1.6 and we like to know: how can we replace URI
Header more than once per call?
uac_replace_to function is there but when we try this second time:
instead of replacing it. It just appended two headers.
What we are trying to achieve here is call Fail Over function? When
one IP is unable to terminate a call it will try next IP from the
priority list.
Your assistance will be highly appreciated.
If this issue has been discussed earlier please direct me to the
thread please.
--
Best Regards +
Anup
________________________
Ph: +61 413 777 075 (Anup)
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users