|
|
Please, read the following attentively before you'll try to make any changes to your configuration!
Please use for this manual settings the files from the VoiceMail SDK 'Examples/PHP' folder - 'PHP VoiceMail Manual Installation'.
Example: <PARAM NAME = "BlockSize" VALUE = "20480">
Applet uploads voice file in the folder, defined by VoiceServerFolder and UserServerFolder parameters like http://www.yourhost.com/recorder/VoiceServerFolder/UserServerFolder/, where /recorder/ is the folder that contains retrive.php.
VoiceServerFolder applet parameter defines folder reletively folder which contains retrive.php.
UserServerFolder applet parameter defines folder which is in the VoiceServerFolder.
Please, read two examples of defining VoiceServerFolder parameter.
Files on server:
http://yourserver.com/recorder/mail.php
http://yourserver.com/recorder/retrive.php
http://yourserver.com/voicefiles - folder for voice files
So, you should define such applet parameters:
<PARAM NAME = "VoiceServerFolder" VALUE = "/../voicefiles/">
<PARAM NAME = "UserServerFolder" VALUE = "smth">
So, voice files would be written in
http://yourserver.com/recorder/../voicefiles/smth/ directory, that is the same to
http://yourserver.com/voicefiles/smth/
Files on server:
http://yourserver.com/recorder/mp3recorder/mail.php
http://yourserver.com/recorder/mp3recorder/retrive.php
http://yourserver.com/music/voicefiles - folder for voice files
You should define such applet parameters:
<PARAM NAME = "VoiceServerFolder" VALUE = "/../../music/voicefiles/">
<PARAM NAME = "UserServerFolder" VALUE = "smth">
So, voice files would be written in
http://yourserver.com/recorder/mp3recorder/../../music/voicefiles/smth/ directory, that is the same to
http://yourserver.com/music/voicefiles/smth/
Files on server:
http://yourserver.com/recorder/mp3recorder/mail.php
http://yourserver.com/recorder/mp3recorder/retrive.php
http://yourserver.com/music/voicefiles - folder for voice files If you don't want to make folder inside voicefiles directory,
you should define such parameters:
<PARAM NAME = "VoiceServerFolder" VALUE = "/../../music/">
<PARAM NAME = "UserServerFolder" VALUE = "voicefiles">
So, voice files would be written in
http://yourserver.com/recorder/mp3recorder/../../music/voicefiles/ directory, that is the same to
http://yourserver.com/music/voicefiles/
By default, you should put your 'mail.php' file and 'retrive.php' file in the same directory on server, but you can also put them into different directories. To make that you should define VoiceServerFolder parameters in 'mail.php' and 'retrive.php' separately. In 'mail.php' you should define VoiceServerFolder according to the place of 'mail.php', in 'retrive.php' you should define VoiceServerFolder accoreding to the place of retrive.php. Please look through the examples to understand more.
Files on server:
http://yourserver.com/recorder/mp3recorder/mail.php
http://yourserver.com/retrive/retrive.php http://yourserver.com/music/voicefiles - folder for voice files
You should define such applet parameters:
<PARAM NAME = "VoiceServerFolder" VALUE = "/../../music/voicefiles/">
<PARAM NAME = "UserServerFolder" VALUE = "smth">
In retrive.php you should replace lines below
if(isset($_POST["VoiceServerFolder"])) $VoiceLocal = $_POST["VoiceServerFolder"];
else $VoiceLocal="/../voicefiles/";
by
$VoiceLocal ="/../music/voicefiles/";
So, voice files would be written by retrive.php to
http://yourserver.com/retrive/../music/voicefiles/smth/ directory, that is the same to
http://yourserver.com/music/voicefiles/smth/
And applet'll read them from
http://yourserver.com/recorder/mp3recorder/../../music/voicefiles/smth/ directory, that is the same to
http://yourserver.com/music/voicefiles/smth/
Files on server:
http://yourserver.com/recorder/mp3recorder/mail.php
http://yourserver.com/script/retrive.php http://yourserver.com/voicefiles - folder for voice files
If you don't want to make folder inside voicefiles directory, you should define such parameters
<PARAM NAME = "VoiceServerFolder" VALUE = "/../../">
<PARAM NAME = "UserServerFolder" VALUE = "voicefiles">
In retrive.php you should replace lines below
if(isset($_POST["VoiceServerFolder"])) $VoiceLocal = $_POST["VoiceServerFolder"];
else $VoiceLocal="/../voicefiles/";
by
$VoiceLocal ="/../";
So, voice files would be written by retrive.php to
http://yourserver.com/retrive/../voicefiles/ directory, that is the same to
http://yourserver.com/voicefiles/ And applet'll read them from
http://yourserver.com/recorder/mp3recorder/../../voicefiles/ directory, that is the same to
http://yourserver.com/voicefiles/
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