[asterisk-users] Fw: Re: mISDN BRI Asterisk 1.4

Andrew Thomas andy at datavox.co.uk
Thu Jan 22 05:10:23 CST 2009


Have you got termination set correctly?

I have a B410P working with 2 x NT and 2 x TE ports successfully.

I had to turn the 100ohm termination on on the NT ports (even though I
have them set as PTP in mISDN.conf).

HTH	
 	  	

-->>  -----Original Message-----
-->>  From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-
-->>  bounces at lists.digium.com] On Behalf Of Lee Wilson
-->>  Sent: 21 January 2009 15:18
-->>  To: asterisk-users at lists.digium.com
-->>  Subject: [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 <leefm40 at yahoo.co.uk> wrote:
-->>  
-->>  > From: Lee Wilson <leefm40 at yahoo.co.uk>
-->>  > Subject: Re: [asterisk-users] mISDN BRI Asterisk 1.4
-->>  > To: "Asterisk Users Mailing List - Non-Commercial Discussion"
-->>  <asterisk-users at 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="no">hfcmulti</module>
-->>  >         <module debug="1"
-->>  > options="0">mISDN_dsp</module>
-->>  >         <devnode user="root"
-->>  > group="root"
-->>  > mode="644">mISDN</devnode>
-->>  >         <card type="BN4S0">
-->>  >                 <port mode="nt"
-->>  > link="ptmp">1</port>
-->>  >                 <port mode="nt"
-->>  > link="ptmp">2</port>
-->>  >                 <port mode="nt"
-->>  > link="ptmp">3</port>
-->>  >                 <port mode="nt"
-->>  > link="ptmp">4</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:  0x80000003
-->>  >
-->>  > 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)
-->>  > <francesco at 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



More information about the asterisk-users mailing list