Asterisk – ChannelRedirect
ChannelRedirect : This is used to redirect the given channel to target dialplan. For example if you want to redirect the channel SIP/1222-09992 to wrap context at 2 priority. You can use this function/command to do so.
This has been added in Asterisk 1.4 version.
For Asterisk 1.4 version
ChannelRedirect(channel|[[context|]extension|]priority)
For Asterisk 1.8 and above version
ChannelRedirect(channel, context, extension, priority)
This is used to Sends the specified channel to the specified extension priority.
for example:
exten => 100, 1, ChannelRedirect(SIP/satya-00212, ibcall, s, 1)