diff options
author | Alec L Davis <sivad.a@paradise.net.nz> | 2010-07-23 11:01:14 +0000 |
---|---|---|
committer | Alec L Davis <sivad.a@paradise.net.nz> | 2010-07-23 11:01:14 +0000 |
commit | 8b3c00a824d82e375223430c2c7cd8190c31c963 (patch) | |
tree | 4ab54173d75979bdef73584e6fe5a57b600abb27 | |
parent | 85bfe38f2f7a22e7ff300efbe48a1b658896866c (diff) |
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
-rw-r--r-- | channels/chan_dahdi.c | 2 | ||||
-rw-r--r-- | channels/sig_analog.c | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/channels/chan_dahdi.c b/channels/chan_dahdi.c index d2a567135..4f4d55068 100644 --- a/channels/chan_dahdi.c +++ b/channels/chan_dahdi.c @@ -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. */ diff --git a/channels/sig_analog.c b/channels/sig_analog.c index 3214681bd..762169f87 100644 --- a/channels/sig_analog.c +++ b/channels/sig_analog.c @@ -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 |