ChannelRedirect() — Redirects a channel to a new location in the dialplan
This application redirects the specified
channel
to a new
priority
in the dialplan. If
extension
is not specified, the current
extension is assumed. If context
is not
specified, the current context will be assumed:
; Transfer SIP/Bob to hold music when extension 123 is dialed
exten => 123,1,ChannelRedirect(SIP/Bob,124,1)
exten => 124,1,Answer()
exten => 124,2,MusicOnHold()