[asterisk-dev] Asterisk 16 Parking Lot Full behavior.

Steve Sether ssether at usinternet.com
Mon Nov 26 16:32:51 CST 2018


I'm testing the behavior of when the parking lot is full.  I came across 
this post from Asterisk 12 beta, 5 years ago that describes the behavior 
I'm seeing.

I call ParkAndAnnounce, and when the lot is full  Asterisk drops the 
call, and sends a BYE to the caller.  This just doesn't work for us.

Is there any way to get around this problem?  Ideally what I'd like to 
happen is to retain the call, and defer to a context to deal with that 
situation.  Alternatively, is there a decent way to determine if a lot 
is full?  This isn't an ideal case, since you'd then have to deal with 
race conditions, but it's better than simply dropping the call when the 
lot is full.


The original discussion is here:

http://lists.digium.com/pipermail/asterisk-dev/2013-November/063565.html


For context, this is the message:


>//>/Out of morbid curiosity, could you test the same type of transfer />/against Asterisk 12's parking system? />//>/Also, is this a blind or attended transfer? As in, does the person />/transferring the call hear the parking failed message, and does that />/person then get hung up on, or is it the transferee the one that />/actually attempted parking and failed? />//>/-- />/Jonathan R. Rose />/Digium, Inc. | Software Engineer />/445 Jan Davis Drive NW - Huntsville, AL 35806 - US />/direct +1 256 428 6139 />//

Jonathan,

I was able to test this in Asterisk 12.0.0-beta1.

Parking works fine, but when parking lot is full, Asterisk sends SIP BYE to both parker and parkee (transferer, transferee) and the call is hung up. Compared to 18.23, Asterisk is left in a stable state though (in 1.8.23, I guess because the parking fails after the channels are masqueraded, Asterisk and phones turn unstable)

Test scenario:
123 called 125. 125 tried to park 123. Parking failed (parking lot is full). Asterisk sent both phones SIP BYE, call is hung up.
  

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20181126/9eacbbd4/attachment.html>


More information about the asterisk-dev mailing list