[svn-commits] rmudgett: branch 1.8 r331771 - /branches/1.8/channels/chan_dahdi.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Fri Aug 12 13:58:45 CDT 2011


Author: rmudgett
Date: Fri Aug 12 13:58:40 2011
New Revision: 331771

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=331771
Log:
Suppress warning message when using DAHDITransfer or DAHDIHangup.

* The fake event should only be processed by the channel that currently
owns the private and not the associated call waiting or 3-way channel.

JIRA AST-620
JIRA SWP-3616

Modified:
    branches/1.8/channels/chan_dahdi.c

Modified: branches/1.8/channels/chan_dahdi.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.8/channels/chan_dahdi.c?view=diff&rev=331771&r1=331770&r2=331771
==============================================================================
--- branches/1.8/channels/chan_dahdi.c (original)
+++ branches/1.8/channels/chan_dahdi.c Fri Aug 12 13:58:40 2011
@@ -8927,8 +8927,11 @@
 		return &p->subs[idx].f;
 	}
 
-	/* If we have a fake_event, fake an exception to handle it */
-	if (p->fake_event) {
+	/*
+	 * If we have a fake_event, fake an exception to handle it only
+	 * if this channel owns the private.
+	 */
+	if (p->fake_event && p->owner == ast) {
 		if (analog_lib_handles(p->sig, p->radio, p->oprmode)) {
 			struct analog_pvt *analog_p = p->sig_pvt;
 




More information about the svn-commits mailing list