16.10.2014 Views

Bria Desktop API - Developer Guide - CounterPath

Bria Desktop API - Developer Guide - CounterPath

Bria Desktop API - Developer Guide - CounterPath

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>CounterPath</strong> Corporation<br />

disabled<br />

disabled<br />

100<br />

2<br />

<br />

<strong>Bria</strong> <strong>Desktop</strong> <strong>API</strong> – <strong>Developer</strong> <strong>Guide</strong><br />

Set Audio Settings: GET /audioProperties<br />

Turn mute on or off and/or change the volume for the incoming and/or outgoing audio. One or more of<br />

the following can be included in the request.<br />

<br />

<br />

<br />

mute: whether or not the local microphone is muted: enabled/disabled.<br />

speakerMute: whether or not local sound output is muted: enabled/disabled.<br />

speaker: whether or not speaker mode is enabled: enabled/disabled.<br />

speaker volume: speakerphone volume, as a number from 0 to 100.<br />

microphone volume: microphone volume, as a number from 0 to 100.<br />

GET /audioProperties<br />

User-Agent:MyApplication<br />

Content-Type:application/xml<br />

Content-Length:835<br />

<br />

<br />

enabled<br />

disabled<br />

enabled<br />

100<br />

2<br />

<br />

Get State of Call Options: GET /status “callOptions”<br />

Get the current state of the three call options: anonymous mode, auto answer mode, and letters-tonumbers<br />

mode.<br />

GET /status<br />

User-Agent: <strong>Bria</strong> 3<br />

Transaction-ID: 86f57847379643b7a64a887d51f47103<br />

Content-Type: application/xml<br />

Content-Length: 84<br />

<br />

<br />

callOptions<br />

<br />

Response<br />

HTTP/1.1 200 OK<br />

Transaction-ID: 86f57847379643b7a64a887d51f47103<br />

Content-Type: application/xml<br />

Content-Length: 110<br />

<br />

<br />

disabled<br />

enabled<br />

disabled<br />

<br />

Rev 8 Page 23

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!