Hi Tyler.

remove_hf() does not accept multiple headers. What would be the issue with listing multiple remove_hf() for each header you need to take out?

Regards,
Bogdan


Tyler Merritt wrote:
I tried this:

remove_hf("Record-Route", "Server", "Supported");

And it blows up with this:

Feb 4 22:11:42 [32421] DBG:core:find_cmd_export_t: <remove_hf> not found Feb 4 22:11:42 [32421] CRITICAL:core:yyerror: parse error in config file, line 612, column 23-24: unknown command <remove_hf>, missing loadmodule?

Can I suggest adding multiple headers to the remove_hf function in a later release? I'm working with a carrier who wants me to strip, well, about half of everything Asterisk sends.

If remove_hf supports multiple arguments - it's not documented in textops.html

Tyler
------------------------------------------------------------------------

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


--
Bogdan-Andrei Iancu
OpenSIPS Event - expo, conf, social, bootcamp
2 - 4 February 2011, ITExpo, Miami,  USA
OpenSIPS solutions and "know-how"


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

Reply via email to