[asterisk-bugs] [JIRA] (ASTERISK-22825) Dialplan Function for Checking Parking Lot Slot
Matt Jordan (JIRA)
noreply at issues.asterisk.org
Sat Dec 7 21:03:06 CST 2013
[ https://issues.asterisk.org/jira/browse/ASTERISK-22825?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Matt Jordan closed ASTERISK-22825.
----------------------------------
Resolution: Suspended
> 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
> Assignee: Matt Jordan
> Attachments: checkparking_patch.diff
>
>
> 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:
> {noformat}
> exten => s,1,Set(IS_SLOT_FULL=${CHECKPARKINGSLOT(${EXTEN},park_lot)})
> same => n,NoOp(Parking Lot Status is ${IS_SLOT_FULL})
> {noformat}
> 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