[asterisk-bugs] [JIRA] (ASTERISK-22825) Dialplan Function for Checking Parking Lot Slot
JoshE (JIRA)
noreply at issues.asterisk.org
Sun Aug 10 16:26:29 CDT 2014
[ https://issues.asterisk.org/jira/browse/ASTERISK-22825?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
JoshE updated ASTERISK-22825:
-----------------------------
Attachment: checkparkingslotandchannel_v2.diff
Minor set of fixes and enhancements here.
> 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, checkparkingslotandchannel.diff, checkparkingslotandchannel_v2.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 was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list