# Zaptel config

**URL:** <https://community.asterisk.org/t/zaptel-config/13117>\
**Category:** Asterisk Support\
**Created:** [March 15, 2007, 5:30pm UTC](https://community.asterisk.org/t/zaptel-config/13117 "2007-03-15T17:30:32Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![hamed\_m](https://avatars.discourse-cdn.com/v4/letter/h/e495f1/32.png) [@hamed\_m](https://community.asterisk.org/u/hamed_m)\
**Post date:** [March 15, 2007, 5:30pm UTC](https://community.asterisk.org/t/zaptel-config/13117/1 "2007-03-15T17:30:32Z")

</div>

We are trying to configure 60 channels on one group. Here is the zapata.conf :

`group=1
signalling=pri_cpe
overlapdial=yes
channel => 1-15,17-31,32-46,48-62`  
and zaptel.conf :

[code]span=1,0,0,ccs,hdb3  
span=2,0,0,ccs,hdb3

bchan = 1-15, 17-31  
dchan = 16  
bchan = 32-46,48-62  
dchan = 47[/code]

Is this the right configuration to do this? It seems for some reason we can not have more than 30 calls on this group. Please advise. Thank you in advance.

---

<div class="post-metadata">

**Author:** ![TeleFone](https://avatars.discourse-cdn.com/v4/letter/t/3be4f8/32.png) [@TeleFone](https://community.asterisk.org/u/TeleFone)\
**Post date:** [March 15, 2007, 5:54pm UTC](https://community.asterisk.org/t/zaptel-config/13117/2 "2007-03-15T17:54:45Z")

</div>

Here is what we have, not sure if it will help you.

keep in mind i have had to shorten it as we have more then one card over 200 channels.

[channels]  
context=default  
resetinterval=3600  
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  
progzone=sg  
group=1  
callgroup=1  
pickupgroup=1

relaxdtmf=yes

immediate=no

;Sangoma A104 port 1 [slot:8 bus:2 span: 1]  
switchtype=euroisdn  
context=zap-incoming  
signalling=pri\_cpe  
channel =\> 1-15,17-31,32-46,48-62

Now the Zaptel one:

loadzone=us  
defaultzone=us

#Sangoma A104 port 1 [slot:8 bus:2 span: 1]  
span=1,0,0,ccs,hdb3,crc4  
bchan=1-15,17-31  
dchan=16

#Sangoma A104 port 2 [slot:8 bus:2 span: 2]  
span=2,0,0,ccs,hdb3,crc4  
bchan=32-46,48-62  
dchan=47

Mind you though i am not sure if my Zapata is correct, or if it would suit your needs.

It should be the same for Digium cards as well, we use this same config for all the boxes with Digium cards as well.

Cheers,

David.

---

<div class="post-metadata">

**Author:** ![akauffmann](https://avatars.discourse-cdn.com/v4/letter/a/b5ac83/32.png) [@akauffmann](https://community.asterisk.org/u/akauffmann)\
**Post date:** [March 15, 2007, 11:22pm UTC](https://community.asterisk.org/t/zaptel-config/13117/3 "2007-03-15T23:22:31Z")

</div>

Here is what we do.

`group=0,1
channel => 1-15
channel => 17-31 
group=0,2
channel => 32-46
channel => 48-62
`  
This way if you use group 0 you have access to all channels, but you can force calls on a specific group to test one or the other E1. That said, your configuration (assuming there’s more to your zapata.conf than what you posted) should give you access to all 60 channels. Make sure both E1 are coming up and that you have 60 channels configured. From CLI type:

`zap show status
Description Alarms IRQ bpviol CRC4      
T4XXP (PCI) Card 0 Span 1 OK 0 0 0         
T4XXP (PCI) Card 0 Span 2 OK 0 0 0         
T4XXP (PCI) Card 0 Span 3 OK 0 0 0         
T4XXP (PCI) Card 0 Span 4 OK 0 0 0`

`zap show channels
Chan Extension Context Language MusicOnHold         
 pseudo from-pstn en default             
      1 from-pstn en default             
      2 from-pstn en default
...`

`pri show span 1
Primary D-channel: 16
Status: Provisioned, Up, Active
Switchtype: National ISDN
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`  
pri show span 2 should return the same information as first one except for the D-channel.  
Hope this helps,  
Alex
