From df7f4db55d4cf7a8a7c6911729766f3232d065d1 Mon Sep 17 00:00:00 2001 From: Andrew Querol Date: Mon, 30 Nov 2020 10:58:47 -0600 Subject: [PATCH] Improve the valet_park auto dialplan by adding support for auto out and support for whole lot BLF monitoring. If the Referred-By header is set call the normal `auto in` code. If it isn't set that means someone called it directly, call `auto out` ato attempt to pop the calls in the lot in FIFO order. This also changes the parking lot name from `park` to `5900` this allows phones to monitor `park+5900` to get the status of the whole parking lot. Before you would have to monitor `park+park` to get this functionality. --- .../switch/conf/dialplan/470_valet_park_auto.xml | 9 +++++++++ .../resources/switch/conf/dialplan/470_valet_park_in.xml | 7 ------- .../switch/conf/dialplan/475_valet_park_out.xml | 4 ++-- 3 files changed, 11 insertions(+), 9 deletions(-) create mode 100644 app/dialplans/resources/switch/conf/dialplan/470_valet_park_auto.xml delete mode 100644 app/dialplans/resources/switch/conf/dialplan/470_valet_park_in.xml diff --git a/app/dialplans/resources/switch/conf/dialplan/470_valet_park_auto.xml b/app/dialplans/resources/switch/conf/dialplan/470_valet_park_auto.xml new file mode 100644 index 0000000000..c83e05d7a1 --- /dev/null +++ b/app/dialplans/resources/switch/conf/dialplan/470_valet_park_auto.xml @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/app/dialplans/resources/switch/conf/dialplan/470_valet_park_in.xml b/app/dialplans/resources/switch/conf/dialplan/470_valet_park_in.xml deleted file mode 100644 index 128ea0074d..0000000000 --- a/app/dialplans/resources/switch/conf/dialplan/470_valet_park_in.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - diff --git a/app/dialplans/resources/switch/conf/dialplan/475_valet_park_out.xml b/app/dialplans/resources/switch/conf/dialplan/475_valet_park_out.xml index b51390a82c..faf17cccb9 100644 --- a/app/dialplans/resources/switch/conf/dialplan/475_valet_park_out.xml +++ b/app/dialplans/resources/switch/conf/dialplan/475_valet_park_out.xml @@ -1,8 +1,8 @@ - + - +