Giorgio Incantalupo
2006-Aug-22 04:45 UTC
[asterisk-users] using asterisk + sangoma a102 to simulate telco PRI: is possible?
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? TIA Giorgio Incantalupo
Rich Adamson
2006-Aug-22 06:11 UTC
[asterisk-users] using asterisk + sangoma a102 to simulate telco PRI: is possible?
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