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.4. History and Voicemail<br />

Obtaining the Missed Call Count and Details<br />

When a call is missed on <strong>Bria</strong>, you receive the POST /statusChange “missedCall” event.<br />

You can also query for missed calls independently of this event (for example, at startup), as follows:<br />

Displaying Call History in your App<br />

Your<br />

app<br />

<strong>Bria</strong> 3<br />

GET /status “callHistory”<br />

response contains information on recent calls<br />

Bringing the <strong>Bria</strong> Call History Panel to the Front<br />

You can also display the History tab on <strong>Bria</strong>. This function brings <strong>Bria</strong> to the front (if necessary) and<br />

brings the History tab to the front.<br />

Your<br />

app<br />

<strong>Bria</strong> 3<br />

GET /showHistory<br />

Response 200 OK<br />

Rev 8 Page 10

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

Saved successfully!

Ooh no, something went wrong!