Joost Kraaijeveld
2004-Nov-18 02:32 UTC
[Asterisk-Users] Music on Hold on Debian 2.6 help wanted
Hi all, For some reason Music On Hold does not work. I have searched the internet for solutions but found nothing that helped. I use Asterisk 1.0.1 and mpg123 0.59r on Debian 2.6.7-1-386 (Sarge). mpg123 works on the commandline (I get sound from the soundcard). If I start Asterisk, two instances of mpg123 are started with it (ps shows: mpg123 -q -s --mono -r 8000 -b 2048 -f 8192 fpm-calm-river.mp3 fpm-sunshine.mp3 fpm-world-mix.mp3). Calling an extension that just plays the music on hold only shows "Unable to start music on hold (class 'default') on channel SIP/softel1-df8f" in the logfiles and the connection is terminated. Is there anyone who has the same configuration and that has music on hold working? Does anyone has any ideas about solving this problem? Or is it just not possible (yet) with this distribution? BTW: I do get a warning related to music on hold during asterisk's startup that may be related (?): On [res_musiconhold.so]Nov 18 09:39:24 VERBOSE[1077055616]: [res_musiconhold.so] => (Music On Hold Resource) NG[1077055616]: Unable to open pseudo channel for timing... Sound may be choppy. TIA Joost
Joost , I am running 2.6.8 SMP Sarge/Debian on a HP ml330 an have no problem. The Zaptel hardware is e T410P Are you running without Zaptel Hardware ? Jack Joost Kraaijeveld wrote:>Hi all, > >For some reason Music On Hold does not work. I have searched the internet for solutions but found nothing that helped. > >I use Asterisk 1.0.1 and mpg123 0.59r on Debian 2.6.7-1-386 (Sarge). mpg123 works on the commandline (I get sound from the soundcard). If I start Asterisk, two instances of mpg123 are started with it (ps shows: mpg123 -q -s --mono -r 8000 -b 2048 -f 8192 fpm-calm-river.mp3 fpm-sunshine.mp3 fpm-world-mix.mp3). Calling an extension that just plays the music on hold only shows "Unable to start music on hold (class 'default') on channel SIP/softel1-df8f" in the logfiles and the connection is terminated. > >Is there anyone who has the same configuration and that has music on hold working? Does anyone has any ideas about solving this problem? Or is it just not possible (yet) with this distribution? > >BTW: I do get a warning related to music on hold during asterisk's startup that may be related (?): > >On [res_musiconhold.so]Nov 18 09:39:24 VERBOSE[1077055616]: [res_musiconhold.so] => (Music On Hold Resource) >NG[1077055616]: Unable to open pseudo channel for timing... Sound may be choppy. > >TIA > >Joost > > >_______________________________________________ >Asterisk-Users mailing list >Asterisk-Users@lists.digium.com >http://lists.digium.com/mailman/listinfo/asterisk-users >To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users > > >
Joost Kraaijeveld
2004-Nov-18 04:44 UTC
[Asterisk-Users] Music on Hold on Debian 2.6 help wanted
Hi Jack, asterisk-users-bounces@lists.digium.com schreef:> Joost , I am running 2.6.8 SMP Sarge/Debian on a HP ml330 an have no > problem. The Zaptel hardware is e T410P > > Are you running without Zaptel Hardware ?Yep. I have two Winbond ISDN cards in the machine. I am relieved that someone succeeded in running it on (almost) the same kernel. I almost (?) gave up hope. BTW: do you run Asterisk as root or as asterisk? Groeten, Joost
Not realy sure, but it seems that you are missing Zaptel timing, Just Google for ZTDUMY or viop-org, ZTDUMY take TDM timming from a USB-DEVICE this might be your problem... I am running in under root! Jack Joost Kraaijeveld wrote:>Hi Jack, > >asterisk-users-bounces@lists.digium.com schreef: > > >>Joost , I am running 2.6.8 SMP Sarge/Debian on a HP ml330 an have no >>problem. The Zaptel hardware is e T410P >> >>Are you running without Zaptel Hardware ? >> >> >Yep. I have two Winbond ISDN cards in the machine. > >I am relieved that someone succeeded in running it on (almost) the same kernel. I almost (?) gave up hope. > >BTW: do you run Asterisk as root or as asterisk? > >Groeten, > >Joost >_______________________________________________ >Asterisk-Users mailing list >Asterisk-Users@lists.digium.com >http://lists.digium.com/mailman/listinfo/asterisk-users >To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users > > >
Peter Osborne
2004-Nov-18 07:25 UTC
[Asterisk-Users] Music on Hold on Debian 2.6 help wanted
I had the same problem on Debian, the mpg123 in Debian is really mpg321 which is supposed to be a drop in replacement. Well, I don't think it is, I compiled mpg123-0.59r from source and it works now. You may want to give that a try. Pete On Thursday 18 November 2004 04:32, Joost Kraaijeveld wrote:> Hi all, > > For some reason Music On Hold does not work. I have searched the internet > for solutions but found nothing that helped. > > I use Asterisk 1.0.1 and mpg123 0.59r on Debian 2.6.7-1-386 (Sarge). mpg123 > works on the commandline (I get sound from the soundcard). If I start > Asterisk, two instances of mpg123 are started with it (ps shows: mpg123 -q > -s --mono -r 8000 -b 2048 -f 8192 fpm-calm-river.mp3 fpm-sunshine.mp3 > fpm-world-mix.mp3). Calling an extension that just plays the music on hold > only shows "Unable to start music on hold (class 'default') on channel > SIP/softel1-df8f" in the logfiles and the connection is terminated. > > Is there anyone who has the same configuration and that has music on hold > working? Does anyone has any ideas about solving this problem? Or is it > just not possible (yet) with this distribution? > > BTW: I do get a warning related to music on hold during asterisk's startup > that may be related (?): > > On [res_musiconhold.so]Nov 18 09:39:24 VERBOSE[1077055616]: > [res_musiconhold.so] => (Music On Hold Resource) NG[1077055616]: Unable to > open pseudo channel for timing... Sound may be choppy. > > TIA > > Joost > > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users
Joost Kraaijeveld
2004-Nov-18 07:40 UTC
[Asterisk-Users] Music on Hold on Debian 2.6 help wanted
Hi Pete, asterisk-users-bounces@lists.digium.com schreef:> I had the same problem on Debian, the mpg123 in Debian is > really mpg321 which is supposed to be a drop in replacement. Well, I don't think it is, I > compiled mpg123-0.59r from source and it works now. You may > want to give that a try.I use the real mpg123-0.59r (which btw is in debian non-free). Groeten, Joost