Page 1 of 1

Call Recording Options

PostPosted: Thu Jul 08, 2010 9:45 am
by mudasir
Hi,

I am working on a server for inbound campaign. Everything is working fine, except that i dont see any recordings in /var/spool/asterisk/monitorDONE/GSM

In my campaign i have setup
Campaign Rec exten=8310
Campaign Recording = ALLFORCE
Campaign Rec Filename = FULLDATE_CUSTPHONE_AGENT

But i dont get any recordings.
And when i try to do with MixMonitor in extensions.conf, it works but i am unable to get Agent SIP entension, and when i set filename with ${EXTEN} it gets the extension of my sip trunk not of the AGENT SIP extension.

All calls land on extension 9999, and then transfered to Agents using AGI, so the ${EXTEN} gives me 9999 rather then the agent extension which is for example cc101.

I want to set all recordings in this format "FULLDATE_CUSTPHONE_AGENT"
if anyone knows how to get the AGENT extension rather then the SIP trunk please let me know, it will be of great help to me.

PostPosted: Thu Jul 08, 2010 9:55 am
by mflorell
What are the crontab entries set to for audio processing?

is anything in the ORIG directory?

PostPosted: Thu Jul 08, 2010 10:10 am
by mudasir
Hi,

crontab -e shows following audio related entries
Code: Select all
### 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


No dear i do not see anything in my ORIG folder.

PostPosted: Thu Jul 08, 2010 10:43 am
by mudasir
Hi,

Following is my dialplan related to the issue.

# 9999 is a sip trunk with another host, calls land on 9999 then 1122 sip extension defined in extensions.conf is called.

exten => 9999,1,Goto(default,1122,1)
---
exten => 1122,1,Ringing ; call ringing
exten => 1122,2,Playback(music)
exten => 1122,3,Set(FILENAME=${CALLERID(NUM)}-${EXTEN}-${STRFTIME(${EPOCH},,%Y%m%d-%H%M%S)})
exten => 1122,4,MixMonitor(${FILENAME}.wav)
exten => 1122,5,Answer ; Answer the line
exten => 1122,6,AGI(agi-VDAD_ALL_inbound.agi,CID-----SO-----SALES-----111111111-----Closer-----park----------111-----1)
exten => 1122,7,Hangup


I just want to know how can i set the AGENT SIP extension rather then the 1122 extension in the following line
exten => 1122,3,Set(FILENAME=${CALLERID(NUM)}-${EXTEN}-${STRFTIME(${EPOCH},,%Y%m%d-%H%M%S)})

because the ${EXTEN} is giving me 1122.


Looking for a positive reply.

PostPosted: Thu Jul 08, 2010 10:45 am
by mflorell
Why are you recording like that?

Are you using the agent web interface?

PostPosted: Thu Jul 08, 2010 10:51 am
by mudasir
Agents log-in to the vicidial web interface and Xlite is being used as a softphone.

I commented the MixMonitor line, but i got no recording in GSM or ORIG folder.
This is the only method i can come up with to record calls, because vicidial is not recording.

PostPosted: Thu Jul 08, 2010 11:04 am
by mflorell
If ViciDial is not recording then something is wrong with your setup, because it is capable of recording once you complete a vicidialnow or vicibox install by default.

PostPosted: Thu Jul 08, 2010 11:42 am
by mudasir
Dear is there any work around for this.

PostPosted: Thu Jul 08, 2010 12:34 pm
by mudasir
Now i have installed VicidialNOW on a separate server, and now i am getting this error
"There is a time synchronization problem with your system, please tell your system administrator"

I have not changed anything, i have only created a campaign, a list, an in-group and done only few settings in extensions.conf.

How to resolve this issue.

PostPosted: Thu Jul 08, 2010 5:02 pm
by gardo
You can easily solve that by synchronizing your server and workstations to a time server. Please search the forum first. This has been discussed and resolved.

As for your recording issue, please post your Asterisk CLI when dialing.

mudasir wrote:Now i have installed VicidialNOW on a separate server, and now i am getting this error
"There is a time synchronization problem with your system, please tell your system administrator"

I have not changed anything, i have only created a campaign, a list, an in-group and done only few settings in extensions.conf.

How to resolve this issue.

PostPosted: Fri Jul 09, 2010 1:34 pm
by mudasir
Hi,

Dear time synchronization issue is now resolved.
I have created following in vicidial admin panel
1. campaign (closer allow, name=SALES)
2. in-group (id=SALES)
3. list (list id=111)
4. phones
5. users

now user logs in perfectly and receives the message "you are currently the only person in this conference"

Following is the dial plan for inbound calls

9999 is a sip trunk to a remote local server on same IP Network.

exten => 9999,1,Goto(default,1122,1)
---
exten => 1122,1,Ringing ; call ringing
exten => 1122,2,Playback(music)
exten => 1122,5,Answer ; Answer the line
exten => 1122,6,AGI(agi-VDAD_ALL_inbound.agi,CID-----SO-----SALES-----111111111-----Closer-----park----------111-----1)
exten => 1122,7,Hangup

Now what is happening is that on asterisk CLI i can see that calls are landing properly, but after about 5 or 6 seconds DeadAGI script is executed and calls are terminated without going to any agent.

Just becasue of this issue i have installed VicidialNOW more than 3 times on my Testing server.

Any help will be greatly appreciated.