Olivier
2011-Dec-05 07:28 UTC
[asterisk-users] How to count available parking slots from diaplan
Hello, For an (old) Asterisk 1.4, how can I tell from the dialplan that a parking lot has available slots, or that a parking slot is empty ? Shall I just park the call with Park() application and , for instance, program next priority as if it would be triggered when the parking lot is full ? Regards -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20111205/31462dda/attachment.htm>
Danny Nicholas
2011-Dec-05 14:19 UTC
[asterisk-users] How to count available parking slots from diaplan
Chanisavail() might do it for you. I personally do it using hints but that doesn't accommodate your "in-dialplan" need unless you use an AGI. From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Olivier Sent: Monday, December 05, 2011 1:28 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: [asterisk-users] How to count available parking slots from diaplan Hello, For an (old) Asterisk 1.4, how can I tell from the dialplan that a parking lot has available slots, or that a parking slot is empty ? Shall I just park the call with Park() application and , for instance, program next priority as if it would be triggered when the parking lot is full ? Regards -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20111205/a5672bb5/attachment.htm>