[Asterisk-Users] help on MOH config, pretty close?

Rich Adamson radamson at routers.com
Tue Sep 9 18:38:53 MST 2003


After following your suggestions, I get....

[root at Phoenix zaptel]# /sbin/modprobe ztdummy
/lib/modules/2.4.20-18.9/misc/zaptel.o: kernel-module version mismatch
        /lib/modules/2.4.20-18.9/misc/zaptel.o was compiled for kernel version 2
.4.20-6
        while this kernel is version 2.4.20-18.9.
/lib/modules/2.4.20-18.9/misc/zaptel.o: insmod /lib/modules/2.4.20-18.9/misc/zap
tel.o failed
/lib/modules/2.4.20-18.9/misc/zaptel.o: insmod ztdummy failed
[root at Phoenix zaptel]# 

I should have two X100P Digium cards arriving tomorrow. Rather then mess with this,
should I just wait until those cards are installed?


------------------------
> If I'm not mistaken, ztdummy makes work moh and meetme...
> Do lsmod from sh. If you don't see ztdummy, download zaptel, and modify
> Makefile. Line 89 must be:
> 
> MODULES=zaptel.o tor2.o torisa.o wcusb.o wcfxo.o wcfxs.o \
>         ztdynamic.o ztd-eth.o wct1xxp.o wct4xxp.o ztdummy.o
> 
> (Remove # preceding ztdummy.o)
> 
> Then, do a make and make install. When finish, do:
> 
> modprobe ztdummy
> 
> Meetme and MOH should work now.
> 
> 
> ----- Original Message -----
> From: "Rich Adamson" <radamson at routers.com>
> To: <asterisk-users at lists.digium.com>
> Sent: Tuesday, September 09, 2003 9:59 PM
> Subject: RE: [Asterisk-Users] help on MOH config, pretty close?
> 
> 
> > 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-----------------
> >
> >
> > _______________________________________________
> > 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