Skip to content
Snippets Groups Projects
Commit a38aada5 authored by Emmanuel Lepage Vallee's avatar Emmanuel Lepage Vallee
Browse files

Merge dbus API changes from qt-client

parent e88b5633
Branches
Tags
No related merge requests found
<?xml version="1.0" ?> <?xml version="1.0" encoding="UTF-8" ?>
<node name="/org/sflphone/SFLphone">
<interface name="org.sflphone.SFLphone.CallManager">
<method name="placeCall">
<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="hangUpConference"> <node name="/callmanager-introspec" xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0">
<arg type="s" name="confID" direction="in"/> <interface name="org.sflphone.SFLphone.CallManager">
</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="playDTMF">
<arg type="s" name="key" direction="in"/>
</method>
<method name="startTone"> <tp:docstring xmlns="http://www.w3.org/1999/xhtml">
<p>The CallManager interface is used to manage any call related actions.</p>
<p>Since SFLphone-daemon support multiple incoming/outgoing calls, any actions involving a specific call must address the method by the means of a unique callID. SFLphone-clients is responsible to generate the callID on outgoing call. On the other hand, SFLphone-daemon will generate a unique callID on incoming calls.</p>
</tp:docstring>
<method name="placeCall" tp:name-for-bindings="placeCall">
<tp:docstring>
<p>This is the main method in order to place a new call. The call is registered to the daemon using this method.</p>
</tp:docstring>
<arg type="s" name="accountID" direction="in">
<tp:docstring>
The ID of the account you want to make a call with. If the call is to be placed whithout any account by the means of a SIP URI (i.e. sip:num@server), the "IP2IP_PROFILE" is passed as the accountID. For more details about accounts see the configuration manager interface.
</tp:docstring>
</arg>
<arg type="s" name="callID" direction="in">
<tp:docstring>
The callID is a unique identifier that must be randomly generated on the client's side. Any subsequent actions refering to this call must use this callID.
</tp:docstring>
</arg>
<arg type="s" name="to" direction="in">
<tp:docstring>
If bound to a VoIP account, then the argument is the phone number. In case of calls involving "IP2IP_PROFILE", a complete SIP URI must be specified.
</tp:docstring>
</arg>
</method>
<method name="placeCallFirstAccount" tp:name-for-bindings="placeCallFirstAccount">
<tp:added version="0.9.8"/>
<tp:docstring>
Place a call with the fist registered account, regarding to the account list order.
<tp:rationale>
Use this function when you don't have any information about the accounts used (Ex: Firefly mozilla extension)
</tp:rationale>
</tp:docstring>
<arg type="s" name="callID" direction="in">
<tp:docstring>
The callID is a unique identifier that must be randomly generated on the client's side. Any subsequent actions refering to this call must use this callID.
</tp:docstring>
</arg>
<arg type="s" name="to" direction="in">
<tp:docstring>
If bound to a VoIP account, then the argument is the phone number. In case of calls involving "IP2IP_PROFILE", a complete SIP URI must be specified.
</tp:docstring>
</arg>
</method>
<method name="refuse" tp:name-for-bindings="refuse">
<tp:docstring>
Refuse an incoming call.
</tp:docstring>
<arg type="s" name="callID" direction="in">
<tp:docstring>
The callID.
</tp:docstring>
</arg>
</method>
<method name="accept" tp:name-for-bindings="accept">
<tp:docstring>
Answer an incoming call. Automatically put the current call on state HOLD.
</tp:docstring>
<arg type="s" name="callID" direction="in">
<tp:docstring>
The callID.
</tp:docstring>
</arg>
</method>
<method name="hangUp" tp:name-for-bindings="hangUp">
<tp:docstring>
Hangup a call in state "CURRENT" or "HOLD".
</tp:docstring>
<arg type="s" name="callID" direction="in">
<tp:docstring>
The callID.
</tp:docstring>
</arg>
</method>
<method name="hangUpConference" tp:name-for-bindings="hangUpConference">
<tp:added version="0.9.7"/>
<tp:docstring>
Hangup a conference, and every call participating to the conference.
</tp:docstring>
<arg type="s" name="confID" direction="in">
<tp:docstring>
The unique conference ID.
</tp:docstring>
</arg>
</method>
<method name="hold" tp:name-for-bindings="hold">
<tp:docstring>
Place a call on hold.
</tp:docstring>
<arg type="s" name="callID" direction="in">
<tp:docstring>
The callID.
</tp:docstring>
</arg>
</method>
<method name="unhold" tp:name-for-bindings="unhold">
<tp:docstring>
Hold off a call, and place this call on state CURRENT.
</tp:docstring>
<arg type="s" name="callID" direction="in">
<tp:docstring>
The callID.
</tp:docstring>
</arg>
</method>
<method name="transfert" tp:name-for-bindings="transfert">
<tp:docstring>
Transfer a call to given phone number.
</tp:docstring>
<arg type="s" name="callID" direction="in">
<tp:docstring>
The callID.
</tp:docstring>
</arg>
<arg type="s" name="to" direction="in">
<tp:docstring>
The phone number to transfer the call to.
</tp:docstring>
</arg>
</method>
<method name="playDTMF" tp:name-for-bindings="playDTMF">
<tp:docstring>
Dual-Tone multi-frequency. Tell the core to play dial tones. A SIP INFO message is sent to notify the server.
</tp:docstring>
<arg type="s" name="key" direction="in">
<tp:docstring>
Unicode charter for pressed key
</tp:docstring>
</arg>
</method>
<method name="startTone" tp:name-for-bindings="startTone">
<tp:docstring>
Start audio stream and play tone..
</tp:docstring>
<arg type="i" name="start" direction="in"/> <arg type="i" name="start" direction="in"/>
<arg type="i" name="type" direction="in"/> <arg type="i" name="type" direction="in"/>
</method> </method>
<method name="setVolume"> <method name="setVolume" tp:name-for-bindings="setVolume">
<arg type="s" name="device" direction="in"/> <tp:docstring>
<arg type="d" name="value" direction="in"/> <p>Sets the volume using a linear scale [0,100].</p>
</method> <tp:rationale>Pulseaudio has its own mechanism to modify application volume. This method is enabled only if the ALSA API is used.</tp:rationale>
</tp:docstring>
<method name="getVolume"> <arg type="s" name="device" direction="in">
<arg type="s" name="device" direction="in"/> <tp:docstring>
<arg type="d" name="value" direction="out"/> The device: mic or speaker
</method> </tp:docstring>
</arg>
<method name="joinParticipant"> <arg type="d" name="value" direction="in">
<tp:docstring>
The volume value (between 0 and 100)
</tp:docstring>
</arg>
</method>
<method name="getVolume" tp:name-for-bindings="getVolume">
<tp:docstring>
<p>Return the volume value of the given device on a linear scale [0,100].</p>
<tp:rationale>Only enabled if the ALSA API is used, Pulseaudio has its own mechanism to modify application volume.</tp:rationale>
</tp:docstring>
<arg type="s" name="device" direction="in">
<tp:docstring>
The device: mic or speaker
</tp:docstring>
</arg>
<arg type="d" name="value" direction="out">
<tp:docstring>
The volume value (between 0 and 100)
</tp:docstring>
</arg>
</method>
<method name="joinParticipant" tp:name-for-bindings="joinParticipant">
<tp:added version="0.9.7"/>
<tp:docstring>
<p>Join two participants together to create a 3-way conference including the current client.</p>
<tp:rationale>The signal <tp:member-ref>conferenceCreated</tp:member-ref> is emitted on success.</tp:rationale>
</tp:docstring>
<arg type="s" name="sel_callID" direction="in"/> <arg type="s" name="sel_callID" direction="in"/>
<arg type="s" name="drag_callID" direction="in"/> <arg type="s" name="drag_callID" direction="in"/>
</method> </method>
<method name="addParticipant"> <method name="addParticipant" tp:name-for-bindings="addParticipant">
<arg type="s" name="callID" direction="in"/> <tp:added version="0.9.7"/>
<arg type="s" name="confID" direction="in"/> <tp:docstring>
</method> <p>Join a new particiant to an existing conference.</p>
<tp:rationale>The signal <tp:member-ref>conferenceChanged</tp:member-ref> is emitted on success.</tp:rationale>
<method name="addMainParticipant"> </tp:docstring>
<arg type="s" name="confID" direction="in"/> <arg type="s" name="callID" direction="in">
</method> <tp:docstring>
The ID of the call to add to the conference
<method name="detachParticipant"> </tp:docstring>
<arg type="s" name="callID" direction="in"/> </arg>
</method> <arg type="s" name="confID" direction="in">
<tp:docstring>
<method name="joinConference"> An existing conference ID
</tp:docstring>
</arg>
</method>
<method name="addMainParticipant" tp:name-for-bindings="addMainParticipant">
<tp:added version="0.9.7"/>
<tp:docstring>
<p>As the core can handle multiple calls an conferences, it may happens that the client's user leave a conference to answer an incoming call or send new ones. This method is used to reintroduce SFLphone-client's user into the conference.</p>
<p>It put the current call on state HOLD or detach SFLphone-client's user from the another conference.</p>
</tp:docstring>
<arg type="s" name="confID" direction="in">
<tp:docstring>
An existing conference ID
</tp:docstring>
</arg>
</method>
<method name="detachParticipant" tp:name-for-bindings="detachParticipant">
<tp:added version="0.9.7"/>
<tp:docstring>
Detach the given call from the conference. If only one participant is left, the conference is deleted and the signal <tp:member-ref>conferenceRemoved</tp:member-ref> is emited.
</tp:docstring>
<arg type="s" name="callID" direction="in">
<tp:docstring>
The call ID
</tp:docstring>
</arg>
</method>
<method name="joinConference" tp:name-for-bindings="joinConference">
<tp:added version="0.9.7"/>
<tp:docstring>
Join two conferences together.
</tp:docstring>
<arg type="s" name="sel_confID" direction="in"/> <arg type="s" name="sel_confID" direction="in"/>
<arg type="s" name="drag_confID" direction="in"/> <arg type="s" name="drag_confID" direction="in"/>
</method> </method>
<method name="getConferenceDetails"> <method name="getConferenceDetails" tp:name-for-bindings="getConferenceDetails">
<arg type="s" name="callID" direction="in"/> <tp:added version="0.9.7"/>
<tp:docstring>
Returns a hashtable containing conference details.
</tp:docstring>
<arg type="s" name="callID" direction="in">
<tp:docstring>
The call ID
</tp:docstring>
</arg>
<annotation name="com.trolltech.QtDBus.QtTypeName.Out0" value="MapStringString"/> <annotation name="com.trolltech.QtDBus.QtTypeName.Out0" value="MapStringString"/>
<arg type="a{ss}" name="infos" direction="out"/> <arg type="a{ss}" name="infos" direction="out">
</method> <tp:docstring>
A map containing the ID of the conferences and their states.
<method name="getConferenceList"> </tp:docstring>
<arg type="as" name="list" direction="out"/> </arg>
</method> </method>
<method name="setRecording"> <method name="getConferenceList" tp:name-for-bindings="getConferenceList">
<tp:added version="0.9.7"/>
<tp:docstring>
Returns a list containing all active conferences.
</tp:docstring>
<arg type="as" name="list" direction="out">
<tp:docstring>
The list of conferences.
</tp:docstring>
</arg>
</method>
<method name="setRecording" tp:name-for-bindings="setRecording">
<tp:docstring>
Start recording a call.
</tp:docstring>
<arg type="s" name="callID" direction="in">
<tp:docstring>
The ID of the call to record.
</tp:docstring>
</arg>
</method>
<method name="getIsRecording" tp:name-for-bindings="getIsRecording">
<tp:docstring>
Tells whether or not a call is being recorded.
</tp:docstring>
<arg type="s" name="callID" direction="in">
<tp:docstring>
The call ID.
</tp:docstring>
</arg>
<arg type="b" name="isRecording" direction="out">
<tp:docstring>
Returns true is the call is being recorded. False otherwise.
</tp:docstring>
</arg>
</method>
<method name="getCallDetails" tp:name-for-bindings="getCallDetails">
<tp:docstring>
Get all the details about a specific call.
</tp:docstring>
<arg type="s" name="callID" direction="in">
<tp:docstring>
The call ID.
</tp:docstring>
</arg>
<annotation name="com.trolltech.QtDBus.QtTypeName.Out0" value="MapStringString"/>
<arg type="a{ss}" name="infos" direction="out" tp:type="String_String_Map">
<tp:docstring xmlns="http://www.w3.org/1999/xhtml">
<p>A map containing the call details: </p>
<ul>
<li>ACCOUNTID</li>
<li>PEER_NUMBER</li>
<li>PEER_NAME</li>
<li>DISPLAY_NAME</li>
<li>CALL_STATE</li>
<li>CALL_TYPE</li>
</ul>
</tp:docstring>
</arg>
</method>
<method name="getCallList" tp:name-for-bindings="getCallList">
<tp:docstring>
Get the list of active calls.
<tp:rationale>To get the call details, iterate on the return value and call <tp:member-ref>getCallDetails</tp:member-ref> method.</tp:rationale>
</tp:docstring>
<arg type="as" name="list" direction="out">
<tp:docstring>
A list of call IDs.
</tp:docstring>
</arg>
</method>
<method name="getCurrentCallID" tp:name-for-bindings="getCurrentCallID">
<tp:docstring>
Get the CURRENT call ID.
</tp:docstring>
@param[out] output callID
<arg type="s" name="callID" direction="out">
<tp:docstring>
The current call ID.
</tp:docstring>
</arg>
</method>
<method name="getCurrentCodecName" tp:name-for-bindings="getCurrentCodecName">
<tp:docstring>
</tp:docstring>
<arg type="s" name="callID" direction="in"/> <arg type="s" name="callID" direction="in"/>
<arg type="s" name="codecName" direction="out"/>
</method> </method>
<method name="getIsRecording"> <signal name="currentSelectedCodec" tp:name-for-bindings="currentSelectedCodec">
<arg type="s" name="callID" direction="in"/> <tp:docstring>
<arg type="b" name="isRecording" direction="out"/> </tp:docstring>
</method> <arg type="s" name="callID" />
<arg type="s" name="codecName"/>
</signal>
<method name="getCallDetails"> <signal name="incomingCall" tp:name-for-bindings="incomingCall">
<arg type="s" name="callID" direction="in"/> <tp:docstring>
<annotation name="com.trolltech.QtDBus.QtTypeName.Out0" value="MapStringString"/> <p>Notify an incoming call.</p>
<arg type="a{ss}" name="infos" direction="out"/> <p>The callID generated by the daemon and must be stored by the clients in order to address other action for
</method> this call.</p>
<tp:rationale>The client must subscribe to this signal to handle incoming calls.</tp:rationale>
</tp:docstring>
<arg type="s" name="accountID">
<tp:docstring>
The account ID of the callee. Clients must notify the right account when receiving this signal.
</tp:docstring>
</arg>
<arg type="s" name="callID">
<tp:docstring>
A new call ID.
</tp:docstring>
</arg>
<arg type="s" name="from">
<tp:docstring>
The caller phone number.
</tp:docstring>
</arg>
</signal>
<method name="getCallList"> <signal name="incomingMessage" tp:name-for-bindings="incomingMessage">
<arg type="as" name="list" direction="out"/> <tp:docstring>
</method> Unused
</tp:docstring>
<arg type="s" name="accountID" />
<arg type="s" name="message" />
</signal>
<method name="getCurrentCallID"> <signal name="callStateChanged" tp:name-for-bindings="callStateChanged">
<arg type="s" name="callID" direction="out"/> <tp:docstring>
</method> <p>Notify of a change in a call state.</p>
<p>The client must subscribe to this signal.</p>
</tp:docstring>
<arg type="s" name="callID">
<tp:docstring>
The call ID.
</tp:docstring>
</arg>
<arg type="s" name="state" >
<tp:docstring>
The acceptable states are:
<ul>
<li>INCOMING: Initial state of incoming calls</li>
<li>RINGING: Initial state of received outgoing call</li>
<li>CURRENT: The normal active state of an answered call</li>
<li>HUNGUP: Notify that the call has been hungup by peer</li>
<li>BUSY</li>
<li>FAILURE: Error when processing a call</li>
<li>HOLD</li>
<li>UNHOLD_CURRENT</li>
<li>UNHOLD_RECORD</li>
</ul>
</tp:docstring>
</arg>
</signal>
<method name="getCurrentCodecName"> <signal name="conferenceChanged" tp:name-for-bindings="conferenceChanged">
<arg type="s" name="callID" direction="in"/> <tp:added version="0.9.7"/>
<arg type="s" name="codecName" direction="out"/> <tp:docstring>
</method> Notify of a change in the conferences state
</tp:docstring>
<arg type="s" name="confID">
<tp:docstring>
The conference ID.
</tp:docstring>
</arg>
<arg type="s" name="state">
<tp:docstring>
The acceptable states are:
<ul>
<li>ACTIVE_ATTACHED</li>
<li>ACTIVE_DETACHED</li>
<li>HOLD</li>
</ul>
</tp:docstring>
</arg>
</signal>
<signal name="currentSelectedCodec"> <method name="getParticipantList" tp:name-for-bindings="getParticipantList">
<arg type="s" name="callID" direction="out" /> <tp:added version="0.9.7"/>
<arg type="s" name="codecName" direction="out"/> <tp:docstring>
Get the call IDs of every participant to a given conference. The client should keep and update the list of participant.
</tp:docstring>
<arg type="s" name="confID" direction="in">
<tp:docstring>
The conference ID.
</tp:docstring>
</arg>
<arg type="as" name="list" direction="out">
<tp:docstring>
The list of the call IDs.
</tp:docstring>
</arg>
</method>
<signal name="conferenceCreated" tp:name-for-bindings="conferenceCreated">
<tp:added version="0.9.7"/>
<tp:docstring>
Emited when a new conference is created. SFLphone-client is reponsible to store the confID and call <tp:member-ref>getParticipantList</tp:member-ref> to update the display.
</tp:docstring>
<arg type="s" name="confID">
<tp:docstring>
A new conference ID.
</tp:docstring>
</arg>
</signal> </signal>
<signal name="incomingCall"> <signal name="conferenceRemoved" tp:name-for-bindings="conferenceRemoved">
<arg type="s" name="accountID" /> <tp:added version="0.9.7"/>
<tp:docstring>
Emited when a new conference is remove. SFLphone-client should have kept a list of current participant in order to display modification.
</tp:docstring>
<arg type="s" name="confID">
<tp:docstring>
The conference ID.
</tp:docstring>
</arg>
</signal>
<method name="holdConference" tp:name-for-bindings="holdConference">
<tp:added version="0.9.7"/>
<tp:docstring>
Hold on every calls participating to this conference.
</tp:docstring>
<arg type="s" name="confID" direction="in">
<tp:docstring>
The conference ID.
</tp:docstring>
</arg>
</method>
<method name="unholdConference" tp:name-for-bindings="unholdConference">
<tp:added version="0.9.7"/>
<tp:docstring>
Hold off every calls participating to this conference.
</tp:docstring>
<arg type="s" name="confID" direction="in">
<tp:docstring>
The conference ID.
</tp:docstring>
</arg>
</method>
<signal name="sipCallStateChanged" tp:name-for-bindings="sipCallStateChanged">
<tp:docstring>
</tp:docstring>
<arg type="s" name="callID" /> <arg type="s" name="callID" />
<arg type="s" name="from" /> <arg type="s" name="state" />
<arg type="i" name="code" />
</signal> </signal>
<signal name="incomingMessage"> <signal name="registrationStateChanged" tp:name-for-bindings="registrationStateChanged">
<arg type="s" name="accountID" direction="out" /> <tp:docstring>
<arg type="s" name="message" direction="out"/> <p>The state of an account has changed.</p>
<p>The clients have to subscribe to this signal to use accounts.</p>
</tp:docstring>
<arg type="s" name="accountID" >
<tp:docstring>
The account ID
</tp:docstring>
</arg>
<arg type="s" name="state">
<tp:docstring>
The new registration state
</tp:docstring>
</arg>
<arg type="i" name="code">
<tp:docstring>
The SIP or IAX2 code
</tp:docstring>
</arg>
</signal> </signal>
<signal name="callStateChanged"> <signal name="voiceMailNotify" tp:name-for-bindings="voiceMailNotify">
<arg type="s" name="callID" direction="out"/> <tp:docstring>
<arg type="s" name="state" direction="out"/> Notify the clients of the voicemail number for a specific account, if applicable.
</tp:docstring>
<arg type="s" name="accountID">
<tp:docstring>
The account ID.
</tp:docstring>
</arg>
<arg type="i" name="count">
<tp:docstring>
The number of waiting messages.
</tp:docstring>
</arg>
</signal> </signal>
<signal name="conferenceChanged"> <signal name="volumeChanged" tp:name-for-bindings="volumeChanged">
<arg type="s" name="confID" direction="out"/> <tp:docstring>
<arg type="s" name="state" direction="out"/> Notify the clients of a volume level change.
</tp:docstring>
<arg type="s" name="device">
<tp:docstring>
The device: mic or speaker
</tp:docstring>
</arg>
<arg type="d" name="value">
<tp:docstring>
The new volume value
</tp:docstring>
</arg>
</signal> </signal>
<method name="getParticipantList"> <signal name="transferSucceded" tp:name-for-bindings="transferSucceded">
<arg type="s" name="confID" direction="in"/> <tp:docstring>
<arg type="as" name="list" direction="out"/> The transfer has been successfully processed.
</method> </tp:docstring>
</signal>
<signal name="conferenceCreated"> <signal name="transferFailed" tp:name-for-bindings="transferFailed">
<arg type="s" name="confID" direction="out"/> <tp:docstring>
The transfer operation has failed.
</tp:docstring>
</signal> </signal>
<signal name="conferenceRemoved"> <signal name="secureSdesOn" tp:name-for-bindings="secureSdesOn">
<arg type="s" name="confID" direction="out"/> <tp:added version="0.9.7"/>
<tp:docstring>
</tp:docstring>
<arg type="s" name="callID"/>
</signal> </signal>
<method name="holdConference"> <signal name="secureSdesOff" tp:name-for-bindings="secureSdesOff">
<arg type="s" name="confID" direction="in"/> <tp:added version="0.9.7"/>
</method> <tp:docstring>
</tp:docstring>
<arg type="s" name="callID" />
</signal>
<method name="unholdConference"> <!-- ZRTP Methods and Signals -->
<arg type="s" name="confID" direction="in"/> <signal name="secureZrtpOn" tp:name-for-bindings="secureZrtpOn">
</method> <tp:added version="0.9.7"/>
<tp:docstring>
</tp:docstring>
<arg type="s" name="callID" />
<arg type="s" name="cipher" />
</signal>
<signal name="sipCallStateChanged"> <signal name="secureZrtpOff" tp:name-for-bindings="secureZrtpOff">
<arg type="s" name="callID" direction="out"/> <tp:added version="0.9.7"/>
<arg type="s" name="state" direction="out"/> <tp:docstring>
<arg type="i" name="code" direction="out"/> </tp:docstring>
<arg type="s" name="callID" />
</signal> </signal>
<signal name="voiceMailNotify"> <signal name="confirmGoClear" tp:name-for-bindings="confirmGoClear">
<arg type="s" name="accountID" direction="out"/> <tp:added version="0.9.7"/>
<arg type="i" name="count" direction="out"/> <tp:docstring>
</tp:docstring>
<arg type="s" name="callID" />
</signal> </signal>
<signal name="volumeChanged"> <signal name="zrtpNegotiationFailed" tp:name-for-bindings="zrtpNegotiationFailed">
<arg type="s" name="device" direction="out"/> <tp:added version="0.9.7"/>
<arg type="d" name="value" direction="out"/> <tp:docstring>
</tp:docstring>
<arg type="s" name="callID" />
<arg type="s" name="reason" />
<arg type="s" name="severity" />
</signal> </signal>
<signal name="transferSucceded"> <signal name="zrtpNotSuppOther" tp:name-for-bindings="zrtpNotSuppOther">
<tp:added version="0.9.7"/>
<tp:docstring>
</tp:docstring>
<arg type="s" name="callID" />
</signal> </signal>
<signal name="transferFailed"> <signal name="showSAS" tp:name-for-bindings="showSAS">
<tp:added version="0.9.7"/>
<tp:added version="0.9.7"/>
<tp:docstring>
</tp:docstring>
<arg type="s" name="callID" />
<arg type="s" name="sas" />
<arg type="b" name="verified"/>
</signal> </signal>
<!-- SRTP related methods and signals --> <method name="setSASVerified" tp:name-for-bindings="setSASVerified">
<method name="setSASVerified"> <tp:added version="0.9.7"/>
<tp:docstring>
</tp:docstring>
<arg type="s" name="callID" direction="in"/> <arg type="s" name="callID" direction="in"/>
</method> </method>
<method name="resetSASVerified"> <method name="resetSASVerified" tp:name-for-bindings="resetSASVerified">
<tp:added version="0.9.7"/>
<tp:docstring>
</tp:docstring>
<arg type="s" name="callID" direction="in"/> <arg type="s" name="callID" direction="in"/>
</method> </method>
<method name="setConfirmGoClear"> <method name="setConfirmGoClear" tp:name-for-bindings="setConfirmGoClear">
<tp:added version="0.9.7"/>
<tp:docstring>
</tp:docstring>
<arg type="s" name="callID" direction="in"/> <arg type="s" name="callID" direction="in"/>
</method> </method>
<method name="requestGoClear"> <method name="requestGoClear" tp:name-for-bindings="requestGoClear">
<tp:added version="0.9.7"/>
<tp:docstring>
</tp:docstring>
<arg type="s" name="callID" direction="in"/> <arg type="s" name="callID" direction="in"/>
</method> </method>
<signal name="secureSdesOn"> <method name="acceptEnrollment" tp:name-for-bindings="acceptEnrollment">
<arg type="s" name="callID" direction="out" /> <tp:added version="0.9.7"/>
</signal> <tp:docstring>
</tp:docstring>
<signal name="secureSdesOff"> <arg type="s" name="callID" direction="in"/>
<arg type="s" name="callID" direction="out" /> <arg type="b" name="accepted" direction="in"/>
</signal> </method>
<signal name="secureZrtpOn">
<arg type="s" name="callID" direction="out" />
<arg type="s" name="cipher" direction="out" />
</signal>
<signal name="secureZrtpOff">
<arg type="s" name="callID" direction="out" />
</signal>
<signal name="showSAS">
<arg type="s" name="callID" direction="out" />
<arg type="s" name="sas" direction="out" />
<arg type="b" name="verified" direction="out" />
</signal>
<signal name="zrtpNotSuppOther">
<arg type="s" name="callID" direction="out" />
</signal>
<signal name="zrtpNegotiationFailed">
<arg type="s" name="callID" direction="out" />
<arg type="s" name="reason" direction="out" />
<arg type="s" name="severity" direction="out" />
</signal>
<signal name="confirmGoClear">
<arg type="s" name="callID" direction="out" />
</signal>
<!-- <method name="setPBXEnrollment" tp:name-for-bindings="setPBXEnrollment">
<signal name="error"> <tp:added version="0.9.7"/>
<annotation name="com.trolltech.QtDBus.QtTypeName.In0" value="MapStringString"/> <tp:docstring>
<annotation name="com.trolltech.QtDBus.QtTypeName.Out0" value="MapStringString"/> </tp:docstring>
<arg type="a{ss}" name="details" direction="out"/> <arg type="s" name="callID" direction="in"/>
</signal> <arg type="b" name="yesNo" direction="in"/>
--> </method>
</interface> </interface>
</node> </node>
<?xml version="1.0" ?> <?xml version="1.0" ?>
<node name="/org/sflphone/SFLphone"> <node name="/instance-introspec" xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0">
<interface name="org.sflphone.SFLphone.Instance"> <interface name="org.sflphone.SFLphone.Instance">
<tp:docstring xmlns="http://www.w3.org/1999/xhtml">
<method name="Register"> <p>Count the number of clients actually registered to the core. When initializing your client, you need to register it against the core by using this interface.</p>
<arg type="i" name="pid" direction="in"/> </tp:docstring>
<arg type="s" name="name" direction="in"/> <method name="Register" tp:name-for-bindings="Register">
<tp:docstring>
Register a new client to the core. Increments the registration count.
</tp:docstring>
<arg type="i" name="pid" direction="in">
<tp:docstring>
The pid of the client process
</tp:docstring>
</arg>
<arg type="s" name="name" direction="in">
<tp:docstring>
The name of the client
</tp:docstring>
</arg>
</method> </method>
<method name="Unregister" tp:name-for-bindings="Unregister">
<method name="Unregister"> <tp:docstring>
<arg type="i" name="pid" direction="in"/> Unregister a connected client from the core. Decrements the registration count. If no more clients are connected, ie the registration count equals 0, the core properly quits.
</tp:docstring>
<arg type="i" name="pid" direction="in">
<tp:docstring>
The pid of the client process
</tp:docstring>
</arg>
</method> </method>
<method name="getRegistrationCount"> <method name="getRegistrationCount" tp:name-for-bindings="getRegistrationCount">
<arg type="i" name="count" direction="out"/> <tp:docstring>
Get the number of connected clients.
</tp:docstring>
<arg type="i" name="count" direction="out">
<tp:docstring>
The number of client currently connected to the core
</tp:docstring>
</arg>
</method> </method>
</interface> </interface>
</node> </node>
<?xml version="1.0" ?> <?xml version="1.0" ?>
<node name="/configurationmanager-introspec" xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0"> <node name="/configurationmanager-introspec" xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0">
<interface name="org.sflphone.SFLphone.ConfigurationManager"> <interface name="org.sflphone.SFLphone.ConfigurationManager">
...@@ -87,7 +86,7 @@ ...@@ -87,7 +86,7 @@
<method name="setCredential" tp:name-for-bindings="setCredential"> <method name="setCredential" tp:name-for-bindings="setCredential">
<tp:docstring> <tp:docstring>
</tp:docstring> </tp:docstring>
<annotation name="com.trolltech.QtDBus.QtTypeName.In2" value="MapStringString"/>
<arg type="s" name="accountID" direction="in"> <arg type="s" name="accountID" direction="in">
<tp:docstring> <tp:docstring>
</tp:docstring> </tp:docstring>
...@@ -128,6 +127,8 @@ ...@@ -128,6 +127,8 @@
<tp:docstring> <tp:docstring>
Get configuration settings of the IP2IP_PROFILE. They are sligthly different from account settings since no VoIP accounts are involved. Get configuration settings of the IP2IP_PROFILE. They are sligthly different from account settings since no VoIP accounts are involved.
</tp:docstring> </tp:docstring>
<annotation name="com.trolltech.QtDBus.QtTypeName.Out0" value="MapStringString"/>
<!--<annotation name="com.trolltech.QtDBus.QtTypeName.In0" value="MapStringString"/>-->
<arg type="a{ss}" name="details" direction="out" tp:type="String_String_Map"> <arg type="a{ss}" name="details" direction="out" tp:type="String_String_Map">
<tp:docstring> <tp:docstring>
Available parameters are: Available parameters are:
...@@ -161,6 +162,7 @@ ...@@ -161,6 +162,7 @@
</method> </method>
<method name="setIp2IpDetails" tp:name-for-bindings="setIp2IpDetails"> <method name="setIp2IpDetails" tp:name-for-bindings="setIp2IpDetails">
<annotation name="com.trolltech.QtDBus.QtTypeName.In0" value="MapStringString"/>
<tp:docstring> <tp:docstring>
Same as <tp:member-ref>getAccountDetails</tp:member-ref>, but for the IP-to-IP profile. Same as <tp:member-ref>getAccountDetails</tp:member-ref>, but for the IP-to-IP profile.
</tp:docstring> </tp:docstring>
...@@ -174,6 +176,7 @@ ...@@ -174,6 +176,7 @@
<method name="getCredential" tp:name-for-bindings="getCredential"> <method name="getCredential" tp:name-for-bindings="getCredential">
<tp:docstring> <tp:docstring>
</tp:docstring> </tp:docstring>
<annotation name="com.trolltech.QtDBus.QtTypeName.Out0" value="MapStringString"/>
<arg type="s" name="accountID" direction="in"> <arg type="s" name="accountID" direction="in">
<tp:docstring> <tp:docstring>
</tp:docstring> </tp:docstring>
...@@ -297,12 +300,10 @@ ...@@ -297,12 +300,10 @@
<method name="getRingtoneList" tp:name-for-bindings="getRingtoneList"> <method name="getRingtoneList" tp:name-for-bindings="getRingtoneList">
<tp:docstring> <tp:docstring>
Get the list of available ringtones.
</tp:docstring> </tp:docstring>
<annotation name="com.trolltech.QtDBus.QtTypeName.Out0" value="VectorString"/> <annotation name="com.trolltech.QtDBus.QtTypeName.Out0" value="VectorString"/>
<arg type="as" name="list" direction="out"> <arg type="as" name="list" direction="out">
<tp:docstring> <tp:docstring>
A list of path.
</tp:docstring> </tp:docstring>
</arg> </arg>
</method> </method>
...@@ -329,11 +330,9 @@ ...@@ -329,11 +330,9 @@
<method name="isRingtoneEnabled" tp:name-for-bindings="isRingtoneEnabled"> <method name="isRingtoneEnabled" tp:name-for-bindings="isRingtoneEnabled">
<tp:docstring> <tp:docstring>
Whether or not to play a custom ringtone.
</tp:docstring> </tp:docstring>
<arg type="i" name="bool" direction="out"> <arg type="i" name="bool" direction="out">
<tp:docstring> <tp:docstring>
If false, the standart tone is played on incoming calls.
</tp:docstring> </tp:docstring>
</arg> </arg>
</method> </method>
...@@ -363,73 +362,59 @@ ...@@ -363,73 +362,59 @@
<method name="getAudioManager" tp:name-for-bindings="getAudioManager"> <method name="getAudioManager" tp:name-for-bindings="getAudioManager">
<tp:docstring> <tp:docstring>
Get the current audio manager.
</tp:docstring> </tp:docstring>
<arg type="i" name="api" direction="out"> <arg type="i" name="api" direction="out">
<tp:docstring> <tp:docstring>
<ul>
<li>0: ALSA </li>
<li>1: Pulseaudio </li>
</ul>
</tp:docstring> </tp:docstring>
</arg> </arg>
</method> </method>
<method name="setAudioManager" tp:name-for-bindings="setAudioManager"> <method name="setAudioManager" tp:name-for-bindings="setAudioManager">
<tp:docstring> <tp:docstring>
Switch audio manager.
</tp:docstring> </tp:docstring>
<arg type="i" name="api" direction="in"> <arg type="i" name="api" direction="in">
<tp:docstring> <tp:docstring>
<p>The ID of the audio manager to use.</p>
<p>Refer to <tp:member-ref>getAudioManager</tp:member-ref> for possible values.</p>
</tp:docstring> </tp:docstring>
</arg> </arg>
</method> </method>
<method name="getRecordPath" tp:name-for-bindings="getRecordPath"> <method name="getRecordPath" tp:name-for-bindings="getRecordPath">
<tp:docstring> <tp:docstring>
Get the path where to save the recorded calls.
</tp:docstring> </tp:docstring>
<arg type="s" name="rec" direction="out"> <arg type="s" name="rec" direction="out">
<tp:docstring> <tp:docstring>
A path.
</tp:docstring> </tp:docstring>
</arg> </arg>
</method> </method>
<method name="setRecordPath" tp:name-for-bindings="setRecordPath"> <method name="setRecordPath" tp:name-for-bindings="setRecordPath">
<tp:docstring> <tp:docstring>
Change the path where save recorded calls.
</tp:docstring> </tp:docstring>
<arg type="s" name="rec" direction="in"> <arg type="s" name="rec" direction="in">
<tp:docstring> <tp:docstring>
The new path.
</tp:docstring> </tp:docstring>
</arg> </arg>
</method> </method>
<!-- /////////////////////// -->
<!-- Codecs-related methods -->
<method name="getCodecList" tp:name-for-bindings="getCodecList"> <method name="getCodecList" tp:name-for-bindings="getCodecList">
<tp:docstring> <tp:docstring>
Get the core audio codec capabilities.
</tp:docstring> </tp:docstring>
<annotation name="com.trolltech.QtDBus.QtTypeName.Out0" value="VectorString"/> <annotation name="com.trolltech.QtDBus.QtTypeName.Out0" value="VectorString"/>
<arg type="as" name="list" direction="out"> <arg type="as" name="list" direction="out">
<tp:docstring> <tp:docstring>
A list of codecs, identified by their RTP payload, delimited by '/'
</tp:docstring> </tp:docstring>
</arg> </arg>
</method> </method>
<method name="getCodecDetails" tp:name-for-bindings="getCodecDetails"> <method name="getCodecDetails" tp:name-for-bindings="getCodecDetails">
<tp:docstring> <tp:docstring>
Get specification details provided
codec's RTP payload.
</tp:docstring> </tp:docstring>
<arg type="i" name="payload" direction="in"> <arg type="i" name="payload" direction="in">
<tp:docstring> <tp:docstring>
A list of codec specification details:
Name, Samplerate, Bit rate, Bandwidth.
</tp:docstring> </tp:docstring>
</arg> </arg>
<annotation name="com.trolltech.QtDBus.QtTypeName.Out0" value="VectorString"/> <annotation name="com.trolltech.QtDBus.QtTypeName.Out0" value="VectorString"/>
...@@ -445,14 +430,10 @@ ...@@ -445,14 +430,10 @@
<annotation name="com.trolltech.QtDBus.QtTypeName.Out0" value="VectorString"/> <annotation name="com.trolltech.QtDBus.QtTypeName.Out0" value="VectorString"/>
<arg type="s" name="accountID" direction="in"> <arg type="s" name="accountID" direction="in">
<tp:docstring> <tp:docstring>
Currently activated codec listed as there
preference. This is the list used for
codec negotiation.
</tp:docstring> </tp:docstring>
</arg> </arg>
<arg type="as" name="list" direction="out"> <arg type="as" name="list" direction="out">
<tp:docstring> <tp:docstring>
A list of codecs, identified by their RTP payload, delimited by '/'
</tp:docstring> </tp:docstring>
</arg> </arg>
</method> </method>
...@@ -463,25 +444,23 @@ ...@@ -463,25 +444,23 @@
<annotation name="com.trolltech.QtDBus.QtTypeName.In0" value="VectorString"/> <annotation name="com.trolltech.QtDBus.QtTypeName.In0" value="VectorString"/>
<arg type="as" name="list" direction="in"> <arg type="as" name="list" direction="in">
<tp:docstring> <tp:docstring>
Set the active codec list used for codec negotiation.
</tp:docstring> </tp:docstring>
</arg> </arg>
<arg type="s" name="accountID" direction="in"> <arg type="s" name="accountID" direction="in">
<tp:docstring> <tp:docstring>
A list of codecs, identified by their RTP payload, delimited by '/'
</tp:docstring> </tp:docstring>
</arg> </arg>
</method> </method>
<!-- Audio devices methods --> <!-- Audio devices methods -->
<method name="getInputAudioPluginList" tp:name-for-bindings="getInputAudioPluginList"> <method name="getInputAudioPluginList" tp:name-for-bindings="getInputAudioPluginList">
<tp:docstring> <tp:docstring>
</tp:docstring> </tp:docstring>
<annotation name="com.trolltech.QtDBus.QtTypeName.Out0" value="VectorString"/> <annotation name="com.trolltech.QtDBus.QtTypeName.Out0" value="VectorString"/>
<arg type="as" name="list" direction="out"> <arg type="as" name="list" direction="out">
<tp:docstring> <tp:docstring>
</tp:docstring> </tp:docstring>
</arg> </arg>
</method> </method>
...@@ -947,6 +926,7 @@ ...@@ -947,6 +926,7 @@
</method> </method>
<method name="getTlsSettingsDefault" tp:name-for-bindings="getTlsSettingsDefault"> <method name="getTlsSettingsDefault" tp:name-for-bindings="getTlsSettingsDefault">
<annotation name="com.trolltech.QtDBus.QtTypeName.Out0" value="MapStringString"/>
<tp:docstring> <tp:docstring>
</tp:docstring> </tp:docstring>
<arg type="a{ss}" name="details" direction="out"> <arg type="a{ss}" name="details" direction="out">
...@@ -1017,6 +997,7 @@ ...@@ -1017,6 +997,7 @@
</method> </method>
<method name="getShortcuts" tp:name-for-bindings="getShortcuts"> <method name="getShortcuts" tp:name-for-bindings="getShortcuts">
<annotation name="com.trolltech.QtDBus.QtTypeName.Out0" value="MapStringInt"/>
<tp:docstring> <tp:docstring>
</tp:docstring> </tp:docstring>
<arg type="a{si}" name="shortcutsMap" direction="out"> <arg type="a{si}" name="shortcutsMap" direction="out">
...@@ -1026,6 +1007,7 @@ ...@@ -1026,6 +1007,7 @@
</method> </method>
<method name="setShortcuts" tp:name-for-bindings="setShortcuts"> <method name="setShortcuts" tp:name-for-bindings="setShortcuts">
<annotation name="com.trolltech.QtDBus.QtTypeName.In0" value="MapStringInt"/>
<tp:docstring> <tp:docstring>
</tp:docstring> </tp:docstring>
<arg type="a{si}" name="shortcutsMap" direction="in"> <arg type="a{si}" name="shortcutsMap" direction="in">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment