|
Manual Installation conaito VoiceMail SDK
|
|

|
Manual Installation for PHP Example:
- Create on the server the directory '/voicefiles' in the root of the web server. For example: www.conaito.com/voicefiles/ . Please, for begining, create these folders in the root of web server! After applet works properly, you may change the folders location.
Note! It may be will require the changes in the server script.
- Please use the files from the VoiceMail SDK 'Examples/PHP' folder - 'PHP VoiceMail Manual Installation'.
- Make changes in the mail.php in the applet call. In the "ServerScript" parameter you have to indicate your web domain instead of www.conaito.com. You should correct the following parameter:
- $USERDIR="/"; // the folder inside the voicefiles folder to store mp3 files
- $VoiceServerFolder = "/voicefiles/"; // the path to 'voicefiles' folder
- $retrive="http://www.conaito.com/retrive.php"; //the URL of server uploader script
- $appletCodebase="."; // path to applet's archive files. '.' means the same path as mail.php has
- To find out deeper information about $VoiceServerFolder and $USERDIR parametra settings please, read the How applet uploads mp3 file to server section.
- Make sure your Web server supports PHP and it's 'mail' function.
Make changes to the sendmail.php. You should correct the $FullPathToVoiceFileDir parameter:
Example: $FullPathToVoiceFileDir="http://www.conaito.com/voicefiles/";
In all parameter you have to indicate your web domain instead of www.conaito.com.
- Put into root folder the following files:
- index.php - start page which call the mail page (mail.php).
- mail.php - example page which call the recording applet. Interface created by JavaScript possibilities
- retrive.php - server script for the receiving of audio files and saving them on the server. The server script will create subfolder in the '/voicefiles' folder with name which is defined in the mail.php in the UserServerFolder variable and save voice file there. If subfolder with UserServerFolder name already exist, the voice file will be saved there.
- RPAppletMp3.cab, RPAppletMp3.jar – recording applet.
- jaudioMp3Win.tar, jaudioMp3Mac.tar - dlls. They contain audio capturing/playback and LAME Mp3 encoder/decoder for Windows and Mac platforms.
- sendmail.php - server script for sending emails.
- Server script must have the permission to save the voice files on the server. Please, check it.
To set permissions use chmod 755 instruction. Your web server administrator can do it.
- To test the conaito VoiceMail, open the 'index.php' in your browser.
Note! You can put applet and dll files in the other folders then mentioned above, but you must keep in mind the following:
- Applet files RPAppletMp3.cab, RPAppletMp3.jar must be on the server in the same folder with web page which call the applet. If they in the different folders – full path to applet must be indicated in the CODEBASE applet parameter.
- Sound capture and encoding dll - jaudioMp3Win.tar and jaudioMp3Mac.tar, allways must be in the same directory with applet.
Any Questions?
Our Support Forum or Knowledgebase/ Helpdesk is the best way for your questions. By this way can we help many user to find a answer on their questions.
Please feel free to contact the conaito Support Team incase of any question.
Copyright © 2008, conaito Technologies - www.conaito.com. All rights reserved.
This help file has been generated by the freeware version of HelpNDoc