Reference8:Phone Configuration API: Difference between revisions

From innovaphone wiki
Jump to navigation Jump to search
(New page: Starting with v8 a new Web User Interface has been implemented to configure the Phone. The same interface can be used by applications for configuration. The interface is based on the mecha...)
 
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Starting with v8 a new Web User Interface has been implemented to configure the Phone. The same interface can be used by applications for configuration. The interface is based on the mechanism used by web forms. This means a string containing a list of named arguments is sent to the Phone/PBX and the Phone/PBX returns an XML document.
This article is obsoleted by [[Howto:Effect arbitrary Configuration Changes using a HTTP Command Line Client or from an Update]].
 
There are different ways to send the argument list to the Phone/PBX: HTTP GET, HTTP POST, SOAP.
 
== Transport Methods ==
 
=== HTTP GET ===
 
The arguments are sent as part of the URL. The URL to be used has the following form.
 
If sent to the PBX:
 
<ip>/<PBX-Entity>/PHONE/mod_cmd_login.xml?argument1=value1&argument2=value2&...
 
if sent to the Phone:
 
...
=== HTTP POST ===
 
to be done
 
=== SOAP ===
 
to be done
 
== Arguments ==
 
In general the sequence of the arguments is not importent except in some cases in which a list of configuration items can be sent, with each item being described by multiple arguments.
 
=== cmd ===
 
The argument '''cmd''' is used to identify which command shall be executed. Depending on the argument '''cmd''' other arguments are available.
 
=== xsl ===
 
With this argument a reference to an XSL file is inserted into the returned XML file.

Latest revision as of 15:08, 11 October 2013