Commit 3f696bc8 authored by Pierre-Luc Beaudoin's avatar Pierre-Luc Beaudoin

Dbus APIs:

- CallManager for call related methods and signals
- ConfigurationManager for all setup related methods and signals
parent 27aa36b2
<?xml version="1.0" ?>
<node name="/org/sflphone/CallManager">
<interface name="org.sflphone.CallManager">
<method name="call">
<arg type="s" name="accountID" direction="in"/>
<arg type="s" name="callID" direction="in"/>
<arg type="s" name="to" direction="in"/>
</method>
<method name="refuse">
<arg type="s" name="callID" direction="in"/>
</method>
<method name="accept">
<arg type="s" name="callID" direction="in"/>
</method>
<method name="hangUp">
<arg type="s" name="callID" direction="in"/>
</method>
<method name="hold">
<arg type="s" name="callID" direction="in"/>
</method>
<method name="unhold">
<arg type="s" name="callID" direction="in"/>
</method>
<method name="transfert">
<arg type="s" name="callID" direction="in"/>
<arg type="s" name="to" direction="in"/>
</method>
<method name="setVolume">
<arg type="s" name="device" direction="in"/>
<arg type="f" name="value" direction="in"/>
</method>
<method name="getVolume">
<arg type="s" name="device" direction="in"/>
<arg type="f" name="value" direction="out"/>
</method>
<method name="getVoiceMailCount">
<arg type="i" name="count" direction="out"/>
</method>
<method name="getCallDetails">
<arg type="s" name="callID" direction="in"/>
<arg type="a{ss}" name="infos" direction="out"/>
</method>
<method name="getCurrentCallID">
<arg type="s" name="callID" direction="out"/>
</method>
<signal name="incommingCall">
<arg type="s" name="accountID" />
<arg type="s" name="callID" />
<arg type="s" name="from" />
</signal>
<signal name="incommingMessage">
<arg type="s" name="accountID" />
<arg type="s" name="from" />
</signal>
<signal name="ring">
<arg type="s" name="callID" />
</signal>
<signal name="pickedUp">
<arg type="s" name="callID" />
</signal>
<signal name="hungUp">
<arg type="s" name="callID" />
</signal>
<signal name="volumeChanged">
<arg type="s" name="device" />
<arg type="f" name="value" />
</signal>
<signal name="error">
<arg type="a{ss}" name="details" />
</signal>
</interface>
</node>
<?xml version="1.0" ?>
<node name="/org/sflphone/ConfigurationManager">
<interface name="org.sflphone.ConfigurationManager">
<method name="getAccountDetails">
<arg type="s" name="accountID" direction="in"/>
<arg type="a{ss}" name="details" direction="out"/>
</method>
<method name="addAccount">
<arg type="a{ss}" name="details" direction="in"/>
</method>
<method name="getAccountList">
<arg type="as" name="list" direction="out"/>
</method>
<method name="setSTUN">
<arg type="a{ss}" name="details" direction="in"/>
</method>
<method name="getSTUN">
<arg type="a{ss}" name="details" direction="out"/>
</method>
<method name="setPlayTonesLocally">
<arg type="b" name="flag" direction="in"/>
</method>
<method name="getPlayTonesLocally">
<arg type="b" name="flag" direction="out"/>
</method>
<method name="setTonePulseLenght">
<arg type="i" name="milliseconds" direction="in"/>
</method>
<method name="getTonePulseLenght">
<arg type="i" name="milliseconds" direction="out"/>
</method>
<method name="getToneLocaleList">
<arg type="as" name="list" direction="in"/>
</method>
<method name="setToneLocale">
<arg type="s" name="locale" direction="in"/>
</method>
<method name="getToneLocale">
<arg type="s" name="locale" direction="out"/>
</method>
<method name="getVersion">
<arg type="s" name="version" direction="out"/>
</method>
<method name="getRingtoneList">
<arg type="as" name="list" direction="out"/>
</method>
<method name="setRingtone">
<arg type="s" name="ringtone" direction="in"/>
</method>
<method name="getRingtone">
<arg type="s" name="ringtone" direction="out"/>
</method>
<method name="getCodecList">
<arg type="as" name="list" direction="out"/>
</method>
<method name="setCodecPreferedOrder">
<arg type="as" name="ringtone" direction="in"/>
</method>
<method name="getCodecPreferedOrder">
<arg type="as" name="ringtone" direction="out"/>
</method>
<method name="getPlaybackDeviceList">
<arg type="as" name="list" direction="out"/>
</method>
<method name="setPlaybackDevice">
<arg type="s" name="device" direction="in"/>
</method>
<method name="getPlaybackDevice">
<arg type="s" name="device" direction="out"/>
</method>
<method name="getRecordDeviceList">
<arg type="as" name="list" direction="out"/>
</method>
<method name="setRecordDevice">
<arg type="s" name="device" direction="in"/>
</method>
<method name="getRecordDevice">
<arg type="s" name="device" direction="out"/>
</method>
<method name="getSampleRateList">
<arg type="as" name="list" direction="out"/>
</method>
<method name="setSampleRate">
<arg type="s" name="sampleRate" direction="in"/>
</method>
<method name="getSampleRate">
<arg type="s" name="sampleRate" direction="out"/>
</method>
<signal name="updated">
</signal>
</interface>
</node>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment