[OpenSIPS-Users] remove_hf does not remove header

Podrigal, Aron aronp at guaranteedplus.com
Thu Feb 12 10:22:37 CET 2015


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20150212/f4d3395e/attachment.htm>


More information about the Users mailing list