[svn-commits] mattf: branch mattf/bug13495 r191091 - /team/mattf/bug13495/channels/

SVN commits to the Digium repositories svn-commits at lists.digium.com
Wed Apr 29 11:23:52 CDT 2009


Author: mattf
Date: Wed Apr 29 11:23:48 2009
New Revision: 191091

URL: http://svn.digium.com/svn-view/asterisk?view=rev&rev=191091
Log:
Add in grsfix patch from #13495

Modified:
    team/mattf/bug13495/channels/chan_dahdi.c

Modified: team/mattf/bug13495/channels/chan_dahdi.c
URL: http://svn.digium.com/svn-view/asterisk/team/mattf/bug13495/channels/chan_dahdi.c?view=diff&rev=191091&r1=191090&r2=191091
==============================================================================
--- team/mattf/bug13495/channels/chan_dahdi.c (original)
+++ team/mattf/bug13495/channels/chan_dahdi.c Wed Apr 29 11:23:48 2009
@@ -10086,7 +10086,10 @@
 		if (p_cur->owner) {
 			p_cur->owner->hangupcause = AST_CAUSE_NORMAL_CLEARING;
 			p_cur->owner->_softhangup |= AST_SOFTHANGUP_DEV;
-			p_cur->do_hangup = do_hangup;
+			if (p != p_cur)
+				p_cur->do_hangup = do_hangup;
+			else
+				p_cur->do_hangup = SS7_HANGUP_DO_NOTHING;
 			clean = 0;
 		} else if (p_cur->ss7call && p != p_cur) {
 			isup_free_call(p_cur->ss7->ss7, p_cur->ss7call);




More information about the svn-commits mailing list