Results 1 to 2 of 2

Thread: Need Help in "Appointment" code in Asterisk

  1. #1
    Join Date
    Sep 2007
    Rep Power

    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.

  2. #2
    Join Date
    May 2006
    Rep Power


    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.

Similar Threads

  1. Postfix problem
    By jimbo in forum Administrators
    Replies: 46
    Last Post: 07-23-2007, 05:24 AM
  2. 4.53: tomcat is not running
    By michaeln in forum Administrators
    Replies: 41
    Last Post: 06-13-2007, 06:42 PM
  3. mysql.server is not running
    By Oswald-Kolle in forum Installation
    Replies: 27
    Last Post: 05-01-2007, 08:28 AM
  4. 3.0 to 4.5.3 Upgrade failed (mysql error)
    By dealt in forum Installation
    Replies: 35
    Last Post: 03-19-2007, 10:30 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts