Parking in the dialplan

There are two options that we can add to the Dial() application to aid with call parking. The capital “K” can be used to allow the user making the call to have permissions to place the call in park. The lowercase “k” is used to allow the user being called to have permissions to place the call in park. We can use either or both options in the Dial() application.

The “K” and/or “k” options will need to be added in the third parameter of the Dial() application. In the past section we added “t” to this Dial() parameter, Dial(SIP/matthew,5,t). Just a quick review, the first parameter is who/what to dial. The second parameter is how long (in seconds) to dial. The third parameter is for any additional options.

We will keep the “t” option in the Dial() application to continue allowing call transfers and then add the “k” option to allow the user to park a call that they have answered. Modify the dialplan to add “k” to extension 100.

exten => 100,1,NoOp(Call for matthew)
same => n,Dial(SIP/matthew,5,tk)
same => n,Hangup

Add anywhere in the [phones] context the following line to include the parked call extensions.

include => parkedcalls