Re: [SR-Users] Remove_hf doesn't work

2012-05-07 Thread Daniel-Constantin Mierla
Hello, you have fix_nated_contact() which does an update to contact address: May 7 15:46:58 localhost /usr/local/sbin/kamailio[15742]: ERROR: *** cfgtrace: c=[/usr/local/etc/kamailio//kamailio.cfg] l=889 a=25 n=fix_nated_contact If you want to remove the contact, then do not call that funct

Re: [SR-Users] Remove_hf doesn't work

2012-05-07 Thread Daniel-Constantin Mierla
Hello, do you use any other function that updates the address in contact header? If you load debugger module, enable cfgtrace option and send the execution log messages over here, we can tell if there is another function that may alter contact header. One option is to use msg_apply_changes()

[SR-Users] Remove_hf doesn't work

2012-05-07 Thread Openser Kamailio
Hi, I'm currently working with kamailio 3.2. I try to remove the Contact Header field with remove_hf("Contact") through the file named kamailio.cfg. When i apply remove_hf("Contact"), it only removes the word Contact, but the contact address is still present. Let me show you: Without remove_hf: C