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

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

See: http://www.voip-info.org/wiki/view/stream+file
Apr 1, 2013 at 11:47 AM
i want it in sip
Coordinator
Apr 1, 2013 at 12:35 PM
I think you need to do some homework. This is for help using AsterNET not learning Asterisk.
Apr 1, 2013 at 12:42 PM
-_- ........ i already need to do it using asterisk.net .
Coordinator
Apr 1, 2013 at 1: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 1:31 PM
thanks skrusty ....

am using asterisk.net 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 ...
Coordinator
Apr 1, 2013 at 1: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 voip-info.org 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.