Fix a bug where a timer would be created but not acknowledged.
authorJoshua Colp <jcolp@digium.com>
Wed, 6 May 2009 17:38:51 +0000 (17:38 +0000)
committerJoshua Colp <jcolp@digium.com>
Wed, 6 May 2009 17:38:51 +0000 (17:38 +0000)
commit9936f0ca144caa24394a6efccad4ab14189b968c
treed417a6e950509ea14877940c0e0bf3bdd6d3ef4f
parent829807cd2c6ccb68fa8cd4304b04d333226d0e80
Fix a bug where a timer would be created but not acknowledged.

This scenario crept up if chan_iax2 was loaded with no configuration file present.
It would create a timer and tell it to go at an interval but the thread that normally
acknowledges it would not be created because no configuration file was present. The timer
will now be closed if no configuration file is present.

(closes issue #15014)
Reported by: madkins

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