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 :
> Greetings,
>
> Is there a way to use the NATHELPER functions with a variable insted of a
> string with the value ?
>
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 ?