[OpenSIPS-Devel] [patch] pseudo-variable support for append_branch
Bogdan-Andrei Iancu
bogdan at voice-system.ro
Wed Jan 6 13:44:08 CET 2010
Hi Saúl,
The reason why the function does not accept variables as params is
because you can do the same op (adding new branch) using other
functions/vars:
1) avp_pushto()
http://www.opensips.org/html/docs/modules/devel/avpops.html#id271214
2) $branch
http://www.opensips.org/Resources/DocsCoreVar16#toc13
Options 1) is available in 1.4 also.
Regards,
Bogdan
Saúl Ibarra Corretgé wrote:
> Hi Bogdan and all,
>
> While testing I realized that append_branch function doesn't currently
> support pseudo-variables as the URI parameter.
>
> The attached patch adds support for this. I tested it with OpenSIPS
> 1.4, and AFAIS append_branch function hasn't change since then so it
> should work the same way in trunk (I can test it tomorrow if needed).
>
> If you find the patch appropriate, please consider it for inclusion, I
> thought it could be useful :)
>
>
> Best regards,
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Devel mailing list
> Devel at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
--
Bogdan-Andrei Iancu
www.voice-system.ro
More information about the Devel
mailing list