[asterisk-commits] alecdavis: trunk r278841 - in /trunk/channels: chan_dahdi.c sig_analog.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Jul 23 06:01:20 CDT 2010


Author: alecdavis
Date: Fri Jul 23 06:01:14 2010
New Revision: 278841

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=278841
Log:
missed FXS kewl start polarityswitch when finally on hook.

(issue #17318)


Modified:
    trunk/channels/chan_dahdi.c
    trunk/channels/sig_analog.c

Modified: trunk/channels/chan_dahdi.c
URL: http://svnview.digium.com/svn/asterisk/trunk/channels/chan_dahdi.c?view=diff&rev=278841&r1=278840&r2=278841
==============================================================================
--- trunk/channels/chan_dahdi.c (original)
+++ trunk/channels/chan_dahdi.c Fri Jul 23 06:01:14 2010
@@ -10654,7 +10654,7 @@
 /*
 * The following three functions (mwi_send_init, mwi_send_process_buffer,
 * mwi_send_process_event) work with the do_monitor thread to generate mwi spills
-* that are sent out via FXA port on voicemail state change.  The execution of
+* that are sent out via FXS port on voicemail state change.  The execution of
 * the mwi send is state driven and can either generate a ring pulse prior to
 * sending the fsk spill or simply send an fsk spill.
 */

Modified: trunk/channels/sig_analog.c
URL: http://svnview.digium.com/svn/asterisk/trunk/channels/sig_analog.c?view=diff&rev=278841&r1=278840&r2=278841
==============================================================================
--- trunk/channels/sig_analog.c (original)
+++ trunk/channels/sig_analog.c Fri Jul 23 06:01:14 2010
@@ -3512,6 +3512,7 @@
 			break;
 		case ANALOG_SIG_FXOKS:
 			i->fxsoffhookstate = 0;
+			analog_start_polarityswitch(i);
 			analog_set_echocanceller(i, 0);
 			/* Diddle the battery for the zhone */
 #ifdef ZHONE_HACK




More information about the asterisk-commits mailing list