Project

General

Profile

Send abandon call details to external CRM

Added by Raju Mourya over 10 years ago

I am working on integrating goautodial with an external CRM (not VTiger).

I need to send each and every call data(including abandon calls inbound/outbound both) to the external CRM. Using dispo call URL, I am able to send most of the data, but dispo call URL does not work for abandon calls.

Is there any API available to send the abandon call details. If not, can someone please let me know which file updates the database tables vicidial_closer_log and vicidial_log for abandon calls, so that I can add code to send CURL request to external CRM.


Replies (3)

RE: Send abandon call details to external CRM - Added by Demian Biscocho over 10 years ago

There is currently no API for that. You need to get the abandon calls from the database. Normally they are dispositioned as DROPPED by the system.

RE: Send abandon call details to external CRM - Added by Raju Mourya over 10 years ago

Thanks for the reply Demian.

I know, I can create a script to fetch the drop calls details from vicidial_log table and send it back to external system. But still one has to call the script on timely basis for sending data. I can even setup cron to do so.

But still I would prefer sending the drop call detail in real time. If there is no API, can you please let me know the script page which does the task of adding drop call details to the vicidial_log table. I will modify it to suite my requirements.

I tried searching for the script and only page I found having insert queries for vicidial_log was vdc_db_query.php. But seems this pages only insert details for the call which gets connected with agents. Drop call(user=VDAD) are inserted into the vicidial_log table by some other script and I am not able to figure out that script file.

It would be really helpful if you can provide the details about the file which inserts drop call details into vicidial_log table.

RE: Send abandon call details to external CRM - Added by Chris Lomuntad over 10 years ago

Try looking at the files below for the query on inserting/updating of the call logs on vicidial_log and/or vicidial_closer_log:

/usr/share/astguiclient/FastAGI_log.pl
/var/lib/asterisk/agi-bin/agi-VDAD_ALL_inbound.agi
/var/lib/asterisk/agi-bin/agi-VDAD_ALL_outbound.agi

Cheers,
Chris

    (1-3/3)
    Go to top