help in plaing sound file(wav , mp3 ,,,) on channel

Mar 31, 2013 at 9:33 PM
i need help on playing a sound file on the sip call channell .
Mar 31, 2013 at 11:35 PM
How you trying to play it, AGI? If so, use StreamFile.

Apr 1, 2013 at 12:47 PM
i want it in sip
Apr 1, 2013 at 1:35 PM
I think you need to do some homework. This is for help using AsterNET not learning Asterisk.
Apr 1, 2013 at 1:42 PM
-_- ........ i already need to do it using .
Apr 1, 2013 at 2:08 PM
Well, are you using an AGI to interact with the channel (SIP or otherwise)?

If so, for AGI, simply use the StreamFile method, or GetOption (if you wish to obtain input from the caller).

If you wish us to help further, you need to tell us in what way you're using AsterNET.
Apr 1, 2013 at 2:31 PM
thanks skrusty ....

am using for building intercom system that deals whith IP speakers wich supports SIP ...
i need to configure the extentions of the speakers for Auto Answering ... and also need some way to stream audio files on them ...
Apr 1, 2013 at 2:50 PM
Well, AsterNET can't be used to configure your "IP Speakers" but it can be used to control call flow.

For auto answering you need to set special channel variables (see and look at the Page example). AsterNET can set these variables from within an AGI.

I suggest to see how to control call flow or stream audio files with AsterNET, have a look at the CustomIVR example in the source. It may help you better understand how AsterNET can help you.