[zaptel-commits] tzafrir: branch 1.2 r4394 - /branches/1.2/xpp/card_fxs.c
SVN commits to the Zaptel project
zaptel-commits at lists.digium.com
Tue Jul 8 05:51:17 CDT 2008
Author: tzafrir
Date: Tue Jul 8 05:51:16 2008
New Revision: 4394
URL: http://svn.digium.com/view/zaptel?view=rev&rev=4394
Log:
A case where we didn't switch to low power at the end of a ring.
ISsue may prevents ONHOOK detection.
Modified:
branches/1.2/xpp/card_fxs.c
Modified: branches/1.2/xpp/card_fxs.c
URL: http://svn.digium.com/view/zaptel/branches/1.2/xpp/card_fxs.c?view=diff&rev=4394&r1=4393&r2=4394
==============================================================================
--- branches/1.2/xpp/card_fxs.c (original)
+++ branches/1.2/xpp/card_fxs.c Tue Jul 8 05:51:16 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 zaptel-commits
mailing list