[OpenSIPS-Users] Ref: how can we replace URI Header more than once per call?
bogdan at opensips.org
Mon Dec 9 19:51:33 CET 2013
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 !
OpenSIPS Founder and Developer
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 +
> Ph: +61 413 777 075 (Anup)
> Users mailing list
> Users at lists.opensips.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Users