ARI variables seems not working

I’m originating calls using ARI channel in the following way

curl -v -X POST "https://user:pass@pbxurl.com:8089/ari/channels?endpoint=local/%2B91XXXXXXXXX4@from-trunk15&extension=%2B9191XXXXXXXXX5&context=from-trunk15&priority=1" -d '{"variables": { "IFI_AGENT": "75959", "IFI_UUID": "46327642643782643287", "CALLERID(name)": "+91XXXXXXXXX", "CALLERID(number)": "+91XXXXXXXXX" }}'

Calls are working fine, however, I am not receiving the variables from the Dialplan “from-trunk15”

Can you please help me to debug?

Nevermind guys, I forgot to pass

–header “Content-Type: application/json”

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.