Hi Rich,
I tried your solution and it works!!! You are great!!!
But I always get the message: " Primary D-Channel on span 2 up"....shouldn't I get the same message for span 1? And how can I make a call from port A to port B??? When I try to call, Asterisk shows me the following message:

Aug 22 17:26:53 NOTICE[3235]: app_dial.c:1040 dial_exec_full: Unable to create channel of type 'Zap' (cause 34 - Circuit/channel congestion)
 == Everyone is busy/congested at this time (1:0/1/0)


TIA

Giorgio Incantalupo


Rich Adamson wrote:
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


_______________________________________________
--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