API for controlling VICIDIAL

Any and all non-support discussions

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

API for controlling VICIDIAL

Postby irfanlateef » Tue Feb 10, 2009 3:27 pm

Hi,

I have an application which needs to do voice broadcast of recorded
messages without any agent/human interaction.
I am planning to use Asterisk+VICIDIAL for it.

From the understanding of the VICIDIAL application I think this can be
done without the GUI by just manipulating the VICIDIAL tables in
the MySql Asterisk database as following.

(1) Create an entry in vicidial_campaign table.
(2) Create N entries in vicidial_list for the phone numbers
set the status to active.

(3) Set the campaign status to active = Y

There may be few more steps but to illustrate point I just listed a few.
All the above steps can be doen use MySql scripts from other apps.

And when the campaign goes active the background cron scripts will
load it into the hopper and dail-out and make the calls and play the recorded message.

After all calls are completed the list can be deleted and the process
can repeat all over again when a new list of phone numbers are received.

I would appreciate your comments on this concepts especially the
pitfalls and other issues I may have not addressed.

Also I would like to find out if there is an API to control the VICIDIAL
in lieu of the using the GUI. :roll:

Thanks and Regards,
Irfan Lateef
irfanlateef
 
Posts: 26
Joined: Wed Jan 14, 2009 3:59 pm
Location: New Jersey,USA

Postby mflorell » Tue Feb 10, 2009 10:35 pm

Yes, there is an API for VICIDIAL in the SVN trunk codebase, but you don't really need to use it if all you want to do is voice broadcasting with no live agents, you can just set a Remote Agent to ACTIVE and it will dial on it's own without need of being reset until the leads run out. It is even aware of call time schemes that you may have set for the campaign.
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

do you have example

Postby roll72 » Wed Jun 17, 2009 5:36 pm

hello,

do you have any source code available of your broadcasting application ?
did you succeed to setup an application to do it ?

thanks in advance for your answer
roll72
 
Posts: 82
Joined: Wed Jun 10, 2009 12:32 pm

For Irfan

Postby roll72 » Wed Jul 08, 2009 8:15 pm

Hello Irfan,

I was asking myself if if it is possible to get your source of your broadcast appication using vicidial ?

thanks in advance for your answer
roll72
 
Posts: 82
Joined: Wed Jun 10, 2009 12:32 pm

Postby Op3r » Wed Jul 08, 2009 10:06 pm

its on the manual.

Almost everything is on the manual. How to use the features are all in the manuals.

Get the manuals at www.eflo.net/store.php

spend 100 usd on it. It will be the best and wisest decision you will do in your call center life.
Get paid for US outbound Toll Free calls. PM me.
Op3r
 
Posts: 1432
Joined: Wed Jun 07, 2006 7:53 pm
Location: Manila

number_of_lines in remote_agent

Postby roll72 » Thu Jul 09, 2009 10:30 am

Hello,

I purchased the manual from my beginning in Vicidial. But the chapter explain how it works in case of a live remote agent, but not the behavior on a remote agent setup for an autmatic ouboud campaign. So if anyone got some feedback on this point, I will appreciate.

thanks in advance
roll72
 
Posts: 82
Joined: Wed Jun 10, 2009 12:32 pm

Postby mflorell » Thu Jul 09, 2009 12:03 pm

This is because remote agents aren't really designed for auto-dial outbound campaigns, you can use them but it is not recommended due to the added lag time.
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby roll72 » Thu Jul 09, 2009 1:27 pm

I used remote agent as defined in the 'full' manual, does there is any other method to make autdial outbound campaign ?

I am trying to write a small application which is populate the vicidial table to make broadcast survey with '1/2/3 DTMF' choice and then hangug.

It looks remote agent is a good way to start/stop the campaign and if the 'number_of_lines' is limiting the concurrent call, it ensures many campaign for many scenario could be launch in same time without any delay for each of them.

do you think it is a good idea ?
roll72
 
Posts: 82
Joined: Wed Jun 10, 2009 12:32 pm

Postby mflorell » Thu Jul 09, 2009 2:46 pm

Yes, for Survey campaigns it will work just fine. If you want to hangup on the respondants after they press 1,2,3 then just set the Remote Agent dialplan number to 8300.
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby roll72 » Thu Jul 09, 2009 2:59 pm

It is exactly what I'm doing : set the survey_xfer_exten to 8300.

But what I didn't catch is the relation between number_of_line in remote agent table and the number of call the survey could do in same time ?

Another question : what is happening if I not setup a number of trunk per campaign in the server page ?
roll72
 
Posts: 82
Joined: Wed Jun 10, 2009 12:32 pm

Postby mflorell » Thu Jul 09, 2009 3:31 pm

What is the campaign dial method and dial level set to?
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby roll72 » Thu Jul 09, 2009 5:34 pm

hello,

we have a similar discussion on another topics :

number of trunk is setup per campaign in the server setting

dial method is RATIO (I let it as defined in the manual)

adaptive_maximum_level is 3.0

Concurrent_transfer is AUTO (I didn't know what is hte purpose of this field)
roll72
 
Posts: 82
Joined: Wed Jun 10, 2009 12:32 pm

Postby Sentel » Tue Sep 01, 2009 11:39 am

Im new to vicidial. Just came to know yesterday. So apologies if my question is novice..

How Many simultaneous channels can be used for Voice broadcast for case described in this topic? Will it be processor intensive? Thanks in advance.

Cheers,
Sentel
Sentel
 
Posts: 1
Joined: Tue Sep 01, 2009 11:25 am

Postby roll72 » Tue Sep 01, 2009 11:57 am

All depend on your machine,

for my prototype, I was using a netbook acer aspire one and got about 13 trunks voip, and the machine was handle it very well
roll72
 
Posts: 82
Joined: Wed Jun 10, 2009 12:32 pm


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 101 guests