Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Developers

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-20-2007, 11:30 PM
Starter Member
 
Posts: 2
Default Need Help in "Appointment" code in Asterisk

Hi all,
I have to design an appointment schedule in asterisk. Say, a patient calls the doctor,then asterisk itself has to take the call and ask the person's name,record it and read the intime and outtime for that person and update in database.... Upto this point, am done . Now, after accepting intime and outtime, I will have to check

a) if the slot is open. If not - you should ask the caller to enter a
different time---------It can be done through database check,this is OK..
b) do some time validations (shouldn't be too late)
c) caller should even be able to cancel the slot automatically. I
should do a check on his phone number.
d) if the number is not known from callerid (blocked), you should
prompt the user to provide you with the number.

Hw to make it???????????
Pls help me in this, If possible pls send me sample project code also.

Expecting a favourable reply and thanx in advance............

Padmaja T N.
Reply With Quote
  #2 (permalink)  
Old 09-21-2007, 12:05 AM
Moderator
 
Posts: 927
Default

Hi, welcome to the Zimbra forums

It sounds like youve done well with the project so far and the additional functions you are trying to code are possible but not easy.

You would need to design a staff interface of some sort so they can define what is classed as 'too late', you may also need to take Bank Holidays and staff absence into consideration with the booking system. Look at some of the code from the freepbx project with regards to prompting the caller for their phone number if there is no presented callerid.

Further help in this regard may be available on some of the more Asterisk focused forums. I'm struggling to see where the Zimbra intergration comes in, are you trying to store the booking information in a Zimbra calendar or mail the staff when an appointment has been made?

You could easily write your code to email the staff, and a simple SOAP request can be used to add an entry into a calendar if needed.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.