cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
4984
Views
15
Helpful
23
Replies

Setting up BRI

Dear friend.

I have some problem when setting up BRI Interface (2B+D) in Vietnam.

This is my configuration:

Configuration:


interface BRI0/1/0

no ip address

no ip route-cache

isdn switch-type basic-net3

isdn twait-disable

isdn tei-negotiation preserve

isdn point-to-point-setup

isdn incoming-voice voice

isdn static-tei 0

end

Show ISDN Status:


ISDN BRI0/1/0 interface

        dsl 4, interface ISDN Switchtype = basic-net3

    Layer 1 Status:

        ACTIVE

    Layer 2 Status:

        TEI = 0, Ces = 1, SAPI = 0, State = AWAITING_ESTABLISHMENT

    Layer 3 Status:

        0 Active Layer 3 Call(s)

    Active dsl 4 CCBs = 0

    The Free Channel Mask:  0x80000003


Debug ISDN Q921:

debug isdn q921

debug isdn q921 is              ON.

Jan 31 04:38:23.695: ISDN BR0/1/0 Q921: L2_EstablishDataLink: sending SABME

Jan 31 04:38:23.695: ISDN BR0/1/0 Q921: User TX -> SABMEp sapi=0 tei=0

Jan 31 04:38:24.695: ISDN BR0/1/0 Q921: User TX -> SABMEp sapi=0 tei=0

Jan 31 04:38:25.695: ISDN BR0/1/0 Q921: User TX -> SABMEp sapi=0 tei=0

Jan 31 04:38:26.291: ISDN BR0/1/0 Q921: User RX <- IDCKRQ ri=0 ai=127

Jan 31 04:38:26.291: ISDN BR0/1/0 Q921: User TX -> IDCKRP ri=18285 ai=0

Jan 31 04:38:26.695: ISDN BR0/1/0 Q921: User TX -> SABMEp sapi=0 tei=0

Debug ISDN Q931:

Jan 31 04:47:39.707: ISDN BR0/1/0 Q931: Ux_DLRelInd: DL_REL_IND received from L2

Jan 31 04:47:45.707: ISDN BR0/1/0 Q931: Ux_DLRelInd: DL_REL_IND received from L2

Jan 31 04:47:51.707: ISDN BR0/1/0 Q931: Ux_DLRelInd: DL_REL_IND received from L2


Debug ISDN error interface BRI 0/1/0

Jan 31 04:52:26.607: ISDN BR0/1/0 SERROR: L2_Go: at bailout DLCB is NULL

        L2: sapi 63 tei 127 ces 0 ev 0x3

Jan 31 04:52:26.611: ISDN BR0/1/0 SERROR: L2_Go: at bailout DLCB is NULL

        L2: sapi 63 tei 127 ces 0 ev 0x650

Jan 31 04:52:27.631: ISDN BR0/1/0 SERROR: L2_Go: at bailout DLCB is NULL

        L2: sapi 63 tei 127 ces 0 ev 0x3

Jan 31 04:52:27.631: ISDN BR0/1/0 SERROR: L2_Go: at bailout DLCB is NULL

        L2: sapi 63 tei 127 ces 0 ev 0x650

Jan 31 04:52:27.707: ISDN BR0/1/0 SERROR: L2_Go: at bailout DLCB is NULL

        L2: sapi 63 tei 127 ces 0 ev 0x  

Jan 31 04:52:33.707: ISDN BR0/1/0 SERROR: L2_Go: at bailout DLCB is NULL

        L2: sapi 63 tei 127 ces 0 ev 0x650

Jan 31 04:52:33.895: ISDN BR0/1/0 SERROR: service_queue_from_physical_layer: got ISDN_PH_ACT_IND on an active interface?


Please help me to solve this problem.

I can't make call to PSTN.

Thanks all my friends.

VinhPLT

23 Replies 23

Dear Paolo.

Thanks for your information.

I'll check it tommorrow.

Best Regards.

VinhPLT

But can you please tell me why BRI interface up when I connect both of device to NT1.

Regards.

VinhPLT

Dear friend.

The BRI interface has been up but I can't make call through it.

I have result with command debug ISDN when I make call:

Feb  4 09:09:52.871: ISDN BR0/1/1 EVENTd: isdn_get_guid: Got Guid 00115EE30C00

Feb  4 09:09:52.871: ISDN BR0/1/1 EVENT: process_bri_call: call id 0x8016, called_number 427, Guid 00115EE30C00 speed 0, call type VOICE, bchan -1 clng_num 700Received pdata len 0x3B data:1C 39 9E 1 0 3 67 74 64 0 0 0 2E 49 41 4D 2C D A 47 43 49 2C 30 30 31 31 35 65 65 33 35 33 31 38 66 31 31 30 30 63 30 30 63 30 30 31 30 61 65 38 34 38 32 38 D A D A

Feb  4 09:09:52.871: ISDN BR0/1/1 EVENTd: process_bri_call: No name in GTD

Feb  4 09:09:52.871: ISDN Se0/0/0:15 EVENTd: isdn_get_display_text_from_gtd: false ret

Feb  4 09:09:52.871: ISDN BR0/1/1 Q931: Applying typeplan for sw-type 0x17 is 0x0 0x0, Calling num 700

Feb  4 09:09:52.871: ISDN BR0/1/1 EVENTd: calltrkr_setup_received: isdn_info=721130452l, call_id=0x8016 ORIGINATE

Feb  4 09:09:52.871: ISDN BR0/1/1 EVENTd: calltrkr_setup_received: calltracker disabled

Feb  4 09:09:52.871: ISDN BR0/1/1 Q931: Sending SETUP  callref = 0x0091 callID = 0x8016 switch = basic-qsig interface = User

Feb  4 09:09:52.871: ISDN BR0/1/1 Q931: TX -> SETUP pd = 8  callref = 0x0091

        Bearer Capability i = 0x8090A2

                Standard = CCITT

                Transfer Capability = Speech 

                Transfer Mode = Circuit

                Transfer Rate = 64 kbit/s

        Channel ID i = 0xA98381

                Exclusive, Channel 1

        Calling Party Number i = 0x0081, '700'

                Plan:Unknown, Type:Unknown

        Called Party Number i = 0x80, '427'

                Plan:Unknown, Type:Unknown

Feb  4 09:09:58.871: ISDN BR0/1/1 Q931: TX -> SETUP pd = 8  callref = 0x0091

        Bearer Capability i = 0x8090A2

                Standard = CCITT

                Transfer Capability = Speech 

                Transfer Mode = Circuit

                Transfer Rate = 64 kbit/s

        Channel ID i = 0xA98381

                Exclusive, Channel 1

        Calling Party Number i = 0x0081, '700'

                Plan:Unknown, Type:Unknown

        Called Party Number i = 0x80, '427'

                Plan:Unknown, Type:Unknown

Feb  4 09:10:04.871: ISDN BR0/1/1 Q931: TX -> RELEASE_COMP pd = 8  callref = 0x0091

        Cause i = 0x80E6 - Recovery on timer expiry

Feb  4 09:10:04.871: ISDN  EVENTd: cc_clear_free_list freeing 0x2AF92C28

Feb  4 09:10:04.871: ISDN BR0/1/1 EVENT: process_rxstate: ces/callid 1/0x8016 calltype 2 HOST_DISCONNECT_ACK

Feb  4 09:10:04.871: ISDN BR0/1/1 EVENTd: process_rxstate: cause=0x66 (102), cause_present=1

Feb  4 09:10:04.871: ISDN BR0/1/1 EVENTd: calltrkr_call_cleared: isdn_info=0x2AFB93D4, call_id=0x8016

Feb  4 09:10:04.871: ISDN BR0/1/1 EVENTd: calltrkr_call_cleared: hndl=0, cause=102, Recovery on timer expiry

Feb  4 09:10:04.871: ISDN  CDAPI: cdapi_find_tsm found a GTD message RLC,

PRN,isdn*,,,

Do you have any idea?

Are you trying to call 427 from Cisco to PBX ?

If so that is not the right configuration.

Hi Paolo.

That's right.

This is my configure.

Can you help me to check it

!

boot-start-marker

boot-end-marker

!

!

card type e1 0 0

logging buffered 51200 warnings

!

no aaa new-model

network-clock-participate wic 0

network-clock-participate wic 1

!

no ipv6 cef

ip source-route

ip cef   

!

!

!

!

!

ip domain name yourdomain.com

multilink bundle-name authenticated

!

!

!

!

isdn switch-type primary-net5

!

crypto pki token default removal timeout 0

!

crypto pki trustpoint TP-self-signed-2109617910

enrollment selfsigned

subject-name cn=IOS-Self-Signed-Certificate-2109617910

revocation-check none

rsakeypair TP-self-signed-2109617910

!

!

voice-card 0

!

!

!

voice service voip

allow-connections h323 to h323

allow-connections h323 to sip

allow-connections sip to h323

allow-connections sip to sip

fax protocol t38 version 0 ls-redundancy 0 hs-redundancy 0 fallback none

h323

sip

!

voice class h323 1

  h225 timeout tcp establish 3

!

!

!

!

!

license udi pid CISCO2911/K9 sn FGL1650115F

hw-module pvdm 0/0

!

!

!

username cisco privilege 15 secret 4 tnhtc92DXBhelxjYk8LWJrPV36S2i4ntXrpb4RFmfqY

!

redundancy

!        

!

controller E1 0/0/0

pri-group timeslots 1-31

!

controller E1 0/0/1

pri-group timeslots 1-2,16

!

!

!

!

!

interface Embedded-Service-Engine0/0

no ip address

shutdown

!

interface GigabitEthernet0/0

description $ETH-LAN$$ETH-SW-LAUNCH$$INTF-INFO-GE 0/0$

ip address 172.28.90.60 255.255.255.0

ip virtual-reassembly in

duplex auto

speed auto

!

interface GigabitEthernet0/1

ip address 10.232.72.39 255.255.255.0

ip virtual-reassembly in

duplex auto

speed auto

h323-gateway voip interface

h323-gateway voip bind srcaddr 10.232.72.39

!

interface GigabitEthernet0/2

description $ES_LAN$

ip address 192.168.1.1 255.255.255.0

duplex auto

speed auto

!

interface Serial0/0/0:15

no ip address

ip flow ingress

ip flow egress

encapsulation hdlc

isdn switch-type primary-net5

isdn timer T310 1000

isdn overlap-receiving T302 3000

isdn incoming-voice modem

isdn T309-enable

isdn send-alerting

isdn bchan-number-order ascending

isdn outgoing-voice info-transfer-capability 3.1kHz-audio

isdn incoming ie redirecting-selection first

no cdp enable

!

interface Serial0/0/1:15

no ip address

ip flow ingress

ip flow egress

encapsulation hdlc

isdn switch-type primary-net5

isdn incoming-voice voice

isdn send-alerting

isdn sending-complete

no cdp enable

!

interface BRI0/1/0

no ip address

no ip route-cache

isdn switch-type basic-net3

isdn protocol-emulate network

isdn layer1-emulate network

isdn incoming-voice voice

isdn static-tei 0

isdn skipsend-idverify

!

interface BRI0/1/1

no ip address

isdn switch-type basic-qsig

isdn timer T310 400000

isdn overlap-receiving

isdn twait-disable

isdn point-to-point-setup

isdn incoming-voice voice

isdn static-tei 0

isdn skipsend-idverify

!

ip forward-protocol nd

!

ip http server

ip http access-class 23

ip http authentication local

ip http secure-server

ip http timeout-policy idle 60 life 86400 requests 10000

!

ip route 0.0.0.0 0.0.0.0 10.232.72.254

!

access-list 23 permit any

!        

!

!

control-plane

!

!

voice-port 0/0/0:15

connection plar 713

!

voice-port 0/1/0

compand-type a-law

!

voice-port 0/1/1

!

voice-port 0/0/1:15

!

!

!

mgcp profile default

!

!

dial-peer voice 700 voip

description *****Dial-peer to CRM*****

destination-pattern 7..

session target ipv4:10.232.72.31

dtmf-relay h245-alphanumeric

no vad

!

dial-peer voice 1 pots

destination-pattern 01.........

progress_ind setup enable 3

progress_ind alert enable 8

progress_ind progress enable 8

progress_ind connect enable 8

direct-inward-dial

port 0/0/0:15

!

dial-peer voice 3 pots

destination-pattern [2-7].......

progress_ind setup enable 3

progress_ind alert enable 8

progress_ind progress enable 8

progress_ind connect enable 8

direct-inward-dial

port 0/0/0:15

!

dial-peer voice 4 pots

destination-pattern 0[2-7]........

progress_ind setup enable 3

progress_ind alert enable 8

progress_ind progress enable 8

progress_ind connect enable 8

direct-inward-dial

port 0/0/0:15

!

dial-peer voice 5 pots

destination-pattern 0[2-7].........

progress_ind setup enable 3

progress_ind alert enable 8

progress_ind progress enable 8

progress_ind connect enable 8

direct-inward-dial

port 0/0/0:15

!

dial-peer voice 300 pots

destination-pattern 3..

direct-inward-dial

port 0/0/0:15

!

dial-peer voice 600 pots

destination-pattern 6..

direct-inward-dial

port 0/1/1

forward-digits all

!

dial-peer voice 2 pots

destination-pattern 0983995012

direct-inward-dial

port 0/1/1

forward-digits all

!

dial-peer voice 154 pots

destination-pattern 427

direct-inward-dial

port 0/1/1

forward-digits all

!

!

!

!

gatekeeper

shutdown

!

!

!

line con 0

login local

line aux 0

line 2

no activation-character

no exec

transport preferred none

transport input all

transport output pad telnet rlogin lapb-ta mop udptn v120 ssh

stopbits 1

line vty 0 4

access-class 23 in

privilege level 15

login local

transport input telnet ssh

line vty 5 15

access-class 23 in

privilege level 15

login local

transport input telnet ssh

!

scheduler allocate 20000 1000

end

BR,

VinhPLT

Hi Paolo.

That's right.

This is my configure.

Can you help me to check it

!

boot-start-marker

boot-end-marker

!

!

card type e1 0 0

logging buffered 51200 warnings

!

no aaa new-model

network-clock-participate wic 0

network-clock-participate wic 1

!

no ipv6 cef

ip source-route

ip cef  

!

!

!

!

!

ip domain name yourdomain.com

multilink bundle-name authenticated

!

!

!

!

isdn switch-type primary-net5

!

crypto pki token default removal timeout 0

!

crypto pki trustpoint TP-self-signed-2109617910

enrollment selfsigned

subject-name cn=IOS-Self-Signed-Certificate-2109617910

revocation-check none

rsakeypair TP-self-signed-2109617910

!

!

voice-card 0

!

!

!

voice service voip

allow-connections h323 to h323

allow-connections h323 to sip

allow-connections sip to h323

allow-connections sip to sip

fax protocol t38 version 0 ls-redundancy 0 hs-redundancy 0 fallback none

h323

sip

!

voice class h323 1

  h225 timeout tcp establish 3

!

!

!

!

!

license udi pid CISCO2911/K9 sn FGL1650115F

hw-module pvdm 0/0

!

!

!

username cisco privilege 15 secret 4 tnhtc92DXBhelxjYk8LWJrPV36S2i4ntXrpb4RFmfqY

!

redundancy

!       

!

controller E1 0/0/0

pri-group timeslots 1-31

!

controller E1 0/0/1

pri-group timeslots 1-2,16

!

!

!

!

!

interface Embedded-Service-Engine0/0

no ip address

shutdown

!

interface GigabitEthernet0/0

description $ETH-LAN$$ETH-SW-LAUNCH$$INTF-INFO-GE 0/0$

ip address 172.28.90.60 255.255.255.0

ip virtual-reassembly in

duplex auto

speed auto

!

interface GigabitEthernet0/1

ip address 10.232.72.39 255.255.255.0

ip virtual-reassembly in

duplex auto

speed auto

h323-gateway voip interface

h323-gateway voip bind srcaddr 10.232.72.39

!

interface GigabitEthernet0/2

description $ES_LAN$

ip address 192.168.1.1 255.255.255.0

duplex auto

speed auto

!

interface Serial0/0/0:15

no ip address

ip flow ingress

ip flow egress

encapsulation hdlc

isdn switch-type primary-net5

isdn timer T310 1000

isdn overlap-receiving T302 3000

isdn incoming-voice modem

isdn T309-enable

isdn send-alerting

isdn bchan-number-order ascending

isdn outgoing-voice info-transfer-capability 3.1kHz-audio

isdn incoming ie redirecting-selection first

no cdp enable

!

interface Serial0/0/1:15

no ip address

ip flow ingress

ip flow egress

encapsulation hdlc

isdn switch-type primary-net5

isdn incoming-voice voice

isdn send-alerting

isdn sending-complete

no cdp enable

!

interface BRI0/1/0

no ip address

no ip route-cache

isdn switch-type basic-net3

isdn protocol-emulate network

isdn layer1-emulate network

isdn incoming-voice voice

isdn static-tei 0

isdn skipsend-idverify

!

interface BRI0/1/1

no ip address

isdn switch-type basic-qsig

isdn timer T310 400000

isdn overlap-receiving

isdn twait-disable

isdn point-to-point-setup

isdn incoming-voice voice

isdn static-tei 0

isdn skipsend-idverify

!

ip forward-protocol nd

!

ip http server

ip http access-class 23

ip http authentication local

ip http secure-server

ip http timeout-policy idle 60 life 86400 requests 10000

!

ip route 0.0.0.0 0.0.0.0 10.232.72.254

!

access-list 23 permit any

!       

!

!

control-plane

!

!

voice-port 0/0/0:15

connection plar 713

!

voice-port 0/1/0

compand-type a-law

!

voice-port 0/1/1

!

voice-port 0/0/1:15

!

!

!

mgcp profile default

!

!

dial-peer voice 700 voip

description *****Dial-peer to CRM*****

destination-pattern 7..

session target ipv4:10.232.72.31

dtmf-relay h245-alphanumeric

no vad

!

dial-peer voice 1 pots

destination-pattern 01.........

progress_ind setup enable 3

progress_ind alert enable 8

progress_ind progress enable 8

progress_ind connect enable 8

direct-inward-dial

port 0/0/0:15

!

dial-peer voice 3 pots

destination-pattern [2-7].......

progress_ind setup enable 3

progress_ind alert enable 8

progress_ind progress enable 8

progress_ind connect enable 8

direct-inward-dial

port 0/0/0:15

!

dial-peer voice 4 pots

destination-pattern 0[2-7]........

progress_ind setup enable 3

progress_ind alert enable 8

progress_ind progress enable 8

progress_ind connect enable 8

direct-inward-dial

port 0/0/0:15

!

dial-peer voice 5 pots

destination-pattern 0[2-7].........

progress_ind setup enable 3

progress_ind alert enable 8

progress_ind progress enable 8

progress_ind connect enable 8

direct-inward-dial

port 0/0/0:15

!

dial-peer voice 300 pots

destination-pattern 3..

direct-inward-dial

port 0/0/0:15

!

dial-peer voice 600 pots

destination-pattern 6..

direct-inward-dial

port 0/1/1

forward-digits all

!

dial-peer voice 2 pots

destination-pattern 0983995012

direct-inward-dial

port 0/1/1

forward-digits all

!

dial-peer voice 154 pots

destination-pattern 427

direct-inward-dial

port 0/1/1

forward-digits all

!

!

!

!

gatekeeper

shutdown

!

!

!

line con 0

login local

line aux 0

line 2

no activation-character

no exec

transport preferred none

transport input all

transport output pad telnet rlogin lapb-ta mop udptn v120 ssh

stopbits 1

line vty 0 4

access-class 23 in

privilege level 15

login local

transport input telnet ssh

line vty 5 15

access-class 23 in

privilege level 15

login local

transport input telnet ssh

!

scheduler allocate 20000 1000

end

BR,

VinhPLT

To connect router to PBX, make a crossed cable and network-side configuration.

There are many posts about about.

As I said before, you will loose much time in trying to do yourself, hire a reputable consulant or person with expereince.

BRI Interface is up!

ISDN BRI0/1/1 interface

        dsl 5, interface ISDN Switchtype = basic-qsig

         **** Slave side configuration ****

    Layer 1 Status:

        ACTIVE

    Layer 2 Status:

        TEI = 0, Ces = 1, SAPI = 0, State = MULTIPLE_FRAME_ESTABLISHED

    Layer 3 Status:

        0 Active Layer 3 Call(s)

    Active dsl 5 CCBs = 0

    The Free Channel Mask:  0x80000003

    Total Allocated ISDN CCBs = 0

I must do it by myself.

BR.

VinhPLT

Debug ISDN when I call from 427(PBX) to 700(PBX)

Feb  4 09:31:57.751: ISDN BR0/1/1 Q931: RX <- SETUP pd = 8  callref = 0x01

        Bearer Capability i = 0x9090A3

                Standard = CCITT

                Transfer Capability = 3.1kHz Audio

                Transfer Mode = Circuit

                Transfer Rate = 64 kbit/s

        Channel ID i = 0x8A

                Exclusive, B2

        Facility i = 0x91AA068001008201008B0100A10E02021B2506042B0C092903020780

        Facility i = 0x91AA068001008201008B0102A11402021B2602013B300B30090A01050A01040A0103

        Facility i = 0x91AA068001008201008B0100A10C02021B2706042B0C09008400

        Progress Ind i = 0x8183 - Origination address is non-ISDN 

        Calling Party Number i = 0x0183, '427'

                Plan:ISDN, Type:Unknown

        Called Party Number i = 0x80, '700'

                Plan:Unknown, Type:Unknown

        Locking Shift to Codeset 5

        Codeset 5 IE 0x32  i = 0x81

Feb  4 09:32:01.687: ISDN BR0/1/1 Q931: RX <- RELEASE_COMP pd = 8  callref = 0x01

        Cause i = 0x81E6 - Recovery on timer expiry

Feb  4 09:32:01.763: ISDN BR0/1/1 Q931: RX <- SETUP pd = 8  callref = 0x01

        Bearer Capability i = 0x9090A3

                Standard = CCITT

                Transfer Capability = 3.1kHz Audio

                Transfer Mode = Circuit

                Transfer Rate = 64 kbit/s

        Channel ID i = 0x8A

                Exclusive, B2

        Facility i = 0x91AA068001008201008B0100A10E02021B2506042B0C092903020780

        Facility i = 0x91AA068001008201008B0102A11402021B2D02013B300B30090A01050A01040A0103

        Facility i = 0x91AA068001008201008B0100A10C02021B2E06042B0C09008400

        Progress Ind i = 0x8183 - Origination address is non-ISDN 

        Calling Party Number i = 0x0183, '427'

                Plan:ISDN, Type:Unknown

        Called Party Number i = 0x80, '700'

                Plan:Unknown, Type:Unknown

        Locking Shift to Codeset 5

        Codeset 5 IE 0x32  i = 0x81

Feb  4 09:32:05.699: ISDN BR0/1/1 Q931: RX <- RELEASE_COMP pd = 8  callref = 0x01

        Cause i = 0x81E6 - Recovery on timer expiry