TANDBERG Gatekeeper/Border Controller API User Guide
Like getxml, it has the data URL
Example 1.16
Using the Unix curl command, the systems SNMP contact can be set in the Configuration document:
curl
<?xml version="1.0"?> <Configuration>
<Success/>
</Configuration>
The new configuration value can be confirmed using the getxml request:
curl
<?xml version="1.0"?> <Configuration>
<SNMP item="1">
<SystemContact item="1">Alice</SystemContact> </SNMP>
</Configuration>
Example 1.17
Using the Unix curl command, the dial command can be invoked on the target system to place a call between Alice and Bob:
curl
<?xml version=“1.0"?> <Command>
<DialResult item="1" status="OK"> <callSrc item="1">Alice</callSrc> <callDst item="1">Bob</callDst> <Bandwidth item="1">384</Bandwidth>
<CallSerialNumber
<EncryptionMode item="1">Auto</EncryptionMode> <EncryptionType item="1">Auto</EncryptionType>
</DialResult>
</Command>
D14172.01 | page 15 of 84 |