Page 445 - Asterisk™: The Future of Telephony
P. 445
See Also
MeetMe()
Park() Parks the current call
Park()
Parks the current call (typically in combination with a supervised transfer to determine
the parking space number). This application is always registered internally and does
not need to be explicitly added in to the dialplan, although you should include the
parkedcalls context. Parking configuration is set in features.conf.
; explicitly park the caller
include => parkedcalls
exten => 123,1,Answer()
exten => 123,n,Park()
See Also
ParkAndAnnounce(), ParkedCall()
ParkAndAnnounce() Parks the current call and announces the call over the specified channel
ParkAndAnnounce(template,timeout,channel[,return_context])
Parks the current call in the parking lot and announces the call over the specified
channel. The template is a colon-separated list of files to announce; the word PARKED is
replaced with the parking space number of the call. The timeout argument is the time
in seconds before the call returns to the return_context. The channel argument is the
channel to call to make the announcement. Console/dsp calls the console. The
return_context argument is a Goto()-style label to jump the call back in to after timeout,
which defaults to n+1 (where n is the current priority) in the return_context context.
include => parkedcalls
exten => 123,1,Answer()
exten => 123,2,ParkAndAnnounce(vm-youhave:a:pbx-transfer:at:vm-extension:PARKED,120,
Console/dsp)
exten => 123,3,Playback(vm-nobodyavail)
exten => 123,4,Playback(vm-goodbye)
exten => 123,5,Hangup()
See Also
Park(), ParkedCall()
ParkedCall() Answers a parked call
ParkedCall(parkingslot)
Park() | 417