Le Tue, 5 Nov 2013 14:53:34 +0100, Daniel-Constantin Mierla <mico...@gmail.com> a écrit :
> Even if the header is not present, insert/append_hf() should not fail Ok I assumed wrong. The issue looks trickier: I've made tests that go OK or KO depending on a harmless looking cfg change. In the KO situation, a Path header is set depending on a !ifdef directive + if condition, while in the OK case, it's inserted without condition. After the Path hdr insertion, three other headers are appended. In the KO log, on line 3508, there are only three append_hf while in the OK log, there are four (line 3408). The network traces show that the Require header is not inserted as requested in the cfg. Update: adding a dummy xlog line on line 22 of kamailio.ko.cfg makes it work: the Require header is inserted but the log line is not printed. Regards, -- Camille
kamailio.ko.cfg
Description: Binary data
kamailio.ko.log.gz
Description: GNU Zip compressed data
kamailio.ok.cfg
Description: Binary data
kamailio.ok.log.gz
Description: GNU Zip compressed data
register.ko.pcap.gz
Description: GNU Zip compressed data
register.ok.pcap.gz
Description: GNU Zip compressed data
_______________________________________________ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users