Page 1 of 1

trying to figure out how vicidial_log get's updated

PostPosted: Mon Nov 07, 2016 3:31 am
by callforamerica
trying to figure out how vicidial_log get's updated for outbound campaigns that go through the agi-VDAD_ALL_outbound.agi script.

I see several places where we insert, and update vicidial_log here.. However, I don't see anywhere where the end_time is recorded, and where the final length_in_sec of the call is recorded.

I thought it might be being processed by the FastAGI_log.pl service but find no reference to updating end_time there either.

I've grep'd through all the files in /usr/share/astguiclient and /var/lib/asterisk/agi-bin and I find any mention of end_time being updated for vicidial_log.

I'm wanting to have vicidial leads updated in another remote database, in real time by the AGI script's so I can stop Polling the vicidial_log table like I'm doing today.

Thanks,

www.callforamerica.com
(powered by Vicidial)

Re: trying to figure out how vicidial_log get's updated

PostPosted: Mon Nov 07, 2016 6:23 am
by mflorell
The vicidial_log has many places where it is updated, depending on where the call is routed. One other script that you didn't list that updates the vicidial_log entries is AST_VDauto_dial.pl