<Sip>
The <Sip> element is nested within the <Dial> element, and is used to call to Sip addresses. The desired Sip address to call is nested within the opening and closing <Sip> elements, just as with a number when using the <Number> element. The opening and closing Sip tags is mandatory prefixing the desired Sip address with "sip:" when using it within the <Sip> element like so:
<Dial>
<Sip>sip:[email protected]</Sip>
</Dial>
NoteA
<Sip>element must be placed inside of a<Dial>element.
Element Attributes
Attribute | Description |
|---|---|
| URL where some parameters specific to |
| Method used to request the action URL.
|
| Number of seconds call stays on the line while waiting for an answer.
|
| Duration in seconds a call made through
|
| Number to display as calling. Defaults to the ID of the phone being used. |
| Audio URL to be executed in place of the call ring-tone.
|
| URL requested once the dialed call connects. Note that this URL only receives parameters containing information about the call. The call does not execute XML given as a callbackURL. |
| Method used to request the callback URL.
|
| The URL that Ytel API requests every 60 seconds during the call to notify of elapsed time as well as to pass other general information. |
| Method used to request the heartbeatUrl.
|
Nesting
In addition to the default <Response> element, the <Sip> element must also be nested within the <Dial> verb.
NoteThe
<Sip>element cannot nest any other elements within itself. It must only nest the sip address which is to be called.
number : mandatory
@ : mandatory
domain_name : mandatory
port : optional<Response>
<Dial action="https://customapps.ytel.com/m360/examples/welcome/index.php" method="post" callerid="+1949XXXXXXX" dialmusic="https://xyz.com/ring.mp3" callbackmethod="post" heartbeatUrl="https://customapps.message360.com/m360/examples/welcome/index.php" heartbeatMethod="POST" callbackurl="https://customapps.message360.com/m360/examples/welcome/index.php">
<Sip>sip:[email protected]</Sip>
</Dial>
</Response>Updated 6 months ago
