Giorgio Incantalupo wrote:
Hi,
I have an asterisk box with a sangoma a102 (two PRI ports).
Is is possible to connect port A to port B in order to use port B as a simulation of a telco PRI line? If yes, is there a special cable needed? How can I configure the card and zaptel.conf?

Yes. You'll need a T1 crossover cable to do it. Google for which pins to swap.

Configure one port as pri_net (acts as a central office switch) and the other port as pri_cpe (acts as a pbx). See the sample configs for other parameters (including /etc/zaptel.conf timing parameters).

Your zapata.conf entries will look something like these:
resetinterval=never  ; gets rid of the many restart messages
context=pri-in
signalling=pri_net
switchtype=national
pridialplan=unknown
channel=>1-23

context=pri-out
switchtype=national
signalling=pri_cpe
pridailplan=unknown
group=7
channel=>25-47

And, /etc/zaptel.conf something like this:
span=1,1,0,esf,b8zs
bchan=1-23
dchan=24
span=2,0,0,esf,b8zs
bchan=25-47
dchan=48


_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to