[asterisk-users] Need help getting started with asterisk

Tzafrir Cohen tzafrir.cohen at xorcom.com
Mon Dec 18 13:47:42 MST 2006


On Mon, Dec 18, 2006 at 02:29:20PM -0600, Michael Sullivan wrote:
> On Mon, 2006-12-18 at 22:19 +0200, Tzafrir Cohen wrote:
> > On Mon, Dec 18, 2006 at 02:10:23PM -0600, Michael Sullivan wrote:
> > > On Wed, 2006-12-13 at 14:21 +1100, Paul Hales wrote:
> > > > I would be very surprised if your modem is supported by Asterisk - but I
> > > > suppose it's worth a try.
> > > > 
> > > > What does 'zap show status' and 'zap show channels' show in the Asterisk
> > > > CLI?
> > > > 
> > > > PaulH
> > > 
> > > OK.  I got the Motorola X100P put in:
> > > 
> > > Relevant lspci -v output:
> > > 
> > > 05:01.0 Communication controller: Motorola Wildcard X100P
> > >         Subsystem: Motorola Unknown device 0000
> > >         Flags: bus master, medium devsel, latency 32, IRQ 22
> > >         I/O ports at b800 [size=256]
> > >         Memory at ff900000 (32-bit, non-prefetchable) [size=4K]
> > >         Capabilities: [40] Power Management version 2
> > > 
> > > 
> > > However, although I can modprobe wctdm successfully, ztcfg still balks:
> > > 
> > > camille ~ # modprobe wctdm
> > 
> > You need the module wcfxo. But maybe it was hotplugged/
> > 
> > > camille ~ # /sbin/ztcfg -vv
> > > 
> > > Zaptel Configuration
> > > ======================
> > > 
> > > 
> > > Channel map:
> > > 
> > > Channel 02: FXS Kewlstart (Default) (Slaves: 02)
> > 
> > 02? Are you sure?
> 
> Is that not right?  That's what the pdf said - to put fxsks=2
> in /etc/zaptel.conf

What PDF?

> > 
> > > 
> > > 1 channels configured.
> > 
> > That is: this is what ztcfg tries to do.
> > 
> > > 
> > > ZT_CHANCONFIG failed on channel 2: No such device or address (6)
> > 
> > But it fails.
> > 
> > > 
> > > 
> > > "zap show channels" comes back with encouraging results though:
> > > 
> > > camille*CLI> zap show channels
> > >    Chan Extension  Context         Language   MusicOnHold         
> > >  pseudo            default                                        
> > > 
> > > 
> > > Do I need to moprobe something else or alter my kernel config for ztcfg
> > > not to error?
> > > -Michael Sullivan-
> > 
> > What do you see on /proc/zaptel/*
> 
> camille ~ # cat /proc/zaptel/*
> Span 1: WCFXO/0 "Wildcard X100P Board 1" 
> 
>            1 WCFXO/0/0 

Zaptel channel 1, indeed. Not 2.

> Span 2: ZTDUMMY/1 "ZTDUMMY/1 1" 
> 
> 
> > Try genzaptelconf ...
> 
> Where do I get that?
> 
> camille ~ # genzaptelconf
> bash: genzaptelconf: command not found

xpp/utils/genzaptelconf in the zaptel source directory.

-- 
               Tzafrir Cohen       
icq#16849755                    jabber:tzafrir at jabber.org
+972-50-7952406           mailto:tzafrir.cohen at xorcom.com       
http://www.xorcom.com  iax:guest at local.xorcom.com/tzafrir


More information about the asterisk-users mailing list