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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

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

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

3.2. Placing and Answering Calls<br />

Placing an Outgoing Call<br />

Your app <strong>Bria</strong> 3<br />

GET /status “phone”<br />

Response 200 OK<br />

GET /bringToFront<br />

Response 200 OK<br />

GET /call, passing in phone number<br />

Bringing <strong>Bria</strong> to front is<br />

optional but may be<br />

useful.<br />

Response 200 OK<br />

POST /statusChange “call”<br />

GET /status “call”<br />

Response contains information on all calls.<br />

“Connecting” means an outgoing call<br />

Answering a Call<br />

Your app <strong>Bria</strong> 3<br />

POST /statusChange “call”<br />

GET /status “call”<br />

Response contains ID and status of all calls.<br />

“Ringing” means an incoming call<br />

GET /bringToFront<br />

Response 200 OK<br />

Bringing <strong>Bria</strong> to front is<br />

optional but may be<br />

useful.<br />

GET /answer, passing in ID<br />

Response 200 OK<br />

Rev 8 Page 8

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

Saved successfully!

Ooh no, something went wrong!