Asterisk Pbx and Google Calendar interface. The project is to create a VOIP AGI perl script for asterisk to handle doctors appointments and create them. Server is trixbox CE 2.6 + HFC Card Cologne ISDN card-
Requested functions are:
- Let callers call Asterisk PBX and start the script to find the first free appointement date and time (from google calendar) and to be able to reserve it. (If they are new, we ask them to enter their phone number, their name, we compare the phone number and the callerID. If they are similar, we accept. If not the same we forward to a SIP/IAX extension)
- Each reserved appointment is stored in google calendar account with all the details : CID + link to the recorded name + expected duration
- each appointment is a 15 minute appointment but an option should let the caller select duration from 15 minutes to 1 hours if they know. If they do not know, we define to 15 min. all saved appointement are given an id and password sent via voice to the caller. With these ID/pass they will be able to delete an appointment.
- If the first available free appointment does not please the caller , he should be prompted to find a later appointment in the same day, or the next day, or enter a date he would like to come (the script needs to let the admin define the working days and time ranges - ie: Monday from 8:00 to 17:30 , Tuesdday is closed, Thurday 12:00 to 20:00 etc etc )
- At any moment, during opening hours, the caller should be able to press "O" to contact a human. Outside opening hours, the script should work but not allowing to call the human operator.
- As an option, known patients with an id and password will be able to cancel an appointment
- Each caller calling is given a menu to select to create a new appointment, do cancel an appointment, to get the human operator.
The script should be made in english, but will be translated into french. So developpers will take care of making comments and configuration files ( calendar id/pass, default appointment duration, ...) , prompts will be translated into french.