46
46
<li>ACCOUNT_REGISTRATION_STATUS: The account registration status. Should be Registered to make calls.</li>
47
47
<li>ACCOUNT_REGISTRATION_STATE_CODE</li>
48
48
<li>ACCOUNT_REGISTRATION_STATE_DESC</li>
49
<li>CONFIG_DEFAULT_PRESENCE_ENABLED: enable/disable presence support - true or false</li>
49
50
<li>SRTP_KEY_EXCHANGE</li>
50
51
<li>SRTP_ENABLE: Whether or not voice communication are encrypted - True or False (Default: False)</li>
51
52
<li>SRTP_RTP_FALLBACK</li>
200
201
<method name="sendRegister" tp:name-for-bindings="sendRegister">
202
203
Send account registration (REGISTER) to the registrar.
204
Register the account if enable=true, unregister if enable=false.
204
Register the account if enable=true, unregister if enable=false.
206
@param[in] input accountID
208
206
<arg type="s" name="accountID" direction="in">
219
<method name="setVolume" tp:name-for-bindings="setVolume">
221
<p>Sets the volume using a linear scale [0,100].</p>
222
<tp:rationale>Pulseaudio has its own mechanism to modify application volume. This method is enabled only if the ALSA API is used.</tp:rationale>
224
<arg type="s" name="device" direction="in">
226
The device: mic or speaker
229
<arg type="d" name="value" direction="in">
231
The volume value (between 0 and 100)
236
<method name="getVolume" tp:name-for-bindings="getVolume">
238
<p>Return the volume value of the given device on a linear scale [0,100].</p>
239
<tp:rationale>Only enabled if the ALSA API is used, Pulseaudio has its own mechanism to modify application volume.</tp:rationale>
241
<arg type="s" name="device" direction="in">
243
The device: mic or speaker
246
<arg type="d" name="value" direction="out">
248
The volume value (between 0 and 100)
253
<signal name="volumeChanged" tp:name-for-bindings="volumeChanged">
255
<p>Notify clients of a volume level change.</p>
256
<p>This signal occurs only if ALSA is enabled since Pulseaudio streams are managed externally. </p>
258
<arg type="s" name="device">
260
The device: mic or speaker
263
<arg type="d" name="value">
270
<!-- For now only expose these two options to clients -->
271
<method name="muteDtmf" tp:name-for-bindings="muteDtmf">
272
<arg type="b" name="muteDtmf" direction="in"/>
274
<method name="isDtmfMuted" tp:name-for-bindings="isDtmfMuted">
275
<arg type="b" name="muted" direction="out"/>
278
<method name="muteCapture" tp:name-for-bindings="muteCapture">
279
<arg type="b" name="mute" direction="in">
281
True to mute audio capture, false to unmute.
286
<method name="isCaptureMuted" tp:name-for-bindings="isCaptureMuted">
287
<arg type="b" name="muted" direction="out">
289
Returns true if audio capture is muted, false otherwise.
294
<method name="mutePlayback" tp:name-for-bindings="mutePlayback">
295
<arg type="b" name="mute" direction="in">
297
True to mute audio playback, false otherwise.
302
<method name="isPlaybackMuted" tp:name-for-bindings="isPlaybackMuted">
303
<arg type="b" name="muted" direction="out">
305
Returns true if audio playback is muted, false otherwise.
221
310
<method name="getAudioManager" tp:name-for-bindings="getAudioManager">
222
311
<arg type="s" name="api" direction="out">
359
<method name="setEchoCancelState" tp:name-for-bindings="setEchoCancelState">
360
<arg type="s" name="state" direction="in">
364
<method name="setEchoCancelTailLength" tp:name-for-bindings="setEchoCancelTailLength">
365
<arg type="i" name="index" direction="in">
369
<method name="getEchoCancelTailLength" tp:name-for-bindings="getEchoCancelTailLength">
370
<arg type="i" name="index" direction="out">
374
<method name="setEchoCancelDelay" tp:name-for-bindings="setEchoCancelDelay">
375
<arg type="i" name="index" direction="in">
379
<method name="getEchoCancelDelay" tp:name-for-bindings="getEchoCancelDelay">
380
<arg type="i" name="index" direction="out">
384
443
<!-- General Settings Panel -->
386
<method name="getNoiseSuppressState" tp:name-for-bindings="getEchoCancelState">
387
<arg type="s" name="state" direction="out">
445
<method name="getNoiseSuppressState" tp:name-for-bindings="getNoiseSuppressState">
446
<arg type="b" name="state" direction="out">
391
450
<method name="setNoiseSuppressState" tp:name-for-bindings="setNoiseSuppressState">
392
<arg type="s" name="state" direction="in">
451
<arg type="b" name="state" direction="in">
455
<method name="isAgcEnabled" tp:name-for-bindings="isAgcEnabled">
456
<arg type="b" name="enabled" direction="out">
460
<method name="setAgcState" tp:name-for-bindings="setAgcState">
461
<arg type="b" name="enabled" direction="in">
422
<!-- Addressbook configuration -->
423
<method name="getAddressbookSettings" tp:name-for-bindings="getAddressbookSettings">
424
<annotation name="com.trolltech.QtDBus.QtTypeName.Out0" value="MapStringInt"/>
425
<arg type="a{si}" name="settings" direction="out">
429
<method name="setAddressbookSettings" tp:name-for-bindings="setAddressbookSettings">
430
<annotation name="com.trolltech.QtDBus.QtTypeName.In0" value="MapStringInt"/>
431
<arg type="a{si}" name="settings" direction="in">
435
<!-- Addressbook list -->
436
<method name="getAddressbookList" tp:name-for-bindings="getAddressbookList">
437
<annotation name="com.trolltech.QtDBus.QtTypeName.Out0" value="VectorString"/>
438
<arg type="as" name="settings" direction="out">
442
<method name="setAddressbookList" tp:name-for-bindings="setAddressbookList">
443
<annotation name="com.trolltech.QtDBus.QtTypeName.In0" value="VectorString"/>
444
<arg type="as" name="settings" direction="in">
448
482
<!-- Hook configuration -->
449
483
<method name="getHookSettings" tp:name-for-bindings="getHookSettings">
450
484
<annotation name="com.trolltech.QtDBus.QtTypeName.Out0" value="MapStringString"/>
473
507
<signal name="historyChanged" tp:name-for-bindings="historyChanged">
510
<!-- FIXME: we should rethink these two signals -->
511
<!-- Used by IAX and SIP accounts -->
476
512
<signal name="registrationStateChanged" tp:name-for-bindings="registrationStateChanged">
477
513
<arg type="s" name="accountID"/>
478
514
<arg type="i" name="registration_state"/>
517
<!-- Only used by SIP accounts, data is directly from pjsip -->
518
<signal name="sipRegistrationStateChanged" tp:name-for-bindings="sipRegistrationStateChanged">
520
<p>Account state changed, SFLphone received a notification from registrar.</p>
522
<arg type="s" name="accountID" >
527
<arg type="s" name="state">
532
<arg type="i" name="code">
481
540
<signal name="stunStatusFailure" tp:name-for_bindings="stunStatusFailure">
482
541
<arg type="s" name="reason">