You came to the right spot with your question. What you want to do with your integration is the primary reason that the Switchvox Extend API exists : To integrate your Switchvox phone system with the rest of your business.
At the last Astricon I gave a talk about the Swichox API (all links to the video presentations below). The first session I talk about and introduce the fundamentals of the Switchvox API. The second session is what I think you will find interesting. In this session I create a scenario and show how to integrate a Switchvox PBX with a Doctor's office. Here is the summary straight from my slides:
"Dr Hammel runs a successful doctor’s office called the “San Diego Get Well Center”. Like most doctor’s office he has a database that is full of his patients and their appointments. He is looking to streamline a couple of things in his office to save time, save money, and provide a better experience for his patients. Below are the 3 main things he wants to accomplish.
1. Integrate his PBX with his appointment database and have the PBX automatically call his a paitents the day before their appointments and remind them of their appointments.
2. Have his patients confirm they will be coming to their appointments right over their phone by pushing some simple keys.
3. Have a custom switchboard panel for his receptionists so when a patient calls in, it will automatically look up their caller id and bring up the patient information.
Bonus : Have the ability to turn on/off “Night Mode” for his office PBX from his new fancy iPhone that he loves so much."
Sounds like this is what you want to do? During the talk I actually write live code that shows the system working just to prove how easy it is to work with our API.
Here is the link to my first talk about the fundamentals:http://www.astricon.net/2009/astricon/presentation/switchvox-1/index.htm
Here is the link to my second talk about integrating with a doctor's office:http://www.astricon.net/2009/astricon/presentation/switchvox-s2/index.htm
(there are internet problems in this talk so patience is key)
Hope this helps with your integration needs and let me know if you have follow up questions.