<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>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. <br>
</p>
<div class="moz-forward-container">
<p>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.<br>
</p>
<p>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.<br>
</p>
<p><br>
</p>
<p>The original discussion is here:<br>
</p>
<p><a class="moz-txt-link-freetext"
href="http://lists.digium.com/pipermail/asterisk-dev/2013-November/063565.html"
moz-do-not-send="true">http://lists.digium.com/pipermail/asterisk-dev/2013-November/063565.html</a></p>
<p><br>
</p>
<p>For context, this is the message:</p>
<p><br>
</p>
<pre style="white-space: pre-wrap; color: rgb(0, 0, 0); font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;">><i>
</i>><i> Out of morbid curiosity, could you test the same type of transfer
</i>><i> against Asterisk 12's parking system?
</i>><i>
</i>><i> Also, is this a blind or attended transfer? As in, does the person
</i>><i> transferring the call hear the parking failed message, and does that
</i>><i> person then get hung up on, or is it the transferee the one that
</i>><i> actually attempted parking and failed?
</i>><i>
</i>><i> --
</i>><i> Jonathan R. Rose
</i>><i> Digium, Inc. | Software Engineer
</i>><i> 445 Jan Davis Drive NW - Huntsville, AL 35806 - US
</i>><i> direct +1 256 428 6139
</i>><i>
</i>
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.
</pre>
</div>
</body>
</html>