[Asterisk-Users] MusicOnHold

Brian West brian at bkw.org
Tue Aug 19 14:02:06 MST 2003


put mpg123 in /usr/bin

bkw

On Tue, 19 Aug 2003, Asterisk - linux - JVB wrote:

> Yes I linked all the mp3 and mpg extensions with the mpg123 program
> (/usr/local/bin) ... but still not able to get the music on hold playing
>
> Getting curious now what I am doing wrong ...
>
> Andrew Joakimsen wrote:
>
> > Did you remove the symlink for mpg123 -> mpg321 and replace it with a
> > symlink to the correct location for mpg123? I have also noticed when
> > using the eStara softphone that if push to talk is enabled if you do
> > not press ctrl to "talk" you cannot hear the music on hold, as well as
> > some other oddities.
> >
> >
> >
> > -----Original Message-----
> > *From:* asterisk-users-admin at lists.digium.com
> > [mailto:asterisk-users-admin at lists.digium.com] *On Behalf Of *Asterisk
> > - linux - JVB
> > *Sent:* Tuesday, August 19, 2003 3:13 PM
> > *To:* asterisk-users at lists.digium.com
> > *Subject:* Re: [Asterisk-Users] MusicOnHold
> >
> >
> >
> > Andrew, thanks I already have got mpg123 installed and working.
> >  However still got the MOH stuff up and running.
> > Got a feeling it has got something to do with the stottering audio
> > (see my other message on this list)
> >
> >     NOTICE[1116949808]: File res_musiconhold.c, Line 258
> > (monmp3thread): Request to schedule in the past?!?!
> >
> > Any suggestions are welcome ....
> >
> >
> > Andrew Joakimsen wrote:
> >
> > http://www.marko.net/asterisk/archives/0207/0097.html
> >
> >
> >
> > -----Original Message-----
> > *From:* asterisk-users-admin at lists.digium.com
> > <mailto:asterisk-users-admin at lists.digium.com>
> > [mailto:asterisk-users-admin at lists.digium.com]*On Behalf Of *Asterisk
> > - linux - JVB
> > *Sent:* Tuesday, August 19, 2003 6:12 AM
> > *To:* asterisk-users at lists.digium.com
> > <mailto:asterisk-users at lists.digium.com>
> > *Subject:* [Asterisk-Users] MusicOnHold
> >
> >
> >
> > Does anybody know why I can NOT hear the MusicOnHold - using SJphone
> > on another PC in our network (normal playback is not a problem) .
> > See the * output and the line configured in extension.conf below (also
> > mp3player does not function)
> >
> > Any suggestions?
> >
> >
> > *Asterisk output:*
> >
> > *CLI>     -- Executing WaitMusicOnHold("SIP/jeroen-bf54", "30") in new
> > stack
> >     -- Started music on hold, class 'default', on SIP/jeroen-bf54
> >     -- Stopped music on hold on SIP/jeroen-bf54
> >     -- Timeout on SIP/jeroen-bf54
> >     -- Executing Goto("SIP/jeroen-bf54", "#|1") in new stack
> >     -- Goto (default,#,1)
> >     -- Sent into invalid extension '#' in context 'default' on
> > SIP/jeroen-bf54
> >     -- Executing Playback("SIP/jeroen-bf54", "invalid") in new stack
> >     -- Playing 'invalid'
> >
> >
> > *Extension.conf*
> >
> > exten => 4000,1,WaitMusicOnHold,30
> > exten => 4001,1,mp3player(/var/lib/asterisk/mohmp3/sample-hold.mp3)
> >
> > *musiconhold.conf*
> >
> > [classes]
> > default => quietmp3:/var/lib/asterisk/mohmp3
> >
> >
> >
>
>



More information about the asterisk-users mailing list