hi mflorell

General and Support topics relating to ViciDialNow and GoAutoDial ISO installers

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

hi mflorell

Postby arunkoods » Mon Jan 18, 2010 3:09 am

I am using vicidialnow C.E with sangoma PRI card and my client requires the status of the dialed calls which were switched-off,busy.notreachable etc.
But vicidial in default logs all the calls not connected as NEW -LEAD so i amde some changes.
1. In dial plan i added call log .agi
***********************************************
exten => _X.,1,Set,CALLERID(number)=4466875900
exten => _X.,n,Monitor(gsm,${TIMESTAMP}_${EXTEN}_${CALLERID(num)},b)
exten => _X.,n,AGI(call_log.agi,${EXTEN})
exten => _X.,n,Dial(Zap/g0/${EXTEN},,tTo);
exten => _X.,n, Hangup();
***************************************
2.In hangup script i added call log agi , vhnagup.agi and my own edited vdhangup.agi which logs the call details to my table which i created is adterisk database.
*************************************************
exten => h,1,DeadAGI(call_log.agi,${EXTEN})
exten => h,2,DeadAGI(VD_hangup.agi,PRI-----DEBUG-----${HANGUPCAUSE}-----${DIALSTATUS}-----${DIALEDTIME}-----${ANSWEREDTIME})
exten => h,3,DeadAGI(arun_hangup.agi,PRI-----DEBUG-----${HANGUPCAUSE}-----${DIALSTATUS}-----${DIALEDTIME}-----${ANSWEREDTIME})

*************************************************
My script everything is working fine and i am geeting my reports but some times the CPU usage goes more than 100% for 25 Users and Asterisk stops automatically.
I have also disabled all unwanted cronjobs and removed recording-mixing from cron and doing it manually after the shift.
But still my Asterisk stops at some times (3-4 times a day.).
Please help is there any way to stop this.
arunkoods
 
Posts: 98
Joined: Sat Oct 06, 2007 3:22 am

Postby mflorell » Mon Jan 18, 2010 6:28 am

Your changes are causing the problems, first you are recording EVERYTHING passed to the default dialplan with that, any reason you are not using agent recording in the interface?

You should be using a more restrictive dialplan for dialing out your E1, as it is now, everything you dial(even local phone extensions) matches _X.

Any reason you are not using the campaign CallerID setting?

Second, under high load the Asterisk 'h' exten will just randomly refuse to execute more than 1 priority, so your 2nd and 3rd steps are not running a significant percentage of the time.

admin.php version and build?
mflorell
Site Admin
 
Posts: 18384
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

hi mflorell

Postby arunkoods » Tue Jan 19, 2010 3:11 am

Thanks for your reply ,

1.Your changes are causing the problems, first you are recording EVERYTHING passed to the default dialplan with that, any reason you are not using agent recording in the interface?
SORRY what is agent recording interface, please explain me.
i have given record all calls in the campaign setting and also monitor in dial plan.

2.Any reason you are not using the campaign CallerID setting?
will setting caller id in dial plan will affect something.
arunkoods
 
Posts: 98
Joined: Sat Oct 06, 2007 3:22 am

Postby mflorell » Tue Jan 19, 2010 8:58 am

Have you read the Agent and Manager Manuals?

Yes, changing the callerID in the dialplan can affect how ViciDial works.
mflorell
Site Admin
 
Posts: 18384
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida


Return to ViciDialNow - GoAutoDial

Who is online

Users browsing this forum: No registered users and 58 guests