[Asterisk-Users] pri gateway

altus altus at stormcorp.co.za
Thu Sep 8 22:24:01 MST 2005


These are my configs for a sangoma 4 port connected to E1's in the UK

loadzone = us
loadzone=uk
defaultzone=uk

span=1,1,0,ccs,hdb3,crc4
span=2,1,0,ccs,hdb3,crc4
span=3,1,0,ccs,hdb3,crc4
span=4,1,0,ccs,hdb3,crc4


# card 0 - span 1
bchan=1-15,17-31
dchan=16

# card 0 - span 2
bchan=32-46,48-62
dchan=47

# card 0 - span 3
bchan=63-77,79-93
dchan=78

# card 0 - span 4
bchan=94-108,110-124
dchan=109

and zapata.conf
[channels]
context=default
switchtype=euroisdn
pridialplan=unknown
prilocaldialplan=unknown
priindication = outofband
usecallerid=yes
hidecallerid=no
restrictcid=no
usecallingpres=yes
callwaitingcallerid=yes
echocancel=yes
echocancelwhenbridged=yes
echotraining=yes
callgroup=1
pickupgroup=1

; card 0 - span 1
switchtype = euroisdn
signalling = pri_cpe
group = 1
context = incoming
channel => 1-15,17-31

; card 0 - span 2
switchtype = euroisdn
signalling = pri_cpe
group = 1
context = incoming
channel => 32-46,48-62

; card 0 - span 3
switchtype = euroisdn
signalling = pri_cpe
group = 1
context = incoming
channel => 63-77,79-93

; card 0 - span 4
switchtype = euroisdn
signalling = pri_cpe
group = 1
context = incoming
channel => 94-108,110-124


Maybe its your telco??


On Thu, 2005-09-08 at 15:23 +0300, Baris Simsek wrote:
> hi,
> 
> my asterisk version is 1.0.9
> 
> /etc/zaptel.conf
> span=1,1,0,ccs,hdb3,crc4
> bchan=1-15
> dchan=16
> bchan=17-31
> 
> it is comfortable with Turkish Telecom. i tried before and it works.
> 
> /etc/asterisk/zapata.conf
> [channels]
> switchtype=euroisdn
> signalling=pri_cpe
> context=incoming
> group=1
> channel=>1-15,17-31
> 
> Leds are lighting at start. When i run /etc/init.d/zaptel they go out. 
> And i can see the modules are installed. and i see that, layer 1 is 
> going up after zaptel. So i am sure there is no problem with drivers. I 
> think it is connected to asterisk. any idea? thanks...
> 
> altus wrote:
> 
> >what about a copy of your zapata.conf and zaptel.conf,what color is the
> >leds
> >
> >On Thu, 2005-09-08 at 12:42 +0300, Baris Simsek wrote:
> >  
> >
> >>hello,
> >>
> >>i installed an asterisk as  a pri gateway. Everything is okay. 
> >>/etc/init.d/zaptel starts successfull with wct4xxp module. 
> >>/etc/init.d/asterisk starts also successfully. I tested my pri cable and 
> >>it works. But still my span isn't up. I don't see any error. Do you have 
> >>any idea? What else i should check? Thanks.
> >>
> >>My card is 4 span Wildcard TE410P 
> >><http://www.digium.com/index.php?menu=product_detail&category=hardware&product=TE410P>
> >>
> >># lsmod
> >>wct4xxp               106688  62
> >>zaptel                226820  129 wct4xxp
> >>
> >># asterisk -r
> >>gw*CLI> pri show span 1
> >>Primary D-channel: 16
> >>Status: Provisioned, In Alarm, Down, Active
> >>Switchtype: EuroISDN
> >>Type: CPE
> >>Window Length: 0/7
> >>Sentrej: 0
> >>SolicitFbit: 0
> >>Retrans: 0
> >>Busy: 0
> >>Overlap Dial: 0
> >>T200 Timer: 1000
> >>T203 Timer: 10000
> >>T305 Timer: 30000
> >>T308 Timer: 4000
> >>T313 Timer: 4000
> >>N200 Counter: 3
> >>    
> >>
> 
> 
> 
-- 

Thanks
Altus Snyman
Stormcorp Network Solutions
+27 11 8071141 exten 301




More information about the asterisk-users mailing list