Add more timeout checks into app_queue, specifically
commit58f35d0e1dca1912196d39260aba1e6e6a6bc308
authormmichelson <mmichelson@614ede4d-c843-0410-af14-a771ab80d22e>
Thu, 31 Jul 2008 15:56:18 +0000 (31 15:56 +0000)
committermmichelson <mmichelson@614ede4d-c843-0410-af14-a771ab80d22e>
Thu, 31 Jul 2008 15:56:18 +0000 (31 15:56 +0000)
treea0fdd660f58851399f35df98a63566b55ec9c4ed
parent2c5083ade48ca743d72aab457523dbdd224a18a2
Add more timeout checks into app_queue, specifically
targeting areas where an unknown and potentially
long time has just elapsed. Also added a check
to try_calling() to return early if the timeout
has elapsed instead of potentially setting a negative
timeout for the call (thus making it have *no* timeout
at all).

(closes issue #13186)
Reported by: miquel_cabrespina
Patches:
      13186.diff uploaded by putnopvut (license 60)
Tested by: miquel_cabrespina

git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@134758 614ede4d-c843-0410-af14-a771ab80d22e
apps/app_queue.c