[asterisk-users] Help with E1s

Steve Totaro stotaro at totarotechnologies.com
Mon Jun 2 16:42:38 CDT 2008


On Mon, Jun 2, 2008 at 4:30 PM, Tilghman Lesher
<tilghman at mail.jeffandtilghman.com> wrote:
> On Monday 02 June 2008 15:07, Rizwan Hisham wrote:
>> Thanx a lot Tzafrir and Tlighman. But i need to clear some more concepts
>> before starting to implement anything.
>>
>> In ATFOT i read about configuring an analogue pstn line, by configuring
>> /etc/zaptel.conf and some other things in etc/asterisk/zapata.conf, that
>> was just one line. if I configure the E1 card then ,correct me if im wrong,
>> i will have similar 32 channels like that single pstn line in TDM card, The
>> only difference will be the number of channels?
>
> No.  As I said before, you will have 30 channels of voice.  Not 32.
>
>> what are b & d channels and whats the difference between them?
>
> Bearer channels can transport voice.  The data channel is used exclusively
> for signalling.
>
>> Tilghman..
>> Can a 1.2GH machine handle 62 CONCURRENT zap calls?
>
> That would be 60, not 62.  Remember, there are 2 D channels, one for
> each circuit.  I provided the 1.2GHz speed as an example of the minimum
> you will probably need, as long as you do no transcoding, conferencing, or
> other tasks which would up the CPU load.  If you do either of those tasks
> (or the myriad of other tasks, like running a database on the same machine),
> you will need more CPU.  And given that a 1.2GHz machine is now generally
> more expensive than most new machines (which are considerably faster), it
> would probably be a wise choice to get the fastest machine for your money.
> I don't know what exactly is the sweet point on processors this month, but
> it's probably around 2.2GHz dual core.
>
>> If you can provide me a good source where i can find all the necessary
>> info then it will be more easier and faster for me.
>
> Froogle?  Pricewatch?
>
> --
> Tilghman
>

Configs for a live four port Digium T1 card.  genzaptelconf took care
of it for me, Sangoma has an install script that generates these files
as well.  Intel(R) Pentium(R) 4 CPU 2.80GHz.

/etc/zaptel.conf
# Autogenerated by ./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: TE4/0/1 "T4XXP (PCI) Card 0 Span 1" B8ZS/ESF
span=1,1,1,esf,b8zs
# termtype: te
bchan=1-23
dchan=24

# Span 2: TE4/0/2 "T4XXP (PCI) Card 0 Span 2" B8ZS/ESF RED
span=2,2,1,esf,b8zs
# termtype: te
bchan=25-47
dchan=48

# Span 3: TE4/0/3 "T4XXP (PCI) Card 0 Span 3" B8ZS/ESF RED
span=3,3,1,esf,b8zs
# termtype: te
bchan=49-71
dchan=72

# Span 4: TE4/0/4 "T4XXP (PCI) Card 0 Span 4" B8ZS/ESF RED
span=4,4,1,esf,b8zs
# termtype: te
bchan=73-95
dchan=96

# Global data

loadzone        = us
defaultzone     = us


/etc/asterisk/zapata.conf

; Autogenerated by ./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
;

; Span 1: TE4/0/1 "T4XXP (PCI) Card 0 Span 1" B8ZS/ESF
[channels]
group=1
context=from-pstn
switchtype = national
signalling = pri_cpe
channel => 1-23

; Span 2: TE4/0/2 "T4XXP (PCI) Card 0 Span 2" B8ZS/ESF RED
group=2
context=from-pstn
switchtype = national
signalling = pri_cpe
channel => 25-47

; Span 3: TE4/0/3 "T4XXP (PCI) Card 0 Span 3" B8ZS/ESF RED
group=3
context=from-pstn
switchtype = national
signalling = pri_cpe
channel => 49-71

; Span 4: TE4/0/4 "T4XXP (PCI) Card 0 Span 4" B8ZS/ESF RED
group=4
context=from-pstn
switchtype = national
signalling = pri_cpe
channel => 73-95

Thanks,
Steve Totaro



More information about the asterisk-users mailing list