Re: [Asterisk-Users] Can't get format_mp3 to work for music on hold

2005-03-30 Thread Umar Sear
I downloaded and installed the cvs version on my test machine. 

It works with the exact configuration that I am using with the 1.x
stable version.

So I assume that format_mp3 does not work with version 1.x, please
correct me if I am wrong.

Umar


On Wed, 30 Mar 2005 20:08:04 +0100, Umar Sear <[EMAIL PROTECTED]> wrote:
> Anymore ideas ? anyone ?
> 
> On Sun, 27 Mar 2005 23:47:50 +0100, Umar Sear <[EMAIL PROTECTED]> wrote:
> > I removed mpg123 as per instruction on the wiki as I am trying to use
> > native mp3 (format_mp3)
> >
> > Re-installing it makes no difference.
> >
> > Thanks
> >
> > Umar
> >
> >
> > On Sun, 27 Mar 2005 12:24:32 -0600, Steven Critchfield
> > <[EMAIL PROTECTED]> wrote:
> > > On Sun, 2005-03-27 at 13:41 +0100, Umar Sear wrote:
> > > > Hi Guys,
> > > >
> > > > I am having trouble trying to get format_mp3 working to play music on 
> > > > hold.
> > > >
> > > > I have followed the instructions in the read-me and the wiki however
> > > > it seems after un-installing mpg123, asterisk is not even attempting
> > > > to play MOH.
> > >
> > > > Executing Answer("SIP/-56f4", "") in new stack
> > > > -- Executing MusicOnHold("SIP/-56f4", "default") in new stack
> > > > Mar 27 13:40:05 WARNING[13181]: res_musiconhold.c:354 moh0_exec: Unable 
> > > > to start
> > > >  music on hold (class 'default') on channel SIP/-56f4
> > > >   == Spawn extension (default, , 2) exited non-zero on 'SIP
> > > >
> > > > Please tell me I am doing something stupid ! as I would love to know,
> > > > before I pull all my hair out :-)
> > >
> > > It can't be installed because you have uninstalled mpg123. Why did you
> > > uninstall mpg123? Reinstall mpg123 and stop messing with your hair.
> > > --
> > > Steven Critchfield <[EMAIL PROTECTED]>
> > >
> > >
> >
>
___
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


Re: [Asterisk-Users] Can't get format_mp3 to work for music on hold

2005-03-30 Thread Umar Sear
Anymore ideas ? anyone ?

On Sun, 27 Mar 2005 23:47:50 +0100, Umar Sear <[EMAIL PROTECTED]> wrote:
> I removed mpg123 as per instruction on the wiki as I am trying to use
> native mp3 (format_mp3)
> 
> Re-installing it makes no difference.
> 
> Thanks
> 
> Umar
> 
> 
> On Sun, 27 Mar 2005 12:24:32 -0600, Steven Critchfield
> <[EMAIL PROTECTED]> wrote:
> > On Sun, 2005-03-27 at 13:41 +0100, Umar Sear wrote:
> > > Hi Guys,
> > >
> > > I am having trouble trying to get format_mp3 working to play music on 
> > > hold.
> > >
> > > I have followed the instructions in the read-me and the wiki however
> > > it seems after un-installing mpg123, asterisk is not even attempting
> > > to play MOH.
> >
> > > Executing Answer("SIP/-56f4", "") in new stack
> > > -- Executing MusicOnHold("SIP/-56f4", "default") in new stack
> > > Mar 27 13:40:05 WARNING[13181]: res_musiconhold.c:354 moh0_exec: Unable 
> > > to start
> > >  music on hold (class 'default') on channel SIP/-56f4
> > >   == Spawn extension (default, , 2) exited non-zero on 'SIP
> > >
> > > Please tell me I am doing something stupid ! as I would love to know,
> > > before I pull all my hair out :-)
> >
> > It can't be installed because you have uninstalled mpg123. Why did you
> > uninstall mpg123? Reinstall mpg123 and stop messing with your hair.
> > --
> > Steven Critchfield <[EMAIL PROTECTED]>
> >
> >
>
___
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


Re: [Asterisk-Users] Can't get format_mp3 to work for music on hold

2005-03-27 Thread Steven Critchfield
On Sun, 2005-03-27 at 13:41 +0100, Umar Sear wrote:
> Hi Guys, 
> 
> I am having trouble trying to get format_mp3 working to play music on hold. 
> 
> I have followed the instructions in the read-me and the wiki however
> it seems after un-installing mpg123, asterisk is not even attempting
> to play MOH.


> Executing Answer("SIP/-56f4", "") in new stack
> -- Executing MusicOnHold("SIP/-56f4", "default") in new stack
> Mar 27 13:40:05 WARNING[13181]: res_musiconhold.c:354 moh0_exec: Unable to 
> start
>  music on hold (class 'default') on channel SIP/-56f4
>   == Spawn extension (default, , 2) exited non-zero on 'SIP
> 
> Please tell me I am doing something stupid ! as I would love to know,
> before I pull all my hair out :-)

It can't be installed because you have uninstalled mpg123. Why did you
uninstall mpg123? Reinstall mpg123 and stop messing with your hair.
-- 
Steven Critchfield <[EMAIL PROTECTED]>

___
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


Re: [Asterisk-Users] Can't get format_mp3 to work for music on hold

2005-03-27 Thread Umar Sear
On Sun, 27 Mar 2005 14:56:12 +0200, Martijn van Oosterhout
<[EMAIL PROTECTED]> wrote:
> On Sun, Mar 27, 2005 at 01:41:31PM +0100, Umar Sear wrote:
> > Hi Guys,
> >
> > I am having trouble trying to get format_mp3 working to play music on hold.
> >
> > I have followed the instructions in the read-me and the wiki however
> > it seems after un-installing mpg123, asterisk is not even attempting
> > to play MOH.
> 
> I don't do anything with music-on-hold, but...
> 
> > [moh_files]
> > default = >/var/lib/asterisk/moh-native
>   ^^^
> 
> That spacing looks really odd...
> 
> Hope this helps,
> --
> Martijn van Oosterhout
> Ecomtel Pty Ltd
> 

Thanks, I wish it were that simple, adding removing the space makes no
difference.

Thanks

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


Re: [Asterisk-Users] Can't get format_mp3 to work for music on hold

2005-03-27 Thread Martijn van Oosterhout
On Sun, Mar 27, 2005 at 01:41:31PM +0100, Umar Sear wrote:
> Hi Guys, 
> 
> I am having trouble trying to get format_mp3 working to play music on hold. 
> 
> I have followed the instructions in the read-me and the wiki however
> it seems after un-installing mpg123, asterisk is not even attempting
> to play MOH.

I don't do anything with music-on-hold, but...

> [moh_files]
> default = >/var/lib/asterisk/moh-native
  ^^^

That spacing looks really odd...

Hope this helps,
-- 
Martijn van Oosterhout
Ecomtel Pty Ltd
___
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


[Asterisk-Users] Can't get format_mp3 to work for music on hold

2005-03-27 Thread Umar Sear
Hi Guys, 

I am having trouble trying to get format_mp3 working to play music on hold. 

I have followed the instructions in the read-me and the wiki however
it seems after un-installing mpg123, asterisk is not even attempting
to play MOH.

My musiconhold.conf is 

; Music on hold class definitions
;
[classes]
[moh_files]
default = >/var/lib/asterisk/moh-native
;default => quietmp3:/var/lib/asterisk/mohmp3
;loud => mp3:/var/lib/asterisk/mohmp3
;random => quietmp3:/var/lib/asterisk/mohmp3,-z
;unbuffered => mp3nb:/var/lib/asterisk/mohmp3
;quietunbuf => quietmp3nb:/var/lib/asterisk/mohmp3
; Note that the custom mode cannot handle escaped parameters
(specifically embedded spaces)
;manual => custom:/var/lib/asterisk/mohmp3,/usr/bin/mpg123 -q -r 8000
-f 8192 -b 2048 --mono -s

When I call my queue I get this on the console 

Connected to Asterisk 1.0.7 currently running on aovas1 (pid = 13181)
Verbosity is at least 3
-- Remote UNIX connection
-- Executing Answer("SIP/08452418339-556a", "") in new stack
-- Executing Queue("SIP/08452418339-556a", "testq") in new stack
-- Playing 'queue-youarenext' (language 'en')
-- Told SIP/08452418339-556a in testq their queue position (which was 1)
-- Playing 'queue-thankyou' (language 'en')
-- Playing 'queue-youarenext' (language 'en')
-- Told SIP/08452418339-556a in testq their queue position (which was 1)
-- Playing 'queue-thankyou' (language 'en')

The extensions.conf is configured like ...

  exten => X,1,Answer
  exten => X,2,Queue(testq)

Where  is obviously the number I am dialling.

I have also tried to following extension with no joy

  exten =>  ,1,Answer
  exten =>  ,2,MusicOnHold(default)
  exten =>  ,3,Busy

In which case I get this on the cli

Executing Answer("SIP/-56f4", "") in new stack
-- Executing MusicOnHold("SIP/-56f4", "default") in new stack
Mar 27 13:40:05 WARNING[13181]: res_musiconhold.c:354 moh0_exec: Unable to start
 music on hold (class 'default') on channel SIP/-56f4
  == Spawn extension (default, , 2) exited non-zero on 'SIP

Please tell me I am doing something stupid ! as I would love to know,
before I pull all my hair out :-)

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