The current default configuration sets up a "default" parking lot. Additional sections in features.conf will configure additional parking lots. The following parameters may be specified for each parkinglot, independant from each other: - parkext, !!! - parkpos, - context, - parkingtime, - parkhints, - courtesytone, !!! - parkedplay, !!! - adsipark, !!! - findslot, - parkedmusicclass ---------------------------------------------------------------------- Configuration example: extensions.conf --------------- [datus] include => datuspark exten => 2233,1,Dial(SIP/2233,,tT) exten => 2233,n,Hangup() exten => 1234,1,Dial(SIP/1234,,tT) exten => 1234,n,Hangup() exten => 3456,1,Dial(SIP/3456,,tT) exten => 3456,n,Hangup() exten => 5555,1,Dial(SIP/5555,,tT) exten => 5555,n,Hangup() [taiga] include => taigapark exten => 5234,1,Dial(SIP/5234,,tT) exten => 5234,n,Hangup() exten => 5222,1,Dial(SIP/5222,,tT) exten => 5222,n,Hangup() exten => 5444,1,Dial(SIP/5444,,tT) exten => 5444,n,Hangup() exten => 5999,1,Dial(SIP/5999,,tT) exten => 5999,n,Hangup() features.conf ------------- [general] parkext => 700 ; What extension to dial to park (default parking lot) parkpos => 701-720 ; What extensions to park calls on (default parking lot). ; These needs to be numeric, as Asterisk starts from the start position ; and increments with one for the next parked call. context => datuspark ; Which context parked calls are in (default parking lot) parkingtime => 60 ; Number of seconds a call can be parked for ; (default parking lot, default is 45 seconds) ;parkhints = yes ; Automatically add hints (default parking lot, default no) courtesytone = beep ; Sound file to play to the parked caller ; when someone dials a parked call ; or the Touch Monitor is activated/deactivated. ; (default parking lot) parkedplay = both ; Who to play the courtesy tone to when picking up a parked call (default parking lot). ; one of: parked, caller, both (default is caller) ;adsipark = yes ; if you want ADSI parking announcements (default parking lot) findslot => next ; Continue to the 'next' free parking space (default parking lot). ; Defaults to 'first' available parkedmusicclass=default ; This is the MOH class to use for the parked channel ; as long as the class is not set on the channel directly ; using Set(CHANNEL(musicclass)=whatever) in the dialplan ; (default parking lot) ;transferdigittimeout => 3 ; Number of seconds to wait between digits when transferring a call ; (default is 3 seconds) ;xfersound = beep ; to indicate an attended transfer is complete ;xferfailsound = beeperr ; to indicate a failed transfer ;pickupexten = *8 ; Configure the pickup extension. (default is *8) ;featuredigittimeout = 500 ; Max time (ms) between digits for ; feature activation (default is 500 ms) ;atxfernoanswertimeout = 15 ; Timeout for answer on attended transfer default is 15 seconds. ;*** Define another parking lot ; ;[taigaparklot] parkext => 800 parkpos => 801-850 context => taigapark parkingtime => 60 ;parkhints = yes courtesytone = beep parkedplay = both ;adsipark = yes findslot => next parkedmusicclass=default ---------------------------------------------------------------------- Differing from implementation on main trunk, you don't have to configure the channel variable PARKINGLOT within the dial plan or in the channel configuration for the device. The parkinglotname is added as parameter to the park extension, so your dialplan will show something like this: >>>> [ Context 'parkedcalls' created by 'res_features' ] '700' => 1. Park() [res_features] [ Context 'datuspark' created by 'res_features' ] '900' => 1. Park(datusparklot) [res_features] <<<< ------------ If you park a call the parkinglotname is passed over as parameter to the correspondent function in res_features.c. The parked call is shown in the dialplan as: >>>> [ Context 'parkedcalls' created by 'res_features' ] '700' => 1. Park() [res_features] [ Context 'datuspark' created by 'res_features' ] '900' => 1. Park(datusparklot) [res_features] '901' => 1. ParkedCall(901@datusparklot) [res_features] <<<< ---------------- ---------------------------------------------------------------------- New CLI-Command: PC2026*CLI> PC2026*CLI> show parkinglots Parking lots: Parking lot: "default" ---------------------------------- Extension: 700 Context: parkedcalls Park position: 701-720 Findslot: next Parking_offset: 0 Occupiedlots: no Parkedmusicclass: default Parkedplay: both Courtesytone: beep Parkingtime (sec): 45 Parking lot: "datusparklot" ---------------------------------- Extension: 900 Context: datuspark Park position: 901-910 Findslot: next Parking_offset: 2 Occupiedlots: yes Parkedmusicclass: powermusic Parkedplay: both Courtesytone: beep Parkingtime (sec): 60