Membuat aplikasi Reminder Appointment di OZEKIPHONE


OzML Appointment Reminder

This guide explains how to setup an Appointment Reminder in your PBX using an OzML script. Study the following OzML script that enables to get an automated call/SMS/e-mail on your phone if you have a meeting. The other participant will also be notified about your confirmation/rejection.

1. Create the Appointment reminder script in OzML

  1. <Response>
  2. <UserInput Timeout="5" Repeat="true">
  3. <InitialCommands>
  4. <Speak>Hello, you have a new appointment in London Hotel at 2 PM</Speak>
  5. <Speak>If you go to the appointment please press 1.</Speak>
  6. </InitialCommands>
  7. <Inputs>
  8. <Input Key="1">
  9. <Speak>
  10. You have confirmed the participation. Your appointment will be
  11. in London Hotel at 2 PM. A confirmation message has been sent
  12. to the other participants in SMS and e-mail.
  13. </Speak>
  14. <SendSms Recipient="+443655184651">
  15. X.Y. have confirmed to go to the appointment.
  16. </SendSms>
  17. <SendEmail Recipient="info@yourcompany.com">
  18. X.Y. have confirmed to go to the appointment.
  19. </SendEmail>
  20. </Input>
  21. </Inputs>
  22. </UserInput>
  23. </Response>
This speaks the 2 sentences between the nodes repeatedly (Repeat="true") with a 5 second delay (Timeout=”5”) and scans the pressed numbers at the same time.
By pressing 1 you will hear 3 sentences that you have confirmed the participation and an SMS will be sent to 443655184651 containing: "X.Y. have confirmed to go to the appointment". You can send an sms by using the command Ozeki Phone System XE OzML language <SendSms> command. In this example, we set Recipient which is the destination phone number and we added the text message. Very similar to that the <SenEmail> command. We added the destination address of the e-mail and the e-mail text to send. So you have confirmed to go to the appointment with sending an SMS and an e-mail to the other participants.
You can find more command descriptions and more things to know about the OzML language on our OzML reference book page.

2. Host the script

Option 1: Use your database
Insert the OZML script into a database table, along with a phone number and a time to call. Ozeki Phone System XE will pick up the script and execute it at the right time. Learn more...
Option 2: Use your webserver
With OzML HTTP you have possibility to create calls automatically with sending requests to Ozeki Phone System XE. To do that, you can make a simple application, that will handle your appointments, and send the requests. Learn more...

Popular posts from this blog

Dunia Aplikasi OpenSource

Mengenal Fungsi Dan Komponen Panel Listrik

Membangun Ruang Server (1)