Hi Guys,
I am facing issue in auto-answering the incoming calls in Asterisk 11. Here, i have given the dial plan (extensions.conf)
[click-to-call-originate-custom]
include = DLPN_Test
exten => _X.,1,NoOp(“Click to Call Originator”)
exten => _X.,n,Set(_ALERT_INFO=info=alert-autoanswer)
exten => _X.,n,Goto(from-internal,${EXTEN},1)
[click-to-call-target-custom]
include = DLPN_Test
exten => _X.,1,NoOp(“Click to Call Target”)
exten => _X.,2,Goto(from-internal,${EXTEN},1)
[from-internal]
include = DLPN_Test
exten => _X,1,Dial(${EXTEN})
Whereas, i mapped all extensions in “DLPN_Test” context.
I used the following Originate Action to make a call from extension 6002 to extension 6003. I registered both extensions in different x-lite.
Action: Originate
Channel: Local/6002@click-to-call-originate-custom
Exten: 6003
Priority: 1
Context: click-to-call-target-custom
Timeout: 10000
Now, I am getting call to source extension 6002 to manual answer, instead of auto-answering and then call made to destination extension 6003 and connected.
Here, i need to auto-answer source end. I am not sure, where i made mistake. please assist me on this.
Thanks in advance.
Best Regards,
Shahul