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: [email protected]
[mailto:[email protected]] 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



--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to