Jump to content

Scripting?


Leonmeijer
 Share

Recommended Posts

I would like to suggest to be able to write "scripts" for PBX.

 

So you can for expamle build your own "telephone scripts" for AA's and so on something like

 

aa.init;

aa.play('a wave file')

 

if key(#) goto call1

 

 

 

call1:

while extension(3).calling do begin

if busy then soundplay('busy.wav'); // the phone is busy

while busy do begin

soundplay('we_are_busy.wav');

wait 30s

soundplay('stillbusy.wav');

end;

 

end;

 

 

...

 

Something like this...

I think it would be very usefull to have an own Scripting Language inside

Link to comment
Share on other sites

Ehh... actually I have some experience with that from a previous project. Problem is, we gotta support that! I agree, it is extremly flexible, but it also means that you have to deal with endless loops, stack overflows, in other words with the programming language comes the debugger. The next thing is VoiceXML. Out intention was to create a PBX that can be used by people who don't want to do programming, it should just cover 95 % of the cases which are out there. If you want to customize to a higher lever, you can still use an external VoiceXML processor and run the call there...

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...