Page 566 - Asterisk™: The Future of Telephony
P. 566
Notes
This manager command gives the same output as the show queues command from the
Asterisk command-line interface. However, the output of this command is somewhat
hard to parse programmatically. You may want to use the QueueStatus command
instead.
Redirect Redirects (transfers) a channel
Redirects a channel to a new context, extension, and priority in the dialplan.
Parameters
Channel
[required] Channel to redirect.
ExtraChannel
[optional] Channel identifier of the second call leg to transfer.
ActionID
[optional] An identifier that can be used to identify the response to this action.
Exten
[required] Extension in the dialplan to transfer to.
Context
[required] Context to transfer to.
Priority
[required] Priority to transfer to.
Privilege
call, all
Example
Action: Redirect
Channel: SIP/linksys2-10201e90
Context: lab
Exten: 500
Priority: 1
ActionID: 010123234545
Response: Success
ActionID: 010123234545
Message: Redirect successful
538 | Appendix F: Asterisk Manager Interface Actions