[asterisk-users] dial extension and play sound file from shell on asterisk server?

2010-04-08 Thread Brian J. Murrell
I want to use Asterisk as a general message delivery system here. That is, I want to be able to have a (shell, perl, etc.) script on my Asterisk server dial an extension, wait for it to be answered and then play a sound file and then hang up, or even wait for a response or reactions to some IVR.

Re: [asterisk-users] dial extension and play sound file from shell on asterisk server?

2010-04-08 Thread Tzafrir Cohen
On Thu, Apr 08, 2010 at 07:00:11AM -0400, Brian J. Murrell wrote: I want to use Asterisk as a general message delivery system here. That is, I want to be able to have a (shell, perl, etc.) script on my Asterisk server dial an extension, wait for it to be answered and then play a sound file

Re: [asterisk-users] dial extension and play sound file from shell on asterisk server?

2010-04-08 Thread Godson Gera
AGI and AMI is what you need for this. AMI is for originating the call between extensions AGI for playing file of your choice. Both these APIs are well documented http://www.voip-info.org/wiki/view/Asterisk+AGI http://www.voip-info.org/wiki/view/Asterisk+manager+API -- Thanks Regards,

Re: [asterisk-users] dial extension and play sound file from shell on asterisk server?

2010-04-08 Thread Duncan Turnbull
Have a look at the call files examples of voipinfo http://www.voip-info.org/wiki/view/Asterisk+auto-dial+out Its not too hard to do what you want Cheers Duncan On 8/04/2010, at 11:00 PM, Brian J. Murrell wrote: I want to use Asterisk as a general message delivery system here. That is, I