Name

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: 010123234545Message: Redirect successful

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

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.