All pastes #938231 Raw Edit

Unnamed

public text v1 · immutable
·published 2008-03-11 14:07 UTC
rendered paste body
dustbunny:~# ztcfg -vvvvvvvvvvvvvv

Zaptel Version: 1.4.8
Echo Canceller: MG2
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 to configure.




    -- Reloading module 'chan_zap.so' (Zapata Telephony)
  == Parsing '/etc/asterisk/zapata.conf': Found
[Mar 11 04:11:53] WARNING[12504]: chan_zap.c:11176 process_zap: Ignoring switchtype
[Mar 11 04:11:53] WARNING[12504]: chan_zap.c:11176 process_zap: Ignoring signalling
[Mar 11 04:11:53] ERROR[12504]: chan_zap.c:10527 build_channels: Unable to reconfigure channel '1-23'
[Mar 11 04:11:53] WARNING[12504]: chan_zap.c:11494 reload: Reload of chan_zap.so is unsuccessful!
[Mar 11 04:11:53] VERBOSE[12504] logger.c:     -- Reloading module 'chan_zap.so' (Zapata Telephony)
[Mar 11 04:11:53] VERBOSE[12504] logger.c:   == Parsing '/etc/asterisk/zapata.conf': [Mar 11 04:11:53] VERBOSE[12504] logger.c: Found
[Mar 11 04:11:53] WARNING[12504] chan_zap.c: Ignoring switchtype
[Mar 11 04:11:53] WARNING[12504] chan_zap.c: Ignoring signalling
[Mar 11 04:11:53] ERROR[12504] chan_zap.c: Unable to reconfigure channel '1-23'
[Mar 11 04:11:53] WARNING[12504] chan_zap.c: Reload of chan_zap.so is unsuccessful!







dustbunny:/etc/asterisk# cat /proc/zaptel/1
Span 1: WPT1/0 "wanpipe1 card 0" (MASTER) B8ZS/ESF

           1 WPT1/0/1 Clear
           2 WPT1/0/2 Clear
           3 WPT1/0/3 Clear
           4 WPT1/0/4 Clear
           5 WPT1/0/5 Clear
           6 WPT1/0/6 Clear
           7 WPT1/0/7 Clear
           8 WPT1/0/8 Clear
           9 WPT1/0/9 Clear
          10 WPT1/0/10 Clear
          11 WPT1/0/11 Clear
          12 WPT1/0/12 Clear
          13 WPT1/0/13 Clear
          14 WPT1/0/14 Clear
          15 WPT1/0/15 Clear
          16 WPT1/0/16 Clear
          17 WPT1/0/17 Clear
          18 WPT1/0/18 Clear
          19 WPT1/0/19 Clear
          20 WPT1/0/20 Clear
          21 WPT1/0/21 Clear
          22 WPT1/0/22 Clear
          23 WPT1/0/23 Clear
          24 WPT1/0/24 HDLCFCS

(zaptel)
# 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:12 bus:2 span:1] <wanpipe1>
span=1,0,0,esf,b8zs
bchan=1-23
dchan=24

(zapata)
;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 A101 port 1 [slot:12 bus:2 span:1] <wanpipe1>
context=from-pstn
group=1
switchtype=national
signalling=pri_cpe
channel => 1-23

(wanpipe)
#================================================
# 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]
wanpipe1 = WAN_AFT_TE1, Comment

[interfaces]
w1g1 = wanpipe1, , TDM_VOICE, Comment

[wanpipe1]
CARD_TYPE       = AFT
S514CPU         = A
CommPort        = PRI
AUTO_PCISLOT    = NO
PCISLOT         = 12
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
TDMV_HW_DTMF    = NO

[w1g1]
ACTIVE_CH       = ALL
TDMV_ECHO_OFF   = NO
TDMV_HWEC       = YES

Connected to Asterisk 1.4.17 currently running on dustbunny (pid = 11293)
Verbosity is at least 7
dustbunny*CLI> zap show status
Description                              Alarms     IRQ        bpviol     CRC4
wanpipe1 card 0                          OK         0          0          0
dustbunny*CLI> zap show channels
   Chan Extension  Context         Language   MOH Interpret
 pseudo            from-pstn                  default
dustbunny*CLI>     -- Executing [2004005@TRG:1] Dial("SIP/110-08366a20", "zap/g1/2004005") in new stack
[Mar 11 04:08:23] WARNING[12396]: app_dial.c:1191 dial_exec_full: Unable to create channel of type 'zap' (cause 0 - Unknown)
  == Everyone is busy/congested at this time (1:0/0/1)
  == Auto fallthrough, channel 'SIP/110-08366a20' status is 'CHANUNAVAIL'
    -- Executing [2004005@TRG:1] Dial("SIP/110-08366a20", "zap/g1/2004005") in new stack
[Mar 11 04:08:23] WARNING[12396]: app_dial.c:1191 dial_exec_full: Unable to create channel of type 'zap' (cause 0 - Unknown)
  == Everyone is busy/congested at this time (1:0/0/1)
  == Auto fallthrough, channel 'SIP/110-08366a20' status is 'CHANUNAVAIL'