Re: [Asterisk-Users] Music on Hold on Debian 2.6 help wanted

2004-11-18 Thread pbx
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
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users
 

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [Asterisk-Users] Music on Hold on Debian 2.6 help wanted

2004-11-18 Thread Joost Kraaijeveld
Hi Jack,

[EMAIL PROTECTED] 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
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Music on Hold on Debian 2.6 help wanted

2004-11-18 Thread pbx
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,
[EMAIL PROTECTED] 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
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

 

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Music on Hold on Debian 2.6 help wanted

2004-11-18 Thread Peter Osborne
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
 [EMAIL PROTECTED]
 http://lists.digium.com/mailman/listinfo/asterisk-users
 To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [Asterisk-Users] Music on Hold on Debian 2.6 help wanted

2004-11-18 Thread Joost Kraaijeveld
Hi Pete,

[EMAIL PROTECTED] 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 
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Music on Hold on Debian 2.6 help wanted

2004-11-18 Thread Kevin Blackham
Ensure the debian package 'mpg123' is installed, and that 'mpg321' is
removed.  It links mpg123 - mpg321 via /etc/alternatives.  Beats
cooking it up from source.


On Thu, 18 Nov 2004 09:25:05 -0500, Peter Osborne [EMAIL PROTECTED] wrote:
 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.
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Music on Hold on Debian 2.6 help wanted

2004-11-18 Thread Martin List-Petersen
On Thu, 2004-11-18 at 14:25, Peter Osborne wrote:
 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.

No need to compile that from source. 0.59r is available as package in
woody/non-free and 0.59q in sarge/non-free. mpg321 on Debian is only
symlinked to mpg123 if you don't use non-free.
 
Slán leat,
Martin List-Petersen
Dublin, Eire 
(contact info on -- http://www.marlow.dk/)

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users