Patch Available: SLOWDOWN OF VICIDIAL

All installation and configuration problems and questions

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

Patch Available: SLOWDOWN OF VICIDIAL

Postby chander.prakash » Tue Apr 10, 2007 5:07 pm

Dear Friends

For those who face this problem can use this link to get to the patch.

It will work with any version as it is handling only the DB.

http://www.eflo.net/VICIDIALmantis/view.php?id=92

# Put this file in folder named /usr/share/astguiclient
# You need to put this as a CRONTAB entry
* * * * * /usr/share/astguiclient/AST_CLEAR_VICIDIAL_BLOCK.pl
#
# !!! RUN THIS WHILE THERE ARE ACTIVE CALLS ON THE ASTERISK SERVER !!!
Thanks

Chander
Email: vicidial.professional@gmail.com
chander.prakash
 
Posts: 46
Joined: Sat Feb 17, 2007 6:52 pm

Postby ramindia » Wed Apr 11, 2007 11:46 am

Good work chander

Is this only need to put on cron
when the process doing autodialing mode
is this right ?

just correct me if iam wrong.


how about manual dialing mode ?

ram
ramindia
 
Posts: 688
Joined: Wed Oct 11, 2006 4:06 am
Location: India

Postby chander.prakash » Wed Apr 11, 2007 12:34 pm

Hi Ram,

Thanx for appreciating my efforts.

This works fine in both auto as well as manual modes.

You need to put this file in the said folder and the crontab entry and just forget, it will do the rest.
Thanks

Chander
Email: vicidial.professional@gmail.com
chander.prakash
 
Posts: 46
Joined: Sat Feb 17, 2007 6:52 pm

Postby aster1 » Wed Apr 11, 2007 1:33 pm

DELETE from vicidial_auto_calls where channel is null and (now() - last_update_time)>=100;

I was doing exactly same thing before by deleting calls not updated since 6 mins or so . I want to make sure that it does not delete unnecessary entries ( even though channel is null many of entries are deleted by vicidial properly ) . Your script is deleting all null channels not updated from 100 secomds , right ?
Have you thoroughly tested it ? Even though it will definitely work, i just want to make sure it doesn't result in lead wastage by unnecessarily deleting entries . Let me know how well your testing went with it :) .
aster1
 
Posts: 281
Joined: Sun Dec 24, 2006 6:48 am
Location: India

Postby hmohang » Wed Apr 11, 2007 1:45 pm

Dear chander

Thanks
Himanshu Mohan
Specialist in Vicidial,asterisk installation
hmohang
 
Posts: 2
Joined: Sun Apr 08, 2007 2:31 am
Location: India

Postby chander.prakash » Wed Apr 11, 2007 1:48 pm

Dear Aster1,

Six minutes was a long time during which many channels were getting blocked and were released simultaneously on clearing the table; thereby causing abnormal behaviour of Vicidial.

We have tested this for the last six weeks and our installations are working without any issues. The dial ratios are always maintained as set by admin.

Yes my script deletes the entry which blocks the channel for 100 secs uselessly, which is considered a huge time period in predictive dialing.

The entire process of creating this patch was preceded by observing the behaviour of Vicidial_Auto_calls table for 2 weeks.

Be rest assured that no good leads are dropped.

We understand the importance of retaining good leads since we have been in the IT industry for about 15 years.
Thanks

Chander
Email: vicidial.professional@gmail.com
chander.prakash
 
Posts: 46
Joined: Sat Feb 17, 2007 6:52 pm

Postby aster1 » Wed Apr 11, 2007 3:17 pm

I just added it to my setup and its working good . Good work chander.prakash :) .
aster1
 
Posts: 281
Joined: Sun Dec 24, 2006 6:48 am
Location: India

Postby chander.prakash » Wed Apr 11, 2007 3:20 pm

Thanks Aster1.

If you face any kind of a problem please feel free to contact us as in all probability you will get a quick and a correct solution which will cater to all environments.
Thanks

Chander
Email: vicidial.professional@gmail.com
chander.prakash
 
Posts: 46
Joined: Sat Feb 17, 2007 6:52 pm


Return to Support

Who is online

Users browsing this forum: No registered users and 123 guests