I’m trying to get the caller ID and destination extension for incoming calls to be sent as a webhook to my discord channel.
I have tried the following code in my extension configuration file which has done nothing.
same => n,Set(DISCORD_WEBHOOK_URL = <my_webhook_url>)
same => n,Set(INBOUND_CALL_MSG = Inbound call from ${CALLERID(NUM)} to DID ${EXTEN})
same => n,System(curl -H "Content-Type: applicat
Please stick to one forum. And please provide useful information, like complete logs and configuration files.
Please explain why this is relevant to FreePBX at all. The answer will probably determine whether this should be handled in the Asterisk or the FreePBX forum.
If it really does nothing, that is because it is never executed, which would be the fault of the code you haven’t included.