[OpenSIPS-Devel] add_uri_param does not support variables.

Liviu Chircu liviu at opensips.org
Tue Jul 31 05:33:25 EDT 2018


Hi, Adam!

I just pushed this on master [1].  Please let me know if it works for 
you.  We might as well backport it to 2.4 if all is good, since it can 
also act as a fix.

Cheers,

[1]: 
https://github.com/OpenSIPS/opensips/commit/12a54597296fa41da29d0073280f1f38eea86def

Liviu Chircu
OpenSIPS Developer
http://www.opensips-solutions.com

On 10.07.2018 17:47, Adam Overbeeke wrote:
>
> Hi,
>
> Could we get the function add_uri_paramto support $avp or $var variables?
>
> Example:
>
> add_uri_param(“tgrp=$avp(1)”)
>
> or some variation of that above.  Right now I am having to use - 
> subst_uri.
>
> Thanks,
>
> Adam
>
> Adam Overbeeke
>
> Lead Voice Network Engineer, PureCloud
>
> cid:image001.png at 01D2DB78.7C3D8250
>
> cid:image002.png at 01D2DB78.7C3D8250 <http://www.genesys.com/>
>
> cid:image003.png at 01D2DB78.7C3D8250 
> <https://twitter.com/Genesys>cid:image004.png at 01D2DB78.7C3D8250 
> <http://www.linkedin.com/company/601919?trk=tyah>cid:image005.png at 01D2DB78.7C3D8250 
> <https://plus.google.com/+Genesyslab?rel=publisher>cid:image006.png at 01D2DB78.7C3D8250 
> <https://www.facebook.com/Genesys/>cid:image007.png at 01D2DB78.7C3D8250 
> <https://www.youtube.com/Genesys>cid:image008.png at 01D2DB78.7C3D8250 
> <http://blog.genesys.com/>
>
>
>
> _______________________________________________
> Devel mailing list
> Devel at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/devel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/devel/attachments/20180731/e4c31e1c/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 1242 bytes
Desc: not available
URL: <http://lists.opensips.org/pipermail/devel/attachments/20180731/e4c31e1c/attachment-0008.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.png
Type: image/png
Size: 7162 bytes
Desc: not available
URL: <http://lists.opensips.org/pipermail/devel/attachments/20180731/e4c31e1c/attachment-0009.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image003.png
Type: image/png
Size: 2054 bytes
Desc: not available
URL: <http://lists.opensips.org/pipermail/devel/attachments/20180731/e4c31e1c/attachment-0010.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image004.png
Type: image/png
Size: 2041 bytes
Desc: not available
URL: <http://lists.opensips.org/pipermail/devel/attachments/20180731/e4c31e1c/attachment-0011.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image005.png
Type: image/png
Size: 2044 bytes
Desc: not available
URL: <http://lists.opensips.org/pipermail/devel/attachments/20180731/e4c31e1c/attachment-0012.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image006.png
Type: image/png
Size: 1920 bytes
Desc: not available
URL: <http://lists.opensips.org/pipermail/devel/attachments/20180731/e4c31e1c/attachment-0013.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image007.png
Type: image/png
Size: 2057 bytes
Desc: not available
URL: <http://lists.opensips.org/pipermail/devel/attachments/20180731/e4c31e1c/attachment-0014.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image008.png
Type: image/png
Size: 2071 bytes
Desc: not available
URL: <http://lists.opensips.org/pipermail/devel/attachments/20180731/e4c31e1c/attachment-0015.png>


More information about the Devel mailing list