I recently upgraded from FreePBX 13 to 15 (asterisk 13) and am having an issue with auto answer not working when I have “dial” in extensions for ext 115 set to SCCP/115/aa2w. This would have the phone answer in 2 way intercom mode. When I upgraded to FreePBX this no longer worked. I can set dial to SCCP/115 and it will call the phone normally. I have an ami test script I ran to verify that aa2w still works with chan_sccp.
Username: cxpanel
Secret: redacted
ActionId: 1a2b
Action: Originate
Channel: SCCP/115/aa2w
Context: ggtts
Exten: 1002
CallerID: HA Alert<XXXXXXXXXX>
Priority:1
Variable: MyMsg=hello. There is a home automation alert. Please check the dashboard.
When executed it will call the extension and it autoanswers and I here the googletts message. How can I specify in FreePBX that when this extension is called it should be with SCCP/115/aa2w?
in extensions_custom.conf and then set an ‘autoanswer macro’ on the extensions page which would end up in the asterisk database like:
DEVICE/1234/autoanswer/macro : sccp-autoanswer
I think this might be a stable work around. And a more FreePBX way of doing this. SIP devices all seem to have different ways of achieving autoanswer so the custom macro solution seem to be appropriate.