[SR-Users] How to use $var as arguments to module functions

Duarte Rocha duarterocha91 at gmail.com
Tue Nov 14 17:04:40 CET 2017


Greetings,

Is there a way to use the NATHELPER functions with a variable insted of a
string with the value ?

For example, I can do "fix_nated_sdp("11");" but Kamailio throws an error
if i use
"fix_nated_sdp("$(var(nat_fix)");" or any other variations.

How should i proceed to be able to do this ?

Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20171114/ef63f4f5/attachment.html>


More information about the sr-users mailing list