Fix invalid test for rxisoffhook in FXO channels
authorTzafrir Cohen <tzafrir.cohen@xorcom.com>
Wed, 21 Jul 2010 17:44:20 +0000 (17:44 +0000)
committerTzafrir Cohen <tzafrir.cohen@xorcom.com>
Wed, 21 Jul 2010 17:44:20 +0000 (17:44 +0000)
commit16b48135994a3ec78f0ea8ac7855a2aa878443d2
tree0bdb5712303e36c6ea55c53224689db2cd204a49
parent765b27597681ad554be768050341c7fa04ca1c1b
Fix invalid test for rxisoffhook in FXO channels

This fixes some cases of no outgoing calls on FXO before an incoming call.

Remove an unnecessary testing of an "off-hook" bit from DAHDI for FXO
(KS/GS) channels.In some cases the bit would not be initialized properly
before the first inbound call and thus prevent an outgoing call.

If those tests are actually required by anybody, they should define
DAHDI_CHECK_HOOKSTATE in channels/sig_analog.c .

(closes issue #14577)
Reported by: jkroon
Patches:
      asterisk_chan_dahdi_hookstate_fix_trunk_new.diff uploaded by frawd (license 610)
Tested by: frawd

Review: https://reviewboard.asterisk.org/r/699/

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@278501 65c4cc65-6c06-0410-ace0-fbb531ad65f3
channels/chan_dahdi.c
channels/sig_analog.c