/etc/zaptel.conf::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: # Autogenerated by /usr/local/sbin/sangoma/setup-sangoma -- do not hand edit # Zaptel Channels Configurations (zaptel.conf) # loadzone=us defaultzone=us #Sangoma A101 port 1 [slot:2 bus:4 span: 1] span=1,0,0,esf,b8zs bchan=1-23 dchan=24 /etc/asterisk/zapata.conf::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: ; ; Zapata telephony interface ; ; Configuration file [trunkgroups] [channels] language=en context=from-zaptel signalling=fxs_ks rxwink=300 ; Atlas seems to use long (250ms) winks ; ; Whether or not to do distinctive ring detection on FXO lines ; ;usedistinctiveringdetection=yes usecallerid=yes hidecallerid=no callwaiting=yes usecallingpres=yes callwaitingcallerid=yes threewaycalling=yes transfer=yes cancallforward=yes callreturn=yes echocancel=yes echocancelwhenbridged=no echotraining=800 rxgain=0.0 txgain=0.0 group=1 callgroup=1 pickupgroup=1 immediate=no ;faxdetect=both faxdetect=incoming ;faxdetect=outgoing ;faxdetect=no ;Include genzaptelconf configs #include zapata-auto.conf ;Include AMP configs #include zapata_additional.conf /etc/asterisk/zapata-auto.conf::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: ; Autogenerated by /usr/local/sbin/sangoma/setup-sangoma -- do not hand edit ; Zaptel Channels Configurations (zapata.conf) ; ; This is not intended to be a complete zapata.conf. Rather, it is intended ; to be #include-d by /etc/zapata.conf that will include the global settings ; callerid=asreceived ;Sangoma A101 port 1 [slot:2 bus:4 span: 1] switchtype=national context=from-pstn group=0 signalling=pri_cpe channel => 1-23 /etc/wanpipe/wanpipe1.conf::::::::::::::::::::::::::::::::::::::::::::::::::::::::: #================================================ # Sangoma Technologies Inc. #================================================ [devices] wanpipe1 = WAN_AFT_TE1, Comment [interfaces] w1g1 = wanpipe1, , TDM_VOICE, Comment [wanpipe1] CARD_TYPE = AFT S514CPU = A CommPort = PRI AUTO_PCISLOT = NO PCISLOT = 2 PCIBUS = 4 FE_MEDIA = T1 FE_LCODE = B8ZS FE_FRAME = ESF FE_LINE = 1 TE_CLOCK = NORMAL TE_REF_CLOCK = 0 TE_HIGHIMPEDANCE = NO LBO = 0DB FE_TXTRISTATE = NO MTU = 1500 UDPPORT = 9000 TTL = 255 IGNORE_FRONT_END = NO TDMV_SPAN = 1 TDMV_DCHAN = 24 [w1g1] ACTIVE_CH = ALL TDMV_ECHO_OFF = NO TDMV_HWEC = NO ###########/var/log/wanrouter:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: Wed May 30 05:01:32 PDT 2007: starting WAN router Starting up device: wanpipe1 WAN Router Configurator(c) 1995-2003 Sangoma Technologies Inc. * Parsing configuration file /etc/wanpipe/wanpipe1.conf ... * Reading section [devices]... * Reading section [wanpipe1]... * Reading section [interfaces]... * w1g1 to used by TDM_VOICE * Reading section [w1g1]... * Configuring device wanpipe1 (no description) * Setting CARD_TYPE to AFT * Setting S514CPU to A * Setting COMMPORT to PRI * Setting AUTO_PCISLOT to NO * Setting PCISLOT to 2 * Setting PCIBUS to 4 * Setting FE_MEDIA to T1 * Setting FE_LCODE to B8ZS * Setting FE_FRAME to ESF * Setting FE_LINE to 1 * Setting TE_CLOCK to NORMAL * Setting TE_REF_CLOCK to 0 * Setting TE_HIGHIMPEDANCE to NO * Setting LBO to 0DB * Setting FE_TXTRISTATE to NO * Setting MTU to 1500 * Setting UDPPORT to 9000 * Setting TTL to 255 * Setting IGNORE_FRONT_END to NO * Setting TDMV_SPAN to 1 * Setting TDMV_DCHAN to 24 ###########/var/log/messages:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: May 30 04:58:59 localhost kernel: WANPIPE(tm) WANEC Layer Stable 2.3.4-7 (c) 1995-2006 Sangoma Technologies Inc. May 30 04:58:59 localhost kernel: wanec_create_dev: Registering Wanpipe ECDEV Device! May 30 04:58:59 localhost kernel: wanpipe1: Starting WAN Setup May 30 04:58:59 localhost kernel: May 30 04:58:59 localhost kernel: Processing WAN device wanpipe1... May 30 04:58:59 localhost kernel: wanpipe1: Locating: A102/2D/4/4D/8 card, CPU A, PciSlot=2, PciBus=4 May 30 04:58:59 localhost kernel: wanpipe1: Error, A102/2D/4/4D/8 card not found on bus #4, slot #2, cpu A, line 1 May 30 05:00:00 localhost kernel: af_wanpipe: Unregistering Wanpipe API Socket Module May 30 05:00:00 localhost kernel: NET: Unregistered protocol family 25 May 30 05:00:00 localhost kernel: wanec_remove_dev: Unregistering Wanpipe ECDEV Device! May 30 05:00:00 localhost kernel: WANEC Layer: Unloaded May 30 05:00:00 localhost kernel: WANPIPE L.I.P: Unloaded May 30 05:00:00 localhost kernel: May 30 05:00:00 localhost kernel: wanpipe: WANPIPE Modules Unloaded. May 30 05:00:08 localhost zaptel: Unloading ztdummy: succeeded May 30 05:00:08 localhost zaptel: Unloading wctdm: succeeded May 30 05:00:08 localhost zaptel: Unloading wcfxo: succeeded May 30 05:00:08 localhost zaptel: Unloading wcte11xp: succeeded May 30 05:00:08 localhost zaptel: Unloading wct1xxp: succeeded May 30 05:00:08 localhost zaptel: Unloading wct4xxp: succeeded May 30 05:00:08 localhost kernel: Unregistered Tormenta2 May 30 05:00:08 localhost zaptel: Unloading tor2: succeeded May 30 05:00:08 localhost kernel: Zapata Telephony Interface Unloaded May 30 05:00:08 localhost zaptel: Removing zaptel module: succeeded May 30 05:00:37 localhost kernel: sdladrv: No versions for exported symbols. Tainting kernel. May 30 05:00:37 localhost kernel: WANPIPE(tm) Hardware Support Module Stable 2.3.4-7 (c) 1994-2007 Sangoma Technologies Inc May 30 05:00:37 localhost kernel: Zapata Telephony Interface Registered on major 196 May 30 05:00:37 localhost kernel: Zaptel Version: Echo Canceller: KB1 May 30 05:00:37 localhost kernel: wanrouter: No versions for exported symbols. Tainting kernel. May 30 05:00:37 localhost kernel: WANPIPE(tm) Interface Support Module Stable 2.3.4-7 (c) 1994-2007 Sangoma Technologies Inc May 30 05:00:38 localhost kernel: WANPIPE(tm) Multi-Protocol WAN Driver Module Stable 2.3.4-7 (c) 1994-2007 Sangoma Technologies Inc May 30 05:00:38 localhost kernel: wanpipe: Probing for WANPIPE hardware. May 30 05:00:38 localhost kernel: ACPI: PCI interrupt 0000:04:02.0[A] -> GSI 52 (level, low) -> IRQ 201 May 30 05:00:38 localhost kernel: wanpipe: AFT-A101-SH T1/E1 card found (HDLC (DS) rev.29), cpu(s) 1, bus #4, slot #2, irq #201 May 30 05:00:38 localhost kernel: wanpipe: Allocating maximum 1 devices: wanpipe1 - wanpipe1. May 30 05:00:38 localhost kernel: WANPIPE: TDM Codecs Initialized May 30 05:00:38 localhost kernel: WANPIPE(tm) Socket API Module Stable 2.3.4-7 (c) 1994-2007 Sangoma Technologies Inc May 30 05:00:38 localhost kernel: NET: Registered protocol family 25 May 30 05:00:38 localhost kernel: WANPIPE(tm) L.I.P Network Layer Stable 2.3.4-7 (c) 1995-2004 Sangoma Technologies Inc. May 30 05:00:38 localhost kernel: WanpipeLIP: Protocols: No Protocol Compiled May 30 05:00:38 localhost kernel: May 30 05:00:38 localhost kernel: WANPIPE(tm) WANEC Layer Stable 2.3.4-7 (c) 1995-2006 Sangoma Technologies Inc. May 30 05:00:38 localhost kernel: wanec_create_dev: Registering Wanpipe ECDEV Device! May 30 05:01:32 localhost kernel: wanpipe1: Starting WAN Setup May 30 05:01:32 localhost kernel: May 30 05:01:32 localhost kernel: Processing WAN device wanpipe1... May 30 05:01:32 localhost kernel: wanpipe1: Locating: A102/2D/4/4D/8 card, CPU A, PciSlot=2, PciBus=4 May 30 05:01:32 localhost kernel: wanpipe1: Error, A102/2D/4/4D/8 card not found on bus #4, slot #2, cpu A, line 1 #################################More Stuff:::::::::::::::::::::::::::::::::::::::::::::::::::::::: [root@localhost ~]# wancfg Failed to read 'WAN_BIN_DIR' in 'wanrouter.rc'! Using default: '/usr/sbin'. ****** Reading section [devices]... ****** Reading section [wanpipe1]... * Setting CARD_TYPE to AFT * Setting S514CPU to A * Setting COMMPORT to PRI * Setting AUTO_PCISLOT to NO * Setting PCISLOT to 2 * Setting PCIBUS to 4 * Setting FE_MEDIA to T1 * Setting FE_LCODE to B8ZS * Setting FE_FRAME to ESF * Setting FE_LINE to 1 * Setting TE_CLOCK to NORMAL * Setting TE_REF_CLOCK to 0 * Setting TE_HIGHIMPEDANCE to NO * Setting LBO to 0DB * Setting FE_TXTRISTATE to NO * Setting MTU to 1500 * Setting UDPPORT to 9000 * Setting TTL to 255 * Setting IGNORE_FRONT_END to NO * Setting TDMV_SPAN to 1 * Setting TDMV_DCHAN to 24 ****** Reading section [interfaces]... ****** Reading section [w1g1]... * Setting ACTIVE_CH to ALL * Setting TDMV_ECHO_OFF to NO * Setting TDMV_HWEC to NO [root@localhost ~]# service wanrouter start Starting WAN Router... Starting up device: wanpipe1 wanconfig: WAN device wanpipe1 driver load failed !! : ioctl(wanpipe1,ROUTER_SETUP) failed: : 22 - Invalid argument Wanpipe driver did not load properly Please check /var/log/wanrouter and /var/log/messages for errors Configuring interfaces: w1g1 w1g1: unknown interface: No such device done. Zaptel Configuration ====================== SPAN 1: ESF/B8ZS Build-out: 0 db (CSU)/0-133 feet (DSX-1) Channel map: Channel 01: Clear channel (Default) (Slaves: 01) Channel 02: Clear channel (Default) (Slaves: 02) Channel 03: Clear channel (Default) (Slaves: 03) Channel 04: Clear channel (Default) (Slaves: 04) Channel 05: Clear channel (Default) (Slaves: 05) Channel 06: Clear channel (Default) (Slaves: 06) Channel 07: Clear channel (Default) (Slaves: 07) Channel 08: Clear channel (Default) (Slaves: 08) Channel 09: Clear channel (Default) (Slaves: 09) Channel 10: Clear channel (Default) (Slaves: 10) Channel 11: Clear channel (Default) (Slaves: 11) Channel 12: Clear channel (Default) (Slaves: 12) Channel 13: Clear channel (Default) (Slaves: 13) Channel 14: Clear channel (Default) (Slaves: 14) Channel 15: Clear channel (Default) (Slaves: 15) Channel 16: Clear channel (Default) (Slaves: 16) Channel 17: Clear channel (Default) (Slaves: 17) Channel 18: Clear channel (Default) (Slaves: 18) Channel 19: Clear channel (Default) (Slaves: 19) Channel 20: Clear channel (Default) (Slaves: 20) Channel 21: Clear channel (Default) (Slaves: 21) Channel 22: Clear channel (Default) (Slaves: 22) Channel 23: Clear channel (Default) (Slaves: 23) Channel 24: D-channel (Default) (Slaves: 24) 24 channels configured. ZT_SPANCONFIG failed on span 1: No such device or address (6) [root@localhost ~]# lspci 00:00.0 Host bridge: Intel Corporation E7501 Memory Controller Hub (rev 01) 00:00.1 Class ff00: Intel Corporation E7500/E7501 Host RASUM Controller (rev 01) 00:03.0 PCI bridge: Intel Corporation E7500/E7501 Hub Interface C PCI-to-PCI Bridge (rev 01) 00:03.1 Class ff00: Intel Corporation E7500/E7501 Hub Interface C RASUM Controller (rev 01) 00:1d.0 USB Controller: Intel Corporation 82801CA/CAM USB (Hub #1) (rev 02) 00:1d.1 USB Controller: Intel Corporation 82801CA/CAM USB (Hub #2) (rev 02) 00:1d.2 USB Controller: Intel Corporation 82801CA/CAM USB (Hub #3) (rev 02) 00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 42) 00:1f.0 ISA bridge: Intel Corporation 82801CA LPC Interface Controller (rev 02) 00:1f.1 IDE interface: Intel Corporation 82801CA Ultra ATA Storage Controller (rev 02) 00:1f.3 SMBus: Intel Corporation 82801CA/CAM SMBus Controller (rev 02) 01:03.0 Ethernet controller: Intel Corporation 82557/8/9 [Ethernet Pro 100] (rev 0d) 01:04.0 Ethernet controller: Intel Corporation 82540EM Gigabit Ethernet Controller (rev 02) 01:08.0 Communication controller: Conexant: Unknown device 10b4 (rev 89) 01:0c.0 VGA compatible controller: ATI Technologies Inc Rage XL (rev 27) 02:1c.0 PIC: Intel Corporation 82870P2 P64H2 I/OxAPIC (rev 04) 02:1d.0 PCI bridge: Intel Corporation 82870P2 P64H2 Hub PCI Bridge (rev 04) 02:1e.0 PIC: Intel Corporation 82870P2 P64H2 I/OxAPIC (rev 04) 02:1f.0 PCI bridge: Intel Corporation 82870P2 P64H2 Hub PCI Bridge (rev 04) 03:03.0 SCSI storage controller: Adaptec AIC-7901A U320 (rev 03) 04:02.0 Network controller: Sangoma Technologies Corp. A200/Remora FXO/FXS Analog AFT card