Newbie question coming up ... Is it possible to use the asterisk to initiate a call to a phone? What I'm trying to determine is ways for software to connect to a phone and send it a sound file with a message like: Hello Mr. Jones. How are you doing today? Press 1 if you're OK. Press 2 if you need help. Or press 3 and start talking, and your message will be passed to a person. The application is probably pretty obvious. I've been digging around in asterisk to see if it can handle this, so far without finding the right docs. I've read a lot on this list about handling incoming calls, which we may want to do eventually, too. But the immediate question I'm trying to answer is how our software can react to events by making calls like the above and doing something useful with them. The immediate goal is play a sound file and then record record reply and/or button presses from the phone. (Speech recognition will come later. ;-) So am I looking in the wrong place? Or is there an example somewhere in asterisk of initiating a call from the computer side to a phone?
Brancaleoni Matteo
2004-Feb-09 10:46 UTC
[Asterisk-Users] Can asterisk make a call to a phone?
/me points to sample.call into * source dir... Matteo. Il lun, 2004-02-09 alle 18:21, John Chambers ha scritto:> Newbie question coming up ... > > Is it possible to use the asterisk to initiate a call to a phone? > > What I'm trying to determine is ways for software to connect to a > phone and send it a sound file with a message like: > > Hello Mr. Jones. How are you doing today? Press 1 if you're OK. > Press 2 if you need help. Or press 3 and start talking, and your > message will be passed to a person. > > The application is probably pretty obvious. I've been digging around > in asterisk to see if it can handle this, so far without finding the > right docs. I've read a lot on this list about handling incoming > calls, which we may want to do eventually, too. But the immediate > question I'm trying to answer is how our software can react to events > by making calls like the above and doing something useful with them. > > The immediate goal is play a sound file and then record record reply > and/or button presses from the phone. (Speech recognition will come > later. ;-) > > So am I looking in the wrong place? Or is there an example somewhere > in asterisk of initiating a call from the computer side to a phone? > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users-- Brancaleoni Matteo <mbrancaleoni@espia.it> Espia - Emmegi Srl
Yes, you can certainly do something like this. We do outgoing applications for our customers, similar to this. Basically, you dump a triggering text file into /var/spool/asterisk/outgoing, which asterisk checks for every second. This causes an outgoing call to be made based on the dialplan entry in extensions.conf. Works pretty well, for low call volume stuff at least. Read up in: /usr/src/asterisk/sample.call and there are many posts regarding this subject in past messages Good luck! Scott Scott M. Stingel Emerging Voice Technology Inc. Email: scott@evtmedia.com <mailto:scott@evtmedia.com> URL: www.evtmedia.com <http://www.evtmedia.com> -----Original Message----- From: asterisk-users-admin@lists.digium.com [mailto:asterisk-users-admin@lists.digium.com] On Behalf Of John Chambers Sent: Monday, February 09, 2004 5:21 PM To: asterisk-users@lists.digium.com; asterisk-users@lists.digium.com Subject: [Asterisk-Users] Can asterisk make a call to a phone? Newbie question coming up ... Is it possible to use the asterisk to initiate a call to a phone? What I'm trying to determine is ways for software to connect to a phone and send it a sound file with a message like: Hello Mr. Jones. How are you doing today? Press 1 if you're OK. Press 2 if you need help. Or press 3 and start talking, and your message will be passed to a person. The application is probably pretty obvious. I've been digging around in asterisk to see if it can handle this, so far without finding the right docs. I've read a lot on this list about handling incoming calls, which we may want to do eventually, too. But the immediate question I'm trying to answer is how our software can react to events by making calls like the above and doing something useful with them. The immediate goal is play a sound file and then record record reply and/or button presses from the phone. (Speech recognition will come later. ;-) So am I looking in the wrong place? Or is there an example somewhere in asterisk of initiating a call from the computer side to a phone? _______________________________________________ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
daryl@introspect.net
2004-Feb-09 10:59 UTC
[Asterisk-Users] Can asterisk make a call to a phone?
> -----Original Message----- > From: asterisk-users-admin@lists.digium.com > [mailto:asterisk-users-admin@lists.digium.com] On Behalf Of > John Chambers > Sent: Monday, February 09, 2004 12:21 PM > To: asterisk-users@lists.digium.com; asterisk-users@lists.digium.com > Subject: [Asterisk-Users] Can asterisk make a call to a phone? > > > Newbie question coming up ... > > Is it possible to use the asterisk to initiate a call to a phone?Yep...it's on "The Wiki" at http://www.voip-info.org. Specifically, I think http://www.voip-info.org/wiki-Asterisk+auto-dial+out is what you're looking for. Daryl
William Suffill
2004-Feb-09 11:07 UTC
[Asterisk-Users] Can asterisk make a call to a phone?
use call files there is should a sample in the asterisk src On Mon, 2004-02-09 at 12:21, John Chambers wrote:> Newbie question coming up ... > > Is it possible to use the asterisk to initiate a call to a phone? > > What I'm trying to determine is ways for software to connect to a > phone and send it a sound file with a message like: > > Hello Mr. Jones. How are you doing today? Press 1 if you're OK. > Press 2 if you need help. Or press 3 and start talking, and your > message will be passed to a person. > > The application is probably pretty obvious. I've been digging around > in asterisk to see if it can handle this, so far without finding the > right docs. I've read a lot on this list about handling incoming > calls, which we may want to do eventually, too. But the immediate > question I'm trying to answer is how our software can react to events > by making calls like the above and doing something useful with them. > > The immediate goal is play a sound file and then record record reply > and/or button presses from the phone. (Speech recognition will come > later. ;-) > > So am I looking in the wrong place? Or is there an example somewhere > in asterisk of initiating a call from the computer side to a phone? > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users