Karthik Natarajan
2005-Jun-21 12:47 UTC
[Asterisk-Users] Problem with Connecting PBX to Asterisk
We have an old Telrad 128KSU PBX to which I am trying to connect asterisk in the following manner: Current Setup: Telco-> T1->PBX Desired Setup: Telco-> T1-> Asterisk-> T1-> PBX. I am first trying to setup the Asterisk -> T1->PBX part without disturbing existing setup so I can get asterisk to forward calls to PBX and once that is done, I would try to move the telco from pbx to Asterisk. I have 2 T1 cards on my PBX (1 for current telco and 1 for connecting asterisk) I have a TE405P card on the Asterisk server with span 2 connected to the pbx via a T1 crossover cable. My PBX T1 config is set to ESF, B8ZS and E&M Wink. My zaptel.conf has the following: Span=2,0,0,esf,b8zs ;connecting port 2 of TE405P card to pbx, leaving port 1 for porting telco later e&m=25-48 loadzone=us defaultzone=us my Zapata.conf has the following: group=1 context=default signalling=featd ; em_w ;have been trying both in various combinations switchtype=national channel => 25-48 my extensions.conf has the following sample dialplan: exten => 233,1,Dial(Zap/g1/9233) exten => 241,1,Dial(Zap/g1/9241) exten => 253,1,Dial(Zap/g1/9253) I want that if someone calls in to asterisk and dials 233 it should forward the call to my pbx via the T1 and send 9233 and my pbx has a DID route for 9233 to ring 233. Similarly for others. I am stuck at my pbx not showing a green light on the T1 card, while the TE405P seems to sense the pbx and shows a green light on the card on asterisk box. The pbx is connected to asterisk using a T1 crossover cable. I tried a straight cable but then the TE405P starts showing a blinking red. Can anyone please help? Karthik Natarajan karthik@infoprocorp.com
Clock source will be important here. For phase one, you should probably set asterisk to time from the PBX since the PBX is likely timing from the T1 circuit. At phase two, you will likely want to reverse this having your PBX clock from the Asterisk system and having Asterisk clock from the telco T1. This of course assumes that there is only 1 Telco T1 involved. Timing is the first most important consideration. After that, you want to verify that both ends are using the same signalling type (it appears that you are using CAS signalling). Check that your PBX is using CAS and find out exactly what type. Zapata will need to be configured to use the same type of signalling. Check both sides looking for any red alarms etc that might indicate a cable problem. From the CLI, 'zap show channels' or using zttool from the command line should help you determine the status of the link. Red alarms usually indicate that this end sees an out of frame condition while a yellow means that the opposite side sees and out of frame. A yellow on one side is a red on the other. -----Original Message----- From: Karthik Natarajan Sent: Tue, June 21, 2005 3:47 pm We have an old Telrad 128KSU PBX to which I am trying to connect asterisk> inthe following manner: Current Setup: Telco-> T1->PBX Desired Setup: Telco-> T1-> Asterisk-> T1-> PBX. I am first trying to setup the Asterisk -> T1->PBX part without disturbing existing setup so I can get asterisk to forward calls to PBX and once that is done, I would try to move the telco from pbx to Asterisk. I have 2 T1 cards on my PBX (1 for current telco and 1 for connecting asterisk) I have a TE405P card on the Asterisk server with span 2 connected to the> pbxvia a T1 crossover cable. My PBX T1 config is set to ESF, B8ZS and E&M Wink. My zaptel.conf has the following: Span=2,0,0,esf,b8zs ;connecting port 2 of TE405P card to pbx, leaving> port1 for porting telco later e&m=25-48 loadzone=us defaultzone=us my Zapata.conf has the following: group=1 context=default signalling=featd ; em_w ;have been trying both in various combinations switchtype=national channel => 25-48 my extensions.conf has the following sample dialplan: exten => 233,1,Dial(Zap/g1/9233) exten => 241,1,Dial(Zap/g1/9241) exten => 253,1,Dial(Zap/g1/9253) I want that if someone calls in to asterisk and dials 233 it should> forwardthe call to my pbx via the T1 and send 9233 and my pbx has a DID route for 9233 to ring 233. Similarly for others. I am stuck at my pbx not showing a green light on the T1 card, while the TE405P seems to sense the pbx and shows a green light on the card on asterisk box. The pbx is connected to asterisk using a T1 crossover cable. I tried a straight cable but then the TE405P starts showing a blinking red. Can anyone please help? Karthik Natarajan karthik@infoprocorp.com _______________________________________________ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Karthik Natarajan
2005-Jun-22 07:01 UTC
[Asterisk-Users] Problem with Connecting PBX to Asterisk
As suggested by you, I have tried the timing parameter with 0 an 1 both but to no avail. Signalling I have tried are both em_w and featd (suggested by digium tech support). Zap show channels shows all 24 channels to be ok with no alarms. Zttool also confirms that. The problem is that the pbx (telrad) does not even seem to sense the T1 that is plugged in. No yellow and no green. Only the RED LED glows. But when I try a T1 loopback plugged into that the card turns green on telrad suggesting that the card is fine. (T1 loopback build using a small connector with 1 to 4 and 2 to 5 connected). Also regarding timing, I do have 2 X100Ps installed so I wonder if this needs to be primary source of timing? As I mentioned earlier I am getting a GREEN on asterisk side (TE405P card) while a red on the pbx side (TELRAD) Any thoughts?>Clock source will be important here. For phase one, you should probably >set asterisk to time from the PBX since the PBX is likely timing from the >T1 circuit. At phase two, you will likely want to reverse this having >your PBX clock from the Asterisk system and having Asterisk clock from the >telco T1. This of course assumes that there is only 1 Telco T1 involved. >Timing is the first most important consideration. After that, you want to >verify that both ends are using the same signalling type (it appears that >you are using CAS signalling). Check that your PBX is using CAS and find >out exactly what type. Zapata will need to be configured to use the same >type of signalling. Check both sides looking for any red alarms etc that >might indicate a cable problem. From the CLI, 'zap show channels' or >using zttool >from the command line should help you determine the status of the link. >Red alarms usually indicate that this end sees an out of frame condition >while a yellow means that the opposite side sees and out of frame. A >yellow on one side is a red on the other.Karthik Natarajan InfoPro Corporation 732-283-2589 x 241 karthik@infoprocorp.com -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 4782 bytes Desc: not available Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20050622/1c001ac5/winmail.bin
Karthik Natarajan
2005-Jun-29 06:31 UTC
[Asterisk-Users] Problem with Connecting PBX to Asterisk
The framing is ESF/B8ZS. But I have had some luck and have gotten to the point where when dialed from Asterisk, the digits reach the telrad switch and the DID that I have configured in the telrad switch works and rings the right extensions. However, when I do the reverse, there are NO digits reaching the asterisk. Finally things worked by using e&m in zaptel.conf and em_w in Zapata.conf. I would appreciate if someone can help me figure out what could be the problem in receiving the digits from the telrad switch/pbx. I am very sure that the telrad part is working fine as I see that when I dial out, it picks up a trunk channel from the T1 connected to asterisk and dials. So it is to do with the asterisk part not reading the digits. Thanks -------------------------------------------------- What about framing? ESF/B8ZS vs D4/AMI? -----Original Message----- From: Karthik Natarajan Sent: Wed, June 22, 2005 10:01 am As suggested by you, I have tried the timing parameter with 0 an 1 both> butto no avail. Signalling I have tried are both em_w and featd (suggested by digium tech support). Zap show channels shows all 24 channels to be ok with no alarms. Zttool also confirms that. The problem is that the pbx (telrad) does not even seem to sense the T1> thatis plugged in. No yellow and no green. Only the RED LED glows. But when I try a T1 loopback plugged into that the card turns green on telrad suggesting that the card is fine. (T1 loopback build using a small> connectorwith 1 to 4 and 2 to 5 connected). Also regarding timing, I do have 2 X100Ps installed so I wonder if this needs to be primary source of timing? As I mentioned earlier I am getting a GREEN on asterisk side (TE405P card) while a red on the pbx side (TELRAD) Any thoughts?>Clock source will be important here. For phase one, you should probably >set asterisk to time from the PBX since the PBX is likely timing from the >T1 circuit. At phase two, you will likely want to reverse this having >your PBX clock from the Asterisk system and having Asterisk clock from >> the >telco T1. This of course assumes that there is only 1 Telco T1 involved. >Timing is the first most important consideration. After that, you want >> to >verify that both ends are using the same signalling type (it appears that >you are using CAS signalling). Check that your PBX is using CAS and find >out exactly what type. Zapata will need to be configured to use the same >type of signalling. Check both sides looking for any red alarms etc that >might indicate a cable problem. From the CLI, 'zap show channels' or >using zttool >from the command line should help you determine the status of the link. >Red alarms usually indicate that this end sees an out of frame condition >while a yellow means that the opposite side sees and out of frame. A >yellow on one side is a red on the other.Karthik Natarajan InfoPro Corporation 732-283-2589 x 241 karthik at infoprocorp.com <http://lists.digium.com/mailman/listinfo/asterisk-users> _______________________________________________ Asterisk-Users mailing list Asterisk-Users at lists.digium.com <http://lists.digium.com/mailman/listinfo/asterisk-users> http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20050629/57aa0989/attachment.htm
>I would appreciate if someone can help me figure out what could be the >problem in receiving the digits from the telrad switch/pbx.When you dial from the telrad, do you see any information being generated on the asterisk CLI? You may have to increase verbosity of the console by starting with something like asterisk -vvvvvvr to see this.
Karthik Natarajan
2005-Jun-29 08:56 UTC
[Asterisk-Users] Problem with Connecting PBX to Asterisk
I have tried increasing it to about verbosity level 11. Even then no sign of digits coming in. My telrad technician also came in and checked everything and certified the telrad is sending the digits as he switched cable on the T1 card with another card (connected to Telco) and showed that the dialing out worked fine on the same card with the same settings. To give you an idea, we use 99 to pick up trunk from telco and dialout to pstn on telrad, and asterisk is configured to be picked up by dialing 88. so when we switched the cables we were able to make calls by dialing 88 validating that the card was configured fine and the digits are being sent out. Any thoughts do you think there could be something trivial that I have missed in the configuration on the asterisk side to let asterisk know that this T1 span can dial out (works) and also receive calls (does not work) ? -----Original Message----- From: qrss [mailto:qrss@keitz.org] Sent: Wednesday, June 29, 2005 11:40 AM To: asterisk-users@lists.digium.com Cc: Karthik Natarajan Subject: Re: [Asterisk-Users] Problem with Connecting PBX to Asterisk>I would appreciate if someone can help me figure out what could be the >problem in receiving the digits from the telrad switch/pbx.When you dial from the telrad, do you see any information being generated on the asterisk CLI? You may have to increase verbosity of the console by starting with something like asterisk -vvvvvvr to see this.