[asterisk-bugs] [JIRA] (ASTERISK-22825) Dialplan Function for Checking Parking Lot Slot

JoshE (JIRA) noreply at issues.asterisk.org
Tue Nov 5 02:42:03 CST 2013


JoshE created ASTERISK-22825:
--------------------------------

             Summary: Dialplan Function for Checking Parking Lot Slot
                 Key: ASTERISK-22825
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-22825
             Project: Asterisk
          Issue Type: Improvement
      Security Level: None
          Components: Features/Parking
    Affects Versions: 11.5.1
            Reporter: JoshE


This is a simple patch to add a function for CHECKPARKINGSLOT.  It takes an extension and a parking lot and returns 1 if the parking slot is occupied.  Zero if the slot is empty or the lot doesn't exist.

Example here:

exten => s,1,Set(IS_SLOT_FULL=${CHECKPARKINGSLOT(${EXTEN},park_lot)})
same => n,NoOp(Parking Lot Status is ${IS_SLOT_FULL})

Not sure if it helps anyone else, but it was useful for me.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.asterisk.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list