TANDBERG D14172.01 manual Example, DialResult item=1 status=Error Cause item=189/Cause, page 13 of

Models: D14172.01

1 84
Download 84 pages 8.98 Kb
Page 13
Image 13
<DialResult item="1" status="Error"> <Cause item="1">89</Cause >

TANDBERG Gatekeeper/Border Controller API User Guide

Example 1.13

The Dial command in the above example may return the following response structure:

<Command>

<DialResult item="1" status="OK">

<callSrc item="1">alice@example.com</callSrc> <callDst item="1">bob@example.com</callDst> <Bandwidth item="1">384</Bandwidth> <CallSerialNumber item="1">1</CallSerialNumber> <EncryptionMode item="1">Auto</EncryptionMode> <EncryptionType item="1">Auto</EncryptionType>

</DialResult>

</Command>

The response structure for the Dial command, DialResult, states that the command was accepted by the system. In addition to stating that the command was accepted, the Dial command returns the element CallSerialNumber. This lets the user identify/trace the call in the Status documents (status.xml and history.xml).

Example 1.14

Below is an example of the Dial command not being accepted by the system because the same alias has been specified for both the callSrc and callDst:

<Command>

<DialResult item="1" status="Error"> <Cause item="1">89</Cause >

<Description item="1"> callSrc and callDst must have different aliases</Description>

</DialResult>

</Command>

D14172.01

page 13 of 84

Page 13
Image 13
TANDBERG D14172.01 manual Example, DialResult item=1 status=Error Cause item=189/Cause, page 13 of