]> git.ipfire.org Git - thirdparty/asterisk.git/commit
chan_dahdi: Fix analog dialtone detection.
authorRichard Mudgett <rmudgett@digium.com>
Fri, 16 May 2014 20:00:55 +0000 (20:00 +0000)
committerRichard Mudgett <rmudgett@digium.com>
Fri, 16 May 2014 20:00:55 +0000 (20:00 +0000)
commitffe97a9c8ff63e1759de01d1bfb5ce83866bc58c
tree365ce5c6304299cabca0985f66be7b1e2e0ab155
parente97c2eccc068298331a28e9acf48403bae327455
chan_dahdi: Fix analog dialtone detection.

* Check if waitingfordt (waitfordialtone) is enabled in dahdi_read() to
allow the DSP to operate early enough to detect dialtone.

* Made use the correct variable in my_check_waitingfordt().

ASTERISK-23709 #close
Reported by: Steve Davies
Patches:
      dialtone_detect_fix (license #5012) patch uploaded by Steve Davies

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

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@414067 65c4cc65-6c06-0410-ace0-fbb531ad65f3
channels/chan_dahdi.c