Re: [asterisk-users] Problems Connecting Two Asterisk Installs Via ISDN PRI Cards
Okay. I ordered a commercially made T1 crossover cable, connected all of the cables and rebooted both computers. I no longer get the 'Got S-frame while link down' or 'HDLC Bad FCS' errors. However, I still receive the series of 'Detected alarm on channel NN: Red Alarm' and 'Unable to disable echo cancellation on channel NN'. Followed by the alarms clearing. At this point I am confident that the cabling is not the problem. I have included my zaptel and zapata conf files again below. Is there a way to make the second TE120P card pass on the timing received from the first? (rather than using software timing for the pri_net signalling) The errors all seem to be about echo cancellation... What do I need to do to force asterisk to never disable echo cancellation? Thanks again for all of the help. Even though we have not found a solution yet I appreciate the help - and am still confident we will succeed! -Brian Machine1 = zaptel.conf --- defaultzone=us loadzone=us span=1,1,0,esf,b8zs bchan=1-23 dchan=24 span=2,0,0,esf,b8zs bchan=25-47 dchan=48 zapata.conf --- [trunkgroups] [channels] group=1 context=fromtelco signalling=pri_cpe switchtype=national channel=1-23 group=1 context=frommachine2 signalling=pri_net switchtype=national channel=25-47 Machine2 = zaptel.conf --- defaultzone=us loadzone=us span=1,1,0,esf,b8zs bchan=1-23 dchan=24 zapata.conf --- [trunkgroups] [channels] group=1 context=frommachine1 signalling=pri_cpe switchtype=national channel=1-23 ___ Sign up now for AstriCon 2007! September 25-28th. http://www.astricon.net/ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Problems Connecting Two Asterisk Installs Via ISDN PRI Cards
Brian Alexander wrote: *snipped The errors all seem to be about echo cancellation... What do I need to do to force asterisk to never disable echo cancellation? *snipped there used to be this in ../zaptel/zconfig.h #define NO_ECHOCAN_DISABLE check if whatever version you are running has this. ___ Sign up now for AstriCon 2007! September 25-28th. http://www.astricon.net/ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Problems Connecting Two Asterisk Installs Via ISDN PRI Cards
At this point I do not think the problem is the wiring. What else should I try? ___ Sign up now for AstriCon 2007! September 25-28th. http://www.astricon.net/ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Problems Connecting Two Asterisk Installs Via ISDN PRI Cards
Brian Alexander wrote: At this point I do not think the problem is the wiring. What else should I try? Have you confirmed that the failing card is working correctly? Maybe the card is at fault. Doug -- Ben Franklin quote: Those who would give up Essential Liberty to purchase a little Temporary Safety, deserve neither Liberty nor Safety. ___ Sign up now for AstriCon 2007! September 25-28th. http://www.astricon.net/ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Problems Connecting Two Asterisk Installs Via ISDN PRI Cards
On 9/24/07, Doug Lytle [EMAIL PROTECTED] wrote: Have you confirmed that the failing card is working correctly? Maybe the card is at fault. All of the cards have been confirmed to work by themselves. -Brian ___ Sign up now for AstriCon 2007! September 25-28th. http://www.astricon.net/ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Problems Connecting Two Asterisk Installs Via ISDN PRI Cards
Brian Alexander wrote: On 9/24/07, *Doug Lytle* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Have you confirmed that the failing card is working correctly? Maybe the card is at fault. All of the cards have been confirmed to work by themselves. The only other suggestion I have would have would be to use IAX instead of PRI for inter-machine communications. Doug -- Ben Franklin quote: Those who would give up Essential Liberty to purchase a little Temporary Safety, deserve neither Liberty nor Safety. ___ Sign up now for AstriCon 2007! September 25-28th. http://www.astricon.net/ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Problems Connecting Two Asterisk Installs Via ISDN PRI Cards
On 9/24/07, Doug Lytle [EMAIL PROTECTED] wrote: The only other suggestion I have would have would be to use IAX instead of PRI for inter-machine communications. LOL Yeah, normally that is what I would use. Unfortunately it is not an option for this... ___ Sign up now for AstriCon 2007! September 25-28th. http://www.astricon.net/ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Problems Connecting Two Asterisk Installs Via ISDN PRI Cards
Brian Alexander wrote: On 9/24/07, *Doug Lytle* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: The only other suggestion I have would have would be to use IAX instead of PRI for inter-machine communications. LOL Yeah, normally that is what I would use. Unfortunately it is not an option for this... You mentioned that one of the machines have two PRI cards. If it's in the one machine that's failing, maybe try it with just one PRI to see if it's the causing issues. -- Ben Franklin quote: Those who would give up Essential Liberty to purchase a little Temporary Safety, deserve neither Liberty nor Safety. ___ Sign up now for AstriCon 2007! September 25-28th. http://www.astricon.net/ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Problems Connecting Two Asterisk Installs Via ISDN PRI Cards
On 9/24/07, Brian Alexander [EMAIL PROTECTED] wrote: At this point I do not think the problem is the wiring. What else should I try? Is this the latest Zaptel? Is it 1.4 or 1.2? I may have missed it in a previous message if you mentioned it. I've got a setup where I have a 2 port PRI on our main server. One port goes to telco and the other goes to a test lab asterisk system. Sometimes, I have noticed that I screw the test system up so bad that I have to reboot the main system, and unplug the PRI before doing so. It seems like alarms get hung up or something. This is using a 2 port Sangome card and a 1 port Sangoma card. I can't remember if I have this problem using the 1 port Digium. I'm sure you've already tried rebooting, but if you haven't, see what happens. ___ Sign up now for AstriCon 2007! September 25-28th. http://www.astricon.net/ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -- Lacy Moore Somewhere I wish I wasn't ___ Sign up now for AstriCon 2007! September 25-28th. http://www.astricon.net/ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Problems Connecting Two Asterisk Installs Via ISDN PRI Cards
Brian Alexander wrote: Have any of you connected two asterisk machines by t1 crossover using pri_net/pri_cpe signaling? I am completely stumped and would love to know that some had done this and what their What does your cable pin in/out look like. I haven't connected two Asterisk systems, but I do have a dual-PRI on one system with a crossover cable; both spans come up fine. My pin in/out is: 1 -- 5 2 -- 4 4 -- 2 5 -- 1 Doug -- Ben Franklin quote: Those who would give up Essential Liberty to purchase a little Temporary Safety, deserve neither Liberty nor Safety. ___ Sign up now for AstriCon 2007! September 25-28th. http://www.astricon.net/ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Problems Connecting Two Asterisk Installs Via ISDN PRI Cards
On Fri, 2007-09-21 at 09:31 -0400, Brian Alexander wrote: I tried two other cables this morning with the same results... Hmmnn... what kind of cable are you using? You're using a T1-crossover cable, correct? (Not an ethernet crossover, not a straight-through ethernet cable.) Check out the images I've just placed at http://www.asteriskdocs.org/cables/ to check to see if your T1 crossover is wired correctly. For a T1 cross-over cable, one end of the cable should match the Straight diagram and the other end should look like the T1 crossover diagram. Have any of you connected two asterisk machines by t1 crossover using pri_net/pri_cpe signaling? I am completely stumped and would love to know that some had done this and what their configuration look like. I've done it hundreds of times! I didn't see anything obvious in the configs you posted earlier, but I'll admit I probably didn't spend enough time looking at them in great detail. I'll try to go back and take a look and see if anything seems out of the ordinary. -Jared ___ Sign up now for AstriCon 2007! September 25-28th. http://www.astricon.net/ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Problems Connecting Two Asterisk Installs Via ISDN PRI Cards
Brian, I hope this helps, it is slightly different from what you have setup. Here is what I used to connect my asterisk server to our Norstar Meridian. The Norstar T1 was setup as pri_cpe with the 24th channel as D. Check out this webpage for making a T1 crossover cable : http://www.voip-info.org/wiki/view/crossover+T1+cable You should also try making/obtaining a T1 loopback adapter and test both cards. http://www.adtran.com/adtranpx/Doc/0/FMPI9MBKGJBH39S8038BE81ID8/ CU-2abf1b83844b11d78ff20c045003.html Just curious, which cards are you using? On zapata.conf below in the norstar section, I set my timing source to be 0. This is because I am getting timing from the first span. If you are only connecting the two machines together and neither one has other T1's going to a telco. Then just set one of them as primary (1) and the other as do not use (0). span=(spannum),(timing),(LBO),(framing),(coding) Zaptel.conf -- loadzone=us defaultzone=us #PRI to TimeWarner span=1,1,0,esf,b8zs bchan=1-23 dchan=24 #PRI to Norstar Meridian span=2,0,0,esf,b8zs bchan=25-47 dchan=48 #TDM800 Card fxoks=49-52 fxsks=53-56 Zaptel.conf -- [channels] ;Time Warner T1 (SPAN 1) context=tw-pri-in group=2 ;Echo Cancel turns on the Octastic Hardware Canceller on the card echocancel=yes ; Tell Asterisk to reset the channels every two hours resetinterval = 7200 ; Relax DTMF relaxdtmf=yes rxgain=0.0 txgain=0.0 signalling = pri_cpe switchtype = national channel = 1-23 ;Norstar T1 (SPAN 2) context=norstar group=3 signalling = pri_net channel = 25-47 Forrest Beck [EMAIL PROTECTED] www.shift8.biz On Sep 21, 2007, at 9:31 AM, Brian Alexander wrote: On 9/20/07, Jared Smith [EMAIL PROTECTED] wrote: I'd look at your wiring, as an HDLC error like that is usually an indication of some type of a problem at the physical layer. I tried two other cables this morning with the same results... While I was swapping cables around I unloaded asterisk and the zaptel modules. One thing I noticed once everything was hooked up and restarted is that Machine2 shows a red alarm but Machine1 shows both spans as clear of alarms... Otherwise everything looks the same as yesterday. Have any of you connected two asterisk machines by t1 crossover using pri_net/pri_cpe signaling? I am completely stumped and would love to know that some had done this and what their configuration look like. Thanks again, -Brian ___ Sign up now for AstriCon 2007! September 25-28th. http:// www.astricon.net/ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ Sign up now for AstriCon 2007! September 25-28th. http://www.astricon.net/ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Problems Connecting Two Asterisk Installs Via ISDN PRI Cards
Thanks for all of the feedback. I really appreciate the help! :) My cable is 1--4 2--5 4--1 5--2 I got this from http://www.voip-info.org/wiki/view/crossover+T1+cable http://help.fonality.com/index.php/T1_crossover_HOWTO http://www.ldfacts.com/faq_files/How-to-Make-a-T1-Crossover-cable.htm Each span is on a TE120P On Machine1 I have timing set to one on the connection to the telco to use its timing. I have the timing on the second span of Machine1 to zero to provide timing for for Machine2. Machine2 has timing set to one to use the timing from Machine1. -Brian On 9/21/07, Doug Lytle [EMAIL PROTECTED] wrote: What does your cable pin in/out look like. I haven't connected two Asterisk systems, but I do have a dual-PRI on one system with a crossover cable; both spans come up fine. My pin in/out is: 1 -- 5 2 -- 4 4 -- 2 5 -- 1 ___ Sign up now for AstriCon 2007! September 25-28th. http://www.astricon.net/ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Problems Connecting Two Asterisk Installs Via ISDN PRI Cards
On 9/20/07, Jared Smith [EMAIL PROTECTED] wrote: I'd look at your wiring, as an HDLC error like that is usually an indication of some type of a problem at the physical layer. I tried two other cables this morning with the same results... While I was swapping cables around I unloaded asterisk and the zaptel modules. One thing I noticed once everything was hooked up and restarted is that Machine2 shows a red alarm but Machine1 shows both spans as clear of alarms... Otherwise everything looks the same as yesterday. Have any of you connected two asterisk machines by t1 crossover using pri_net/pri_cpe signaling? I am completely stumped and would love to know that some had done this and what their configuration look like. Thanks again, -Brian ___ Sign up now for AstriCon 2007! September 25-28th. http://www.astricon.net/ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Problems Connecting Two Asterisk Installs Via ISDN PRI Cards
On 9/21/07, Forrest Beck [EMAIL PROTECTED] wrote: You should also try making/obtaining a T1 loopback adapter and test both cards. http://www.adtran.com/adtranpx/Doc/0/FMPI9MBKGJBH39S8038BE81ID8/CU-2abf1b83844b11d78ff20c045003.html I have not tested with a loop back but I did verify that each of the cards appears to work when it is used on its own and is connected to the t1 to the telco. ___ Sign up now for AstriCon 2007! September 25-28th. http://www.astricon.net/ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Problems Connecting Two Asterisk Installs Via ISDN PRI Cards
Brian Alexander wrote: Thanks for all of the feedback. I really appreciate the help! :) My cable is 1--4 2--5 4--1 5--2 I believe you need to change your cabling. Doug -- Ben Franklin quote: Those who would give up Essential Liberty to purchase a little Temporary Safety, deserve neither Liberty nor Safety. ___ Sign up now for AstriCon 2007! September 25-28th. http://www.astricon.net/ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Problems Connecting Two Asterisk Installs Via ISDN PRI Cards
On Friday 21 September 2007 10:08:06 Doug Lytle wrote: Brian Alexander wrote: Thanks for all of the feedback. I really appreciate the help! :) My cable is 1--4 2--5 4--1 5--2 I believe you need to change your cabling. Uh, why? That is the correct pinout for T1 crossover. -- Tilghman ___ Sign up now for AstriCon 2007! September 25-28th. http://www.astricon.net/ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Problems Connecting Two Asterisk Installs Via ISDN PRI Cards
Tilghman Lesher wrote: Uh, why? That is the correct pinout for T1 crossover. Then why does mine work? Is it a straight though cable that is needed then? Doug -- Ben Franklin quote: Those who would give up Essential Liberty to purchase a little Temporary Safety, deserve neither Liberty nor Safety. ___ Sign up now for AstriCon 2007! September 25-28th. http://www.astricon.net/ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Problems Connecting Two Asterisk Installs Via ISDN PRI Cards
On Friday 21 September 2007 12:01:56 Doug Lytle wrote: Tilghman Lesher wrote: Uh, why? That is the correct pinout for T1 crossover. Then why does mine work? Is it a straight though cable that is needed then? A straight-through cable to used for connecting from a QuickJack to a T1 card, but a T1 crossover is needed for card-to-card (or card-to-channel bank, for that matter). -- Tilghman ___ Sign up now for AstriCon 2007! September 25-28th. http://www.astricon.net/ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Problems Connecting Two Asterisk Installs Via ISDN PRI Cards
Tilghman Lesher wrote: A straight-through cable to used for connecting from a QuickJack to a T1 card, but a T1 crossover is needed for card-to-card (or card-to-channel bank, for that matter). I have a Sangoma 102u port 1 to port 2. And, my Micoscanner is showing 1 -- 5 2 -- 4 4 -- 2 5 -- 1 So I went and made a new cable with the 1 -- 4 2 -- 5 4 -- 1 5 -- 2 The Sangoma worked with that as well. Interesting. Doug -- Ben Franklin quote: Those who would give up Essential Liberty to purchase a little Temporary Safety, deserve neither Liberty nor Safety. ___ Sign up now for AstriCon 2007! September 25-28th. http://www.astricon.net/ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Problems Connecting Two Asterisk Installs Via ISDN PRI Cards
In article [EMAIL PROTECTED], Doug Lytle [EMAIL PROTECTED] wrote: Tilghman Lesher wrote: A straight-through cable to used for connecting from a QuickJack to a T1 card, but a T1 crossover is needed for card-to-card (or card-to-channel bank, for that matter). I have a Sangoma 102u port 1 to port 2. And, my Micoscanner is showing 1 -- 5 2 -- 4 4 -- 2 5 -- 1 So I went and made a new cable with the 1 -- 4 2 -- 5 4 -- 1 5 -- 2 The Sangoma worked with that as well. Interesting. 12 is one twisted pair, 45 is the other twisted pair. The difference between the two configurations above is just that the polarity of each pair is reversed at one end, which in this case doesn't appear to matter. Each pair is carrying a balanced signal. Cheers Tony -- Tony Mountifield Work: [EMAIL PROTECTED] - http://www.softins.co.uk Play: [EMAIL PROTECTED] - http://tony.mountifield.org ___ Sign up now for AstriCon 2007! September 25-28th. http://www.astricon.net/ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Problems Connecting Two Asterisk Installs Via ISDN PRI Cards
On Thu, 2007-09-20 at 13:20 -0400, Brian Alexander wrote: Machine 1 experiences almost the same behavior on its span. The only differance I am noticing is that instead of the S-frame error I get the following notice: chan_zap.c:8457 pri_dchannel: PRI got event: HDLC Bad FCS (8) on Primary D-channel of span 1 I'd look at your wiring, as an HDLC error like that is usually an indication of some type of a problem at the physical layer. -- Jared Smith Community Relations Manager Digium, Inc. ___ Sign up now for AstriCon 2007! September 25-28th. http://www.astricon.net/ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users