Debugging calls on a Patton Smartnode

You can do simple debugging (for ISDN) on a Patton gateway by using a series of simple commands.

After connecting to the gateway via telnet, type the following:

login: {your username here}
password: {password here}
enable
configure
debug ccisdn signaling
debug isdn event {slot} {port} all

Replace {slot} and {port} with the slot and port you want to debug, for example:

debug isdn event 0 0 all

For the first slot and port. (To turn off debugging, type “no debug all” at the prompt.)

The first debug command prints all ISDN layer 3 signalling messages, and call control related activity of the ISDN interface. This is a good monitor to start with when debugging ISDN.

The second command logs in detail the operation on the ISDN port (protocol stack layers 2 to 3).

Now attempt an ISDN call. Logging will show up in the telnet window. This is an example of the logging messages that will be generated:

172.18.130.7(cfg)#03:14:36  ICC   > [IF_ISDN_1] Added endpoint IF_ISDN_1-00e2ae9
8
03:14:36  ICC   > [IF_ISDN_1] NEW CALL. Allocated Endpoint IF_ISDN_1-00e2ae98
03:14:36  ICC   > [EP IF_ISDN_1-00e2ae98] do not reroute because: no endpoint wi
th call key: MzRjMmVjNzRhOWRlMjI0ZjRiYjQ3Njc0ZTE0ZWY2NzE.
03:14:36  ICC   > [EP IF_ISDN_1-00e2ae98] AOC-S User << Call Setup
03:14:36  ICC   > [EP IF_ISDN_1-00e2ae98] AOC-D User << Call Setup
03:14:36  ICC   > [EP IF_ISDN_1-00e2ae98] AOC-E User << Call Setup
03:14:36  ICC   > [EP IF_ISDN_1-00e2ae98] >> [080005]
SETUP (DSS1 User)
[04039090A3]
Bearer capability : 3.1kHz Audio – CCITT
circuit mode – 64kBit/s – G.711 A-law
[1E028583]
Progress indicator : origination address is non-ISDN
private network serving remote user – CCITT
[6C0A00803233313638333034]
Calling party number : xxxxxxxx
unknown number – unknown numbering plan
presentation allowed – user provided not screened
[7009803233313638333033]
Called party number : xxxxxxxx
unknown number – unknown numbering plan

03:14:36  ICC   > [EP IF_ISDN_1-00e2ae98] Set state to CALL INITIATED
03:14:36  ICC   > [EP IF_ISDN_1-00e2ae98] State: CALL INITIATED, Event: PEER CON
NECTED
03:14:36  ICC   > [EP IF_ISDN_1-00e2ae98] Hold State: IDLE, Hold Event: PEER CON
NECTED
03:14:37  ICC   > [IF_ISDN_1] << Message: primitive=43
03:14:37  ICC   > [EP IF_ISDN_1-00e2ae98] << [080002]
CALL PROCEEDING (DSS1 User)
[180189]
Channel id : 1 – exclusive
basic rate interface – is not d-channel – CCITT – b-channel units

03:14:37  ICC   > [EP IF_ISDN_1-00e2ae98] State: CALL INITIATED, Event: TERMINAL
PROCEEDING IND
03:14:37  ICC   > [EP IF_ISDN_1-00e2ae98] Set state to OUTGOING PROCEEDING
03:14:37  ICC   > [IF_ISDN_0] << Message: primitive=64
03:14:37  ICC   > [IF_ISDN_0] Added endpoint IF_ISDN_0-00992468
03:14:37  ICC   > [IF_ISDN_0] NEW CALL. Allocated Endpoint IF_ISDN_0-00992468
03:14:37  ICC   > [EP IF_ISDN_0-00992468] << [080005]
SETUP (DSS1 User)
[A1]
Sending complete
[04039090A3]
Bearer capability : 3.1kHz Audio – CCITT
circuit mode – 64kBit/s – G.711 A-law
[180181]
Channel id : 1 – preferred
basic rate interface – is not d-channel – CCITT – b-channel units
[1E028583]
Progress indicator : origination address is non-ISDN
private network serving remote user – CCITT
[29060807110C0210]
Date and time : 17.07.08 12:02
[6C0A01813233313638333034]
Calling party number : xxxxxxxx
unknown number – E.164 numbering plan
presentation allowed – user provided verified and passed
[7009A13233313638333033]
Called party number : xxxxxxx
national number – E.164 numbering plan

03:14:37  ICC   > [EP IF_ISDN_0-00992468] State: NULL, Event: TERMINAL SETUP IND
03:14:37  ICC   > [EP IF_ISDN_0-00992468] Set state to CALL PRESENT
03:14:37  ICC   > [EP IF_ISDN_0-00992468] set call key: 179
03:14:37  ICC   > [EP IF_ISDN_0-00992468] Set state to INCOMING PROCEEDING
03:14:37  ICC   > [EP IF_ISDN_0-00992468] >> [080002]
CALL PROCEEDING (DSS1 User)
[1E028582]
Progress indicator : destination address is non-ISDN
private network serving remote user – CCITT

03:14:37  ICC   > [EP IF_ISDN_0-00992468] State: INCOMING PROCEEDING, Event: PEE
R TRYING
03:14:37  ICC   > [EP IF_ISDN_0-00992468] Hold State: IDLE, Hold Event: PEER TRY
ING
03:14:37  ICC   > [EP IF_ISDN_0-00992468] State: INCOMING PROCEEDING, Event: PEE
R PROCEEDING
03:14:37  ICC   > [EP IF_ISDN_0-00992468] Hold State: IDLE, Hold Event: PEER PRO
CEEDING
03:14:37  ICC   > [IF_ISDN_1] << Message: primitive=44
03:14:37  ICC   > [EP IF_ISDN_1-00e2ae98] << [080003]
PROGRESS (DSS1 User)
[1E028582]
Progress indicator : destination address is non-ISDN
private network serving remote user – CCITT

03:14:38  ICC   > [EP IF_ISDN_1-00e2ae98] State: OUTGOING PROCEEDING, Event: TER
MINAL PROGRESS IND
03:14:39  ICC   > [EP IF_ISDN_0-00992468] State: INCOMING PROCEEDING, Event: PEE
R ALERTING
03:14:39  ICC   > [EP IF_ISDN_0-00992468] Set state to CALL RECEIVED
03:14:39  ICC   > [EP IF_ISDN_0-00992468] >> [080001]
ALERTING (DSS1 User)

03:14:39  ICC   > [EP IF_ISDN_0-00992468] Hold State: IDLE, Hold Event: PEER ALE
RTING
03:14:39  ICC   > [IF_ISDN_1] << Message: primitive=31
03:14:39  ICC   > [EP IF_ISDN_1-00e2ae98] << [080001]
ALERTING (DSS1 User)
[1E028488]
Progress indicator : inband information available
public network serving remote user – CCITT

03:14:39  ICC   > [EP IF_ISDN_1-00e2ae98] State: OUTGOING PROCEEDING, Event: TER
MINAL ALERTING IND
03:14:39  ICC   > [EP IF_ISDN_1-00e2ae98] Set state to CALL DELIVERED
03:14:39  ICC   > [EP IF_ISDN_1-00e2ae98] State: CALL DELIVERED, Event: PEER INB
AND INFO
03:14:44  ICC   > [EP IF_ISDN_0-00992468] State: CALL RECEIVED, Event: PEER CONN
ECTED
03:14:44  ICC   > [EP IF_ISDN_0-00992468] Set state to CONNECT REQUEST
03:14:44  ICC   > [EP IF_ISDN_0-00992468] >> [080007]
CONNECT (DSS1 User)
[4C0A21803233313638333033]
Connected number : xxxxxxxx
national number – E.164 numbering plan
presentation allowed – user provided not screened

03:14:44  ICC   > [EP IF_ISDN_0-00992468] Hold State: IDLE, Hold Event: PEER CON
NECTED
03:14:44  ICC   > [EP IF_ISDN_0-00992468] State: CONNECT REQUEST, Event: PEER IN
BAND INFO
03:14:45  ICC   > [IF_ISDN_0] << Message: primitive=59
03:14:45  ICC   > [EP IF_ISDN_0-00992468] << [08000F]
CONNECT ACKNOWLEDGEMENT (DSS1 User)

03:14:45  ICC   > [EP IF_ISDN_0-00992468] State: CONNECT REQUEST, Event: TERMINA
L SETUP COMP IND
03:14:45  ICC   > [EP IF_ISDN_0-00992468] Set state to ACTIVE
03:14:45  ICC   > [IF_ISDN_1] << Message: primitive=62
03:14:45  ICC   > [EP IF_ISDN_1-00e2ae98] << [080007]
CONNECT (DSS1 User)
[29060807110C0218]
Date and time : 17.07.08 12:02

03:14:45  ICC   > [EP IF_ISDN_1-00e2ae98] State: CALL DELIVERED, Event: TERMINAL
SETUP CONF
03:14:45  ICC   > [EP IF_ISDN_1-00e2ae98] Set state to ACTIVE
03:14:49  ICC   > [EP IF_ISDN_0-00992468] Hold State: IDLE, Hold Event: PEER REL
EASED
03:14:49  ICC   > [EP IF_ISDN_0-00992468] State: ACTIVE, Event: PEER RELEASED
03:14:49  ICC   > [EP IF_ISDN_0-00992468] Set state to DISCONNECT REQUEST
03:14:49  ICC   > [EP IF_ISDN_0-00992468] AOC-S User << Call Clearing
03:14:49  ICC   > [EP IF_ISDN_0-00992468] AOC-D User << Call Clearing
03:14:49  ICC   > [EP IF_ISDN_0-00992468] AOC-E User << Call Clearing
03:14:49  ICC   > [EP IF_ISDN_0-00992468] >> [080045]
DISCONNECT (DSS1 User)
[08028590]
Cause : normal call clearing
private network serving remote user – CCITT – Q.931

03:14:50  ICC   > [IF_ISDN_0] << Message: primitive=50
03:14:50  ICC   > [EP IF_ISDN_0-00992468] << [08004D]
RELEASE (DSS1 User)

03:14:50  ICC   > [EP IF_ISDN_0-00992468] State: DISCONNECT REQUEST, Event: TERM
INAL RELEASE IND
03:14:50  ICC   > [EP IF_ISDN_0-00992468] Set state to NULL
03:14:50  ICC   > [IF_ISDN_0] CLEARING CALL IF_ISDN_0-00992468
03:14:50  ICC   > [IF_ISDN_0] Removed endpoint IF_ISDN_0-00992468
03:14:50  ICC   > [IF_ISDN_0] Destroying finished calls.
03:14:50  ICC   > [IF_ISDN_0] Destroyed endpoint IF_ISDN_0-00992468
03:14:50  ICC   > [EP IF_ISDN_1-00e2ae98] Hold State: IDLE, Hold Event: PEER REL
EASED
03:14:50  ICC   > [EP IF_ISDN_1-00e2ae98] State: ACTIVE, Event: PEER RELEASED
03:14:50  ICC   > [EP IF_ISDN_1-00e2ae98] Set state to DISCONNECT REQUEST
03:14:50  ICC   > [EP IF_ISDN_1-00e2ae98] AOC-S User << Call Clearing
03:14:50  ICC   > [EP IF_ISDN_1-00e2ae98] AOC-D User << Call Clearing
03:14:50  ICC   > [EP IF_ISDN_1-00e2ae98] AOC-E User << Call Clearing
03:14:50  ICC   > [EP IF_ISDN_1-00e2ae98] >> [080045]
DISCONNECT (DSS1 User)
[08028590]
Cause : normal call clearing
private network serving remote user – CCITT – Q.931

03:14:50  ICC   > [IF_ISDN_1] << Message: primitive=50
03:14:50  ICC   > [EP IF_ISDN_1-00e2ae98] << [08004D]
RELEASE (DSS1 User)
[08028590]
Cause : normal call clearing
private network serving remote user – CCITT – Q.931

03:14:50  ICC   > [EP IF_ISDN_1-00e2ae98] State: DISCONNECT REQUEST, Event: TERM
INAL RELEASE IND
03:14:50  ICC   > [EP IF_ISDN_1-00e2ae98] Set state to NULL
03:14:50  ICC   > [IF_ISDN_1] CLEARING CALL IF_ISDN_1-00e2ae98
03:14:50  ICC   > [IF_ISDN_1] Removed endpoint IF_ISDN_1-00e2ae98
03:14:50  ICC   > [IF_ISDN_1] Destroying finished calls.
03:14:50  ICC   > [IF_ISDN_1] Destroyed endpoint IF_ISDN_1-00e2ae98

Liked this article?


Get notified of new articles
or share
You might also be interested in: