Russell,<br><br>Thank you very much for the feedback and direction.<br><br>Jonathan<br><br><div class="gmail_quote">On Wed, Oct 29, 2008 at 7:11 AM, Russell Bryant <span dir="ltr"><<a href="mailto:russell@digium.com">russell@digium.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="Ih2E3d"><br>
----- "jonathan augenstine" <<a href="mailto:jaugenstine@gmail.com">jaugenstine@gmail.com</a>> wrote:<br>
<br>
> Basically what I am trying to do is to play my own music on hold to<br>
> callers waiting in a queue. During that call I want to be able to<br>
> collect DTMF from the caller so that I can change audio files that I<br>
> am playing back to the caller.<br>
<br>
</div>If you take a look at the existing musiconhold code (res_musiconhold), MOH already has a mode (mode=files) in which in will play sound files. Also, there is a feature (in 1.6, anyway) where MOH can watch for digits from the caller on hold, and switch which type of MOH is being played. You could modify this code a bit so that when you see digits, you switch what files are being used for MOH.<br>
<br>
It's a hack, but it could work. Also, if you're trying to build a big IVR and not just something basic, then hacking it in there is going to be a big pain. At least it's possible...<br>
<br>
Being able to easily customize the handling of callers waiting in a queue has come up a number of times in high level design discussions for the next generation Queue implementation. Doing it today isn't easy, unless you go off and build your own Queue implementation outside of Asterisk (which has been done a number of times, but is non-trivial).<br>
<font color="#888888"><br>
--<br>
</font><div><div></div><div class="Wj3C7c">Russell Bryant<br>
Senior Software Engineer<br>
Open Source Team Lead<br>
Digium, Inc.<br>
<br>
_______________________________________________<br>
--Bandwidth and Colocation Provided by <a href="http://www.api-digital.com--" target="_blank">http://www.api-digital.com--</a><br>
<br>
asterisk-dev mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-dev" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-dev</a></div></div></blockquote></div><br>