Mickey Binder
2003-Sep-03 09:13 UTC
[Asterisk-Users] MusicOnHold and MP3Player not triggering "answer"
Hi I have kind of an odd problem. When dialing in from an outside line via a TE410P card it seems like MusicOnHold and MP3Player doesn't work properly (for me anyway). The remote end which is calling * doesn't hear the music but just keeps ringing. But if I insert a Playback("file_which_dont_exist") just before the Moh or MP3Player I can hear the music. Actually I observed the same behavior internally when I used H323 for my Welltech Wellgates (which I have now changed to SIP). What can cause this kind of problem? Its not a huge issue since I can use the Playback to trigger the call, but it would be nice to find the source of the problem. regards Mickey Binder
Josh Roberson
2003-Sep-03 13:29 UTC
[Asterisk-Users] MusicOnHold and MP3Player not triggering "answer"
Hello Mickey, I had a similar problem with the mp3 functions a while back, but I handled it off list, but since you're having the same issue, here's how I noted to fix it: 1. Make sure you have mpg123 in /usr/bin. Symbolic links will NOT work, and it has to be the REAL mpg123. 2. Make sure that the system has already passed the Answer call for the extension. For example: exten => 69,1,Wait(5) exten => 69,2,Answer exten => 69,3,MP3Player,/path/to/music.mp3 This example is the only way I found to make the mp3 player work. I haven't been able to test fully the music on hold functionality, as my system is'nt fully functional yet, and I don't have other clients to test with. -Josh ----- Original Message ----- From: "Mickey Binder" <mickey@comflex.dk> To: "Asterisk maillist (E-mail)" <asterisk-users@lists.digium.com> Sent: Wednesday, September 03, 2003 11:13 AM Subject: [Asterisk-Users] MusicOnHold and MP3Player not triggering "answer"> Hi > > I have kind of an odd problem. > When dialing in from an outside line via a TE410P card it seems like > MusicOnHold and MP3Player doesn't work properly (for me anyway). Theremote> end which is calling * doesn't hear the music but just keeps ringing. Butif> I insert a Playback("file_which_dont_exist") just before the Moh or > MP3Player I can hear the music. Actually I observed the same behavior > internally when I used H323 for my Welltech Wellgates (which I have now > changed to SIP). > > What can cause this kind of problem? > Its not a huge issue since I can use the Playback to trigger the call, but > it would be nice to find the source of the problem. > > regards > Mickey Binder > > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users >