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()

See Also


Get Asterisk: The Future of Telephony, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.