ISDN E1 PVDM2-xxDM callback

Topology:

PC(modem)———-ISDN———(E1 Pri)2811(PVDM2)

Configuration:

network-clock-participate wic 0
network-clock-select 1 E1 0/0/0
!
isdn switch-type primary-net5
!
chat-script offhook1 "" "ATH1" OK \c
chat-script callback1 ABORT ERROR ABORT BUSY "" "ATZ" OK "ATDT \T" TIMEOUT 30 CONNECT \c
!
interface Serial0/0/0:15
 ip unnumbered Loopback0
 encapsulation ppp
 dialer rotary-group 1
 dialer-group 1
 isdn switch-type primary-net5
 isdn incoming-voice modem 56
!
interface Group-Async1
 ip unnumbered Loopback1
 encapsulation ppp
 async mode interactive
 peer default ip address pool dialin
 ppp callback accept
 ppp authentication pap chap
 group-range 0/386 0/409
!
ip local pool dialin 192.168.0.10 192.168.0.17
!
line 0/386 0/409
 exec-timeout 15 0
 script modem-off-hook offhook1
 script callback callback1
 login local
 modem InOut
 modem autoconfigure discovery
 transport input all
 autoselect during-login
 autoselect ppp

Problem:

Digi Modem Dial back Failure
After open follow debug and capture follow debug information.
——————————————————–
– debug dialer
– debug dialer events
– debug chat
– debug ppp negotiation
– debug isdn q931
– debug isdn callback

*Sep 11 06:47:39.762: ISDN Se0/0/0:15 Q921: User TX -> INFO sapi=0 tei=0, ns=102 nr=70
*Sep 11 06:47:39.762: ISDN Se0/0/0:15 Q931: SETUP pd = 8  callref = 0x0086
>>>>>>>>>>>>>>>>>>
        Bearer Capability i = 0x8090A2
                Standard = CCITT
                Transfer Capability = Speech
                Transfer Mode = Circuit
                Transfer Rate = 64 kbit/s
        Channel ID i = 0xA9839F
                Exclusive, Channel 31
        Called Party Number i = 0x81, '01064390895'
                Plan:ISDN, Type:Unknown
*Sep 11 06:47:39.774: ISDN Se0/0/0:15 Q921: User RX <- RR sapi=0 tei=0 nr=103
*Sep 11 06:47:39.786: ISDN Se0/0/0:15 Q921: User RX <- INFO sapi=0 tei=0, ns=70 nr=103
*Sep 11 06:47:39.786: ISDN Se0/0/0:15 Q931: RELEASE_COMP pd = 8  callref = 0x8086
        Cause i = 0x82B9 - Bearer capability not presently authorized

1st: what’s is 0x82B9?

Code 0x82B9 means:
———————————–
82 – tells us that the disconnect came from the local telco ISDN switch
B9 – The user requests a bearer capability the network provides, but the user is not
authorized to use it. This can be a subscription problem.
This cause indicates that the user requested a bearer capability implemented by the
equipment generating this cause that the user is not authorized to use.
Please contact your telco to resolve this issue.
The telco switch is not letting the router make data calls on the BRI.

Follow is ISDN code explain document:
———————————–
Understanding debug isdn q931 Disconnect Cause Codes

2rd: check telco ISDN switch

After check, the telco no any problem and open all feature, include callin and callout.

3th: bearer Capability have problem

add new configuration to check problem
config:

interface Serial0/0/0:15
 ip unnumbered Loopback0
 encapsulation ppp
 dialer rotary-group 1
 dialer-group 1
 isdn switch-type primary-net5
 isdn incoming-voice modem 56
 isdn outgoing-voice info-transfer-capability 3.1kHz-audio   <!-- add command -->

After config, found the callback have same problem and same alarm messages, but Capability had already correct.

*Sep 14 09:59:22.594: ISDN Se0/0/0:15 Q921: User TX -> INFO sapi=0 tei=0, ns=29 nr=19
*Sep 14 09:59:22.594: ISDN Se0/0/0:15 Q931: SETUP pd = 8  callref = 0x0080
>>>>>>>>>>>>>>>>>>
        Bearer Capability i = 0x9090A2
                Standard = CCITT
                Transfer Capability = 3.1kHz Audio
                Transfer Mode = Circuit
                Transfer Rate = 64 kbit/s
        Channel ID i = 0xA9839F
                Exclusive, Channel 31
        Called Party Number i = 0x81, '01063271296'
                Plan:ISDN, Type:Unknown
*Sep 14 09:59:22.606: ISDN Se0/0/0:15 Q921: User RX <- RR sapi=0 tei=0 nr=30
*Sep 14 09:59:22.618: ISDN Se0/0/0:15 Q921: User RX <- INFO sapi=0 tei=0, ns=19 nr=30
*Sep 14 09:59:22.622: ISDN Se0/0/0:15 Q931: RELEASE_COMP pd = 8  callref = 0x8080
        Cause i = 0x82B9 - Bearer capability not presently authorized

4th: change bearer type

changed the bearer to 3.1k, but the bearer type is A2, the software maybe have problem.
config “modem country v12 e1-default” and monitor.

*Sep 15 05:06:02.543: ISDN Se0/0/0:15 Q921: User TX -> INFO sapi=0 tei=0, ns=63 nr=46
*Sep 15 05:06:02.543: ISDN Se0/0/0:15 Q931: SETUP pd = 8  callref = 0x0084
>>>>>>>>>>>>>>>>>>
        Bearer Capability i = 0x9090A3   <!-- changed -->
                Standard = CCITT
                Transfer Capability = 3.1kHz Audio
                Transfer Mode = Circuit
                Transfer Rate = 64 kbit/s
        Channel ID i = 0xA9839F
                Exclusive, Channel 31
        Called Party Number i = 0x81, '01063271296'
                Plan:ISDN, Type:Unknown
*Sep 15 05:06:02.555: ISDN Se0/0/0:15 Q921: User RX <- RR sapi=0 tei=0 nr=64
*Sep 15 05:06:02.575: ISDN Se0/0/0:15 Q921: User RX <- INFO sapi=0 tei=0, ns=46 nr=64
*Sep 15 05:06:02.575: ISDN Se0/0/0:15 Q931: SETUP_ACK pd = 8  callref = 0x8084
        Channel ID i = 0xA9839F
                Exclusive, Channel 31
*Sep 15 05:06:02.575: ISDN Se0/0/0:15 Q921: User TX -> RR sapi=0 tei=0 nr=47
*Sep 15 05:06:02.579: ISDN Se0/0/0:15 EVENT: process_rxstate: ces/callid 1/0x8006 calltype
2 CALL_SETUP_ACK
*Sep 15 05:06:04.067: ISDN Se0/0/0:15 Q921: User RX <- INFO sapi=0 tei=0, ns=47 nr=64
*Sep 15 05:06:04.067: ISDN Se0/0/0:15 Q931: ALERTING pd = 8  callref = 0x8084
        Progress Ind i = 0x8282 - Destination address is non-ISDN
        Progress Ind i = 0x8288 - In-band info or appropriate now available
*Sep 15 05:06:04.071: ISDN Se0/0/0:15 Q921: User TX -> RR sapi=0 tei=0 nr=48
*Sep 15 05:06:04.071: ISDN Se0/0/0:15 EVENT: process_rxstate: ces/callid 1/0x8006 calltype
2 CALL_PROGRESS
*Sep 15 05:06:14.071: ISDN Se0/0/0:15 Q921: User TX -> RRp sapi=0 tei=0 nr=48
*Sep 15 05:06:14.075: ISDN Se0/0/0:15 Q921: User RX <- RRf sapi=0 tei=0 nr=64
*Sep 15 05:06:24.079: ISDN Se0/0/0:15 Q921: User TX -> RRp sapi=0 tei=0 nr=48
*Sep 15 05:06:24.083: ISDN Se0/0/0:15 Q921: User RX <- RRf sapi=0 tei=0 nr=64
*Sep 15 05:06:28.859: Di1 DDR: cdp, 331 bytes, outgoing uninteresting (no dialer-group
defined)
*Sep 15 05:06:28.859: Di1 DDR: sending broadcast to default destination -- failed, not
connected
*Sep 15 05:06:32.515: CHAT0/402: Chat script callback1 finished, status = Connection timed
out; remote host not responding
*Sep 15 05:06:32.515: TTY0/402 Callback process chat script fail status=Connection timed
out; remote host not responding

After config, found new alarm messages, look top mark information. And PC report 638 error.
base on the dialer error explain, please look this link: dialin_err_code_defs

In addition, base on the PC’s internal modem config (AT command), can base on follow information to config:
Locating the Extra Settings field in all Operating Systems
Configuring MS Callback Between a Router and a Windows PC <!– old system –!>
Refer to windows7, you can use default help program and search, very strong!!!

5th: add dialer command

interface Group-Async1
 dialer in-band <!-- add command -->
 dialer-group 1 <!-- add command -->
!
dialer-list 1 protocol ip permit  <!-- add command -->

6th: ok, now problem resolved

Follow is some usefule information for PVDM2-xxDM:
Upgrade firmware for PVDM2-xxDM
Download PVDM2-xxDM firmware

Follow are entire configuration:
————————————-

network-clock-participate wic 0
network-clock-select 1 E1 0/0/0
!
modem country v12 e1-default
!
isdn switch-type primary-net5
!
chat-script offhook1 "" "ATH1" OK \c
chat-script callback1 ABORT ERROR ABORT BUSY "" "ATZ" OK "ATDT \T" TIMEOUT 30 CONNECT \c
!
username user2 callback-dialstring 01064390895 password 0 user2
!
interface Serial0/0/0:15
 no ip address
 encapsulation ppp
 dialer rotary-group 1
 dialer-group 1
 isdn switch-type primary-net5
 isdn incoming-voice modem 56
 isdn outgoing-voice info-transfer-capability 3.1kHz-audio
!
interface Group-Async1
 ip unnumbered Loopback1
 encapsulation ppp
 dialer in-band
 dialer-group 1
 async mode interactive
 peer default ip address pool dialin
 ppp callback accept
 ppp authentication pap callin
 group-range 0/386 0/409
!
ip local pool dialin 192.168.0.10 192.168.0.17
!
dialer-list 1 protocol ip permit
!
line 0/386 0/409
 exec-timeout 15 0
 script modem-off-hook offhook1
 script callback callback1
 login local
 modem InOut
 modem autoconfigure discovery
 transport input all
 autoselect during-login
 autoselect ppp
0
你可以留言,或者trackback 从你的网站

3 Responses to “ISDN E1 PVDM2-xxDM callback”

  1. Metal Roofing说道:

    .:” I am really thankful to this topic because it really gives useful information :-.

  2. router ip说道:

    Really good post, but that won’t really to make use of my router ip address, any helpful hints?

  3. frank说道:

    what’s config for your router? please give me the detail problem description.

留言哦