[asterisk-users] PRI Test Lab
Hey Everyone, I would like to start testing/playing with PRI channels but I don't have access to a PRI line. Is it possible to do the equivilent of a crossover between two PRI Cards (say Digium's TE120P)? What I was thinking is that I could set one asterisk box up with a PRI card set as the TE and provide clocking and another box exactly the same but with the card setup as NT. I think I would also need to wire up the correct type of crossover as a standard ethernet crossover would not work or would it? Thanks in advance. Lee ___ -- 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] PRI Test Lab
I would like to start testing/playing with PRI channels but I don't have access to a PRI line. Is it possible to do the equivilent of a crossover between two PRI Cards (say Digium's TE120P)? What I was thinking is that I could set one asterisk box up with a PRI card set as the TE and provide clocking and another box exactly the same but with the card setup as NT. I think I would also need to wire up the correct type of crossover as a standard ethernet crossover would not work or would it? Standard Ethernet crossover will not work. However, you can make a T1 crossover cable out of CAT-5 using a different pinout: http://www.ldfacts.com/faq_files/How-to-Make-a-T1-Crossover-cable.htm Alex, thanks for the quick response. So I can assume from your response this should work. That was easy :-) I just want to clarify before I got and buy anything the cards are not so cheap. Thanks again Lee ___ -- 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] PRI Test Lab
Hey Gordon, I was probably going with the Openvox anyway because they were cheaper. As this is just a hobby, no live environment I wanted to move away from just playing with SIP/IAX and get proper channels setup. I was inspired by any earlier test I did at my last company where I was able to get a Cisco BRI Router working though the Asterisk PBX using BRIStuff. When I get it going, I'll try to document the setup in case anyone is interested. Cheers Lee --- On Fri, 13/2/09, Gordon Henderson gor...@drogon.net wrote: From: Gordon Henderson gor...@drogon.net Subject: Re: [asterisk-users] PRI Test Lab To: Lee Wilson leef...@yahoo.co.uk Date: Friday, 13 February, 2009, 10:18 AM On Fri, 13 Feb 2009, Lee Wilson wrote: I just want to clarify before I got and buy anything the cards are not so cheap. Hi Lee, I'm assuming you're in the UK from your yahoo address (I'm in the UK too) I've installed a few boxes with these cards: http://www.voipon.co.uk/openvox-d110p-pci-isdn-pri-card-p-658.html Not had any real issues with them and they're a bit cheaper than the digium cards. (I've never used one as a clock master though - did consider doing what you're doing before my first ISDN30 install, but decided that as enough people were using them and saying that they worked, that it should just work and it did). Regards, Gordon -- www.drogon.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] PRI Test Lab
Thanks Dave, I hadn't read up on Dynamic Spans before and will certainly take a look. If anyone else is interested I did a quick google search and came up with the following links: http://www.microalcarria.com/descargas/documentos/Linux/varios/Asterisk/asteriskdocs-docbook/docs-html/x1320.html http://www.voip-info.org/wiki/view/Asterisk+TDMoE If this is the correct stuff, it will give me something to start with. Lee --- On Fri, 13/2/09, Dave Fullerton dfullertaster...@shorelinecontainer.com wrote: From: Dave Fullerton dfullertaster...@shorelinecontainer.com Subject: Re: [asterisk-users] PRI Test Lab To: leef...@yahoo.co.uk, Asterisk Users Mailing List - Non-Commercial Discussion asterisk-users@lists.digium.com Date: Friday, 13 February, 2009, 2:00 PM Lee Wilson wrote: Hey Everyone, I would like to start testing/playing with PRI channels but I don't have access to a PRI line. Is it possible to do the equivilent of a crossover between two PRI Cards (say Digium's TE120P)? What I was thinking is that I could set one asterisk box up with a PRI card set as the TE and provide clocking and another box exactly the same but with the card setup as NT. I think I would also need to wire up the correct type of crossover as a standard ethernet crossover would not work or would it? Thanks in advance. Lee Since you have gotten plenty of responses on this I thought I'd throw out another option. If you just want to play with how a PRI connection behaves without all the hardware investment, you can emulate a PRI over TDMOE. I did it a while back just to see how calls were passed back and forth and how result codes were set. Everything is configured the same in asterisk, you just use a dynamic span instead of a physical one. You will still need one side to have a timing source (I did get mine to work with just ztdummy). -Dave ___ -- 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
[asterisk-users] Fw: Re: mISDN BRI Asterisk 1.4
Its been a few days, I was wondering if anyone else has any ideas on how to get this to work? If not, could I ask a the direct question as to if anyone here has (or knows someone who has) successfully got something like a Cisco Router to successfully establish an ISDN data/Internet connection through the Asterisk PBX? From a telephony perspective it must be possible as our existing Nortel PBX does it, just don't know if Asterisk can. I feel that I've spent too much time that could have been better spend on this and am now at the point where I think the boss should just cough up and get a couple of ISDN BRI lines put in. Thanks again for everyones input so far. Lee --- On Fri, 16/1/09, Lee Wilson leef...@yahoo.co.uk wrote: From: Lee Wilson leef...@yahoo.co.uk Subject: Re: [asterisk-users] mISDN BRI Asterisk 1.4 To: Asterisk Users Mailing List - Non-Commercial Discussion asterisk-users@lists.digium.com Date: Friday, 16 January, 2009, 10:12 AM Hi Francesco, You were correct. I pulled the cable out before everyone got in this morning and it was a cross over. I've now connected a proper straight-through ISDN cable (don't know what the Nortel was using before) and L1 is now up on Asterisk: BEGIN STACK_LIST: * Port 1 Type NT Prot. PTP L2Link DOWN L1Link:UP Blocked:0 Debug:1 However I'm now seeing the following message as L2 is not coming up: P[ 1] !!! Could not Get the L2 up after 3 Attemps!!! I checked that misdn.conf was setup to use PTMP (despite was it is saying above): mISDNconf module poll=128 debug=1 timer=nohfcmulti/module module debug=1 options=0mISDN_dsp/module devnode user=root group=root mode=644mISDN/devnode card type=BN4S0 port mode=nt link=ptmp1/port port mode=nt link=ptmp2/port port mode=nt link=ptmp3/port port mode=nt link=ptmp4/port /card /mISDNconf Also, how can I definately tell it is running in PTMP mode? msisdnportinfo does not distinguish: Port 1: NT-mode BRI S/T interface port (for phones) - Interface can be Poin-To-Point/Multipoint. Port 2: NT-mode BRI S/T interface port (for phones) - Interface can be Poin-To-Point/Multipoint. And Asterisk says it is running in PTP as well when the module is loaded: *CLI module load chan_misdn.so mISDN_close: fid(21) isize(131072) inbuf(0xb7b12008) irp(0xb7b12008) iend(0xb7b12008) == Parsing '/etc/asterisk/misdn.conf': Found P[ 0] Got: 1ptp,2ptp from get_ports == Registered channel type 'mISDN' (Channel driver for mISDN Support (Bri/Pri)) == Registered application 'misdn_set_opt' == Registered application 'misdn_facility' == Registered application 'misdn_check_l2l1' P[ 0] -- mISDN Channel Driver Registered -- Loaded chan_misdn.so = (Channel driver for mISDN Support (BRI/PRI)) I've got onto the Cisco router and found the BRI interface to be configured as below: interface BRI0 no ip address encapsulation ppp dialer pool-member 1 isdn switch-type basic-net3 no cdp enable ppp authentication chap callin end And the following events are being reported: Jan 16 10:03:06.099: ISDN BR0: Could not bring up interface Jan 16 10:03:06.103: BRI0: wait for isdn carrier timeout, call id=0x8004 The router also thinks that Layer 1 is still down: Global ISDN Switchtype = basic-net3 ISDN BRI0 interface dsl 0, interface ISDN Switchtype = basic-net3 Layer 1 Status: DEACTIVATED Layer 2 Status: Layer 2 NOT Activated Layer 3 Status: 0 Active Layer 3 Call(s) Active dsl 0 CCBs = 0 The Free Channel Mask: 0x8003 Looks like it may be worth speaking with OpenVox regarding exactly how there can is setup, only problem is I'm not sure what I should be asking them. Apologies for this long email. Regards Lee --- On Wed, 14/1/09, Francesco Peeters (linux) france...@fampeeters.com wrote: Are you using an ISDN cross cable? I don't know these cards, but most cards are wired as a DTE type device (TE port like a router or phone) and not a DCE type device (NT box). So you might have Tx-Tx and Rx-Tx instead of Rx-Tx and Tx-Rx... ;-) (Note that ISDN cross cables are definately NOT the same as a CAT5E cross cable!) ___ -- 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 ___ -- 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] mISDN BRI Asterisk 1.4
Hi Francesco, You were correct. I pulled the cable out before everyone got in this morning and it was a cross over. I've now connected a proper straight-through ISDN cable (don't know what the Nortel was using before) and L1 is now up on Asterisk: BEGIN STACK_LIST: * Port 1 Type NT Prot. PTP L2Link DOWN L1Link:UP Blocked:0 Debug:1 However I'm now seeing the following message as L2 is not coming up: P[ 1] !!! Could not Get the L2 up after 3 Attemps!!! I checked that misdn.conf was setup to use PTMP (despite was it is saying above): mISDNconf module poll=128 debug=1 timer=nohfcmulti/module module debug=1 options=0mISDN_dsp/module devnode user=root group=root mode=644mISDN/devnode card type=BN4S0 port mode=nt link=ptmp1/port port mode=nt link=ptmp2/port port mode=nt link=ptmp3/port port mode=nt link=ptmp4/port /card /mISDNconf Also, how can I definately tell it is running in PTMP mode? msisdnportinfo does not distinguish: Port 1: NT-mode BRI S/T interface port (for phones) - Interface can be Poin-To-Point/Multipoint. Port 2: NT-mode BRI S/T interface port (for phones) - Interface can be Poin-To-Point/Multipoint. And Asterisk says it is running in PTP as well when the module is loaded: *CLI module load chan_misdn.so mISDN_close: fid(21) isize(131072) inbuf(0xb7b12008) irp(0xb7b12008) iend(0xb7b12008) == Parsing '/etc/asterisk/misdn.conf': Found P[ 0] Got: 1ptp,2ptp from get_ports == Registered channel type 'mISDN' (Channel driver for mISDN Support (Bri/Pri)) == Registered application 'misdn_set_opt' == Registered application 'misdn_facility' == Registered application 'misdn_check_l2l1' P[ 0] -- mISDN Channel Driver Registered -- Loaded chan_misdn.so = (Channel driver for mISDN Support (BRI/PRI)) I've got onto the Cisco router and found the BRI interface to be configured as below: interface BRI0 no ip address encapsulation ppp dialer pool-member 1 isdn switch-type basic-net3 no cdp enable ppp authentication chap callin end And the following events are being reported: Jan 16 10:03:06.099: ISDN BR0: Could not bring up interface Jan 16 10:03:06.103: BRI0: wait for isdn carrier timeout, call id=0x8004 The router also thinks that Layer 1 is still down: Global ISDN Switchtype = basic-net3 ISDN BRI0 interface dsl 0, interface ISDN Switchtype = basic-net3 Layer 1 Status: DEACTIVATED Layer 2 Status: Layer 2 NOT Activated Layer 3 Status: 0 Active Layer 3 Call(s) Active dsl 0 CCBs = 0 The Free Channel Mask: 0x8003 Looks like it may be worth speaking with OpenVox regarding exactly how there can is setup, only problem is I'm not sure what I should be asking them. Apologies for this long email. Regards Lee --- On Wed, 14/1/09, Francesco Peeters (linux) france...@fampeeters.com wrote: Are you using an ISDN cross cable? I don't know these cards, but most cards are wired as a DTE type device (TE port like a router or phone) and not a DCE type device (NT box). So you might have Tx-Tx and Rx-Tx instead of Rx-Tx and Tx-Rx... ;-) (Note that ISDN cross cables are definately NOT the same as a CAT5E cross cable!) ___ -- 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] mISDN BRI Asterisk 1.4
--- On Wed, 14/1/09, Ex Vito ex.vitor...@gmail.com wrote: While I don't know the OpenVOX B200P specifics, some interface cards need you to change physical jumpers in order to acheive NT vs TE, mode. Could that be the case ? -- exvito I've just checked the card and you were right the jumpers had not been changed to NT. I've done this now and also enabled power on one of the ports as this is also mentioned in the manual. However, still neither port comes up on L1 when I connect the router. Once I've changed this jumper setting do I still need to manually change the mISDN.conf file to use NT? When I do mISDN scan/config it is still setting the ports to TE which I then manually edit back to NT. Also, I guess at this point it doesn't matter for L1, but should I be using Point-To-Point or Point-To-Multipoint? Thanks ___ -- 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] mISDN BRI Asterisk 1.4
Also, I guess at this point it doesn't matter for L1, but should I be using Point-To-Point or Point-To-Multipoint? Thanks Yes, you would still need to configure mISDN correctly as well! And AFAIK you will need to use PTMP, as that is what the router would expect... -- Francesco Peeters Thanks for clarifying I've double-checked that it is running ptmp but still no link lights. Anyone got other suggestions? Regards Lee ___ -- 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
[asterisk-users] mISDN BRI Asterisk 1.4
Good Evening, The company I work for is attempting to connect an Cisco ISDN Router to an OpenVOX B200P BRI Card so that we can get it to dial out across an existing ISDN PRI Line also installed in the Asterisk PBX Everything has compiled successfully and the BRI card has been detected when mISDN is started: # misdnportinfo Port 1: NT-mode BRI S/T interface port (for phones) - Interface can be Poin-To-Point/Multipoint. Port 2: NT-mode BRI S/T interface port (for phones) - Interface can be Poin-To-Point/Multipoint. However when checking in Asterisk Layer 1 is always down even though the Router is connected: *CLI misdn show stacks BEGIN STACK_LIST: * Port 1 Type NT Prot. PMP L2Link DOWN L1Link:DOWN Blocked:0 Debug:0 * Port 2 Type NT Prot. PMP L2Link DOWN L1Link:DOWN Blocked:0 Debug:0 I've tried configuring the Ports on the BRI card to be in both TE and NT Mode (as shown above) as well as using link=ptp or ptmp in the mISDN.conf file: mISDNconf module poll=128 debug=0 timer=nohfcmulti/module module debug=0 options=0mISDN_dsp/module devnode user=root group=root mode=644mISDN/devnode card type=BN4S0 port mode=nt link=ptp1/port port mode=nt link=ptp2/port port mode=nt link=ptp3/port port mode=nt link=ptp4/port /card /mISDNconf When plugging the Cisco router into our existing Nortel switch the Link light comes up immediately. But on the new Asterisk PBX the BRI card is constantly flashing Red with no lights on either Channel 1 or 2 on the Router. I'd appreciate any help that can be offered. Thanks Lee ___ -- 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] mISDN BRI Asterisk 1.4
On Tue, Jan 13, 2009 at 6:35 PM, Olivier wrote: 2009/1/13 Lee Wilson Good Evening, The company I work for is attempting to connect an Cisco ISDN Router to an OpenVOX B200P BRI Card so that we can get it to dial out across an existing ISDN PRI Line also installed in the Asterisk PBX Hello, Is your setup like this ? ISDN ---PRI Asterisk box with PRI and BRI boards BRI Cisco router whatever Cheers Hi Olivier, That is spot on. I'm not sure if we have 2-4 PRI Channels dedicated to the BRI or if they are allocated dynamically but don't think it matter anyway. Thanks Lee ___ -- 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