Page 1 of 1

New Install Vicidalnow CE 1.3 User Stats Recordings

PostPosted: Mon Feb 01, 2010 12:21 pm
by enavaro
Hi,

Got problem with the user stats recording. When I use USER STATS > then search agent ADMIN. Then went down to the http://ip_address/RECORDINGS/GSM/201002 ... 12-all.gsm

Then got this error:

Forbidden

You don't have permission to access /RECORDINGS/GSM/20100201-234756_2012227912-all.gsm on this server.

How can I enable it???

Many thanks who has a kind heart to help me.

Note: I already bought PDF manual at Eflo.net but to enable setting isn't there.

PostPosted: Mon Feb 01, 2010 6:16 pm
by gardo
Recording access is enabled by default via local area network only for security reasons. You need to edit "/etc/httpd/conf.d/vicidial-recordings" and insert your IP address or IP range. Reload or restart httpd after editing.

1. nano /etc/httpd/conf.d/vicidial-recordings
2. service httpd reload

PostPosted: Tue Feb 02, 2010 11:28 am
by enavaro
Thanks Gardo, but can you teach me how to make the recording files to be accessible in any ip private or public automatically?

PostPosted: Tue Feb 02, 2010 11:38 am
by enavaro
Gardo I think the directory you are referring to is /etc/httpd/conf.d/vicidial_recordings.conf right ?

<Directory "/var/spool/asterisk/monitorDONE">
Order Deny,Allow
Deny from all
Allow from 127.0.0.1 192.168
Options Indexes FollowSymLinks

</Directory>

Alias /RECORDINGS /var/spool/asterisk/monitorDONE
Alias /recordings /var/spool/asterisk/monitorDONE

How can I make it accessible to any IP? Should I delete the 'Deny from all' ?

Need your advice. Thanks

PostPosted: Tue Feb 02, 2010 11:45 am
by enavaro
Got it Gardo, just mark the 'Deny from all' just to allow any IP to access the recordings.

<Directory "/var/spool/asterisk/monitorDONE">
Order Deny,Allow
# Deny from all
Allow from 127.0.0.1 192.168
Options Indexes FollowSymLinks

</Directory>

Alias /RECORDINGS /var/spool/asterisk/monitorDONE
Alias /recordings /var/spool/asterisk/monitorDONE

Then do the httpd reload.

I can download recordings via my mobile internet dongle.

Thanks Gardo your the best. =)

PostPosted: Tue Feb 02, 2010 12:57 pm
by gardo
Glad to know that it's ok now.