Page 1 of 1

Recording path Confusions

PostPosted: Tue Jan 06, 2009 5:10 am
by kolucoms6
In One of my server , where I have recordings folder under www directory, I see an entry like below in recording_log table :

http://192.168.0.2/RECORDINGS/GSM/20081 ... 00-all.gsm

In another server , where there is no recordings folder under www directory, I see an entry like below in recording_log table :

http://59.162.178.100/RECORDINGS/GSM/20 ... 00-all.gsm

Now when I type http://192.168.0.2/RECORDINGS in IE browser I see all my recordings.

But when I type http://59.162.178.100/RECORDINGS { so that my users can access recordings directly without logging into the server or ftp }, I dont see any recordings(even afetr I create a folder as redordings)

Does it mean that 192.168.0.2 server is saving a copy of all recordings under "recordings folder" apart from montordone folder ?

PostPosted: Wed Jan 07, 2009 10:29 am
by kolucoms6
How to change the default recording path ?

PostPosted: Wed Jan 07, 2009 6:55 pm
by mflorell
We have added a server option for this in SVN trunk so that you can do this in the admin.php interface. Otherwise you have to edit code.

PostPosted: Thu Jan 08, 2009 12:36 pm
by kolucoms6
Anyway to record same voice file at 2 locations ?

PostPosted: Fri Jan 09, 2009 4:17 am
by mflorell
Not sure what you mean here.

PostPosted: Fri Jan 09, 2009 4:33 am
by kolucoms6
I want to provide an Option to my user where IF they type http://serverip/recordings , they shld be able to see all recordings till date OR may be with date filter.

PostPosted: Fri Jan 09, 2009 5:17 am
by kolucoms6
In DB I see an entry like :

http://serverip/RECORDINGS/GSM/20081212-153210_-all.gsm

But In server actual path is spool/monitordone. There is No folder for Recordings.

Kindly explain Or point me to a docuemnt which will explain me this.

PostPosted: Fri Jan 09, 2009 12:45 pm
by mflorell
The SVN trunk version of SCRATCH_INSTALL includes information for configuring httpd.conf for an Alias to link RECORDINGS to monitorDONE.

PostPosted: Fri Jan 09, 2009 1:24 pm
by kolucoms6
- vi /usr/local/apache2/conf/httpd.conf
add the following lines:
"AddType application/x-httpd-php .php .phtml"
"LoadModule php4_module libexec/libphp5.so"
or
"LoadModule php4_module modules/libphp5.so"
modify the index.html line and add index.php to the list

to disable logging, change:
"CustomLog logs/access_log common"
to this:
"CustomLog /dev/null common"

to enable web browsing of Recordings on Asterisk server, add this:
Alias /RECORDINGS/ "/var/spool/asterisk/monitorDONE/"


But I dont find any file as /usr/local/apache2/conf/httpd.conf.

Kindly help me with the location.

PostPosted: Fri Jan 09, 2009 1:26 pm
by mflorell
can you find any httpd.conf?

PostPosted: Fri Jan 09, 2009 1:28 pm
by kolucoms6
under etc/httpd/conf

PostPosted: Sat Jan 10, 2009 7:19 am
by kolucoms6
Where to add ALIAS ?

Which httpd.conf do I need to configure ?

PostPosted: Tue Jan 20, 2009 6:38 pm
by kolucoms6
Which httpd.conf to modify ?

Can u help with the complete path please.

PostPosted: Fri Feb 13, 2009 2:56 am
by kolucoms6
I have created one Recording folder and also edited httpd.conf file.

Still I don't find any recording under recording folder.

What could be the reason ?

Changing recording path

PostPosted: Wed Feb 25, 2009 11:03 am
by kddacraker
I have done same....

make the changes necessary but was unable to check the recordings there....

is there any way if we can mount the /DONE folder some where else....?

Please let me know...

Thanks

PostPosted: Wed Feb 25, 2009 11:52 am
by kolucoms6

Found Sulution

PostPosted: Wed Feb 25, 2009 1:32 pm
by kddacraker
Hi,

Thanks for your reply but sound simple solution for it... symlink :)

what you have to id as follows....

Go to the home dir for vicidial for me its... /usr/local/apache2/htdocs/

ln -s /var/spool/asterisk/monitor recordings

chmod 777 /var/spool/asterisk/monitor

Make sure after this if the DONE directory is having 777 permissions...

now you can access the recordings form....

yourserverip/recordings/

Thanks,

KD
----------------------------------

Open source is really Great :)

PostPosted: Wed Feb 25, 2009 1:36 pm
by kolucoms6
if u have apache