#208 cleanup reference when dialog accessed from reply route

ver 1.5.x
modules (140)

When dlg_get() is used in onreply_route, the reference count for the dlg is incremented but never gets decremented when the script finishes.

The patch adds the existing post script cleanup callback to be called on replies in addition to requests.


  • John Riordan

    John Riordan - 2009-04-21


  • Nobody/Anonymous

    The patch is some garbage with dns/dig. Please attach again the right patch. Thanks.

  • John Riordan

    John Riordan - 2009-04-29

    Garbage? That's the output of 'dig diff' on my system - what's it on yours?

    Sorry, attached again.

  • Daniel-Constantin Mierla

    I did a slightly different patch, as dlg_get can get a dialog not related to current sip message, can you check it? Get the latest 1.5 branch.

  • John Riordan

    John Riordan - 2009-04-29

    Checked. Works for me.

  • Henning Westerholt

    Close this bug, as reporter confirmed it works for him now. Please re-open entry if there are still any issues.

  • Henning Westerholt

    • assigned_to: nobody --> miconda
    • status: open --> closed-fixed

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks