Summary:ASTERISK-20689: Sporadic failure in Masquerade test due to parking timeout
Reporter:Matt Jordan (mjordan)Labels:
Date Opened:2012-11-16 09:46:47.000-0600Date Closed:2013-01-15 08:50:51.000-0600
Versions:Frequency of
Environment:CentOS 6, x86_64Attachments:
Description:During execution of the masquerade test, the test sometimes fails due to the parked call that the local channels are optimizing out for timing out of the parking lot.  This results in the subsequent unpark attempt to fail:

[Nov 15 03:29:15] VERBOSE[4347] features.c:   ==
Local/9300@outgoing-00000000;1 got tired of being parked
[Nov 15 03:29:16] NOTICE[4385] chan_iax2.c: Rejected connect attempt
from, request '701@parkedcalls' does not exist

The local channel in the parking lot needs to have a very long timeout to be tolerant of the 300 local optimizations that will occur.
Comments:By: Richard Mudgett (rmudgett) 2012-11-30 16:27:31.780-0600

Apparently time passes at different rates for the two instances of Asterisk the test uses.  The parking lot should have timed out (at 300 seconds) which is before the call should have gotten tired of waiting and hung up (at 330 seconds).

I have increased each timer by 600 seconds.