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

George Joseph (JIRA) noreply at issues.asterisk.org
Fri Jul 6 14:23:54 CDT 2018


     [ https://issues.asterisk.org/jira/browse/ASTERISK-22825?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

George Joseph updated ASTERISK-22825:
-------------------------------------

    Status: Open  (was: Triage)

> 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