Handle Sinch voice call webhook
Inbound voice call webhook posted by Sinch for ICE (Incoming Call Event), ACE (Answered Call Event), and DiCE (Disconnect Event). For ICE the endpoint returns SVAML instructing Sinch how to route/record the call; for ACE and DiCE it updates the Call record and acknowledges receipt.
Body
Response
SVAML response. For Incoming Call Event (ICE) the body carries a routing action (connectConf, hangup, etc.); for ACE/DiCE the body is empty.
SVAML response Sinch interprets to route the call. Only Incoming Call Event (ICE) returns a populated action; ACE / DiCE branches return an empty object or omit action.
One SVAML action (Sinch Voice Application Markup Language) instructing Sinch how to route the call.
{ "name": "connectConf" }