Calls
create a call
Changed onpost/Accounts/{AccountSid}/Calls
Request
- Base URLhttps://api.jambonz.cloud/v1
- AuthHTTP bearer
Path parameters
AccountSidstring required
Request body
Example request
{
"call_hook": {
"url": "https://acme.com",
"method": "POST"
},
"call_status_hook": {
"url": "https://acme.com",
"method": "POST"
},
"from": "16175551212",
"fromHost": "sip.example.com",
"timeout": 30,
"timeLimit": 60,
"codecs": [
"G722",
"PCMU"
],
"tag": {
"callCount": 10
},
"to": {
"type": "phone",
"number": "+16172375080"
},
"headers": {
"X-Custom-Header": "Hello"
},
"sipRequestWithinDialogHook": "/customHook",
"speech_synthesis_vendor": "google",
"speech_synthesis_language": "en-US",
"speech_synthesis_voice": "Wavenet-A",
"speech_recognizer_vendor": "google",
"speech_recognizer_language": "en-US",
"noiseIsolation": {
"enable": true,
"vendor": "krisp",
"direction": "read",
"level": 100
}
}Response
call successfully created
Example response
{
"sid": "2531329f-fb09-4ef7-887e-84e648214436"
}Changes
- info
added the new optional request property
- info
- info
added the new optional request property
- info