[Cialug] Asterisk Config Woes

Jonathan C. Bailey jbailey at co.marshall.ia.us
Fri Oct 26 09:39:20 CDT 2007


Here is the current configs... This is a slight change from before, but the Sangoma card works fine...


root at switchboard:/etc/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 A400 [slot:7 bus:1 span:1]
fxsks=1-8
fxoks=11,12

# foneBRIDGE2
dynamic=eth,eth0/00:50:c2:65:d0:3c/0,24,1
dynamic=eth,eth0/00:50:c2:65:d0:3c/1,24,2
bchan=13-35
dchan=36
bchan=37-59
dchan=60

root at switchboard:/etc/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
rxgain=0.0
txgain=0.0
group=1
callgroup=1
pickupgroup=1
immediate=no

;Sangoma A400 [slot:7 bus:1 span:1]
context=from-zaptel
group=0
signalling = fxs_ks
channel => 1
channel => 2
channel => 3
channel => 4
channel => 5
channel => 6
channel => 7
channel => 8

context=from-internal
group=1
signalling = fxo_ks
channel => 11
channel => 12

; First port on foneBRIDGE2 - Uses PRI CPE device since it's a CPE to Qwest
;context=from-comdial
;group=2
;channel => 13-35

; First port on foneBRIDGE2 - Uses PRI NET since it's the network to the Comdial switch
;context=from-comdial
;group=3
;channel => 37-59










Jonathan Bailey
Webmaster, Marshall County, Iowa
E: jbailey at co.marshall.ia.us
A: 1 E Main St, Marshalltown, IA 50158
P: 641-844-2804
C: 515-988-1021

----- Original Message -----
From: "Tom Pohl" <tom at tcpconsulting.com>
To: "Central Iowa Linux Users Group" <cialug at cialug.org>
Sent: Friday, October 26, 2007 9:20:20 AM (GMT-0600) America/Chicago
Subject: Re: [Cialug] Asterisk Config Woes

What's your zapata.conf look like?  It needs to be setup as if you  
had a regular PRI.

-Tom

On Oct 25, 2007, at 5:31 PM, Jonathan C. Bailey wrote:

> I'm trying to set up a new Asterisk box and seem to be having an  
> issue with the TDMoE setup. I've got my Sangoma card (ch 1-12)  
> working, but can't seem to get the T1 working over TDMoE. The  
> remote device, a foneBRIDGE2 is sending data but a zap show  
> channels only shows the Sangoma channels... Any ideas? ztdynamic  
> and ztd_eth are loaded...
>
>
> [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
> rxgain=0.0
> txgain=0.0
> group=1
> callgroup=1
> pickupgroup=1
> immediate=no
>
> ;Sangoma A400 [slot:7 bus:1 span:1]
> context=from-zaptel
> group=0
> signalling = fxs_ks
> channel => 1
>
> context=from-zaptel
> group=0
> signalling = fxs_ks
> channel => 2
>
> ********CUT - goes to CH 12***************88
> ;foneBRIDGE2
> group=2
> signalling=pri_cpe
> dynamic=eth,eth0/00:50:c2:65:d0:3c/0,24,1
> dynamic=eth,eth0/00:50:c2:65:d0:3c/1,24,2
> bchan=1-23
> dchan=24
> bchan=25-47
> dchan=48
> loadzone=us
> defaultzone=us
> channel => 1-48
>
> Jonathan Bailey
> Webmaster, Marshall County, Iowa
> E: jbailey at co.marshall.ia.us
> A: 1 E Main St, Marshalltown, IA 50158
> P: 641-844-2804
> C: 515-988-1021
>
> _______________________________________________
> Cialug mailing list
> Cialug at cialug.org
> http://cialug.org/mailman/listinfo/cialug

_______________________________________________
Cialug mailing list
Cialug at cialug.org
http://cialug.org/mailman/listinfo/cialug



More information about the Cialug mailing list