Contact

Blogs

Take a look at the things that interest us.

How to make a attended transfer with Asterisk

Wesley Wesley 3 years

To set up the attended transfer function for Asterisk, we’ll start by updating the features config file.

1. Asterisk Features

Let’s start by moving to the Asterisk directory.

cd /etc/asterisk

Here we’ll open our features.conf

vi features.conf

In our features configuration file we’ll add the following parameters.

[featuremap]
atxfer => *2

After updating the file we’ll save and close it.

!wq;

2. Asterisk Dial Plan

The next step is to update our current dial plan. Let’s start by opening the extensions config file.

vi extensions.conf

Here we’ll need to add the t or T option to our dial plan. The t and T stand for.

  • t - Allow the called party to transfer the calling party by sending the DTMF sequence defined in features.conf. This setting does not perform policy enforcement on transfers initiated by other methods
  • T - Allow the calling party to transfer the called party by sending the DTMF sequence defined in features.conf. This setting does not perform policy enforcement on transfers initiated by other methods.

Let’s add it to our dial plan

; extensions context
[extensions]
exten => _1XXX,1,Ringing
exten => _1XXX,n,Dial(PJSIP/${EXTEN},60,tT)
exten => _1XXX,n,Answer()
exten => _1XXX,n,Hangup

After updating the file we’ll save and close it.

!wq;

3. Restart Asterisk

The last step is to restart Asterisk, this can be done with the following command.

systemctl restart asterisk

Attended transfer has now been set up for Asterisk. A attended transfer can be done by dialing “ *2 + [extension number] ” from your sip client.

How to make a attended transfer with Asterisk 2021-08-26 16:18:07

There are no comments.

4268

Have questions about our services?

Contact our Sales team to get answers.

Contact Us
gomibako@aska-ltd.jp