[OpenSIPS-Users] how to construct a new uri from 2 variables
Răzvan Crainea
razvan at opensips.org
Tue May 20 09:44:27 CEST 2014
It depends what URI you want to change. You can change the R-URI by
setting the $ru variable. However, for From/To URI, you have to use
special functions[1]. For other headers, you can simply remove the
header and add a new one, with the correct URI[2],[3]
[1] http://www.opensips.org/html/docs/modules/1.8.x/uac#id293893
[2] http://www.opensips.org/html/docs/modules/1.8.x/sipmsgops#id293912
[3] http://www.opensips.org/html/docs/modules/1.8.x/sipmsgops#id248429
Best regards,
Razvan Crainea
OpenSIPS Core Developer
http://www.opensips-solutions.com
On 05/20/2014 10:38 AM, kostenftw wrote:
> or if someone could just tell me how to replace an uri with a value from a
> $avp variable that would solve my problem aswell.
>
> any help appreciated
>
>
>
> --
> View this message in context: http://opensips-open-sip-server.1449251.n2.nabble.com/how-to-construct-a-new-uri-from-2-variables-tp7591444p7591448.html
> Sent from the OpenSIPS - Users mailing list archive at Nabble.com.
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
More information about the Users
mailing list