TANDBERG D13639 manual Configuration read, Configuration set write

Page 26

TANDBERG MPS API

User Guide

<configuration-type root command> <address expr> ?/help

Example 2.7

User wants to configure IP: xconfiguration ip ?

*h xConfiguration IP Assignment: <DHCP/Static>

*h xConfiguration IP Address: <IPAddr>

*h xConfiguration IP SubnetMask: <IPAddr>

*h xConfiguration IP Gateway: <IPAddr>

NOTE! Only typing xconfiguration ?, actually addresses all configuration elements within the xconfiguration root command. One would therefore expect that help on all configurations would be returned. But as described above, this is a special case and only listings of the top level elements are returned. To get help on all configurations supported by the system, type:

xconfiguration // ?

or

xconfiguration ??

2.3.2 Configuration read

To read configurations, type the configuration-type root command followed by an address expression:

<configuration-type root command> <address expr>

Example 2.8

User wants to read IP configurations: xconfiguration ip

*c xConfiguration IP Assignment: Static

*c xConfiguration IP Address: "10.47.8.20"

*c xConfiguration IP SubnetMask: "255.255.248.0"

*c xConfiguration IP Gateway: "10.47.8.1"

OK

2.3.3 Configuration set (write)

To set configurations, the address expression following the configuration-type root command must end with a colon. The value to be set must be added after the colon:

<configuration-type root command> <address expr>: value

24

Image 26
Contents Tandberg MPS API User GuideTable of Contents Tandberg API DisclaimerIntroduction to XML ExampleExample Tandberg MPS API Introduction to XML Path Language XPath Status/Call@status=Synced/CallRate Structuring of Information Addressing using XPathTandberg XML Engine FeedbackTandberg MPS API Status Documents r XML DocumentsDocuments Configuration documents rw Command documents w Command Dial item=1 Number item=1999/Number /Dial Example Getxml Introduction to Tandberg XML API Service TxasBare-bone Https access FormputxmlExercises ExerciseTandberg MPS API XML-based Advanced Command Line Interface Addressing Accessing XacliRoot commands Xstatus call Exposure optionsSupported exposure options Misc Xstatus ? Status-type root commands Xstatus / xhistory Format Xstatus call 1 remotenumberXML Xacli *s IPXconfiguration ? Configuration-type root commands xconfiguration/xdirectoryConfiguration help Xdirectory ?Xconfiguration // ? Xconfiguration ?? Configuration readConfiguration set write Xconfiguration ip/assignment static Xcommand ? Command-type root commands xcommandCommand help Xcommand ??Xcommand dial number666 restricton callrate128 subaddress10 Issuing a commandExample 2.12 xcommand Dial ? Xcommand dial nu666 ron c128 s10Xcommand dial Xcommand dial 666 10 128 onXcommand dial 666 ron 10 XML Output xgetxml Xgetxml status/ipXfeedback ? Special CommandsXfeedback Xfeedback register status/call/channels/audio/protocolXfeedback register status/call Xcom dial Xfeedback register status/call@status=Disconnected Xcom dialXcom disc Xfeedback register status/call@status=Synced Xcom dialXpreferences Xpreferences ?Xstat call 1 channels 1 audio Xpreferences detaillevel Xstat call 1 channels 1 audioBaudRate item=12400/BaudRate API Configurations Configuration.xml xconfiguration Tandberg MPS API Tandberg MPS API H323Gatekeeper 1..2 Authentication Password S 0 Http Mode On/OffTandberg MPS API LoS Polarity Positive/Negative LoS Retry MCURTP SerialInterfaceCard SessionSIP Interface Authentication Password S 0 SIP Mode On/OffSIP Interface Authentication UserName S 0 SIP Interface Transport Default TCP/UDPTandberg MPS API Directory.xml xdirectory API Commands Command.xml xcommand CallMuteOutgoing CallTransfer CallTransferToDirEntry CallMuteVideo ConferenceDisconnect ConferenceModify Parameters Conferencer OK Result parametersConferenceRedefine ConferenceStart ConferenceStop ConferenceShowDuration ConferenceTerminate DefaultValuesSet Dial Description Textual description of the cause code DialGroupEntry DialInNumberAdd DialInNumberRemoveParameters Conferencer DialLocalEntry DisconnectCall DisconnectGWCall OK Result parameters Error Result parameters FeedbackDeregister FeedbackRegisterFloorToSite FloorToSiteEnd GroupEntryAdd Parameters Name S 0, 48 The entry’s nameGroupEntryDelete LayoutLock LayoutUnLock NetworkId NetworkModule OK Result parameters Windowr CallIDr 1..176 Call Error Result parametersLocalEntryAdd LocalEntryDelete Command used to add option key ProtectNumberRemove VideoTextSet API Status Status.xml xstatus ExamplesTandberg MPS API Examples Tandberg MPS API Mcuid Ethernet Top level attributes Feedback Top level attributesNone User GuideEnd MediaBoard 1..8 Top level attributesSystemUnit Top level attributes None Summary SerialInterfaceCard ISDNInterfaceCard Top level attributes Status on/off SummaryTandberg MPS API Tandberg MPS API NTP SIP SystemLoad SystemClock SystemActivity Options Option Option 64 / *s/end History.xml xhistory Conference Top level attributesEvent.xml xevent PacketLoss AudioTotalPackets PacketsDroppedEnd