extensions.conf / configuration question

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

extensions.conf / configuration question

Postby linuxknight » Mon Aug 11, 2008 12:48 pm

I'm fairly new to the asterisk/vicidial scene and have a couple questions about my configuration. Please forgive the novice nature of my questions. We have a Vicidial consultant coming to our location next week and would like to have a small test setup ready when he arrives, I'm unable to devote as much time to this daily as I'd like.

We have a TE405P card which will service the following 4 spans:
1) D4/AMI w/WINK E&M T1
2) D4/AMI w/WINK E&M T1
3) Z-PLEX-10-24S CHANNEL BANK
4) Z-PLEX-10-24S CHANNEL BANK

I've setup the ZPLEX as FXS, Loop Start and initialized all the voiceports accordingly. I'm confused about the numbering of the channels in zaptel.conf, and how they translate to the analog lines on the individual Channelbank ports...

I have my zaptel.conf setup as follows:

#T1-1 Circuit ID:
span=1,1,0,d4,ami
e&m=1-24

#T1-2 Circuit ID:
span=2,1,0,d4,ami
e&m=25-48

#Channel Bank 1
span=3,0,0,d4,ami
fxols=49-62

#Channel Bank 2
span=4,0,0,d4,ami
fxols=63-86

so, /etc/asterisk# ztcfg -v

Zaptel Configuration
======================

SPAN 1: D4/ AMI Build-out: 0 db (CSU)/0-133 feet (DSX-1)
SPAN 2: D4/ AMI Build-out: 0 db (CSU)/0-133 feet (DSX-1)
SPAN 3: D4/ AMI Build-out: 0 db (CSU)/0-133 feet (DSX-1)
SPAN 4: D4/ AMI Build-out: 0 db (CSU)/0-133 feet (DSX-1)

86 channels configured.

zapata.conf setup as follows:

group=1
context=incoming
signalling=feat_d
channel=1-24

group=2
context=incoming
signalling=feat_d
channel=25-48


group=3
context=channelbank
signalling=fxo_ls
channel=49-62

group=4
context=channelbank
signalling=fxo_ls
channel=63-86

A few questions:
1) Is the channel numbering correct here?
2) In extensions.conf will I begin my number at 49 instead of 1?
3) Does the TRUNK [global] in extensions.conf correlate to a span on the Digium, or to the Channelbank device?

Thank you
linuxknight
 
Posts: 58
Joined: Wed Aug 06, 2008 10:33 am

Postby mflorell » Mon Aug 11, 2008 2:01 pm

I would recommend doing the zaptel.conf like this:

span=1,1,0,d4,ami
span=2,2,0,d4,ami
span=3,0,0,d4,ami
span=4,0,0,d4,ami

e&m=1-48
fxoks=49-96



I was a bit confused by the 62 and 86 in there, aren't these Zhone Zplex channelbanks? In T1-mode the Digium card treats each port as having 24 channels.


here's the zapata.conf:

group=1
context=incoming
signalling=em_w
channel=1-24

group=2
context=incoming
signalling=em_w
channel=25-48

group=3
context=channelbank
signalling=fxo_ks
channel=49-72

group=4
context=channelbank
signalling=fxo_ks
channel=73-96



in the extensions.conf the groups are accessed according to the group in zapata.conf. For instance g2 would use the second T1 to dial out on. The channelbanks do start at channel 49 so if you did a direct dial you would use Zap/49 for the first channel on the first channelbank.

Hope that helps.
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida


Return to Support

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 118 guests