I’d like to enable Slack notifications for incoming calls on our FreePBX.
I’ve found no posts covering any integration between Slack and FreePBX and I’m posting to find out if anyone can point me in the right direction.
I’ve have found a blog article linked below which covers the setup between Asterisk and Slack using some custom code and a .php file which connects to the API and alerts the Slack channel when an incoming call is inbound.
I’ve completed the steps and the article mentions making changes to the dialplan to insert:
exten => _.,n,AGI(slack.php)
I have tried insert this into the /etc/asterisk/extensions_custom.conf however once the asterisk service has been restarted our inbound calls are no longer working until the addition has been removed.
Any assistance or wisdom on how to pull this off would be greatly appreciated.