Re: [asterisk-users] mISDN BRI Asterisk 1.4

2009-01-16 Thread Lee Wilson
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

2009-01-14 Thread Lee Wilson
--- 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

2009-01-14 Thread Francesco Peeters (linux)

Lee Wilson wrote:

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


  
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
Ubuntu all the way!
1 laptop, 1 server, 1 desktop at home
and several servers in different locations

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

2009-01-14 Thread Lee Wilson
  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


Re: [asterisk-users] mISDN BRI Asterisk 1.4

2009-01-14 Thread Francesco Peeters (linux)

Lee Wilson wrote:

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


  
  
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!)


--
Francesco Peeters
Ubuntu all the way!
1 laptop, 1 server, 1 desktop at home
and several servers in different locations

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

2009-01-13 Thread Olivier
2009/1/13 Lee Wilson leef...@yahoo.co.uk

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

2009-01-13 Thread Lee Wilson
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


Re: [asterisk-users] mISDN BRI Asterisk 1.4

2009-01-13 Thread Ex Vito
  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

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