Hi.
According to docs no variables are possible here.
As workaround
if ($var(nat_fix) == 11){
fix_nated_sdp("11");
}
else if ....
2017-11-14 19:04 GMT+03:00 Duarte Rocha <duarterocha91(a)gmail.com>om>:
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
_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users(a)lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
--
Savolainen Dmitri