
CTI PRO established cooperation with major telco equipment brokers. We are offering hardware from most major OEM’s including:
| 3com | Aastra | Aculab |
| ADC | Adtran | Afc |
| Agilent | Alcatel | Argus |
Record and send email in OmniVox AES
by Lukas Redl
In this example I'd like to show you, how to create application using OmniVox AES development platform developed by Apex company. The application stores the recorded message into the file and send this file via email.
Installation(we are using OmniVox AES CD which should be available on request or should be downloaded from our ftp after the communication to sales who will manage it)
When we insert the AES CD into the drive and start installation, we need to ensure that the SNMP and MSDE are installed. If doesn't we have to do the following:
- Installing SNMP
Open Control Panels and click onto Add and Remove Programs. Then click on Add/Remove Windows Components and choose Management and Monitoring Tools. Expand it and check the box Simple Network Management Protocol. When you are back at Control Panels, click on Administrative Tools and Service. Double click on SNMP service and set the automatic start. - Installing MSDE
It is done automatically during the installation of AES. But if something fails, you can install it manually from the CD. It is stored in D:\OmniVoxAES CD\3rdParty\MSDE. Go to the Start/Programs/MSDE/Service Manager, start it and check the automatic start.
Installation is now completed and we can run the AES software. Almost. First we have to create the AES Database (Start/Programs/APEX Voice Communications/Create AES Database). Then run the Configuration Manager (has to be run first before creation application).
Now we can run OmniView, which allows us to create CT application. After running we can choose if we'd like to have browser menu or not. E.g. choose without browser menu. Next third party software is necessary here and it is Java Runtime Enviroment. If you don't have it installed, you have to do it now. Now configuration manager connection window appear. You can let the default values and click OK.
The first step in configuring a new AES system is to add new switch. So right click to the tree item Switches and select New Switch. Right click on the New Switch and select License Management. Click on Create License and enter the serial number. The license informations are stored on CD at Authorization Keys.txt. Then Add Key stored in the same file.
Next is to right click to Voice Libraries and select Import Library. In the opened window you have to fill the name of the library and its ID. In the next window you can browse for the library. Default Apex library is stored in C:\Program files\Apex\AES\TM\Voice\VoiceFileSet1. There select all .vox files and click Import. If you want to use your own voice files you also have to import it. Once the configuration has been completed for the Switch, it must be activated before it can process a call. So right click on the New Switch and select Activate. If it is activated, you'll notice that the Switch Configuration Name will be in Bold. For more configuration informations see OmniVox AES-HMP-GettingStartedGuide-3.4
Used blocks:
- Answer Call block
- Menu block
- Record block
- Send block
- Play List block
- Drop Call block
Step by step:
First of all we have to import prerecorded prompts for Menu, Record and Play List blocks. It is done by right-clicking to Voice Library and select New Library. Right-click onto the new library and select Import Prompts. Then just find the correct path to the files. Now click on New Application and the development environment will appear. The Start block is there by default. Click onto the "telephone" icon and it'll expand. First choose Answer Call block. Click on that and the next click onto the environment will paste it there. Double-click on this block and the properties window will appear. Check the Accept Call and Answer Call. Next block is Menu block. Go to the properties, double-click on Type and select Message ID. Then right click onto the blue line below the Data and choose the correct library and prompt. The caller is now choosing: when pressing one, the message will be recorded, otherwise call will be disconnected. Well, paste the Record block and Play List block. In Record block's properties choose next prompt to be played by the same way as previous, choose the ADPCM format and the message ID to be recorded. Select termination on any digit. You can choose maximum record duration and maximum silence (in seconds). In the Play List block play predefined prompt. Now click on "IMAP" icon and select Send block. In its properties you have to fill SMTP server, your email address, Type is an email, an attachment, which is the stored voice file and the body of email, which is not necessary. The last block is Drop Call block which hangs up. Now we only have to connect the correct blocks. It is done by clicking onto the non-straight arrow and connecting blocks by drag and drop.
I wish you good luck in developing your applications using this development tool.
Here you can download Apex script used in this tutorial.
Here you can post your comments or questions regarding this tutorial ...