Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#447 Opensips crashes when rewriting contact in onreply route

1.7.x
closed-fixed
core (110)
7
2011-11-18
2011-11-11
Kiss Karoly
No

I have some UAC's behind undetectable NAT and tried to use fix_nated_contact() because the Contact header in the 100 Trying, 180 Ringing and 200 Ok replies was wrong. Opensips crashed several times and had to revert the fix. There is a backtrace at http://pastebin.com/B53nR0WY and I can provide several more if necessary.

Discussion

  • Kiss Karoly
    Kiss Karoly
    2011-11-11

    • assigned_to: nobody --> bogdan_iancu
     
  • Kiss Karoly
    Kiss Karoly
    2011-11-11

    • priority: 5 --> 7
     
  • Hi Kiss,

    It seams that the crash happens because of some double change on contact in reply - could you post (or send me privately) your reply route (with all sub-routes) ?

    Regards,
    Bogdan

     
    • status: open --> closed-fixed
     
  • fix_nated_contact() function has an internal check to avoid double call for same request.