missed FXS kewl start polarityswitch when finally on hook.

(issue #17318)



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@278841 65c4cc65-6c06-0410-ace0-fbb531ad65f3
certified/1.8.6
Alec L Davis 15 years ago
parent 85bfe38f2f
commit 8b3c00a824

@ -10654,7 +10654,7 @@ quit_no_clean:
/*
* 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.
*/

@ -3512,6 +3512,7 @@ void *analog_handle_init_event(struct analog_pvt *i, int event)
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

Loading…
Cancel
Save