(Panel) transfer active call

(Panel) transfer active call

Table of Contents

Tutorial

The VoipSTACK Panel (VOIP Panel) is highly customizable and, by default, does not include any predefined actions. Let’s walk through how to create an action to transfer a call.

Click the “New Action” button to add a new action.

Intent create action

Fill out the form with the following details:

  • Action: identify the action to be performed.
  • (Optional) Argument: Default value to be received by the softswitch.
  • Request argument to user : Ask user for the number to transfer the call to.
  • Handler: select “Dial”.

Create Action

Enable Action

Now, when the panel user sees an active call, they can click the number to view available actions.

Active call

The user can click the “Transfer” action.

Transfer call

Next, we need to update the dialplan to handle the new action. Example (FreeSWITCH):

  <context name="voipstack">
    <extension name="action transfer">
      <condition field="destination_number" expression="^action$"/>
      <condition field="${voipstack_action}" expression="^transfer">
        <action application="set" data="api_result=${uuid_transfer(${voipstack_action_input_call_uuid} ${voipstack_action_input_input} XML default)}"/>
      </condition>
    </extension>
  </context>

Example (Asterisk):

Edit or create configuration YAML, and add:

executor:
  transfer_asterisk:
    type: softswitch-interface
    when:
      action: transfer
    command: Redirect
    interface:
      Channel: ${VOIPSTACK_ACTION_VENDOR_CHANNEL}
      Context: from-internal
      Exten: ${VOIPSTACK_ACTION_INPUT_INPUT}
      Priority: 1

Use Cases

Call Transfer

As shown in your example, users can create a custom Transfer action to move an active call to another number by specifying the target number dynamically.

Call Conferencing

Define an action to initiate a conference call by adding additional participants to the current call. The user can input the number of the new participant and the handler will dial and merge calls.

Voicemail Transfer

Implement an action to directly transfer an active call to voicemail when the recipient is unavailable or busy. The user can optionally provide a voicemail box number or extension to redirect the call.

Related Posts

(Panel) listen active call

(Panel) listen active call

Tutorial

The VoipSTACK Panel (VOIP Panel) is highly customizable and, by default, does not include any predefined actions. Let’s walk through how to create an action to listen to a call.

Read More
(Panel) hangup active call

(Panel) hangup active call

Tutorial

The VoipSTACK Panel (VOIP Panel) is highly customizable and, by default, does not include any predefined actions. Let’s walk through how to create an action to hang up a call.

Read More