counter to the docs for nathelper fix_nated_sdp the config parser rejects any pseudovariables in the second parameter claiming they need to be constant.
Does anyone know another way to change the "c=" line in an SDP?
Or do I have to patch the nathelper module to include a free_fixup_function for the fix_nated_sdp stuff?
This is on kamailio 4.2
Thanks, Kevin
On May 13, 2016, at 12:28 PM, Kevin McAllister kevin@mcallister.ws wrote:
counter to the docs for nathelper fix_nated_sdp the config parser rejects any pseudovariables in the second parameter claiming they need to be constant.
Sorry this turned out to be a dumb question.
I was getting the error when I was calling this:
fix_nated_sdp("2", $var(var));
but when I put it in like this:
fix_nated_sdp("2", "$var(var)");
It worked as expected.