how to play background music while playing some other voice file in asterisk ?
You want to play more than one music file / stream to a channel at a time?
You could use ChanSpy in barge mode to hook in a channel that just plays back music, or you could put your caller in a MeetMe or ConfBridge and then hook in other channels that play sound.
Thanks for the reply . I want to play two voice files in a single channel simultaneously .
Okay, so either of my suggestions should help you achieve that.
I have used chanspy application .
exten => 234,n,Chanspy(SIP/vetrivel,qW) . In this how to set the music file ? .
You’ll need to connect it to a Local channel that plays back a file.
I tried this , but i am not able to achieve .
I am developing a one simple ivr , i need the background music for an my IVR .
Is it possible to do a background music while playing some other voice file in IVR ( using agi ) ?
Why don’t you simply prepare the IVR recording in the way that you combine the speach and music in the IVR recording itself? A much more simple approach. You can do this with the most basic tools for editing audio.
Thanks for the Reply . Already I knew this idea . But i want to play two separate voice files at a time in single channel .
Dear vetrivel ,
So were you able to play a music file in chanspy? Please let me know how did you solve it?
I also want to know how can I play a music file to a specific channel using chanSpy.
or you could put your caller in a MeetMe or ConfBridge and then hook in other channels that play sound.[/quote]
sounds good to me, What happened when you tried it?