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
This commit is contained in:
Alec L Davis
2010-07-23 11:01:14 +00:00
parent 85bfe38f2f
commit 8b3c00a824
2 changed files with 2 additions and 1 deletions

View File

@@ -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