diff options
author | alecdavis <alecdavis@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-07-23 11:01:14 +0000 |
---|---|---|
committer | alecdavis <alecdavis@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-07-23 11:01:14 +0000 |
commit | b6e521bf768748cef06ff11f59601e6edbd35227 (patch) | |
tree | 4ab54173d75979bdef73584e6fe5a57b600abb27 | |
parent | f4110f5c77863958065979fab4027770ea2990c7 (diff) |
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
-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 |