[asterisk-users] Asterisk Channel as MusicOnHold

Vincent Sweeney vince at quakenet.co.uk
Fri Aug 17 20:06:13 CDT 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

    I have what sounds like a simple requirement to add a feature to
an existing dial plan context. Currently the user gets a normal .wav
file played to them via MusicOnHold while they go through a basic menu
prompt. However I now need to take the background audio for this menu
from the audio stream of a seperate connected call in another context.

Now I've looked at using ChanSpy() but I can't see an option to 'spy
as background audio'. I've also looked at the MusicOnHold streaming
via a unix script / pipe but that doesn't really help either as I need
to somehow copy the other channel audio into the stdin of the pipe.
Anyone got any ideas as I'm stuck on this one!

Vince.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFGxkYFPx/nyuA99rgRAo/XAJsGTzONVDrcyv+qpEP3llx7lQ6LkQCgpJ+4
tjURS1gA5yr7xY5qJOr/4VE=
=015x
-----END PGP SIGNATURE-----




More information about the asterisk-users mailing list