On Tuesday 08 January 2008 11:52:00 Helmut Kuper wrote:
Even when I add a header field and test for it
directly afterwards or
try to remove it, openser doesn't find anything. Test-Code is like this:
append_hf("P-SI: sad\r\n");
if(is_present_hf("P-SI")) xlog("L_INFO", "########
Found\n");
if(remove_hf("P-SI")) xlog("L_INFO", "######## Removed\n");
Headers are added when the message leaves OpenSer. It's a bad idea to
add/remove headers and try to read/test them after that. Instead you can use
variables or AVP's to get the same funcionality.
--
Iñaki Baz Castillo
ibc(a)in.ilimit.es