[SR-Users] Question about processing of packet

2012-04-12 Thread Fabian Borot
greetings, I have a customer that is sending the REGISTER with 2 ports in the Contact header: Contact: After some troubleshooting we found that the wireless router is the one inserting the 2nd port. It is not the SIP UA itself. Is it possible to "sanitize" the REGISTER at the beginning of th

Re: [SR-Users] Question about processing of packet

2012-04-12 Thread Reda Aouad
Hi, Look at this function from the textopsx module http://kamailio.org/docs/modules/stable/modules/textopsx.html#msg_apply_changes Try to apply it after your sanitize and before you challenge the REGISTER. Reda On Thu, Apr 12, 2012 at 23:45, Fabian Borot wrote: > greetings, > > I have a c

Re: [SR-Users] Question about processing of packet

2012-04-12 Thread Fabian Borot
Txs a lot Reda, I will try it Although I made a couple of test w/o it and so far it looks like the modified message is used on the next processing , not the original one but I will keep testing From: fbo...@hotmail.com To: us...@lists.kamailio.org Subject: Question about processing of packet

Re: [SR-Users] Question about processing of packet

2012-04-15 Thread Klaus Darilion
Maybe there is special handling for Contact header, because IIRC, fix_nated_contact() before save() also works. regards Klaus On 13.04.2012 03:18, Fabian Borot wrote: Txs a lot Reda, I will try it Although I made a couple of test w/o it and so far it looks like the modified message is used on