[SR-Users] add_uri_param with variables

Patrick Wakano pwakano at gmail.com
Fri Jun 15 06:23:10 CEST 2018


Hello list,
Hope you all doing well!

We've been attempting to add a URI parameter to implement the trunk group
(tgrp and trunk-context) but discovered the add_uri_param() function only
works with constant string.... we can't use a pseudovar to inform the value
to be added. Anyone knows why such limitation? Can it be changed?
It is possible to do the same thing via the subst_uri function, but it
would be so much more elegant to use the function...

Thank you,
Kind regards,
Patrick Wakano
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20180615/5de23c50/attachment.html>


More information about the sr-users mailing list