Examples
Redirect Call to a new RCML
curl -X POST https://v1.api19.com/call/2012-04-24/Accounts/ACCOUNT_SID/Calls/CALL_SID.json \
-d 'Url=http://mycompany.com/api19/demos/dialÂalice.xml' \
-u 'API_Token'
Redirect Call to a new RCML and connect both call legs
curl -X POST https://v1.api19.com/call/2012-04-24/Accounts/ACCOUNT_SID/Calls/CALL_SID.json \
-d 'Url=http://mycompany.com/tcml/demos/conference.xml' \
-d 'MoveConnectedCallLeg=true' \
-u 'API_Token'
Terminate In Progress call
curl -X POST https://v1.api19.com/call/2012-04-24/Accounts/ACCOUNT_SID/Calls/CALL_SID.json \
-d 'Status=completed' \
-u 'API_Token'Terminate Ringing call
Modifying Live Calls - Example
Modifying a Live Call
You can still redirect the current call back to the previous application
Last updated