Misc. Dialplan Tools transfer

From FreeSWITCH Wiki

Jump to: navigation, search

Immediately transfer the calling channel to a new extension.

Usage:

transfer <exten> [<dialplan> <context>]

Examples:

<action application="transfer" data="500"/>

This example is found in public.xml. It transfers the call to the given extension in the default context, which is located in default.xml. Please note the use of XML as a dialplan as it is defined in freeswitch.xml

<extension name="public_extensions">
  <condition field="destination_number" expression="^(10[01][0-9])$">
    <action application="transfer" data="$1 XML default"/>
  </condition>
</extension>

Note: You can also specify an inline dialplan

Personal tools