API - Loading Leads

Support forum for the ViciBox ISO Server Install and ISO LiveCD Demo

Moderators: enjay, williamconley, Staydog, mflorell, MJCoate, mcargile, Kumba

API - Loading Leads

Postby randy_delgado_03 » Tue Mar 15, 2011 4:19 pm

Good Day Everyone,

Currently we're having a campaign that requires "live feed leads" meaning when we receive leads, it will automatically be inserted and dialed right away. My question is: is it possible to load leads automatically in vicidial using API?

Any suggestions, recommendations, references would be highly appreciated ...

Thanks Vicidial Team (^_^)
ViciBox v.7.0.3-160505
Asterisk 11.22.0-vici
Vicidial: VERSION: 2.12-563a BUILD: 160801-2119
Servers: Stand alone server (Database, Web, Telephony)
No Additional Softwares, No Third Party Softwares
randy_delgado_03
 
Posts: 178
Joined: Wed Dec 01, 2010 2:50 pm
Location: Manila, QC

Postby mflorell » Tue Mar 15, 2011 9:08 pm

Yes, this is possible, we have several clients doing this currently. It's just a web HTTP GET, so it can be programmed in just about any common web language like PHP, ASP, Perl, CFM, JSP
mflorell
Site Admin
 
Posts: 18383
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby randy_delgado_03 » Tue Mar 15, 2011 9:12 pm

Thanks a lot for the confirmation matt.

Do you have any references or kinda like docs for this?
ViciBox v.7.0.3-160505
Asterisk 11.22.0-vici
Vicidial: VERSION: 2.12-563a BUILD: 160801-2119
Servers: Stand alone server (Database, Web, Telephony)
No Additional Softwares, No Third Party Softwares
randy_delgado_03
 
Posts: 178
Joined: Wed Dec 01, 2010 2:50 pm
Location: Manila, QC

Postby mflorell » Wed Mar 16, 2011 9:36 am

Not really, each of our clients that use it do it their own way.
mflorell
Site Admin
 
Posts: 18383
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby randy_delgado_03 » Wed Mar 16, 2011 12:40 pm

Thanks matt, already solved my problem by researching the scripts here "/usr/share/astguiclient" and found this "VICIDIAL_IN_new_leads_file.pl".

By using a third party application, i was able to insert leads automatically.

Thanks again for the big help ...
ViciBox v.7.0.3-160505
Asterisk 11.22.0-vici
Vicidial: VERSION: 2.12-563a BUILD: 160801-2119
Servers: Stand alone server (Database, Web, Telephony)
No Additional Softwares, No Third Party Softwares
randy_delgado_03
 
Posts: 178
Joined: Wed Dec 01, 2010 2:50 pm
Location: Manila, QC

Re:

Postby oreb » Fri May 20, 2016 11:46 am

randy_delgado_03 wrote:Thanks matt, already solved my problem by researching the scripts here "/usr/share/astguiclient" and found this "VICIDIAL_IN_new_leads_file.pl".

By using a third party application, i was able to insert leads automatically.

Thanks again for the big help ...


Hi randy_delgado_03, Do you mind sharing what 3rd party application you used. I have the exact same needs and would like your help. Thanks

Regards
Ore
oreb
 
Posts: 6
Joined: Fri May 20, 2016 11:38 am

Re: API - Loading Leads

Postby williamconley » Fri May 20, 2016 1:54 pm

There are three basic methods:

1) Non Agent API: excellent for one lead at a time.

2) /usr/share/astguiclient/VICIDIAL_IN_new_leads_file.pl: will pull files which are already placed in the proper folder as soon as you execute this perl script.

3) FTP: using /usr/share/astguiclient/VICIDIAL_IN_new_leads_file.pl again, but this time the script is configured to pull from an external FTP site instead of using files already in the proper folder.

In all cases an external app will need to provide the file and/or data. In some cases the external app can be used to trigger the event as well.

But this would not be a "stock app" that you could purchase from an app store. Too simple for that (on one side of the argument: all the app may do is move a file and trigger a perl script) and too complex from the other side of the argument, since this still requires having access to the data being sent to Vicidial and properly formatting it before sending. This sort of script is usually hand-written in perl/php/javascript/bash or another simplistic scripting language.
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20253
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: API - Loading Leads

Postby oreb » Thu May 26, 2016 3:59 am

Okay, Thanks. The NON-Agent Api seems adequate. The leads come in via email one at a time, so a script to extract number from email and send into vicidial is all i'll need.

Thanks again.
oreb
 
Posts: 6
Joined: Fri May 20, 2016 11:38 am


Return to ViciBox Server Install and Demo

Who is online

Users browsing this forum: No registered users and 55 guests