Hello,

Due to OpenSIPS internals, the changes to the message are stored and only applied when the message goes out - that's why removing a header and then checking for it's existence will not appear consistent. But nonetheless, the change you make in the script to the SIP message will get propagated.

Best Regards,

Vlad Paiu
OpenSIPS Developer
http://www.opensips-solutions.com

On 12.02.2015 11:22, Podrigal, Aron wrote:
Hi,


I'm want to remove the Remote-Party_ID header, but it does not work.

if (is_present_hf("Remote-Party-ID")) {
xlog("removing Remote-Party-ID");
 remove_hf("Remote-Party-ID");
}

if (is_present_hf("Remote-Party-ID"))
xlog("Remote-Party-ID is still present");


I tried this in several places, within a branch_route, main route. but it does not work.
Any help? what am I doing wrong?

Thanks


_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to