recording issues on vicidial.

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

recording issues on vicidial.

Postby mr.rizwan » Thu Jul 22, 2010 11:57 am

Hi all,
i am having recording issues on vicidial. i can't see vicidial recordings in on admin web interface . please have a look to link

http://oryxseo.com/recording_issue.JPG

please help me to fix this issue. i have tired my level best could not solve this issue.
Thanks in advance
Regards
Muhammad rizwan
mr.rizwan
 
Posts: 27
Joined: Tue Feb 16, 2010 4:44 pm

Postby williamconley » Thu Jul 22, 2010 5:21 pm

Please do not double post:

http://forum.eflo.net/VICIDIALforum/vie ... hp?p=50445

when you post, please post your entire configuration including (but not limited to) your installation method, vicidial version and build, asterisk version, telephony hardware (model number is helpful here), cluster information if you have one, and whether any other software is installed in the box.

Similar to This:
Vicibox X.X from .iso | Vicidial X.X.X Build XXXX | Asterisk X.X.X | Single Server | No Digium/Sangoma Hardware | No Extra Software After Installation

this IS a requirement for posting along with reading the stickies (at the top of each forum) and the manager's manual (available on EFLO.net, both free and paid versions)
__________

Have you read the manual regarding recordings?

There are cron jobs which must be activated (crontab -e). The use of the cron jobs for recordings is noted in each of the files (mix the in/out channels, convert to gsm or other format, copy to final location via ftp or file system or both ...)
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

hello

Postby mr.rizwan » Thu Jul 22, 2010 5:35 pm

william, thanks for your reply. i am using
i have done scratch installation of vicidial 2.0.5. i am using asterisk 1.4 its a single server and i am using zaptel dummy.
i have enter cron jobs given below is my crontab -e information. how can i active cron jobs?

### recording mixing/compressing/ftping scripts
0,3,6,9,12,15,18,21,24,27,30,33,36,39,42,45,48,51,54,57 * * * * /usr/share/astguiclient/AST_CRON_audio_1_move_mix.pl
#0,3,6,9,12,15,18,21,24,27,30,33,36,39,42,45,48,51,54,57 * * * * /usr/share/astguiclient/AST_CRON_audio_1_move_VDonly.pl
1,4,7,10,13,16,19,22,25,28,31,34,37,40,43,46,49,52,55,58 * * * * /usr/share/astguiclient/AST_CRON_audio_2_compress.pl --GSM
#2,5,8,11,14,17,20,23,26,29,32,35,38,41,44,47,50,53,56,59 * * * * /usr/share/astguiclient/AST_CRON_audio_3_ftp.pl --GSM

### keepalive script for astguiclient processes
* * * * * /usr/share/astguiclient/ADMIN_keepalive_ALL.pl

### kill Hangup script for Asterisk updaters
* * * * * /usr/share/astguiclient/AST_manager_kill_hung_congested.pl

### updater for voicemail
* * * * * /usr/share/astguiclient/AST_vm_update.pl

### updater for conference validator
* * * * * /usr/share/astguiclient/AST_conf_update.pl

### flush queue DB table every hour for entries older than 1 hour
11 * * * * /usr/share/astguiclient/AST_flush_DBqueue.pl -q

### fix the vicidial_agent_log once every hour
33 * * * * /usr/share/astguiclient/AST_cleanup_agent_log.pl

### updater for VICIDIAL hopper
* * * * * /usr/share/astguiclient/AST_VDhopper.pl -q

### adjust the GMT offset for the leads in the vicidial_list table
1 1 * * * /usr/share/astguiclient/ADMIN_adjust_GMTnow_on_leads.pl --debug

### reset several temporary-info tables in the database
2 1 * * * /usr/share/astguiclient/AST_reset_mysql_vars.pl

### optimize the database tables within the asterisk database
3 1 * * * /usr/share/astguiclient/AST_DB_optimize.pl

## adjust time on the server with ntp
30 * * * * /usr/sbin/ntpdate -u pool.ntp.org 2>/dev/null 1>&2

### VICIDIAL agent time log weekly and daily summary report generation

### VICIDIAL campaign export scripts (OPTIONAL)
#32 0 * * * /usr/share/astguiclient/AST_VDsales_export.pl
#42 0 * * * /usr/share/astguiclient/AST_sourceID_summary_export.pl

### remove old recordings more than 7 days old
#24 0 * * * /usr/bin/find /var/spool/asterisk/monitorDONE -maxdepth 2 -type f -mtime +7 -print | xargs rm -f

### remove old vicidial logs and asterisk logs more than 2 days old
28 0 * * * /usr/bin/find /var/log/astguiclient -maxdepth 1 -type f -mtime +2 -print | xargs rm -f
29 0 * * * /usr/bin/find /var/log/asterisk -maxdepth 3 -type f -mtime +2 -print | xargs rm -f
30 0 * * * /usr/bin/find / -maxdepth 1 -name "screenlog.0*" -mtime +4 -print | xargs rm -f
mr.rizwan
 
Posts: 27
Joined: Tue Feb 16, 2010 4:44 pm

Postby williamconley » Thu Jul 22, 2010 5:42 pm

1) try manually running the scripts regarding recordings (read them to see how to run them if necessary, there are instructions for use inside and the program that runs them is called perl, so you can type "perl xxxx" to execute them if you like from within the folder they are in)
0,3,6,9,12,15,18,21,24,27,30,33,36,39,42,45,48,51,54,57 * * * * /usr/share/astguiclient/AST_CRON_audio_1_move_mix.pl
1,4,7,10,13,16,19,22,25,28,31,34,37,40,43,46,49,52,55,58 * * * * /usr/share/astguiclient/AST_CRON_audio_2_compress.pl --GSM

2) what are your recording settings for the campaign (modify the campaign to check)

3) You didn't answer whether you read the manual regarding recordings ... :)

4) try vicibox, vicibox redux, or vicidialnow ... scratch installs are a headache :)
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Postby garfunct » Tue Jun 28, 2011 11:46 pm

I notice comparing "from scratch install" to "vicibox" extensions.conf
is missing 8309 and 8310 which are standard extensions for recording from what I have read (manager manual).

Has that changed by chance?

vicibox 3.1
garfunct
 
Posts: 38
Joined: Tue Aug 07, 2007 9:55 am

Postby mflorell » Wed Jun 29, 2011 6:41 am

Yes, those are generated and in the extensions-vicidial.conf file now, that is covered in the UPGRADE doc.
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby garfunct » Wed Jun 29, 2011 9:29 am

Think i need to make a document of documents :)

Is it possible that using the loopback interface would prevent recording from taking place?

We are using a canadian provider and therefore need to use this for call display...

I have set recording ext to 8310 for gsm and ALLFORCE
Also using 8369 for vm detection.


VICIBOX 3.1
VERSION: 2.2.1-237
BUILD: 100510-2015
garfunct
 
Posts: 38
Joined: Tue Aug 07, 2007 9:55 am

Postby williamconley » Wed Jun 29, 2011 10:06 am

garfunct wrote:Is it possible that using the loopback interface would prevent recording from taking place?
Test. Set up a "textbook example" call (with your own cell phone!) and see if it records. Then slowly modify the textbook example to match your actual setup ... and tell us which setting "breaks" it.
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Postby garfunct » Wed Jun 29, 2011 2:16 pm

Recordings just hiding from me ...

Works fine with the loopback interface just so no-one is left hanging here.

Now if I could just find where they ftp-d to I will be happy :lol:
garfunct
 
Posts: 38
Joined: Tue Aug 07, 2007 9:55 am

Postby williamconley » Wed Jun 29, 2011 2:23 pm

look in astguiclient.conf and check your archive server. the directory in question will likely be "relative" to the home directory of the ftp user whose credentials are being used.
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Postby garfunct » Wed Jun 29, 2011 2:39 pm

Thanks for such fast replies William thats awesome

May be you can help clarify couple more things:

1. astguiclient.conf settings will over-ride "default settings" in
/usr/share/astguiclient/AST_CRON_audio_3_ftp.pl

$VARFTP_host = 'x.x.x.x';
$VARFTP_user = 'admin';
$VARFTP_pass = 'xxxxxxx';
$VARFTP_port = '21';
$VARFTP_dir = 'RECORDINGS';
$VARHTTP_path = 'http://x.x.x.x'; should this have /archive/RECORDINGS added to it?

ie no need to change ftp credentials in the perl script?

2. /var/spool/asterisk/monitorDONE has directory for the different file types like GSM and WAV and has files in them (as i have tried both gsm and wav in camp settings for fun) . When i run the perl script manually it takes a few secounds and no error however i do not see the files.

Archive server has user "admin" that i set up with on install
has directory /home/admin and I added dir RECORDINGS

I can manually ftp to the server.

debug the perl script:
----- DEBUG -----


----- SUPER DEBUG -----

GSM audio files
DONE... EXITING

I must be close... thanks again for the help
garfunct
 
Posts: 38
Joined: Tue Aug 07, 2007 9:55 am

Postby williamconley » Wed Jun 29, 2011 2:55 pm

garfunct wrote:T1. astguiclient.conf settings will over-ride "default settings" in
/usr/share/astguiclient/AST_CRON_audio_3_ftp.pl
...
ie no need to change ftp credentials in the perl script?
Yep.

Can you create a dir when ftp'd to the server? can you ftp to the server while logged in from the dialer?

Are there recordings which are ready to be moved?

What line did you use to execute the ftp script?

Disable the ftp script in crontab and only run it manually until you get it to work. Execute with --debugX if I recall the superdebug option correctly. 8)
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Postby garfunct » Wed Jun 29, 2011 4:00 pm

With correct dir permissions ..... now off to the races

Thnks again
garfunct
 
Posts: 38
Joined: Tue Aug 07, 2007 9:55 am

Postby williamconley » Wed Jun 29, 2011 10:11 pm

oooOOOOoooo good postback. Permissions is important. 8)
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

recording issue

Postby xhunnn » Tue Jul 12, 2011 11:33 am

can someone here knows how to edit the hertz of the mp3 in recording of the vici?





Vicibox Redux 3.1.9 | Admin VERSION: 2.4-322a BUILD: 110703-1400 | Agent VERSION: 2.4-333c BUILD: 110626-2234
Linux 2.6.34.8-0.2-pae #1 SMP | Perl v5.12.1 | Asterisk 1.4.39.1-vici | Mysql 14.14 Distrib 5.1.46 | PHP 5.3.3
xhunnn
 
Posts: 42
Joined: Fri May 20, 2011 8:54 pm

Re: recording issue

Postby krishnakeshwar » Wed Jul 20, 2011 2:09 am

xhunnn wrote:can someone here knows how to edit the hertz of the mp3 in recording of the vici?





Vicibox Redux 3.1.9 | Admin VERSION: 2.4-322a BUILD: 110703-1400 | Agent VERSION: 2.4-333c BUILD: 110626-2234
Linux 2.6.34.8-0.2-pae #1 SMP | Perl v5.12.1 | Asterisk 1.4.39.1-vici | Mysql 14.14 Distrib 5.1.46 | PHP 5.3.3



paste this in crontab



0,3,6,9,12,15,18,21,24,27,30,33,36,39,42,45,48,51,54,57 * * * * /usr/share/astguiclient/AST_CRON_audio_1_move_mix.pl
#0,3,6,9,12,15,18,21,24,27,30,33,36,39,42,45,48,51,54,57 * * * * /usr/share/astguiclient/AST_CRON_audio_1_move_mix.pl --MIX
#0,3,6,9,12,15,18,21,24,27,30,33,36,39,42,45,48,51,54,57 * * * * /usr/share/astguiclient/AST_CRON_audio_1_move_VDonly.pl
#1,4,7,10,13,16,19,22,25,28,31,34,37,40,43,46,49,52,55,58 * * * * /usr/share/astguiclient/AST_CRON_audio_2_compress.pl --GSM
1,4,7,10,13,16,19,22,25,28,31,34,37,40,43,46,49,52,55,58 * * * * /usr/share/astguiclient/AST_CRON_audio_2_compress.pl --MP3
#2,5,8,11,14,17,20,23,26,29,32,35,38,41,44,47,50,53,56,59 * * * * /usr/share/astguiclient/AST_CRON_audio_3_ftp.pl --GSM
krishnakeshwar
 
Posts: 52
Joined: Wed Jun 29, 2011 6:50 am

Postby xhunnn » Wed Jul 20, 2011 5:47 am

whats that for?

i think i have also that in my crontab..but i forgot how to use a nano to modify the crontab

coz theres an option after nano +?



Vicibox Redux 3.1.9 | Admin VERSION: 2.4-322a BUILD: 110703-1400 | Agent VERSION: 2.4-333c BUILD: 110626-2234
Linux 2.6.34.8-0.2-pae #1 SMP | Perl v5.12.1 | Asterisk 1.4.39.1-vici | Mysql 14.14 Distrib 5.1.46 | PHP 5.3.3
xhunnn
 
Posts: 42
Joined: Fri May 20, 2011 8:54 pm

Postby callcrazy » Wed Jul 20, 2011 3:24 pm

xhunnn wrote:whats that for?

i think i have also that in my crontab..but i forgot how to use a nano to modify the crontab

coz theres an option after nano +?


Code: Select all
crontab -e


Will open your default editor. If you can't handle VI as it's usually the default you can try:

Code: Select all
EDITOR=nano
export EDITOR
crontab -e
Vicibox 6.0.4 from .iso | VERSION: 2.12-538a BUILD: 160122-1401 | Asterisk 1.8.32.3-vici | 1xDB, 2xWeb, 7xPBX | Amfeltec Timers | Sangoma/Lyra AMD | Dell Hardware
callcrazy
 
Posts: 122
Joined: Fri Sep 10, 2010 11:30 am
Location: MI

Re: recording issues on vicidial.

Postby bghayad » Thu May 02, 2013 9:41 am

I am not able to see the recorded files from the admin GUI (using goautodial). I placed the files under /var/spool/asterisk/monitorDONE and /var/spool/asterisk/monitorDONE/GSM/ and /var/spool/asterisk/monitorDONE/MP3 also I gave a permission for the directory monitorDONE to be 777.

From the other side, I checked the file /etc/httpd/conf.d/vicidial_recordings.conf and below it is:

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

<files *.mp3>
Forcetype application/forcedownload
</files>
</Directory>

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


Also, I looked into /etc/astguiclient.conf and I placed the following (although I know that those parameters are not related to view the recording files but they are related for using the script to move the files to an FTP server):

# FTP recording archive connection information

VARFTP_host => 10.100.1.100
VARFTP_user => xxx
VARFTP_pass => xxx
VARFTP_port => 21
VARFTP_dir => RECORDINGS
VARHTTP_path => 10.100.1.100

The recorded files now in MP3 (actually this happened when I ran the compress script ..) and I copied them as they are to the GSM, and monitorDONE directories just to try if they are going to appear. But they are not appearing on the web interface page (under stats or search for lead).

I think I can resolve it if I can know the following:

1) To to able to see the recorded files, they have to be located on the /var/spool/asterisk/MonitorDONE directory with a full permission for this directory? Or they have to be in another location?

2) Any thing related to database need to be updated so I can see them on the web interface?

If I read the manual, yes I readed it but did not find a solution for my problem that why it is not appearing in the web interface specifically it is existed under the MP3 directory while monitorDONE has a full permission (also the MP3 has a full permission). What could be missing?

Regards
Bilal
bghayad
 
Posts: 579
Joined: Sun Jan 01, 2012 4:53 pm

Re: recording issues on vicidial.

Postby bghayad » Thu May 02, 2013 11:58 am

Resolved. I am trying to understand what happened and I will post back the reason for resolving the problem.

But, I need the manual outbound calls (when the agent place a calls directly from the handset and not through the dialer) to be recorded calls and to be shown in the agent stats .. HOW? I can add the monitor command to record .. but how the call will be recognized that it is for this agent? Do I need to add anything else other than the monitor command? Should this be via an AGI? Appreciate the help.

Regards
Bilal
bghayad
 
Posts: 579
Joined: Sun Jan 01, 2012 4:53 pm


Return to Support

Who is online

Users browsing this forum: No registered users and 54 guests