Hi I?m pretty new to using Asterisk and have searched to find an answer to my question but have failed to. I was wondering if you can use Asterisk from the command line to make it make an outgoing call and issue other commands whilst it?s in the call? Sort of like when you use Minicom with a modem connected to a serial port and send it AT commands. Thanks Tony -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.362 / Virus Database: 267.13.7/182 - Release Date: 24/11/2005 -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.362 / Virus Database: 267.13.7/182 - Release Date: 24/11/2005 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20051125/63de1e9e/attachment.htm
On Nov 25, 2005, at 7:33 AM, Tony Spencer wrote:> Hi > > I?m pretty new to using Asterisk and have searched to find an > answer to my question but have failed to. > > I was wondering if you can use Asterisk from the command line to > make it make an outgoing call and issue other commands whilst it?s > in the call? > > Sort of like when you use Minicom with a modem connected to a > serial port and send it AT commands. > > Thanks > > TonyTony, If you have a sound card installed and properly configured in your Asterisk server, then you can plug in a microphone and headset and make calls from the CLI using the dial command. If you want to automate having the system make phone calls, google and search voip-info.org for info on .call files. Basically, you create a file that specifies to asterisk where to call, using which channel, and what to do once the call is connnected. You then copy the file to /var/spool/asterisk/outgoing and the call is executed as defined. Tom -------------------- Tom Rymes Cascade Link Systems www.cascadelinksystems.com (603) 375-1414 "Intelligent technology solutions for small businesses."
> > I was wondering if you can use Asterisk from the command line to make it > make an outgoing call and issue other commands whilst it's in the call? > > Sort of like when you use Minicom with a modem connected to a serial port > and send it AT commands.I would suggest call files or the manager api, depending on what you are trying to do. Call files are probably easier to work with for quick and dirty jobs. Using the manager api lets you make the call and monitor it also from a separate program otuside of asterisk. Chris