[Asterisk-Users] Modem Connection from TDM card to TE4xxP card

Adam Goryachev mailinglists at websitemanagers.com.au
Mon Jul 11 23:17:09 MST 2005


I just needed to test a dialup modem connection (don't ask) and I had a
modem connected to a TDM card (FXS port) which then dialled out via a E1
PRI on a TE4xxp card.
See my log below:

atdt0198xxxxxx
CONNECT 36000 V42bis

** Dial IP **

Username: xxxx
Password:
    Entering PPP Session.
    IP address is xxx.xxx.xxx.xxx
    MTU is 1500.

OK
ATH0
OK
ATDT0198xxxxxx
CONNECT 31200 V42bis

** Dial IP **

Username: xxxx
Password:
    Entering PPP Session.
    IP address is xxx.xxx.xxx.xxx
    MTU is 1500.

OK
ATh0
OK

So it looks like there are at least some cases where the TDM cards do
work very well even for modem connections.

Some details of this setup:
aster0x root # lspci
0000:00:00.0 Host bridge: Intel Corp. 82875P Memory Controller Hub (rev
02)
0000:00:03.0 PCI bridge: Intel Corp. 82875P Processor to PCI to CSA
Bridge (rev 02)
0000:00:1c.0 PCI bridge: Intel Corp. 6300ESB 64-bit PCI-X Bridge (rev
02)
0000:00:1d.0 USB Controller: Intel Corp. 6300ESB USB Universal Host
Controller (rev 02)
0000:00:1d.1 USB Controller: Intel Corp. 6300ESB USB Universal Host
Controller (rev 02)
0000:00:1d.4 System peripheral: Intel Corp. 6300ESB Watchdog Timer (rev
02)
0000:00:1d.5 PIC: Intel Corp. 6300ESB I/O Advanced Programmable
Interrupt Controller (rev 02)
0000:00:1e.0 PCI bridge: Intel Corp. 82801 PCI Bridge (rev 0a)
0000:00:1f.0 ISA bridge: Intel Corp. 6300ESB LPC Interface Controller
(rev 02)
0000:00:1f.1 IDE interface: Intel Corp. 6300ESB PATA Storage Controller
(rev 02)
0000:00:1f.2 IDE interface: Intel Corp. 6300ESB SATA Storage Controller
(rev 02)
0000:00:1f.3 SMBus: Intel Corp. 6300ESB SMBus Controller (rev 02)
0000:01:01.0 Ethernet controller: Intel Corp. 82547GI Gigabit Ethernet
Controller
0000:02:02.0 Communication controller: Xilinx Corporation: Unknown
device 0314 (rev 01)
0000:02:04.0 Communication controller: Tiger Jet Network Inc. Tiger3XX
Modem/ISDN interface
0000:03:00.0 VGA compatible controller: ATI Technologies Inc Rage XL
(rev 27)
0000:03:01.0 Ethernet controller: Intel Corp. 82557/8/9 [Ethernet Pro
100] (rev 10)

aster0x root # cat /proc/cpuinfo
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 15
model           : 3
model name      : Intel(R) Pentium(R) 4 CPU 3.20GHz
stepping        : 4
cpu MHz         : 3193.205
cache size      : 1024 KB
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 5
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge
mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe pni
monitor ds_cpl cid
bogomips        : 6307.84

aster0x root # cat /proc/interrupts
           CPU0
  0: 1598414593    IO-APIC-edge  timer
  1:       1540    IO-APIC-edge  i8042
  8:          4    IO-APIC-edge  rtc
 10:          0   IO-APIC-level  acpi
 12:        842    IO-APIC-edge  i8042
 14:          1    IO-APIC-edge  ide0
 17:    8599800   IO-APIC-level  eth1
 18:   62398983   IO-APIC-level  libata, eth0
 24: 1598214277   IO-APIC-level  t4xxp
 26: 1598215786   IO-APIC-level  wctdm              <- BTW, module is
actually wcfxs
NMI:          0
LOC: 1598524578
ERR:          0
MIS:          0

Asterisk version, and likely zaptel/libpri are from the same date:
aster0x asterisk # cat .version
CVS-v1-0-06/02/05-18:22:29

aster0x zaptel # ./zttest
Opened pseudo zap interface, measuring accuracy...
100.000000% 100.000000% 100.000000% 100.000000% 100.000000% 100.000000%
100.000000%
100.000000% 100.000000% 99.987793% 100.000000% 100.000000% 100.000000%
100.000000% 99.987793%
100.000000% 100.000000% 100.000000% 100.000000% 100.000000% 99.987793%
100.000000% 99.987793%
100.000000% 100.000000% 99.987793% 100.000000% 100.000000% 100.000000%
100.000000% 99.987793%
100.000000% 100.000000% 100.000000% 100.000000% 100.000000% 100.000000%
100.000000% 100.000000%
100.000000% 100.000000% 100.000000% 100.000000% 100.000000% 100.000000%
100.000000% 100.000000%
100.000000% 100.000000% 100.000000% 100.000000% 100.000000% 99.987793%
100.000000% 100.000000%
99.987793% 100.000000% 99.987793% 100.000000% 100.000000% 100.000000%
100.000000% 99.987793%
--- Results after 63 passes ---
Best: 100.000000 -- Worst: 99.987793

Feel free to request additional information or tests...

Regards,
Adam





More information about the asterisk-users mailing list