Re: [Asterisk-Users] Asterisk not starting - SOLVED!

2004-08-09 Thread Andreas Roedl
Hello!

Am Sonntag, 8. August 2004 20:12 schrieb Steven Critchfield:
> > But * shouldn't crash with a core dump if mpg123 crashes anyway. mpg123
> > dumps the decoded stream to stdout (-s) and it might have some problems
> > with id3 tags.
>
> So could it have just been that your music on hold pointed to
> sample-hold.mp3 and for whatever reason it wasn't available anymore and
> that caused your problem?

Nope. Its absolutely reproducable. It's a bug in mpg123: as soon as you define 
a buffer with the -b option and the mp3 has an ID3 tag, mpg123 quits. If you 
omit the -b option it works.

This has been reported to the mpg123 developer.

Andi
___
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] Asterisk not starting - SOLVED!

2004-08-08 Thread Nicholas Bachmann
Andreas Roedl wrote:
Am Sonntag, 8. August 2004 19:45 schrieb Dave Cotton:
 

The problem's somewhere else I'm running Asterisk CVS-
HEAD-08/07/04-22:38:39 with all the fpm.mp3s as is with no problem.
But not on gentoo, what version of mpg123 does gentoo have?
   

0.59s-r3
 

There is only one version of mpg123 to run with Asterisk, an that 
version is 0.59r.  Anything else is just asking for trouble.  You may 
still have to strip your ID3s out, but you'll probably find that .59r 
"just works".

Nick
___
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] Asterisk not starting - SOLVED!

2004-08-08 Thread Steven Critchfield
On Sun, 2004-08-08 at 12:59, Andreas Roedl wrote:
> Hello!
> 
> Am Sonntag, 8. August 2004 19:45 schrieb Dave Cotton:
> > On Sun, 2004-08-08 at 19:37 +0200, Andreas Roedl wrote:
> > > Hello!
> > >
> > > > > Asterisk "CVS-HEAD-08/06/04-14:55:13" won't start on two of three
> > > > > different Gentoo machines.
> > >
> > > The running installation of Asterisk (CVS-HEAD-07/28/04-13:36:42) has a
> > > different set of muisc on hold mp3s in /var/lib/asterisk/mohmp3 than the
> > > "not working" Asterisk (CVS-HEAD-08/06/04-14:55:13):
> > >
> > > CVS-HEAD-07/28/04-13:36:42:
> > >   sample-hold.mp3
> > >
> > > CVS-HEAD-08/06/04-14:55:13:
> > >   fpm-calm-river.mp3
> > >   fpm-sunshine.mp3
> > >   fpm-world-mix.mp3
> >
> > The problem's somewhere else I'm running Asterisk CVS-
> > HEAD-08/07/04-22:38:39 with all the fpm.mp3s as is with no problem.
> > But not on gentoo, what version of mpg123 does gentoo have?
> 
> 0.59s-r3
> 
> But * shouldn't crash with a core dump if mpg123 crashes anyway. mpg123 dumps 
> the decoded stream to stdout (-s) and it might have some problems with id3 
> tags.

So could it have just been that your music on hold pointed to
sample-hold.mp3 and for whatever reason it wasn't available anymore and
that caused your problem?
-- 
Steven Critchfield <[EMAIL PROTECTED]>

___
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] Asterisk not starting - SOLVED!

2004-08-08 Thread Andreas Roedl
Hello!

Am Sonntag, 8. August 2004 19:45 schrieb Dave Cotton:
> On Sun, 2004-08-08 at 19:37 +0200, Andreas Roedl wrote:
> > Hello!
> >
> > > > Asterisk "CVS-HEAD-08/06/04-14:55:13" won't start on two of three
> > > > different Gentoo machines.
> >
> > The running installation of Asterisk (CVS-HEAD-07/28/04-13:36:42) has a
> > different set of muisc on hold mp3s in /var/lib/asterisk/mohmp3 than the
> > "not working" Asterisk (CVS-HEAD-08/06/04-14:55:13):
> >
> > CVS-HEAD-07/28/04-13:36:42:
> >   sample-hold.mp3
> >
> > CVS-HEAD-08/06/04-14:55:13:
> >   fpm-calm-river.mp3
> >   fpm-sunshine.mp3
> >   fpm-world-mix.mp3
>
> The problem's somewhere else I'm running Asterisk CVS-
> HEAD-08/07/04-22:38:39 with all the fpm.mp3s as is with no problem.
> But not on gentoo, what version of mpg123 does gentoo have?

0.59s-r3

But * shouldn't crash with a core dump if mpg123 crashes anyway. mpg123 dumps 
the decoded stream to stdout (-s) and it might have some problems with id3 
tags.

Andi
___
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] Asterisk not starting - SOLVED!

2004-08-08 Thread Dave Cotton
On Sun, 2004-08-08 at 19:37 +0200, Andreas Roedl wrote:
> Hello!
> 
> > > Asterisk "CVS-HEAD-08/06/04-14:55:13" won't start on two of three
> > > different Gentoo machines.
> 
> The running installation of Asterisk (CVS-HEAD-07/28/04-13:36:42) has a 
> different set of muisc on hold mp3s in /var/lib/asterisk/mohmp3 than the "not 
> working" Asterisk (CVS-HEAD-08/06/04-14:55:13):
> 
> CVS-HEAD-07/28/04-13:36:42:
>   sample-hold.mp3
> 
> CVS-HEAD-08/06/04-14:55:13:
>   fpm-calm-river.mp3
>   fpm-sunshine.mp3
>   fpm-world-mix.mp3

The problem's somewhere else I'm running Asterisk CVS-
HEAD-08/07/04-22:38:39 with all the fpm.mp3s as is with no problem.
But not on gentoo, what version of mpg123 does gentoo have?


-- 
Dave Cotton <[EMAIL PROTECTED]>

___
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] Asterisk not starting - SOLVED!

2004-08-08 Thread Andreas Roedl
Hello!

> > Asterisk "CVS-HEAD-08/06/04-14:55:13" won't start on two of three
> > different Gentoo machines.

The running installation of Asterisk (CVS-HEAD-07/28/04-13:36:42) has a 
different set of muisc on hold mp3s in /var/lib/asterisk/mohmp3 than the "not 
working" Asterisk (CVS-HEAD-08/06/04-14:55:13):

CVS-HEAD-07/28/04-13:36:42:
  sample-hold.mp3

CVS-HEAD-08/06/04-14:55:13:
  fpm-calm-river.mp3
  fpm-sunshine.mp3
  fpm-world-mix.mp3


sample-hold.mp3 has no ID3 tag, but the fpm-*.mp3s in the newer version of 
Asterisk are having ID3 tags. As soon as I delete the fpm-*.mp3s and copy the 
sample-hold.mp3 to the newer version it works like a charm.

Somebody should strip the ID3 tags from the mohmp3s in the CVS.


There is also a note about that in here:
  http://www.voip-info.org/wiki-Asterisk+config+musiconhold.conf

  "Strip out the ID3 tags from any files you add to this directory."

I guess, the one who did this (ChangeLog)

   -- Added licensed hold music from FreePlayMusic

forgot to strip the id3 tags.


Andi
___
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