This page looks best with JavaScript enabled

Call parking in Asterisk

 ·  🎃 kr0m

In Asterisk, it is possible to park calls, which consists of transferring a call to a parking extension so that a third extension can pick it up.

We edit features.conf and add:

  • parkext: Extension to park calls (700 by default).
  • parkpos: Number of calls that can be parked.
  • context: Name of the parking context (parkedcalls).
  • parkingtime: Maximum number of seconds that a call can be parked.

Context: In this context, the 70X extensions are added as they are parked, so by including it in our context, we can call the parked calls.

Example of extensions.conf

[incoming]
include => parkedcalls
exten=2,1,Dial(SIP/2,,tT)
exten=3,1,Dial(SIP/3,,tT)

We apply the config.

rasterisk
restart now

The call flow would be:

  • 1 calls 2
  • 2 parks 1 in the default 700
  • 3 can retrieve the call by calling 701
If you liked the article, you can treat me to a RedBull here