All pastes #952423 Raw Edit

Mine

public text v1 · immutable
#952423 ·published 2008-03-22 04:00 UTC
rendered paste body
#================================================
# WANPIPE1 Configuration File
#================================================
#
# Date: Fri Mar 21 17:44:54 EDT 2008
#
# Note: This file was generated automatically
#       by /usr/sbin/wancfg program.
#
#       If you want to edit this file, it is
#       recommended that you use wancfg program
#       to do so.
#================================================
# 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         = 4
PCIBUS          = 2
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       = YES
_____________________________
#================================================
# WANPIPE1 Configuration File
#================================================
#
# Date: Wed Dec  6 20:29:03 UTC 2006
#
# Note: This file was generated automatically
#       by /usr/local/sbin/setup-sangoma program.
#
#       If you want to edit this file, it is
#       recommended that you use wancfg program
#       to do so.
#================================================
# Sangoma Technologies Inc.
#================================================

[devices]
wanpipe2 = WAN_AFT_TE1, Comment

[interfaces]
w2g1 = wanpipe2, , TDM_VOICE, Comment

[wanpipe2]
CARD_TYPE       = AFT
S514CPU         = A
CommPort        = PRI
AUTO_PCISLOT    = NO
PCISLOT         = 4
PCIBUS          = 2
FE_MEDIA        = T1
FE_LCODE        = B8ZS
FE_FRAME        = ESF
FE_LINE         = 2
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       = 2
TDMV_DCHAN      = 24
TDMV_HW_DTMF    = NO

[w2g1]
ACTIVE_CH       = ALL
TDMV_ECHO_OFF   = NO
TDMV_HWEC       = YES
_________________________
[root@pbx asterisk]# cat /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 A102 port 1 [slot:4 bus:2 span:1] <wanpipe1>
span=1,0,0,esf,b8zs
bchan=1-23
#hardhdlc=24
dchan=24

#Sangoma A102 port 2 [slot:4 bus:2 span:2] <wanpipe2>
span=2,0,0,esf,b8zs
bchan=25-47
hardhdlc=48
#dchan=48
______________________________________________
[root@pbx asterisk]# cat /etc/asterisk/zapata.conf
;autogenerated by /usr/local/sbin/config-zaptel  do not hand edit
;Zaptel Channels Configurations (zapata.conf)
;
;For detailed zapata options, view /etc/asterisk/zapata.conf.orig

[trunkgroups]

[channels]
context=default
usecallerid=yes
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
canpark=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=yes
relaxdtmf=yes
rxgain=0.0
txgain=0.0
group=1
callgroup=1
pickupgroup=1

immediate=no

;Sangoma A102 port 1 [slot:4 bus:2 span:1] <wanpipe1>
switchtype=ni1
context=from-pstn
group=0
signalling=pri_cpe
channel =>1-24

;Sangoma A102 port 2 [slot:4 bus:2 span:2] <wanpipe2>
switchtype=ni1
context=from-pstn
group=0
signalling=pri_cpe
channel =>25-47

____________________________
[root@pbx asterisk]# wanrouter status

Devices currently active:
        wanpipe1 wanpipe2


Wanpipe Config:

Device name | Protocol Map | Adapter  | IRQ | Slot/IO | If's | CLK | Baud rate |
wanpipe1    | N/A          | A101/1D/A102/2D/4/4D/8| 169 | 4       | 1    | EXT | 0         |
wanpipe2    | N/A          | A101/1D/A102/2D/4/4D/8| 169 | 4       | 1    | EXT | 0         |

Wanrouter Status:

Device name | Protocol | Station | Status        |
wanpipe1    | AFT HDLC | N/A     | Connected     |
wanpipe2    | AFT HDLC | N/A     | Connected     |

________________________________________________
[root@pbx asterisk]# cat /proc/interrupts
           CPU0       CPU1       CPU2       CPU3
  0:   23529283          0          0          0    IO-APIC-edge  timer
  1:         33          0        456          0    IO-APIC-edge  i8042
  8:          0          0          0          0    IO-APIC-edge  rtc
  9:          0          0          0          0   IO-APIC-level  acpi
 12:        105          0        687          0    IO-APIC-edge  i8042
 14:        204          0     210077          0    IO-APIC-edge  ide0
 90:          0          0          0          0   IO-APIC-level  uhci_hcd:usb1
 98:          0          0          0          0   IO-APIC-level  uhci_hcd:usb2
106:          0          0          0          0   IO-APIC-level  uhci_hcd:usb3
114:          0          0          0          0   IO-APIC-level  ehci_hcd:usb4
122:         68          0       9000       4231       PCI-MSI-X  eth1-Q0
130:         22          0         48         20       PCI-MSI-X  eth1
146:         91          0       6600       2635       PCI-MSI-X  eth2-Q0
154:         22          0         32         56       PCI-MSI-X  eth2
169:     100591          0   10202572   13225704   IO-APIC-level  wanpipe1, wanpipe2
170:        168          0       5208      17303   IO-APIC-level  eth3
177:      10516          0      24433          0   IO-APIC-level  aacraid
NMI:        446        187        946       1220
LOC:   23525448   23525403   23525322   23525250
ERR:          0
MIS:          0