[Asterisk-Users] help on MOH config, pretty close?
Rich Adamson
radamson at routers.com
Tue Sep 9 17:59:34 MST 2003
The show modules command line suggests that is Not loaded. Should if be, and
if so, where do I do that?
Rich
------------------------
> Do you have loaded ztdummy as module?
>
>
> -----Mensaje original-----
> Trying to test the music on hold function and can't seem to get it to work.
> If anyone has it running, could you give me a clue? (I have googled and
> found lots of questions, but no real suggestions.)
>
> I downloaded and installed the mpg123 package. From the RH9 console I can
> start the executable and hear the music via the speakers. The executable
> is located in /usr/bin. (That works!)
>
> I set the following line in musiconhold.conf file:
> default => mp3:/var/lib/asterisk/mohmp3/
> and when I do a ps ax |grep mpg123 I get:
> 15798 pts/0 S 0:00 /usr/bin/mpg123 -q -s --mono -r 8000 -b 2048
> For-You.mp3
> If I stop asterisk, the above line disappears. (That works!)
>
> For lab work, the sip.conf has:
> allow=ulaw
> only.
>
> In the zapata.conf file I have:
> musiconhold=default
>
> On asterisk startup, the console window shows:
> == Parsing '/etc/asterisk/musiconhold.conf': Found
> WARNING[1074504864]: File res_musiconhold.c, Line 506 (moh_register):
> Unable to
> open pseudo channel for timing... Sound may be choppy.
> == Registered application 'MusicOnHold'
> == Registered application 'WaitMusicOnHold'
> == Registered application 'SetMusicOnHold'
> which looks like its okay.
>
> The the asterisk command line, I see:
> -- Called 3002
> -- SIP/3002-3ed3 is ringing
> -- SIP/3002-3ed3 is ringing
> -- SIP/3002-3ed3 answered SIP/3000-0e7b
> -- Attempting native bridge of SIP/3000-0e7b and SIP/3002-3ed3
> -- Started music on hold, class 'default', on SIP/3002-3ed3
> but nothing is heard on either C7960's or Snom 200.
>
> I have not modified anything in sip.conf or extensions.conf; am I suppose
> to?
>
> What am I missing????
>
> Rich
>
>
>
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
---------------End of Original Message-----------------
More information about the asterisk-users
mailing list