[RESOLVED] Sangoma A200 outgoing call issues...
Incoming calls work fine, although I do not know, or cannot seem to configure trix to use the card for outgoing calls...
This is probably a simple config issue, but here are my settings.
[size=xx-small][font=Courier]
[b]lspci shows the device[/b]
00:08.0 Network controller: Sangoma Technologies Corp.: Unknown device 0040
[b]lsmod shows[/b]
Module Size Used by
af_wanpipe 31680 0
wanpipe 335648 0
wanrouter 35400 2 af_wanpipe,wanpipe
sdladrv 45308 2 wanpipe,wanrouter
md5 4033 1
ipv6 235137 12
autofs4 24773 0
i2c_dev 11329 0
i2c_core 22081 1 i2c_dev
sunrpc 162725 1
zaptel 206852 7 wanpipe
crc_ccitt 2113 1 zaptel
dm_mirror 27825 0
dm_mod 57556 1 dm_mirror
button 6481 0
battery 8901 0
ac 4805 0
joydev 10241 0
uhci_hcd 31065 0
ehci_hcd 30917 0
8139too 25921 0
mii 5185 1 8139too
floppy 58481 0
ext3 116809 2
jbd 71385 1 ext3
[b]/etc/zaptel.conf[/b]
# Autogenerated by /usr/local/sbin/genzaptelconf -- do not hand edit
# Zaptel Configuration File
#
# This file is parsed by the Zaptel Configurator, ztcfg
#
# It must be in the module loading order
# Span 1: ZTDUMMY/1 "ZTDUMMY/1 1"
# Span 2: WRTDM/0 "wrtdm Board 1"
# ??: 1 WRTDM/0/0
# ??: 2 WRTDM/0/1
# ??: 3 WRTDM/0/2
# ??: 4 WRTDM/0/3
# ??: 5 WRTDM/0/4
# ??: 6 WRTDM/0/5
...
# ??: 23 WRTDM/0/22
# ??: 24 WRTDM/0/23
# Global data
loadzone = us
defaultzone = us
fxsks = 3-4
[b]zapata.conf[/b]
;
; Zapata telephony interface
;
; Configuration file
[trunkgroups]
[channels]
;switchtype=national
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
busydetect=yes
busycount=6
usecallerid=yes
callerid=asreceived
;cidsignalling=bell
hidecallerid=no
;cidstart=ring
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=0
callgroup=1
pickupgroup=1
immediate=no
;faxdetect=both
faxdetect=incoming
;faxdetect=outgoing
;faxdetect=no
;Include genzaptelconf configs
#include zapata-auto.conf
group=1
signalling = fxs_ks
group = 2
channel = 3-4
;Include AMP configs
#include zapata_additional.conf
[b]zapata-auto.conf[/b]
; Autogenerated by /usr/local/sbin/genzaptelconf -- 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
; Span 1: ZTDUMMY/1 "ZTDUMMY/1 1"
; Span 2: WRTDM/0 "wrtdm Board 1"
; ??: 1 WRTDM/0/0
; ??: 2 WRTDM/0/1
; ??: 3 WRTDM/0/2
...
; ??: 23 WRTDM/0/22
; ??: 24 WRTDM/0/23
[b]/etc/wanpipe/wanpipe1.conf [/b]
#================================================
# WANPIPE1 Configuration File
#================================================
#
# Date: Tue Jul 4 15:19:00 PDT 2006
#
# 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_ANALOG, Comment
[interfaces]
w1g1 = wanpipe1, , TDM_VOICE, Comment
[wanpipe1]
CARD_TYPE = AFT
S514CPU = A
CommPort = PRI
AUTO_PCISLOT = NO
PCIBUS = 0
PCISLOT = 8
FE_MEDIA = FXO/FXS
TDMV_LAW = MULAW
MTU = 1500
UDPPORT = 9000
TTL = 255
IGNORE_FRONT_END = NO
TDMV_SPAN = 1
[w1g1]
ACTIVE_CH = 3-4
TDMV_ECHO_OFF = NO
[b]ztcfg -vvvvvvvv[/b]
Zaptel Configuration
======================
Channel map:
Channel 03: FXS Kewlstart (Default) (Slaves: 03)
Channel 04: FXS Kewlstart (Default) (Slaves: 04)
2 channels configured.
[/font][/size]
I have tried setting the groups in zapata.conf and changing the zap trunks in trix to match, but I still get " all chanels are busy". I even tried setting the zap trunk to 3 or 4. Same result...
oops!, sorry. I knew that I would forget to port something...
/proc/zaptel/*
Span 1: WRTDM/0 "wrtdm Board 1"
1 WRTDM/0/0
2 WRTDM/0/1
3 WRTDM/0/2 FXSKS (In use)
4 WRTDM/0/3 FXSKS (In use)
5 WRTDM/0/4
6 WRTDM/0/5
7 WRTDM/0/6
8 WRTDM/0/7
9 WRTDM/0/8
10 WRTDM/0/9
11 WRTDM/0/10
12 WRTDM/0/11
13 WRTDM/0/12
14 WRTDM/0/13
15 WRTDM/0/14
16 WRTDM/0/15
17 WRTDM/0/16
18 WRTDM/0/17
19 WRTDM/0/18
20 WRTDM/0/19
21 WRTDM/0/20
22 WRTDM/0/21
23 WRTDM/0/22
24 WRTDM/0/23
Span 2: ZTDUMMY/1 "ZTDUMMY/1 1"
Yea, it was just me being dumb. I had the outbound route still pointing to the spa3000 (I stole the line from here for the sangoma card!) That flash operator panel is what gave it away. All calls were going to the wrong trunk. (my fault)
DOH!!
Thanks for the fast reply though...


Member Since:
2006-05-31