how can you use ozml api for developing voip applications (like ivr, autodialer or appointment...

17
What is OzML? How you can use OzML API for developing such an advanced VoIP applications as 1/17

Upload: ozeki-informatics-ltd

Post on 18-Nov-2014

515 views

Category:

Technology


1 download

DESCRIPTION

This slideshow is intended to be a great explanation about OzML API that allows you to develop such excellent corporate VoIP applications such as IVR, Autodialer and Appointment Reminder. The presentation explains through a simple example what OzML is, and how you can use it for developing more advanced applications.

TRANSCRIPT

Page 1: How can you use OzML API for developing VoIP applications (like IVR, Autodialer or Appointment Reminder)

What is OzML? How you can use OzML API for developing

such an advanced VoIP applications as

1/17

Page 2: How can you use OzML API for developing VoIP applications (like IVR, Autodialer or Appointment Reminder)

Prerequisites What you need to use OzML to build

your own VoIP functionalities.

2/17

Page 3: How can you use OzML API for developing VoIP applications (like IVR, Autodialer or Appointment Reminder)

To get started with OzML

+ +

Ozeki Phone System XE Additional PBX requirements OzML script

Before starting to develop special applications with OzML, be sure that your system

meets with some prerequisites:

OPTION 1 OzML Extension

OPTION 2 SQL OzML

OPTION 3 Webserver + HTTP API

3/17

Page 4: How can you use OzML API for developing VoIP applications (like IVR, Autodialer or Appointment Reminder)

To get started with OzML

OPTION 1 OzML Extension

OPTION 2 SQL OzML

OPTION 3 Webserver + HTTP API

+ +

Ozeki Phone System XE Additional PBX requirements OzML script

If you want to host your OzML script in your PBX,

you need to install an OzML Extension.

If you want to host your OzML script in your database,

you need to use SQL OzML.

If you want to host your OzML script on a webserver,

you need to use a webserver and HTTP API.

4/17

Page 5: How can you use OzML API for developing VoIP applications (like IVR, Autodialer or Appointment Reminder)

Basics What is OzML

5/17

Page 6: How can you use OzML API for developing VoIP applications (like IVR, Autodialer or Appointment Reminder)

What is OzML?

OzML (Ozeki XML) is an XML language which uses predefined commands.

These commands are used in responses to the notifications coming from the PBX.

6/17

Page 7: How can you use OzML API for developing VoIP applications (like IVR, Autodialer or Appointment Reminder)

Standard form of an

OzML command

To write an OzML command the standard form is the following:

<command parameter1="..." parameter2="...">

'a parameter between the command nodes'

</command>

7/17

Page 8: How can you use OzML API for developing VoIP applications (like IVR, Autodialer or Appointment Reminder)

Standard form of an

OzML response

An OzML response is always between <response> nodes:

<response>

'commands and their parameters between the nodes'

</response>

8/17

Page 9: How can you use OzML API for developing VoIP applications (like IVR, Autodialer or Appointment Reminder)

Example for an HTTP request and response

9/17

Page 10: How can you use OzML API for developing VoIP applications (like IVR, Autodialer or Appointment Reminder)

The Call command can be used to initiate a voice call.

It makes an API extension call a number and do tasks with the call.

Let’s look at an example

How to use Call command

How does it work

OUTGOING CALL

10/17

Page 11: How can you use OzML API for developing VoIP applications (like IVR, Autodialer or Appointment Reminder)

The tasks are declared in an OzML response document as seen below.

Let’s look at an example

How to use Call command

11/17

Page 12: How can you use OzML API for developing VoIP applications (like IVR, Autodialer or Appointment Reminder)

Let’s look at an example

How to use Call command

Step 1. Create a call using a HTTP request

http://ozekixepbx.ip:7780/?command=Call&Dialed=100&ApiE

xtension=9997&Url=http://yourapp.com/callconnected.php

12/17

Page 13: How can you use OzML API for developing VoIP applications (like IVR, Autodialer or Appointment Reminder)

Accept the CallConnected request from the Ozeki Phone System XE on your webserver

and return an XML to handle the call.

Example request sent by the PBX to your webserver: http://yourapp.com/callconnected.php

Let’s look at an example

How to use Call command

Step 2. Return an XML to handle the call

HTTP Request: CallConnected

HTTP Response: XML Your application

13/17

Page 14: How can you use OzML API for developing VoIP applications (like IVR, Autodialer or Appointment Reminder)

OzML example response returned by callconnected.php:

Let’s look at an example

How to use Call command

<Response>

<Delay>1</Delay>

<Speak>Congratulations, this is your first OzML Response command.</Speak>

<Delay>2</Delay>

<Speak>Have a nice day!</Speak>

</Response>

14/17

Page 15: How can you use OzML API for developing VoIP applications (like IVR, Autodialer or Appointment Reminder)

Develop IVR | Autodialer | Appointment Reminder

15/17

Page 16: How can you use OzML API for developing VoIP applications (like IVR, Autodialer or Appointment Reminder)

Excellent VoIP example projects…

…at www.ozekiphone.com with detailed instructions and source code:

16/17

Page 17: How can you use OzML API for developing VoIP applications (like IVR, Autodialer or Appointment Reminder)

www.ozekiphone.com

[email protected]

For more information

17/17