GoAutoDial - Call Recordings Issues

General and Support topics relating to ViciDialNow and GoAutoDial ISO installers

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

GoAutoDial - Call Recordings Issues

Postby gurugee1 » Fri Mar 18, 2011 12:53 pm

Hi,

VERSION: 2.2.1-237
BUILD: 100510-2015

I have installed GoAutoDial with TE220 Digium,
from Agent VICIDIAL Recording Override : All Force.
in campaign : All Force is also selected for recordings.

I'm not getting recordings either call from manual, or predictive.

I have add in extensions.conf this :

[default]
include => vicidial-auto


exten => _010*128*210*050*.,1,Goto(default,${EXTEN:16},1)


#####DIALPLAN BY ADMIN FOR MAKING OUTGOING CALLS VIA PRI LINE #########


exten => _x.,1,NoOp(${CALLERID(num)})
exten => _x.,n,Set(CALLERID(num)=999)
exten => _x.,n,NoOp(${CALLERID(num)}}
exten => _x.,n,AGI(agi://127.0.0.1:4577/call_log)
exten => _x.,n,Dial(${TRUNKX}/${EXTEN:2},,Tto)
exten => _x.,n,Hangup

and further using dahdi-channels.conf, chan_dahdi.conf and (/etc/dahdi/system.conf).

my CLI is this :

Mar 18 21:34:34] -- Executing [923467580361@default:3] NoOp("Local/923467580361@default-7 555,2", "") in new stack
[Mar 18 21:34:34] -- Executing [923467580361@default:4] AGI("Local/923467580361@default-75 55,2", "agi://127.0.0.1:4577/call_log") in new stack
[Mar 18 21:34:34] -- AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
[Mar 18 21:34:34] -- Executing [923467580361@default:5] Dial("Local/923467580361@default-7 555,2", "DAHDI/g0/3467580361||Tto") in new stack
[Mar 18 21:34:34] -- Requested transfer capability: 0x00 - SPEECH
[Mar 18 21:34:34] -- Called g0/3467580361
[Mar 18 21:34:34] ERROR[10307]: utils.c:966 ast_carefulwrite: write() returned error: Broken p ipe
[Mar 18 21:34:34] ERROR[10307]: utils.c:966 ast_carefulwrite: write() returned error: Broken p ipe
[Mar 18 21:34:34] -- AGI Script agi-VDAD_ALL_outbound.agi completed, returning 0
[Mar 18 21:34:34] -- Executing [8307@default:1] Answer("DAHDI/4-1", "") in new stack
[Mar 18 21:34:34] -- Executing [8307@default:2] Playback("DAHDI/4-1", "vm-goodbye") in new stack
[Mar 18 21:34:34] -- <DAHDI/4-1> Playing 'vm-goodbye' (language 'en')
[Mar 18 21:34:34] -- DAHDI/3-1 is proceeding passing it to Local/923467580361@default-7555 ,2
[Mar 18 21:34:34] -- DAHDI/3-1 is making progress passing it to Local/923467580361@default -7555,2
[Mar 18 21:34:34] -- DAHDI/3-1 is making progress passing it to Local/923467580361@default -7555,2
[Mar 18 21:34:34] -- Channel 0/3, span 1 got hangup request, cause 0
[Mar 18 21:34:34] -- Hungup 'DAHDI/3-1'
[Mar 18 21:34:34] == Everyone is busy/congested at this time (1:0/0/1)
[Mar 18 21:34:34] -- Executing [923467580361@default:6] Hangup("Local/923467580361@default -7555,2", "") in new stack
[Mar 18 21:34:34] == Spawn extension (default, 923467580361, 6) exited non-zero on 'Local/92 3467580361@default-7555,2'
[Mar 18 21:34:34] -- Executing [h@default:1] DeadAGI("Local/923467580361@default-7555,2", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16-----CHANUNAVAIL----------") i n new stack
[Mar 18 21:34:34] -- AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... -NODEBUG-- ---16-----CHANUNAVAIL---------- completed, returning 0
[Mar 18 21:34:35] -- Executing [8307@default:3] Hangup("DAHDI/4-1", "") in new stack
[Mar 18 21:34:35] == Spawn extension (default, 8307, 3) exited non-zero on 'DAHDI/4-1'
[Mar 18 21:34:35] -- Executing [h@default:1] DeadAGI("DAHDI/4-1", "agi://127.0.0.1:4577/ca ll_log--HVcauses--PRI-----NODEBUG-----16---------------") in new stack
[Mar 18 21:34:35] -- AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... -NODEBUG-- ---16--------------- completed, returning 0
[Mar 18 21:34:35] -- Hungup 'DAHDI/4-1'
[Mar 18 21:34:38] == Manager 'sendcron' logged off from 127.0.0.1
[Mar 18 21:34:43] -- DAHDI/1-1 answered Local/923464106109@default-a792,2
[Mar 18 21:34:43] > Channel Local/923464106109@default-a792,1 was answered.
[Mar 18 21:34:43] ERROR[10144]: utils.c:966 ast_carefulwrite: write() returned error: Broken p ipe
[Mar 18 21:34:43] ERROR[10144]: utils.c:966 ast_carefulwrite: write() returned error: Broken p ipe
[Mar 18 21:34:43] ERROR[10144]: utils.c:966 ast_carefulwrite: write() returned error: Broken p ipe
[Mar 18 21:34:43] == Manager 'sendcron' logged off from 127.0.0.1
[Mar 18 21:34:43] -- Executing [8368@default:1] Playback("Local/923464106109@default-a792, 1", "sip-silence") in new stack
[Mar 18 21:34:43] -- <Local/923464106109@default-a792,1> Playing 'sip-silence' (language ' en')
[Mar 18 21:34:43] WARNING[10387]: file.c:1292 waitstream_core: Unexpected control subclass '-1 '
[Mar 18 21:34:43] -- Executing [8368@default:2] AGI("DAHDI/1-1", "agi://127.0.0.1:4577/cal l_log") in new stack
[Mar 18 21:34:43] -- Executing [h@default:1] DeadAGI("Local/923464106109@default-a792,2", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16-----ANSWER-----42-----0") in new stack
[Mar 18 21:34:43] -- AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
[Mar 18 21:34:43] -- Executing [8368@default:3] AGI("DAHDI/1-1", "agi-VDAD_ALL_outbound.ag i|NORMAL-----LB") in new stack
[Mar 18 21:34:43] -- AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... -NODEBUG-- ---16-----ANSWER-----42-----0 completed, returning 0
[Mar 18 21:34:43] -- Launched AGI Script /var/lib/asterisk/agi-bin/agi-VDAD_ALL_outbound.a gi
[Mar 18 21:34:43] == Spawn extension (default, 923464106109, 5) exited non-zero on 'Local/92 3464106109@default-a792,2'
[Mar 18 21:34:46] == Parsing '/etc/asterisk/manager.conf': [Mar 18 21:34:46] Found
[Mar 18 21:34:46] == Manager 'sendcron' logged on from 127.0.0.1

Please help .

thanks
gurugee1
 
Posts: 88
Joined: Wed Dec 01, 2010 2:38 pm

Postby williamconley » Fri Mar 18, 2011 1:48 pm

please post your recording settings for the agent and campaign

also list your recording management scripts running under crontab -e

they will look something like this:
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_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 --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 --MP3
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 gurugee1 » Fri Mar 18, 2011 2:18 pm

Here is the settings of agents and campaing for recordings in vicidial.

1) VICIDIAL Recording Override : All Force
2) Campaign Recording : All Force

here is the setting of my crontab e.

I have this in my crontab e, should I remove the # sign

### 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_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
#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

Regards,
gurugee1
 
Posts: 88
Joined: Wed Dec 01, 2010 2:38 pm

Postby williamconley » Fri Mar 18, 2011 2:25 pm

consider running those active scripts manually in debug mode and see if they are crashing. then make a call and see if it attempts to move the recording after.

Code: Select all
perl /usr/share/astguiclient/AST_CRON_audio_1_move_mix.pl --debugX


look in the /var/spool/asterisk/monitor folder and the monitorDONE folder to see where the recordings are and where they get moved.
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 gurugee1 » Sat Mar 19, 2011 4:49 am

[root@go astguiclient]# perl /usr/share/astguiclient/AST_CRON_audio_1_move_mix.pl --debugX

----- DEBUG -----


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

DONE... EXITING

Thats my output, looks like no error in them, having issue in this server only. the other one with the same settings works fine, but they are on SIP connections, and on this server, we are using E1 PRI and Dahdi.

anything else u want me to check ? please guide.
thanks
gurugee1
 
Posts: 88
Joined: Wed Dec 01, 2010 2:38 pm

Postby williamconley » Sat Mar 19, 2011 11:38 am

are there any files in /var/spool/asterisk/monitor or monitorDONE during calls and/or after calls?
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 gurugee1 » Sat Mar 19, 2011 12:41 pm

I have checked all folder, ORIG, monitor, MonoitorDone. GSM,
nothing in these folders.

I think, it could be extensions.conf


exten => _x.,1,NoOp(${CALLERID(num)})
exten => _x.,n,Set(CALLERID(num)=345)
exten => _x.,n,NoOp(${CALLERID(num)}}
exten => _x.,n,AGI(agi://127.0.0.1:4577/call_log)
exten => _x.,n,Dial(${TRUNKX}/${EXTEN:2},,Tto)
exten => _x.,n,Hangup

Do I need to add these lines etc


;exten => _1x.,1,SetVar(CALLFILENAME=${ACCOUNTCODE}-${EXTEN}-${TIMESTAMP})
;exten => _x.,n,Monitor(wav,${CALLFILENAME},m)
gurugee1
 
Posts: 88
Joined: Wed Dec 01, 2010 2:38 pm

Postby williamconley » Sat Mar 19, 2011 12:53 pm

you should not be using _x. for your extension. you should have a pattern matching your actual calls. _x. is far too vague and can cause issues with other dial patterns within the "default" context in extensions.conf and included files.

change to something like:

_91NXXNXXXXXX (USA)

_91XXXXXXXXXX (10 digit with 91 removable)

tell us your phone number length/pattern rules and we can help construct one.

otherwise, you could spend weeks building a dialplan to match the one that's already built in vicidial (with thousands of man-hours behind it). kinda wasteful.
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 gurugee1 » Sat Mar 19, 2011 1:59 pm

Okay, my phone numbers are like this 923 228444628.
here all leads have 923, I means all numbers start with 923 in the list provided from leads generation team.

My carrier accept calls(number) start from 923,

In short, can I make change in dialplan like this


exten => _923x.,1,NoOp(${CALLERID(num)})
exten => _923x.,n,Set(CALLERID(num)=345)
exten => _923x.,n,NoOp(${CALLERID(num)}}
exten => _923x.,n,AGI(agi://127.0.0.1:4577/call_log)
exten => _923x.,n,Dial(${TRUNKX}/${EXTEN:2},,Tto)
exten => _923x.,n,Hangup


is it correct ?

and Do you think I have recordings issue bcz of dialplan prefix. ?
gurugee1
 
Posts: 88
Joined: Wed Dec 01, 2010 2:38 pm

Postby williamconley » Sat Mar 19, 2011 2:25 pm

exten => _923x.,n,Dial(${TRUNKX}/${EXTEN:2},,Tto)
so numbers will match like this:

9235555555

then EXTEN:2 will strip off the first two digits, and this will be sent to your provider:

35555555

Perhaps you should try "EXTEN" instead 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 gurugee1 » Sun Mar 20, 2011 11:52 am

No, I will use EXTEN:2 becuase my carrier accept call from 3555555.

thanks, I have correct my dial plan, now it looks like this

exten => _9231x.,1,SetVar(CALLFILENAME=${ACCOUNTCODE}-${EXTEN}-${TIMESTAMP})
exten => _9231x.,n,Monitor(wav,${CALLFILENAME},m)
exten => _923x.,1,NoOp(${CALLERID(num)})
exten => _923x.,n,Set(CALLERID(num)=345)
exten => _923x.,n,NoOp(${CALLERID(num)}}
exten => _923x.,n,AGI(agi://127.0.0.1:4577/call_log)
exten => _923x.,n,Dial(${TRUNKX}/${EXTEN:2},,Tto)
exten => _923x.,n,Hangup

Even after changing this, I'm not getting the recordings of calls. pls help
thanks
gurugee1
 
Posts: 88
Joined: Wed Dec 01, 2010 2:38 pm

Postby williamconley » Sun Mar 20, 2011 1:25 pm

1)
My carrier accept calls(number) start from 923
you're trying to confuse me?
becuase my carrier accept call from 3555555

2) you should have three lines, similar to this:
exten => _91XXXXXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _91XXXXXXXXXX,2,Dial(${TRUNKNAME}/${EXTEN:2},,tTor)
exten => _91XXXXXXXXXX,3,Hangup
your call files should be generated by the system if you have a stock setup of vicibox (this should also be true for a stock goautodial, but i have not tested this with your hardware because we do not use hardware for any of our dialers, we use VOIP only in our systems, so I'd have to look directly at your system to see what is odd that blocks recordings).

your number "X"s above will be determined by the length of the phone numbers in your area (expected by your carrier).

you should not have a "." in your dial pattern.

you should not be setting the callerid directly within your dialplan, but using the vicidial callerid field to generate the callerid (and you seriously are trying to set your callerid to a 3 digit number?)

you cannot mix "9231x" and "923x" in the same pattern, they will be seperated and ONLY one of them will be used (patterns are "program names", if you change the name in any way, it is a different program and will not be "mixed" with the other one).
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 gurugee1 » Mon Mar 21, 2011 1:18 pm

Thank you.

My issue has been resolved. I add this in my extensions.conf.

DIALPLAN BY KAZ FOR MAKING OUTGOING CALLS VIA PRI LINE #########

exten => _923x.,1,Set(MONITOR_FILENAME=${CALLERID(name)}_${CALLERID(dnid)}_${STRFTIME(${EPOCH},,%Y%m%d-%H%M%S)})
exten => _923x.,n,NoOP(Caller Id is = ${CALLERID(num)})
exten => _923x.,n,MixMonitor(${MONITOR_FILENAME}.wav,m)
exten => _923x.,n,NoOp(${CALLERID(num)})
exten => _923x.,n,Set(CALLERID(num)=345)
exten => _923x.,n,NoOp(${CALLERID(num)})
exten => _923x.,n,AGI(agi://127.0.0.1:4577/call_log)
exten => _923x.,n,Dial(${TRUNKX}/${EXTEN:2},,Tto)
exten => _923x.,n,Hangup

#####

My carrier accept all calls start from 923XXXXXX.
thank you vey much to all team, I'm happy my issue is fixed.
especial thanks to striker24x7.
gurugee1
 
Posts: 88
Joined: Wed Dec 01, 2010 2:38 pm

Postby gardo » Tue Mar 22, 2011 4:00 pm

That is a quick fix outside of Vicidial. It doesn't really solve the recording issue you're having with Vicidial. Call recordings via Vicidial are accessible via the web based admin GUI. You can easily search and download recordings with a click of a mouse.
http://goautodial.com
Empowering the next generation contact centers
gardo
 
Posts: 1926
Joined: Fri Sep 15, 2006 10:24 am
Location: Manila, 1004

Postby williamconley » Wed Mar 23, 2011 10:53 pm

i think he said earlier that he tried that and it didn't work ... so he is working outside vicidial (in the dialplan instead) because ... it works. i get the impression he knows asterisk enough to be dangerous, so it's likely there are other things changed that blocked it in the first place ... eventually he'll get used to vicidial and figure it out. 8) We all do.
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!)


Return to ViciDialNow - GoAutoDial

Who is online

Users browsing this forum: No registered users and 26 guests