This guide presents how to build an Autodialer in your Ozeki Phone System XE
using an OzML script. Below you can see an OzML script that makes it possible to
dial several telephone numbers simultaneously.
<UserInput Timeout="5" Repeat="true">
Your customer account number is 454565. Press 1 to send it as an
SMS to your mobile, press 2 if you have recorded it and you
don't wish to receive it as an SMS
Your customer account number is 454565.
<Speak>We sent you the SMS. Good bye!</Speak>
This code plays a .wav audio file welcome messeage with the <Play> OzML command.
And it speaks the 2 sentences (using speak engine) between the <InitialCommands></InitialCommands> nodes repeatedly (Repeat="true") with a 5 second delay (Timeout=”5”)
and scans the pressed numbers at the same time.
By pressing 1 the system will send you an SMS with your customer account number in it.
The <SendSms> command implements the sms sending functionality, you only need to set
your phone number and the message of the sms. After the send ypu will hear a sentence:
„We sent you the SMS. Good bye!”.
If you pressed the button 2 that means you have recorded your customer account number,
so you will hear a good bye sentence between the <Speak></Speak> nodes.
You can find more command descriptions and more things to know about the OzML language on
our OzML reference book page.
By using SQL OzML Extension you have a great opportunity to manage your
calls through your database. You can insert call parameters into a table,
and the SQL OzML Extension will create the calls automatically with the
given call parameters in the records.