Incoming calls with your .exe application
The Ozeki XE .exe launcher extension provides the simplest and
most efficient way to build a voice application.
Use any programming language (C#, Java, Delphi, C++, etc...) to
create an executable file. This executable will be launched by
the Ozeki PBX when an incoming call comes in and it will receive
events through its standard input and can control the PBX
through it's standard output to server the call.
Your exe can send and receive DTMF, play and record sound,
use text to speech and speech to text conversion, can send SMS
messages and of course it can do anything else you can do when
you write your own application.
Unlike other voice application environments, in this case there
is no limitation for your ability to create control structures,
connect to databases, webservices, background IT systems and to
do whatever you wish. You write your own program in your own
programing environment. This gives you total freedom.
Outgoing calls with your .exe application
You can start outgoing calls with Ozeki Phone System XE and
serve them the same way with your .exe application, as you would
serve an incoming call.
You can start an outgoing call with a HTTP request, or with
the ozekpbxcontrol.exe tool. In this case the Ozeki PBX will
first launch your .exe file and then it will dial the number
you wish to call and setup the session.
Command line parameters
(These parameters are received by the .exe file, when the PBX launches it on
an incoming call)
C:\your.exe CallerID="07895644789" CallerDialed="01206456789" PhoneLine=VoIPService1
Events received on stdin
(These events are sent by the PBX to the standard input of the .exe)
- onCallStateChanged(Ringing, Pickedup, Rejected, Hangedup)
Commands sent on stdout
(The .exe can invoke these commands on the pbx by writing to its standard output)
- callplaytexttospeech("Hello world, read out this text");
- sendSMS("07895644789","Your appointment is at 12:45");