ou812
Guru
- Joined
- Oct 18, 2007
- Messages
- 479
- Reaction score
- 79
I have managed to come up with a way to be a little closer to emulate a key system using call park in a different way, I wanted to have a single one touch button that would park the call & blf & pick-up, as well as have multiple parking zones , so first i needed to create separate park zones with 1 slot each (50,51,52) then I would need to be able to create a way to dial a code to park the call & dial the same code to pick it up. I have managed to do this but I believe there is some "dirty programming" in it, I am relying on Congestion in outbound routes to help me because I don't know how to do this properly in the dial plan, hopefully someone here can improve on this.
gary
Setup default parking lot extension 700 & as many slots as you want in default parking.
set CallerID Prepend: Park Recall
set Alternate Destination: as normal
-----------------------------------------------------------------------
Misc Destination
Description: Custom-Park-0
Dial: 50
Description: Custom-Park-1
Dial: 51
Description: Custom-Park-2
Dial: 52
--------------------------------------------------------
OutBound Routes
Route Name: Custom-Park-0
Dial Patterns: match pattern = 750
Trunk Sequence: Empty
Optional Destination on Congestion: Misc Destinations = Custom-Park-0
Route Name: Custom-Park-1
Dial Patterns: match pattern = 751
Trunk Sequence: Empty
Optional Destination on Congestion: Misc Destinations = Custom-Park-1
Route Name: Custom-Park-2
Dial Patterns: match pattern = 752
Trunk Sequence: Empty
Optional Destination on Congestion: Misc Destinations = Custom-Park-2
---------------------------------------------------------------------------------
/etc/asterisk/features_general_custom.conf
[parkinglot_0]
context => parkedcalls
parkext => 50
parkpos => 750-750
parkext_exclusive=yes
parkingtime=120
comebacktoorigin=yes
parkinghints=yes
[parkinglot_1]
context => parkedcalls
parkext => 51
parkpos => 751-751
parkext_exclusive=yes
parkingtime=120
comebacktoorigin=yes
parkinghints=yes
[parkinglot_2]
context => parkedcalls
parkext => 52
parkpos => 752-752
parkext_exclusive=yes
parkingtime=120
comebacktoorigin=yes
parkinghints=yes
---------------------------------------------------------
/etc/asterisk/extensions_custom.conf
exten => _75N,1,Goto(park-return-routing,700,1)
---------------------------------------------------------
Yealink Phone
setup BLF buttons
Value: 750
Value: 751
Value: 752
gary