ARI variables seems not working

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

curl -v -X POST "" -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.