Contact

Blogs

Take a look at the things that interest us.

Auto answer with Asterisk dailplan

Wesley Wesley 2 years

The Asterisk auto answers can be a handy feature for when you want to broadcast to one or multiple phones or speakers at the same time.

In today's post, I am going to show you a few examples of how to auto-answer incoming calls from the Asterisk dial plan.

Auto answer with SipAddHeader

exten => 100,1,SIPAddHeader(Call-Info:<sip:>\;answer-after=0)
exten => 100,n,Dial(PJSIP/200)

Auto answer with SetVar

exten => 100,1,SetVar(_ALERT_INFO=info=alert-autoanswer)
exten => 100,n,Dial(PJSIP/200)

Auto answer with Set

exten => 100,1,Set(__SIPADDHEADER=Alert-Info: \;info=alert-autoanswer)
exten => 100,n,Dial(PJSIP/200)

When you set the auto-answer settings in your Asterisk, don't forget to also allow auto-answer on your device. Most devices have an auto-answer option at the settings page that needs to be selected.

Auto answer with Asterisk dailplan 2021-08-24 08:08:04

There are no comments.

4208

Have questions about our services?

Contact our Sales team to get answers.

Contact Us
gomibako@aska-ltd.jp