Once you have the calls logged into a database then it is a relatively simple matter to generate the outbound calls using the event socket. The real challenge (IMHO) is accounting for the outbound calls that don't actually reach the target, or that go to the target's voicemail, etc.
For the sake of simplicity, let's assume that each person you call will answer. From there you just need a simple dialplan extension that does a record app with a specific filename. (You need to match up the filename recorded with the person you called. You could use <phone_num>.wav I suppose.) From there it's a matter of launching the calls. I don't do much with Windows but there are plenty of folks here who do. If you can establish an event socket connection then you can execute a bunch of "originate" API calls to generate your outbound calls.
Let's say your dialplan extension for recording the name is this:
<extension name="get their name">
<condition field="destination_number" expression="^OB_IVR_Record_Name_(\d+)$">
<action application="answer"/>
<action application="sleep" data="1000"/>
<action application="playback" data="please_record_your_name.wav"/>
<action application="playback" data="tone_stream://%(1000,0,1500)"/>
<action application="record" data="/tmp/$1.wav 25 200"/>
</condition>
</extension>
You can generate a call with this API:
originate sofia/gw/gwname/18005551212 OB_IVR_Record_Name_8005551212
If it works then you'll end up with /tmp/8005551212.wav and hopefully they'll have given you the info you need.
As for generating these calls, if you don't need something too fancy you could just use a program written in the scripting language of your choice. (Perl, Python, Ruby, and PHP are all suitable for this task.) You could also write "real" program with Visual Studio if that suits you. The key is that you will need to keep track of what happens when you make all these calls and be sure not to keep calling them over and over again. :)
I've done this sort of thing with just Perl scripts and it works really well.
-MC
On Wed, Sep 28, 2011 at 10:35 AM, Dave
<dave@clancysystems.com> wrote:
Hi all,
I have been using freeSWITCH for a while for
inbound calls in which a person registers for a seminar via IVR. I simply
use the DID, CID number and name to identify the person and put them in the
Database. That part of the application is working
wonderfully.
The issue I'm presented with now is that we need
automate making calls to a few of these registrants, after each event, whos
caller_id_name comes in as "Unknown" or "Wireless Caller", Play a recording to
let them know we need the name, and that they can record the information right
then, or call the office.
I am limited to using a Windows 7
machine.
What would be the best tool to use to automate
these calls with the use of an IVR?
Dave Goodwin
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org