[svn-commits] tzafrir: branch 1.4 r4395 - in /branches/1.4: ./ kernel/xpp/card_fxs.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Tue Jul 8 06:14:08 CDT 2008


Author: tzafrir
Date: Tue Jul  8 06:14:08 2008
New Revision: 4395

URL: http://svn.digium.com/view/zaptel?view=rev&rev=4395
Log:
A case where we didn't switch to low power at the end of a ring.
Issue may prevents ONHOOK detection.

Merged revisions 4394 via svnmerge from 
http://svn.digium.com/svn/zaptel/branches/1.2

Modified:
    branches/1.4/   (props changed)
    branches/1.4/kernel/xpp/card_fxs.c

Propchange: branches/1.4/
------------------------------------------------------------------------------
Binary property 'branch-1.2-merged' - no diff available.

Modified: branches/1.4/kernel/xpp/card_fxs.c
URL: http://svn.digium.com/view/zaptel/branches/1.4/kernel/xpp/card_fxs.c?view=diff&rev=4395&r1=4394&r2=4395
==============================================================================
--- branches/1.4/kernel/xpp/card_fxs.c (original)
+++ branches/1.4/kernel/xpp/card_fxs.c Tue Jul  8 06:14:08 2008
@@ -1126,6 +1126,11 @@
 				MARK_OFF(priv, i, LED_GREEN);
 				update_line_status(xpd, i, 0);
 			}
+			/*
+			 * Must witch to low power. In high power, an ONHOOK
+			 * won't be detected.
+			 */
+			do_chan_power(xbus, xpd, i, 0);
 		}
 	}
 	__pcm_recompute(xpd, 0);	/* in a spinlock */




More information about the svn-commits mailing list