[asterisk-users] mISDN BRI Asterisk 1.4

Lee Wilson leefm40 at yahoo.co.uk
Fri Jan 16 04:12:37 CST 2009


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



      




More information about the asterisk-users mailing list