Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Integrating Asterisk with a Legend.

Status
Not open for further replies.

jomaha

Technical User
May 14, 2004
24
US
Hi,

I do the telecom for a school district. We are using the open source pbx Asterisk quite succesfully (using VoIP to route internal calls over our 100 mbs wan to connect about a dozen sites and also funnel all of the location's traffic through 2 telco PRIs. These are non-contiguous properties, some in different exchanges). I now have to connect Asterisk to a Legend (with a 100D DS1 Trunk card). The asterisk T1 interface can support a variety of PRI protocalls - both client or network side. Below are the relevent choices in its config files. What combination am I likely to have the the best results with? I would like to dial regular calls out through PRI to the asterisk switch and also do 4 digit dialing to other extensions on our asterisk system (of the form 7XXX or 6XXX - but not 64XX). Also I would like to route incoming calls based on their 4 digit extension (the building with the legend will have 64XX extensions).

*****************************
#
# The framing is one of "d4" or "esf" for T1 or "cas" or "ccs" for E1
#
# Note: "d4" could be referred to as "sf" or "superframe"
#
# The coding is one of "ami" or "b8zs" for T1 or "ami" or "hdb3" for E1
*****************************
;
; Switchtype: Only used for PRI.
;
; national: National ISDN 2 (default)
; dms100: Nortel DMS100
; 4ess: AT&T 4ESS
; 5ess: Lucent 5ESS
; euroisdn: EuroISDN
; ni1: Old National ISDN 1
;
switchtype=national
;
; PRI Dialplan: Only RARELY used for PRI.
;
; unknown: Unknown
; private: Private ISDN
; local: Local ISDN
; national: National ISDN
; international: International ISDN
;
;pridialplan=national

; Signalling method (default is fxs). Valid values:
; pri_cpe: PRI signalling, CPE side
; pri_net: PRI signalling, Network side

*****************************

The pri implementation is called libpri and is open-source. The project files can be found here (maybe one of you guys who knows a lot about the Legend-Ntwk switch-type can take a look and see what it would entail to add legend suppert - it might not be that different from one of the other switch types)...

ftp://ftp.digium.com/pub/libpri

or cvs at


...here is the first couple of lines for readme...

libpri: An implementation of Primate Rate ISDN

Written by Mark Spencer <markster@linux-support.net>

What is libpri?
===============

libpri is a C implementation of the Primary Rate ISDN specification. It was based on the Bellcore specification SR-NWT-002343 for National ISDN. As of May 12, 2001, it has been tested work with NI-2, Nortel DMS-100, and Lucent 5E Custom protocols on switches from Nortel and Lucent.

*************************

I know integrating a legend with asterisk has been touched on before, but I thought a new thread was in order. Asterisk is going to be huge! You guys may as well learn about it now.

Thanks,

John Harragin
 
Use voip-info.org for information on how to implement Asterisk.

For signalling, use ISDN-PRI signalling, DMS-100 Net on Asterisk, configure DID and UDP on Legend/Magix.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top