missed FXS kewl start polarityswitch when finally on hook.
(issue #17318) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@278841 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
parent
f4110f5c77
commit
b6e521bf76
|
@ -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
|
||||
|
|
Reference in New Issue