Re: [Asterisk-Users] mpg123 issue and solution

2004-04-06 Thread Michael Manousos
I've submitted a patch to the bugtracker that adds additional
support for the MAD player.
Here is the link:
http://bugs.digium.com/bug_view_advanced_page.php?bug_id=0001365
Michael.

Chris Maresca wrote:
All,

I've been setting up an Asterisk PBX over the past few days and I stumbled
across a problem with mpg123 that I have not seen documented anywhere.
If you put mp3 files into your mohmp3 directory and these files have ID3v2
tags, mpg123 will throw an error message Found new ID3 Header,
regardless of the -q flag.  

This, in turn, will cause Asterisk to crash (yes), although it's a soft
crash (exits cleanly).
It took me forever to figure this out, since the default mp3 and
everything else was working fine.  And the lack of any meaningfull error 
messages made diagnosis even more difficult

My work around was to open the file in WinAmp and remove the ID3 tags
entirely.  mpg123 and Asterisk were both happy and there was much
rejoycing.
It might be a good idea to move away from mpg123 as it is no longer
supported and there are bound to be more problems like this.  MAD seems to
be what everyone is migrating to...  At the very least, not hardcoding a
player into the codebase would probably be a good idea (if it is
hardcoded, I couldn't find a config file for it...).
On a seperate note, if anyone is have problems registering SIP softphones,
like the most excellent xTen X-Lite, try commenting out 'bindaddr' in
sip.conf.  That allowed me to register and get everything working.
Finally, if anyone has any ideas about how to improve IAX voice quality,
I'd be happy to hear them.  Everything is hearable, but there are an
awfull lot of clicks and pops in the background.  The machine is a Celeron
500 with 128mb of RAM and Gentoo 1.4 (w/latest gentoo updates) and
Asterisk 0.7.2.  I'm the only one using the machine ATM and it's about 2
ft from my desk with a dedicated hub...  There is no telephony hardware
install currently.  

SIP quality seems slightly better, and I've tried almost every WinIAX
client out there, they're all pretty much the same.  I'm using the
soundcard in my laptop and a Plantronics headset.  Playback of the IVR
prompts generally sounds good, but inter-client communication is noisy.
Thx.

Chris.


___
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] mpg123 issue and solution

2004-04-06 Thread Brian Cuthie

 

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of 
 Chris Maresca
 
 It might be a good idea to move away from mpg123 as it is no 
 longer supported and there are bound to be more problems like 
 this.  MAD seems to be what everyone is migrating to...  At 
 the very least, not hardcoding a player into the codebase 
 would probably be a good idea (if it is hardcoded, I couldn't 
 find a config file for it...).
 

The app is hard-coded. Take a look at res_musiconhold.c (in the res sub
directory of the Asterisk source). At the vere least you can change the
source and recompile if you want to use a different player app.

-brian 

___
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] mpg123 issue and solution

2004-04-06 Thread Philipp von Klitzing
Hi!

 If you put mp3 files into your mohmp3 directory and these files have ID3v2
 tags, mpg123 will throw an error message Found new ID3 Header,
 regardless of the -q flag.  
 
 This, in turn, will cause Asterisk to crash (yes), although it's a soft
 crash (exits cleanly).
 
 It took me forever to figure this out, since the default mp3 and
 everything else was working fine.  And the lack of any meaningfull error 
 messages made diagnosis even more difficult
 
 My work around was to open the file in WinAmp and remove the ID3 tags
 entirely.  mpg123 and Asterisk were both happy and there was much
 rejoycing.

See also:
http://www.voip-info.org/wiki-Asterisk+config+musiconhold.conf
(as well as the Wiki Asterisk FAQ section concerning variable bit rate)

 It might be a good idea to move away from mpg123 as it is no longer
 supported and there are bound to be more problems like this.  MAD seems to
 be what everyone is migrating to...

Indeed mpg123 is known to be the cause for many problems.

Cheers, Philipp

 Finally, if anyone has any ideas about how to improve IAX voice quality,
 I'd be happy to hear them.  Everything is hearable, but there are an
 awfull lot of clicks and pops in the background.

This is probably due to the IAX software phone that you are using (and 
its underlying library). On * server to * server connections this 
shouldn't be the case (if yes: try to enable/disable the jitter buffer, 
see other mails here).

-Philipp-


___
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] mpg123 issue and solution

2004-04-06 Thread Justin Carlson
I have a suse 8.2 installation of mpg123 and I have no problems with the id3
tags

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Philipp von
Klitzing
Sent: Tuesday, April 06, 2004 11:37 AM
To: [EMAIL PROTECTED]
Subject: Re: [Asterisk-Users] mpg123 issue and solution


Hi!

 If you put mp3 files into your mohmp3 directory and these files have ID3v2
 tags, mpg123 will throw an error message Found new ID3 Header,
 regardless of the -q flag.

 This, in turn, will cause Asterisk to crash (yes), although it's a soft
 crash (exits cleanly).

 It took me forever to figure this out, since the default mp3 and
 everything else was working fine.  And the lack of any meaningfull error
 messages made diagnosis even more difficult

 My work around was to open the file in WinAmp and remove the ID3 tags
 entirely.  mpg123 and Asterisk were both happy and there was much
 rejoycing.

See also:
http://www.voip-info.org/wiki-Asterisk+config+musiconhold.conf
(as well as the Wiki Asterisk FAQ section concerning variable bit rate)

 It might be a good idea to move away from mpg123 as it is no longer
 supported and there are bound to be more problems like this.  MAD seems to
 be what everyone is migrating to...

Indeed mpg123 is known to be the cause for many problems.

Cheers, Philipp

 Finally, if anyone has any ideas about how to improve IAX voice quality,
 I'd be happy to hear them.  Everything is hearable, but there are an
 awfull lot of clicks and pops in the background.

This is probably due to the IAX software phone that you are using (and
its underlying library). On * server to * server connections this
shouldn't be the case (if yes: try to enable/disable the jitter buffer,
see other mails here).

-Philipp-


___
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] mpg123 issue and solution

2004-04-06 Thread Olle E. Johansson


It might be a good idea to move away from mpg123 as it is no longer
supported and there are bound to be more problems like this.  MAD seems to
be what everyone is migrating to...

Actually, it just happens that a patch for this was added to bugs today:
http://bugs.digium.com/bug_view_page.php?bug_id=0001365
Please test and confirm if this works for you, add your comments to the
bug report.
Thank you for your assistance!

/O
___
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] mpg123 issue and solution

2004-04-06 Thread Chris Maresca

Apperently this is only a problem with v59r of mpg123.  Older version
don't have a problem.

Chris.

On Tue, 6 Apr 2004, Justin Carlson wrote:

 I have a suse 8.2 installation of mpg123 and I have no problems with the id3
 tags
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Philipp von
 Klitzing
 Sent: Tuesday, April 06, 2004 11:37 AM
 To: [EMAIL PROTECTED]
 Subject: Re: [Asterisk-Users] mpg123 issue and solution
 
 
 Hi!
 
  If you put mp3 files into your mohmp3 directory and these files have ID3v2
  tags, mpg123 will throw an error message Found new ID3 Header,
  regardless of the -q flag.
 
  This, in turn, will cause Asterisk to crash (yes), although it's a soft
  crash (exits cleanly).
 
  It took me forever to figure this out, since the default mp3 and
  everything else was working fine.  And the lack of any meaningfull error
  messages made diagnosis even more difficult
 
  My work around was to open the file in WinAmp and remove the ID3 tags
  entirely.  mpg123 and Asterisk were both happy and there was much
  rejoycing.
 
 See also:
 http://www.voip-info.org/wiki-Asterisk+config+musiconhold.conf
 (as well as the Wiki Asterisk FAQ section concerning variable bit rate)
 
  It might be a good idea to move away from mpg123 as it is no longer
  supported and there are bound to be more problems like this.  MAD seems to
  be what everyone is migrating to...
 
 Indeed mpg123 is known to be the cause for many problems.
 
 Cheers, Philipp
 
  Finally, if anyone has any ideas about how to improve IAX voice quality,
  I'd be happy to hear them.  Everything is hearable, but there are an
  awfull lot of clicks and pops in the background.
 
 This is probably due to the IAX software phone that you are using (and
 its underlying library). On * server to * server connections this
 shouldn't be the case (if yes: try to enable/disable the jitter buffer,
 see other mails here).
 
 -Philipp-
 
 
 ___
 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
 

--
chris maresca
  senior partner - www.olliancegroup.com

linux, up 1 days


___
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