ARI Variables not working

(Tanmoy) #1

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?

(Tanmoy) #2

Nevermind guys, I forgot to pass

–header “Content-Type: application/json”

(Communication Technologies) #3

Can you post your working curl command?

(Tanmoy) #4
curl -v -X POST \
–header “Content-Type: application/json” \
-d '{"variables": { "IFI_AGENT": "75959", "IFI_UUID": "46327642643782643287", "CALLERID(name)": "+91XXXXXXXXX", "CALLERID(number)": "+91XXXXXXXXX" }}' \

(system) closed #5

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