[OpenSER-Devel] [ openser-Patches-1886974 ] Fix dlg_end_dlg to update database

SourceForge.net noreply at sourceforge.net
Tue Feb 5 12:28:37 UTC 2008


Patches item #1886974, was opened at 2008-02-05 13:28
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=743022&aid=1886974&group_id=139143

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: ver 1.3.x
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Jerome Martin (tramjoe)
Assigned to: Nobody/Anonymous (nobody)
Summary: Fix dlg_end_dlg to update database

Initial Comment:
This fix allows the dialog to be removed from DB when using MI dlg_en_dlg.

--- openser_1.3-3622~/modules/dialog/dlg_hash.c 2007-10-31 08:18:59.000000000 +0100
+++ openser_1.3-3622/modules/dialog/dlg_hash.c  2008-02-05 12:33:39.000000000 +0100
@@ -498,6 +498,7 @@
            switch (dlg->state) {
                case DLG_STATE_CONFIRMED_NA:
                case DLG_STATE_CONFIRMED:
+               case DLG_STATE_DELETED:
                    dlg->state = DLG_STATE_DELETED;
                    *unref = 1;
                    break;
@@ -530,7 +531,7 @@

    dlg_unlock( d_table, d_entry);

-   LM_DBG("dialog %p changed from state %d to "
+   LM_CRIT("dialog %p changed from state %d to "
        "state %d, due event %d\n",dlg,*old_state,*new_state,event);
 }


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=743022&aid=1886974&group_id=139143



More information about the Devel mailing list