Bugs item #3515834, was opened at 2012-04-08 00:51 Message generated for change (Comment added) made by bogdan_iancu You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=1086410&aid=3515834&group_id=232389
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: modules Group: 1.8.x >Status: Closed >Resolution: Fixed Priority: 5 Private: No Submitted By: Nick Altmann (nikbyte) Assigned to: Bogdan-Andrei Iancu (bogdan_iancu) Summary: B2B - crash when insert_hf in b2b_reply route Initial Comment: insert_hf in b2b_reply route crashes opensips when dummy reply. Patch attached. ---------------------------------------------------------------------- >Comment By: Bogdan-Andrei Iancu (bogdan_iancu) Date: 2012-04-11 06:05 Message: OK, I did a new patch to fix the problem directly from the B2B module - I tested and seems ok. Fix was uploaded on trunk and 1.8 ---------------------------------------------------------------------- Comment By: Bogdan-Andrei Iancu (bogdan_iancu) Date: 2012-04-11 02:51 Message: Nick, thank you for the patch - your approach is a bit particular to the insert_hf() case; but there are other functions that use the msg->headers, function that suffers from the same problem as insert_hf() . What I'm still evaluating is how to proceed with the fix : to fix in b2b to generate a fake reply to be as expected by the rest of opensips ; or to start changing one by one all the function using the "headers" pointer. Somehow I'm in favour of option 1 - seems cleaner from logical perpective ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=1086410&aid=3515834&group_id=232389 _______________________________________________ Devel mailing list Devel@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/devel