Primus is using this event to launch our new VoiceAPI and developer eco-system to the public. The Primus VoiceAPIs return a lot of data, so to help you get started with the API we figured we would provide you with a few ideas you could use for building an app using our API at the HackMTL event.
Google Maps / Call Log Mashup
Using the ActionsAPI to get the received Enhanced Call Logs for a user, we mashed up the calling number (NPA-NXX) with LocalCallingGuide.com and Google Maps to return a visual representation of where people are calling you from. Note that since this is only based on calling number it only shows the location of the central office that originated the call; however, it’s still a rough geographic indicator of where people are calling you from. This could be enhanced further with other data to really help a business “Know their callers”. To expand on the simple example below, you could build a “call tracker” app that categorizes, tracks, and creatively visualizes incoming calls to various category buckets e.g. by geography, time of day, day of week. This would allow the user or office administrator to analyze the distribution of incoming call traffic and, for example, fine-tune their incoming call interactions and personnel resourcing.
IM Status Updater
Using the EventsAPI, you can subscribe to and receive HTTP POST notifications whenever a users phone status changes (makes a call, receives a call, goes into do not disturb, etc). Using this data you could create a browser-based client or widget that allows a user to monitor the phone status of a selected set of their contacts also on the same system.
Click to Dial integration
Using the ActionsAPI, you could add click to dial to your application in seconds, allowing a Primus HostedPBX user to simply click “dial” and originate a call. This is a great addition for applications that return phone number data, such as directory lookup tools, address books, and other related apps.
The three ideas above are just a fraction of what the API can do and what you can build with it. I personally will be on hand in Montreal this Saturday to help with any issues and provide test accounts and sample data. Note that if you are planning to use our API’s at HackMTL, please make sure you have a SIP Softphone such as Counterpath Eyebeam or XLite installed on your machine – we will be providing a demo HostedPBX for developers to play with but you will need a SIP client to make / receive calls, generate data, and test the APIs.
We are also offering a special Primus prize for best use of our API, a PrimusCloud Server account with 4GB’s of RAM and 200GB’s of Disk free for 6 months. See you all Saturday!
- Matthew Gamble
(You can read original post on Primus dev blog: https://developer.primus.ca/blog/hackmtl-ideas-what-can-you-build-with-the-api/)