From e2853ae3375d8ce8d2f52be5d7d9e3e7761af152 Mon Sep 17 00:00:00 2001 From: Philip Correia Date: Mon, 15 Dec 2014 13:23:53 +0200 Subject: res_parking: Update parking documentation for dynamic parking lots. * Remove duplicate res_parking.conf courtesytone config option documentation. ASTERISK-24596 #close Reported by: Philip Correia ASTERISK-24605 Reported by: Philip Correia Patches: call_park_app_doc.patch (license #6672) patch uploaded by Philip Correia Change-Id: I90a92a891c6494dc08173e675856afcc4764c5b5 --- res/parking/parking_applications.c | 41 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) (limited to 'res/parking/parking_applications.c') diff --git a/res/parking/parking_applications.c b/res/parking/parking_applications.c index 0a0ea3c4b..3a9527c1f 100644 --- a/res/parking/parking_applications.c +++ b/res/parking/parking_applications.c @@ -90,6 +90,47 @@ ASTERISK_REGISTER_FILE() call on that extension. If the extension is already in use then execution will continue at the next priority. + If the parkeddynamic option is enabled in + res_parking.conf the following variables can be + used to dynamically create new parking lots. When using dynamic parking + lots, be aware of the conditions as explained in the notes section + below. + + The PARKINGDYNAMIC variable specifies the + parking lot to use as a template to create a dynamic parking lot. It + is an error to specify a non-existent parking lot for the template. + If not set then the default parking lot is used as the template. + + The PARKINGDYNCONTEXT variable specifies the + dialplan context to use for the newly created dynamic parking lot. If + not set then the context from the parking lot template is used. The + context is created if it does not already exist and the new parking lot + needs to create extensions. + + The PARKINGDYNEXTEN variable specifies the + parkext to use for the newly created dynamic + parking lot. If not set then the parkext is used from + the parking lot template. If the template does not specify a + parkext then no extensions are created for the newly + created parking lot. The dynamic parking lot cannot be created if it + needs to create extensions that overlap existing parking lot extensions. + The only exception to this is for the parkext + extension and only if neither of the overlaping parking lot's + parkext is exclusive. + + The PARKINGDYNPOS variable specifies the + parking positions to use for the newly created dynamic parking lot. If + not set then the parkpos from the parking lot template + is used. + + + This application must be used as the first extension priority + to be recognized as a parking access extension for blind transfers. + Blind transfers and the DTMF one-touch parking feature need this + distinction to operate properly. The parking access extension in + this case is treated like a dialplan hint. + + ParkedCall -- cgit v1.2.3