| application_sid | String | The application to invoke when the call is answered. | Yes |
| from | String | The user portion that identifies the caller within the domain. The user portion follows the format: <sip:user@host>, where user can be: - A username, for example, <sip:john@host>. - A phone number (E.164 format), for example, <sip:+1234567890@host>. - A unique identifier, for example, <sip:device001@host>. | Yes |
| fromHost | String | The domain of the caller, which is a part of the SIP address included in the From header of a SIP request. The domain follows the format: <sip:user@host>. For example, <sip:[email protected]>, where cognigy.cloud is the domain where the caller’s SIP service is hosted. | No |
| callerName | String | A descriptive caller name that appears as the display name in a SIP request. This name is included in the From header, alongside the SIP address, in the following format: From: "<callerName>" <sip:user@host>. For example, "John Doe" <sip:[email protected]>, where "John Doe" is the caller name and <sip:[email protected]> is the SIP address. | No |
| to | TargetType | The destination target, either a phone number or a SIP URI. | Yes |
| timeout | Number | The time the system waits for an answer before considering the call unanswered. The default value is 60 seconds. | No |
| tag | Object | An object containing key-value pairs of metadata to be attached to this call. This metadata can be used for further call analysis, allowing you to track call details, identify patterns, and generate insightful reports. | No |
| headers | Object | An object containing custom SIP headers that can be applied to outbound call attempts. These headers are added alongside the system (default) headers in the SIP request. Custom SIP headers provide more control over the call setup process, such as adjusting authentication, routing, or other specific SIP parameters. For example, an custom header could be P-Preferred-Identity: <sip:[email protected]>, where the caller’s preferred identity is the specified phone number or SIP address to present during the call. | No |
| speech_synthesis_vendor | String | The vendor responsible for the speech synthesis service (Text-to-Speech, TTS). For example, microsoft. | No |
| speech_synthesis_voice | String | The specific voice to be used for speech synthesis. For example, de-DE-SeraphinaMultilingualNeural. | No |
| speech_synthesis_language | String | The language in which the speech should be synthesized. For example, en-US for American English, es-ES for Spanish. | No |
| amd | Object (AMD) | The Automatic Machine Detection (AMD) feature, which identifies whether a human or a machine answered a call. | No |
| notifyUrl | String/Object | An additional HTTP or WebSocket hook to receive status updates about the call, used alongside the Call Status Webhook in the application. This parameter can be configured as a simple URL (String) for the default POST request or as an object { "url": "", "method": "" } to specify a different method. The choice between HTTP and WebSocket depends on your specific requirements. The most common choice is a standard HTTP hook, but a WebSocket URL can be used if desired, as it is supported for internal communication with Cognigy.AI. | No |