Page 1 of 1

zero queue seconds

PostPosted: Mon Apr 29, 2013 7:39 am
by ivschakravarthi
Hello,

Vicidial 2.2.1 ,asterisk 1.4.15,single server, Centos5.5 ,No telephony card,No cluster

We have an inbound setup and i have observed queue_seconds in vicidial_closer_log table [queue time] as zero seconds even though queued_position is greater than 0 i.e.,call has been entered into the queue.

When i went to the agi logs i have seen the update command of queue seconds as
"update vicidial_closer_log set queue_seconds='87' where lead_id='xxx' and call_date='2013-04-28 10:03:57'

But in the vicidial_closer_log table the particular lead_id is inserted with the call_date 2013-04-28 10:03:58 where there is 1 second difference and due to which the update command from the AGI got executed which zero records effected and queue time is not updated.
I have around 1000 calls out of 10,000 calls which the above scenario.
Is it ok if i change the update command in the AGI such that it will update the queue seconds only on basis of lead id?
update vicidial_closer_log set queue_seconds='87' where lead_id='xxx'

Will it effect any thing else?

Re: zero queue seconds

PostPosted: Mon Apr 29, 2013 8:19 am
by mflorell
I'm not sure if this is still an issue in the current Vicidial code. It looks like you are using a version from 3 years ago, a lot of changes have been made since then.
I would suggest upgrading to the latest svn/trunk version first to confirm if the issue is still present.

Re: zero queue seconds

PostPosted: Mon Apr 29, 2013 7:23 pm
by williamconley
Is it ok if i change the update command in the AGI such that it will update the queue seconds only on basis of lead id?
Nope. Whenever you have two calls from the same prospect, it will change all the calls in history. LOL

I'd recommend a simple upgrade as Matt suggests. Why fix it if it's likely already fixed? And you'll get a lot more features! Seriously. 8-)

Re: zero queue seconds

PostPosted: Thu May 02, 2013 2:00 am
by ivschakravarthi
Thanks william,
As suggested by you ,I am planning to upgrade to vicidial 2.6 version .

Re: zero queue seconds

PostPosted: Fri May 10, 2013 1:28 am
by ivschakravarthi
Hi william,
I am currently using vicidial 2.2 version.i want to upgrade and i just want to check whether i can go for vicidial svn latest trunk 2.6 version or go with vicidial 2.4 version.
Because in the vicidial.org home site there is only link of vicidial 2.4 version download.which is the stable release?