Question

Configuring Digium TDM410P card for use in asterisk installation on Ubuntu server 7.10

Asked by: krusher00

I've recently setup a company VoIP server running asterisk 1.4 and freePBX to administrate it, which we would like to use to handle some incoming lines.

I've purchased and installed a Digium TDM410P with 2 x FXO and 2 x FXS modules + Echo Cancellation module, but the lights on the card don't light up to indicate it is active, and I can't get the card to work as trunks either, it seems as thou asterisk isn't recognising it at all.

I have confirmed the card is working but running up a trixbox installation on another box and putting the card in there where it works fine.

Running 'lspic' on the server shows the card as follows:
03:08.0 Ethernet controller: Digium, Inc. Unknown device 8005 (rev 11)

What is the standard way to get it to recognise and use this card?
I've been using asterisk for a couple of months now both for home and work use but have never installed a FXO/S card.

Edit: please also note for the hardware/line config, that the server is in Australia

This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.

Subscribe now for full access to Experts Exchange and get

Instant Access to this Solution

  • Plus...
  • 30 Day FREE access, no risk, no obligation
  • Collaborate with the world's top tech experts
  • Unlimited access to our exclusive solution database
  • Never be left without tech help again

Subscribe Now

Asked On
2008-03-10 at 00:31:18ID23227692
Tags

Digium

,

Asterisk

,

1.4.17

,

Running on ubuntu server 7.10

,

PSTN Card

,

TDM410P

,

Card is tested and working on a trixbox installation.

Topics

Voice Over IP

,

Ubuntu

,

Asterisk Open Source Telephony

Participating Experts
1
Points
500
Comments
21

Trusted by hundreds of thousands everyday for fast, accurate and reliable tech support.

  • "The time we save is the biggest benefit of Experts Exchange to Warner Bros. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange." Mike Kapnisakis, Warner Bros.
  • "Our team likes having a resource that is more secure than just using Google and most experts using this service really know their stuff. It's nice to look here first versus using Google." Dayna Sellner, Lockheed Martin
  • "Anytime that I've been stumped with a problem, 9 out of 10 times Experts Exchange has either the accepted solution or an open discussion of the potential solution to the problem." Kenny Red, eBay Inc.

See what Experts Exchange can do for you.

Got a question?

We've got the answer.

Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.

Screenshot of Experts Exchange Knowledgebase

Need individual assistance?

Our experts are ready to help.

If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.

Screenshot of Experts Exchange Knowledgebase

Want to learn from the best?

Read articles from industry experts.

Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.

Screenshot of an Article

Working on a long term project?

Store your work and research.

Save solutions to your questions, answers you’ve discovered through searching plus helpful articles in your personal knowledgebase for easy future access.

Screenshot of Experts Exchange Knowledgebase

Access the answers to your technology questions today.

Subscribe Now

30-day free trial. Register in 60 seconds.

What Makes Experts Exchange Unique?

Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Trusted by the world's most respected brands.

image of each brand's logo

Faithfully serving IT professionals since 1996.

Experts Exchange Logo

Try it out and discover for yourself.

Subscribe Now

30-day free trial. Register in 60 seconds.

Related Solutions

  1. Asterisk voicemail indication
    Hi, ive just installed Asterisk 1.5 and have connected Cisco Phones to it. All seems fine i can make VoIP calls and PSTN breakout calls etc. The problem i have is the voicemail indicator. When leaving a message on the voicemail of an extension the message indication light tu...
  2. Asterisk QoS
    Hi, Just wondering if anyone has successfully deployed an Asterisk phone system with Cisco Router QoS? What how did you tag the packets in Asterisk and what did you use on the Cisco router? Thanks
  3. SIP Trunk setup on Vicidial (Asterisk)
    Hey guys, Im in a tough spot right now. Not being a native linux user, im having a hard time setting up a sip trunk on vicidial. It took me 2 days just to get the server set up and accessible to other computers on the same network. Now im stuck on how to get a sip trunk conf...

Free Tech Articles

  1. WARNING: 5 Reasons why you should NEVER fix a computer for free.
    It is in our nature to love the puzzle. We are obsessed. The lot of us. We love puzzles. We love the challenge. We thrive on finding the answer. We hate disarray. It bothers us deep in our soul. W...
  2. SCCM OSD Basic troubleshooting
    SCCM 2007 OSD is a fantastic way to deploy operating systems, however, like most things SCCM issues can sometimes be difficult to resolve due to the sheer volume of logs to sift through and the dispe...
  3. Migrate Small Business Server 2003 to Exchange 2010 and Windows 2008 R2
    This guide is intended to provide step by step instructions on how to migrate from Small Business Server 2003 to Windows 2008 R2 with Exchange 2010. For this migration to work you will need the fo...
  4. Create a Win7 Gadget
    This article shows you how to create a simple "Gadget" -- a sort of mini-application supported by Windows 7 and Vista. Gadgets can be dropped anywhere on the desktop to provide instant information, ...
  5. Outlook continually prompting for username and password
    There have been a lot of questions recently regarding Outlook prompting for a username and password whilst using Exchange 2007. There are a few reasons why this would happen and I will try to cover t...
  6. Backup Exchange 2010 Information Store using Windows Backup
    There seems to be quite a lot of confusion around the ability to backup Exchange 2010 using the built in Windows Backup feature. This stems from the omission of this feature prior to Exchange 2007 s...

Cloud Class Webinars

  1. Avoiding Bugs in Microsoft Access
    Alison Balter takes and in-depth look at avoiding bugs in Access. In this webinar you will learn about using the immediate window to debug your applications, invoking the debugger, using breakpoints to troubleshoot, stepping through code, setting the next statement to execute, ...
  2. Top 10 Best New Features in Visio 2010
    Scott Helmers gives live demonstrations of the top 10 new features in Visio 2010. This webinar will teach you how to create compelling diagrams by adding shapes to the page with a single click, linking the shapes in a diagram to data in Excel (or SQL Server, or SharePoint), ...
  3. IT Consultant Business Secrets Revealed
    Michael Munger, Experts Exchange tech pro and IT consultant, pulls back the curtain on his very successful businesses and answers question on every IT consultant and business owner should know about. He shares secrets on what he did to solve the 5 most common problems in IT, ...
  4. Disaster Recovery and Business Continuity
    Quest CTO, Mike Billon, gives an overview of the steps involved in building a dunamic disaster recovery plan. Through case studies and an examination of software/hardware tooles for monitoring and testing, you'll gain a better understandin of where you are, where you want ...
  5. Organize Your Visio Diagrams with Containers and Lists
    Scott Helmers uses cross functional flowcharts, wireframe diagrams, data graphic legends and seating charts to teach you: how to ustilize all three new structured diagram components in Visio 2010, the best practices for organizeing shapes in previous version of Visio, how to organize ...
  6. How to Us Objects, Properties, Events and Methods in Microsoft Access
    Alison Dalter gives an in-depbth look at objects, properties, events and methods in Microsoft Access. In this webinar you will learn about using the object browser, referring to objects, working with properties and methods, working with object variables, understanding the ...

Join the Community

Give a Little. Get a Lot.

Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.

Join the Community

Answers

 

by: krusher00Posted on 2008-03-10 at 01:42:16ID: 21084801

 

by: grbladesPosted on 2008-03-10 at 01:55:13ID: 21084847

What do you get if you run the following commands :-

ztcfg -vvv

lsmod

Can you post the contents of your /etc/sysconfig/zaptel file.

 

by: krusher00Posted on 2008-03-10 at 02:00:12ID: 21084862

Running "sudo ztcfg -vvv"

Returns:

Zaptel Version: 1.4.8
Echo Canceller: MG2
Configuration
======================


Channel map:


0 channels configured.

ioctl(ZT_LOADZONE) failed: Invalid argument
Notice: Configuration file is /etc/zaptel.conf
line 11: Unable to register tone zone 'us'



---------


lsmod returns:

Module                  Size  Used by
af_packet              24840  2
ztdummy                 5584  0
lp                     12452  0
loop                   19076  0
snd_intel8x0           34972  0
snd_ac97_codec        100260  1 snd_intel8x0
ac97_bus                3200  1 snd_ac97_codec
snd_pcm_oss            44544  0
snd_mixer_oss          17664  1 snd_pcm_oss
snd_pcm                80388  3 snd_intel8x0,snd_ac97_codec,snd_pcm_oss
snd_seq_dummy           4740  0
snd_seq_oss            33152  0
snd_seq_midi            9600  0
snd_rawmidi            25728  1 snd_seq_midi
wctdm24xxp            123200  0
snd_seq_midi_event      8448  2 snd_seq_oss,snd_seq_midi
zaptel                193284  4 ztdummy,wctdm24xxp
snd_seq                53104  6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
s3fb                   21760  0
svgalib                10624  1 s3fb
snd_timer              24324  2 snd_pcm,snd_seq
snd_seq_device          9228  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
crc_ccitt               3072  1 zaptel
8139cp                 25344  0
vgastate               11008  1 s3fb
snd                    54532  10 snd_intel8x0,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
soundcore               8800  1 snd
snd_page_alloc         11528  2 snd_intel8x0,snd_pcm
iTCO_wdt               11940  0
iTCO_vendor_support     4868  1 iTCO_wdt
psmouse                39952  0
serio_raw               8068  0
intel_rng               6656  0
shpchp                 34580  0
pci_hotplug            32576  1 shpchp
parport_pc             37668  1
parport                37448  2 lp,parport_pc
intel_agp              25620  1
agpgart                35144  1 intel_agp
pcspkr                  4224  0
ipv6                  278916  23
evdev                  11136  0
ext3                  133640  1
jbd                    60456  1 ext3
mbcache                 9732  1 ext3
sg                     36380  0
sr_mod                 17700  0
cdrom                  37408  1 sr_mod
sd_mod                 30336  3
floppy                 59876  0
ehci_hcd               36748  0
uhci_hcd               26640  0
8139too                27776  0
mii                     6656  2 8139cp,8139too
ata_piix               17540  2
ata_generic             8580  0
libata                125296  2 ata_piix,ata_generic
scsi_mod              146828  4 sg,sr_mod,sd_mod,libata
usbcore               138760  3 ehci_hcd,uhci_hcd
thermal                14344  0
processor              32072  1 thermal
fan                     5764  0
fuse                   47124  1
apparmor               40600  0
commoncap               8320  1 apparmor

---------

Zaptel file is located at "/etc/default/zaptel" on ubuntu, let me know if this makes any difference.

TELEPHONY=yes
# DEBUG: Pass debug=1 to modules you load.
#        May break xpp_usb.
#DEBUG=yes
#
#Alternatively set:  options zaptel debug=1
#in /etc/modprobe.d/zaptel or /etc/modprobe.conf.
#
# ZTCFG: The full path to ztcfg. default: /sbin/ztcfg .
#ZTCFG=/usr/local/sbin/ztcfg
#
# ZTCFG_CMD: allow adding extra parameters to the ztcfg command.
#            May be handy for -v, but mostly for:
#ZTCFG_CMD=/sbin/ztcfg -c /home/tzafrir/myzaptel.conf
#
# XPP_SYNC: Can be used to set an explicit Astribank unit as the
#           synchronizing Astribank. Passed to xpp_sync(8) .
#           Default is 'auto' and is almost always a good choice.
#XPP_SYNC=01

# Un-comment as per your requirements; modules to load/unload
#Module Name                      Hardware
#MODULES="$MODULES tor2"                # T400P - Quad Span T1 Card
                                # E400P - Quad Span E1 Card

MODULES="$MODULES wct4xxp"      # TE405P - Quad Span T1/E1 Card (5v version)
                                # TE410P - Quad Span T1/E1 Card (3.3v version)
#wct4xxp_ARGS="t1e1override=15" # Additional parameters for TE4xxP driver
# or use /etc/modprobe.d/zaptel or /etc/modprobe.conf .

#MODULES="$MODULES wcte12xp"    # TE120P - Single Span T1/E1 Card

#MODULES="$MODULES wct1xxp"     # T100P - Single Span T1 Card
                                # E100P - Single Span E1 Card

#MODULES="$MODULES wcte11xp"    # TE110P - Single Span T1/E1 Card

#MODULES="$MODULES wctdm24xxp"  # TDM2400P - Modular FXS/FXO interface (1-24 ports)

#MODULES="$MODULES wcfxo"       # X100P - Single port FXO interface
                                # X101P - Single port FXO interface

MODULES="$MODULES wctdm"        # TDM400P - Modular FXS/FXO interface (1-4 ports)

#MODULES="$MODULES wcusb"       # S100U - Single port FXS USB Interface

#MODULES="$MODULES torisa"      # Old Tormenta1 ISA Card

#MODULES="$MODULES ztdummy"     # Zaptel Timing Only Interface

#MODULES="$MODULES xpp_usb"     # Xorcom Astribank Device

# Disables Astribank hotplug firmware loading
#XPP_HOTPLUG_DISABLED=yes
#
# Disables Astribank udev hook called when an astribank is added and ready
# or removed.
#ASTRIBANK_HOOK_DISABLED=yes
#
# Setup the configuration for the PRI module of the Astribank.
# Default: all E1,TE . See xpp/README.Astribank .
#XPP_PRI_SETUP='NUM/*/XPD-01=NT,E1'

# Extensions genzaptelconf are (base + channel_number)
# base is by default 6000:
#base_exten=6000
#
# There are a host of other variables you can set to affect
# genzaptelconf. See the beginning of the script.

 

by: grbladesPosted on 2008-03-10 at 02:22:00ID: 21084929

You seem to have the wctdm24xxp module loaded even though it is not enabled in the configuration.

I would try this.
Stop asterisk (/etc/init.d/asterisk stop)
Restart zaptel (/etc/init.d/zaptel restart)

The have a look at lsmod to see what modules are loaded now.

You can also have a look at the end of the /var/log/messages file to see if there are any warnings or errors mentioned there.

 

by: grbladesPosted on 2008-03-10 at 02:23:24ID: 21084934

What kernel version are you running?
Zaptel 1.4.9 is available which has a fix for running under kernel 2.6.24

 

by: krusher00Posted on 2008-03-10 at 07:14:03ID: 21086499

ok

grblades: firstly when I went to restart zaptel it gave me an error
Zaptel telephony kernel driver: ioctl(ZT_LOADZONE) failed: Invalid argument
Notice: Configuration file is /etc/zaptel.conf
line 11: Unable to register tone zone 'us'
zaptel.

I changed the loadzone in zaptel.conf to 'au' and restarted and it started fine.

------
Module                  Size  Used by
af_packet              24840  2
ztdummy                 5584  0
lp                     12452  0
loop                   19076  0
snd_intel8x0           34972  0
snd_ac97_codec        100260  1 snd_intel8x0
ac97_bus                3200  1 snd_ac97_codec
snd_pcm_oss            44544  0
snd_mixer_oss          17664  1 snd_pcm_oss
snd_pcm                80388  3 snd_intel8x0,snd_ac97_codec,snd_pcm_oss
snd_seq_dummy           4740  0
snd_seq_oss            33152  0
snd_seq_midi            9600  0
snd_rawmidi            25728  1 snd_seq_midi
wctdm24xxp            123200  0
snd_seq_midi_event      8448  2 snd_seq_oss,snd_seq_midi
zaptel                193284  2 ztdummy,wctdm24xxp
snd_seq                53104  6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_m                                                                                                                               idi_event
s3fb                   21760  0
svgalib                10624  1 s3fb
snd_timer              24324  2 snd_pcm,snd_seq
snd_seq_device          9228  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmi                                                                                                                               di,snd_seq
crc_ccitt               3072  1 zaptel
8139cp                 25344  0
vgastate               11008  1 s3fb
snd                    54532  10 snd_intel8x0,snd_ac97_codec,snd_pcm_oss,snd_mix                                                                                                                               er_oss,snd_pcm,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
soundcore               8800  1 snd
snd_page_alloc         11528  2 snd_intel8x0,snd_pcm
iTCO_wdt               11940  0
iTCO_vendor_support     4868  1 iTCO_wdt
psmouse                39952  0
serio_raw               8068  0
intel_rng               6656  0
shpchp                 34580  0
pci_hotplug            32576  1 shpchp
parport_pc             37668  1
parport                37448  2 lp,parport_pc
intel_agp              25620  1
agpgart                35144  1 intel_agp
pcspkr                  4224  0
ipv6                  278916  23
evdev                  11136  0
ext3                  133640  1
jbd                    60456  1 ext3
mbcache                 9732  1 ext3
sg                     36380  0
sr_mod                 17700  0
cdrom                  37408  1 sr_mod
sd_mod                 30336  3
floppy                 59876  0
ehci_hcd               36748  0
uhci_hcd               26640  0
8139too                27776  0
mii                     6656  2 8139cp,8139too
ata_piix               17540  2
ata_generic             8580  0
libata                125296  2 ata_piix,ata_generic
scsi_mod              146828  4 sg,sr_mod,sd_mod,libata
usbcore               138760  3 ehci_hcd,uhci_hcd
thermal                14344  0
processor              32072  1 thermal
fan                     5764  0
fuse                   47124  1
apparmor               40600  0
commoncap               8320  1 apparmor

----

I am running 1.4.8, should I upgrade to 1.4.9?
If so, should I redownload and remove then re "make install" the new package?
or just use apt-get or similar?

Regards,
Krusher

 

by: krusher00Posted on 2008-03-10 at 07:15:31ID: 21086513

Sorry, thats the zaptel version.
Kernal version is 2.6.22-14

 

by: krusher00Posted on 2008-03-10 at 07:37:55ID: 21086706

Also, here's a list of the zaptel files found under /etc/
/etc/default/zaptel
/etc/init.d/zaptel
/etc/rc0.d/K30zaptel
/etc/rc1.d/K30zaptel
/etc/rc2.d/S15zaptel
/etc/rc3.d/S15zaptel
/etc/rc4.d/S15zaptel
/etc/rc5.d/S15zaptel
/etc/rc6.d/K30zaptel
/etc/udev/rules.d/zaptel.rules
/etc/zaptel.conf
/etc/zaptel.conf.bak

As you noted, the /etc/default/zaptel DOES have "wctdm24xxp" commented out, but still starts, even after a full system restart.

 

by: krusher00Posted on 2008-03-10 at 07:43:11ID: 21086756

from /var/log/messages

--------
Mar 11 00:35:09 voip kernel: [   27.544556] Zapata Telephony Interface Registered on major 196
Mar 11 00:35:09 voip kernel: [   27.544562] Zaptel Version: 1.4.8
Mar 11 00:35:09 voip kernel: [   27.544564] Zaptel Echo Canceller: MG2
Mar 11 00:35:09 voip kernel: [   27.744789] ACPI: PCI Interrupt 0000:03:08.0[A] -> GSI 21 (level, low) -> IRQ 20
Mar 11 00:35:09 voip kernel: [   27.744947] PCI Config reg is 02900117
Mar 11 00:35:09 voip kernel: [   27.744955] Wildcard TDM410P: New Reg: fe590000!
Mar 11 00:35:09 voip kernel: [   27.745580] Detected REG0: 00000100
Mar 11 00:35:09 voip kernel: [   27.745778] Detected REG1: 00007849
Mar 11 00:35:09 voip kernel: [   27.746004] Detected REG2: 0000001d
Mar 11 00:35:09 voip kernel: [   27.746010] (pre) Reg fc is 50000027
Mar 11 00:35:09 voip kernel: [   27.746415] (post) Reg fc is 50000024
Mar 11 00:35:09 voip kernel: [   27.746639] Detected REG2: 0000ffff
Mar 11 00:35:09 voip kernel: [   27.746643] wctdm24xxp: reg is a04c0004
Mar 11 00:35:09 voip kernel: [   27.746698] Resetting the modules...
Mar 11 00:35:09 voip kernel: [   27.807645] During Resetting the modules...
Mar 11 00:35:09 voip kernel: [   27.816657] After resetting the modules...
Mar 11 00:35:09 voip kernel: [   28.000314] ACPI: PCI Interrupt 0000:00:1f.5[B] -> GSI 17 (level, low) -> IRQ 21
Mar 11 00:35:09 voip kernel: [   28.425501] intel8x0_measure_ac97_clock: measured 58316 usecs
Mar 11 00:35:09 voip kernel: [   28.425505] intel8x0: clocking to 48000
Mar 11 00:35:09 voip kernel: [   29.631433] Port 1: Installed -- AUTO FXS/DPO
Mar 11 00:35:09 voip kernel: [   31.662852] Port 2: Installed -- AUTO FXS/DPO
Mar 11 00:35:09 voip kernel: [   32.069140] Port 3: Installed -- AUTO FXO (FCC mode)
Mar 11 00:35:09 voip kernel: [   32.478418] Port 4: Installed -- AUTO FXO (FCC mode)
Mar 11 00:35:09 voip kernel: [   32.483407] VPM100: Not Present
Mar 11 00:35:09 voip kernel: [   32.896381] VPMADT032: firmware zaptel-fw-vpmadt032.bin not available from userspace
Mar 11 00:35:09 voip kernel: [   32.896525] wctdm24xxp: probe of 0000:03:08.0 failed with error -5
Mar 11 00:35:09 voip kernel: [   34.002208] loop: module loaded
Mar 11 00:35:09 voip kernel: [   34.032814] lp0: using parport0 (interrupt-driven).
Mar 11 00:35:09 voip kernel: [   34.194948] Adding 3028212k swap on /dev/sda5.  Priority:-1 extents:1 across:3028212k
Mar 11 00:35:09 voip kernel: [   34.530771] EXT3 FS on sda1, internal journal
Mar 11 00:35:09 voip kernel: [   36.778440] ztdummy: High Resolution Timer started, good to go
Mar 11 00:35:09 voip kernel: [   36.826669] Registered tone zone 1 (Australia)
Mar 11 00:35:13 voip kernel: [   39.883572] NET: Registered protocol family 17
Mar 11 00:35:13 voip kernel: [   40.445042] device eth0 entered promiscuous mode
Mar 11 00:35:13 voip kernel: [   40.445057] audit(1205159713.163:3): dev=eth0 prom=256 old_prom=0 auid=4294967295
----------
So it looks like it's sucessfully recognising the card here at least. Am not at work at the moment so not able to see if the light are on on the card yet.

 

by: grbladesPosted on 2008-03-10 at 07:49:29ID: 21086823

These lines dont look right :-

Mar 11 00:35:09 voip kernel: [   32.896381] VPMADT032: firmware zaptel-fw-vpmadt032.bin not available from userspace
Mar 11 00:35:09 voip kernel: [   32.896525] wctdm24xxp: probe of 0000:03:08.0 failed with error -5

I would try a reboot and if that does not work then upgrade zaptel.
To upgrade you just download the new zaptel source and compile and install it. Not need to remove the previous version as it will be overwritten. Its best to reboot afterwards so that you know if it works it will continue to work if the box is rebooted.

 

by: krusher00Posted on 2008-03-10 at 16:27:53ID: 21091531

Mar 11 08:38:17 voip kernel: [   30.199141] Port 1: Installed -- AUTO FXS/DPO
Mar 11 08:38:17 voip kernel: [   32.227565] Port 2: Installed -- AUTO FXS/DPO
Mar 11 08:38:17 voip kernel: [   32.638841] Port 3: Installed -- AUTO FXO (FCC mode)
Mar 11 08:38:17 voip kernel: [   33.048119] Port 4: Installed -- AUTO FXO (FCC mode)
Mar 11 08:38:17 voip kernel: [   33.053110] VPM100: Not Present
Mar 11 08:38:17 voip kernel: [   33.467911] VPMADT032: firmware zaptel-fw-vpmadt032.bin not available from userspace
Mar 11 08:38:17 voip kernel: [   33.468046] wctdm24xxp: probe of 0000:03:08.0 failed with error -5

Still shows the following, after the upgrade.

 

by: grbladesPosted on 2008-03-11 at 11:03:49ID: 21098306

What does 'ztcfg -vvv' show now?

 

by: krusher00Posted on 2008-03-11 at 17:51:18ID: 21102082

Zaptel Version: 1.4.9
Echo Canceller: MG2
Configuration
======================
Channel map:
0 channels to configure.
ZT_DEFAULTZONE failed: Invalid argument (22)

 

by: grbladesPosted on 2008-03-12 at 01:56:08ID: 21103993

Can you post your /etc/zaptel.conf file

 

by: krusher00Posted on 2008-03-12 at 21:17:08ID: 21113299

# Autogenerated by /usr/sbin/zapconf on Mon Mar 10 17:38:01 2008 -- do not hand edit
# Zaptel Configuration File
#
# This file is parsed by the Zaptel Configurator, ztcfg
#
# Span 1: ZTDUMMY/1 "ZTDUMMY/1 (source: HRtimer) 1" (MASTER)

# Global data

loadzone        = au
defaultzone     = us

-----
Update: changed defaultzone to 'au'

Now ztcfg -vvv reports:

Zaptel Version: 1.4.9
Echo Canceller: MG2
Configuration
======================
Channel map:
0 channels to configure.

--
Next step?

 

by: grbladesPosted on 2008-03-13 at 01:50:42ID: 21114274

You dont have any channels defined in zapata.conf which is why it is not doing anything.
It sais that that file is automatically generated by /usr/sbin/zapconf so I would try running it and seeing what it does.

 

by: krusher00Posted on 2008-03-13 at 17:53:20ID: 21122238

Running /usr/sbin/zapconf resets both loadzone and defaultzone back to 'us'
running ztcfg -vvv returns no errors and shows 0 channels.

How do I add the channels into zapata? (or what next?)

 

by: grbladesPosted on 2008-03-14 at 02:26:19ID: 21123910

zapconf probably takes the configuration from the freepbx configuration somewhere and then writes the file.
You can modify the file directly but then you run a risk that after a reboot or some other event zapconf is run again and overites your custom settings and it all stops working.

From your earlier posting :-
Mar 11 08:38:17 voip kernel: [   30.199141] Port 1: Installed -- AUTO FXS/DPO
Mar 11 08:38:17 voip kernel: [   32.227565] Port 2: Installed -- AUTO FXS/DPO
Mar 11 08:38:17 voip kernel: [   32.638841] Port 3: Installed -- AUTO FXO (FCC mode)
Mar 11 08:38:17 voip kernel: [   33.048119] Port 4: Installed -- AUTO FXO (FCC mode)
It looks like you have a FXS module in port 1-2 and a FXO module in ports 3-4.
A FXO module uses fxs signalling and a FXS module uses fxo signalling (confusing I know).

So you could try manually adding the following to the /etc/zaptel.conf and trying the ztcfg command again :-
fxoks=1-2
fxsks=3-4

 

by: krusher00Posted on 2008-03-15 at 07:41:45ID: 21132646

Zaptel Version: 1.4.9
Echo Canceller: MG2
Configuration
======================
Channel map:

Channel 01: FXO Kewlstart (Default) (Slaves: 01)
Channel 02: FXO Kewlstart (Default) (Slaves: 02)
Channel 03: FXS Kewlstart (Default) (Slaves: 03)
Channel 04: FXS Kewlstart (Default) (Slaves: 04)

4 channels to configure.

ZT_CHANCONFIG failed on channel 1: No such device or address (6)

Tried a restart to make sure settings were applied, no difference :-(

 

by: grbladesPosted on 2008-03-15 at 09:05:37ID: 21133110

I think its the zaptel driver not loading properly. The following lines indicate a problem :-
Mar 11 00:35:09 voip kernel: [   32.896381] VPMADT032: firmware zaptel-fw-vpmadt032.bin not available from userspace
Mar 11 00:35:09 voip kernel: [   32.896525] wctdm24xxp: probe of 0000:03:08.0 failed with error -5

I am out of ideas. I would contact digium at http://www.digium.com/en/company/contact.php and see what they say.

 

by: krusher00Posted on 2008-03-15 at 15:35:26ID: 31438184

Thanks for all the help so far, hopefully I can use the information we've got here to sort it out with digium.

20120131-EE-VQP-002

3 Ways to Join

30-Day Free Trial

The Experts

98% positive feedback on 31,087 answers since March 2000. angeliii is a Microsoft Most Valuable Professional for his work with MS SQL Server & Develoment.

He has also proven his knowledge of Visual Basic Programming, PHP Scripting and Oracle Databases.

The Experts

97% positive feedback on 10,752 answers since July 2000. lrmoore has more than 18 years experience in the networking industry.

The six-time Mircosoft MVPs specialties include firewalls, virtual private networking, and network management.

Testimonials

"...and excellent source for support... Kind of like having your very own IT dept." Electriciansnet

Testimonials

"I was apprehensive at signing up at first. However... it has already made my life as an IT administrator much easier." JaCrews

Testimonials

"WOW! You guys have great, active, and knowledgeable people on here." moore50

Business Clients

Business Clients

In the Press

"If you’ve got a question... Experts Exchange can supply an answer.”

In the Press

"...an invaluable aid for both IT professionals and those who require tech support."

In the Press

"where IT professionals provide quick answers on just about any topic"

Business Account Plans

Loading Advertisement...