[svn-commits] dbailey: trunk r158315 - /trunk/channels/chan_sip.c
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Fri Nov 21 09:53:50 CST 2008
Author: dbailey
Date: Fri Nov 21 09:53:49 2008
New Revision: 158315
URL: http://svn.digium.com/view/asterisk?view=rev&rev=158315
Log:
Add fix to prevent crash during reload if there is an outstanding MWI registration message pending.
Modified:
trunk/channels/chan_sip.c
Modified: trunk/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_sip.c?view=diff&rev=158315&r1=158314&r2=158315
==============================================================================
--- trunk/channels/chan_sip.c (original)
+++ trunk/channels/chan_sip.c Fri Nov 21 09:53:49 2008
@@ -4985,6 +4985,10 @@
p->registry = registry_unref(p->registry, "delete p->registry");
}
+ if (p->mwi) {
+ p->mwi->call = NULL;
+ }
+
if (dumphistory)
sip_dump_history(p);
More information about the svn-commits
mailing list