0% found this document useful (0 votes)
17 views8 pages

Cisco Call Simulation and Verification Guide

The document discusses how to: 1. Simulate a call using the csim command and verify the call route in the call detail record (CDR). 2. Verify an active or historical call by checking if it reached a known gateway using the show call command. 3. Check the status of E1/T1 interfaces using the show controllers command to determine if they are up or down.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
17 views8 pages

Cisco Call Simulation and Verification Guide

The document discusses how to: 1. Simulate a call using the csim command and verify the call route in the call detail record (CDR). 2. Verify an active or historical call by checking if it reached a known gateway using the show call command. 3. Check the status of E1/T1 interfaces using the show controllers command to determine if they are up or down.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

CISCO

1. Simulate a Call

To simulate a call and look the route that the call is taking, you can use the CSIM command and then
check in the nextone for the call CDR

Command:

csim start <number pattern>

Use:

1+AC+Phone Number for US.


011+CC+AC+Phone Number for other international calls.

National call should be simulated as international calls.

Example:

[Link]#
[Link]#csim start 0115114212002
csim: called number = 0115114212002, loop count = 1 ping count = 0
.
csim: loop = 1, failed = 0
csim: call attempted = 1, setup failed = 0, tone failed = 1

[Link]#
[Link]#csim start 15146936415
csim: called number = 15146936415, loop count = 1 ping count = 0

csim: loop = 1, failed = 1


csim: call attempted = 1, setup failed = 1, tone failed = 0

[Link]#

2. Verify a call

If you know the origination and/or destination GW, you could check if the call is reaching this GW with
the comman

show call {active | history} voice brief

the active option show the call that are in progress at this moment and the history parameter show
the call that are finished.

Example :

[Link]#show call active voice brief


<ID>: <start>hs.<index> +<connect> pid:<peer_id> <dir> <addr> <state>
dur hh:mm:ss tx:<packets>/<bytes> rx:<packets>/<bytes>
IP <ip>:<udp> rtt:<time>ms pl:<play>/<gap>ms
lost:<lost>/<early>/<late>
delay:<last>/<min>/<max>ms <codec>
MODEMPASS <method> buf:<fills>/<drains> loss <overall%>
<multipkt>/<corrected>
last <buf event time>s dur:<Min>/<Max>s
FR <protocol> [int dlci cid] vad:<y/n> dtmf:<y/n> seq:<y/n>
<codec> (payload size)
ATM <protocol> [int vpi/vci cid] vad:<y/n> dtmf:<y/n> seq:<y/n>
<codec> (payload size)
Tele <int> (callID) [channel_id] tx:<tot>/<v>/<fax>ms <codec>
noise:<l> acom:<l> i/o:<l>/<l> dBm
MODEMRELAY info:<rcvd>/<sent>/<resent> xid:<rcvd>/<sent>
total:<rcvd>/<sent>/<drops>
speeds(bps): local <rx>/<tx> remote <rx>/<tx>
Proxy <ip>:<audio udp>,<video udp>,<tcp0>,<tcp1>,<tcp2>,<tcp3>
endpt: <type>/<manf>
bw: <req>/<act> codec: <audio>/<video>
tx: <audio pkts>/<audio bytes>,<video pkts>/<video bytes>,<t120
pkts>/<t120 bytes>
rx: <audio pkts>/<audio bytes>,<video pkts>/<video bytes>,<t120
pkts>/<t120 bytes>

3643 : -463938778hs.1 +0 pid:4 Answer 5145269249 active


dur 00:21:44 tx:63935/1312580 rx:63776/1275520
Tele 3/1:D (2083785) [3/1.1] tx:1303775/381000/0ms g729r8 noise:6
acom:90 i/0:-20/-49 dBm
3643 : -463936031hs.1 +1701 pid:11 Originate 01146611511328 active
dur 00:20:59 tx:63776/1275520 rx:63781/1275620
IP [Link]:17120 rtt:7ms pl:608000/23725ms lost:0/8/0
delay:80/60/110ms g729r8

367C : -463813142hs.1 +1696 pid:100 Answer 5149919191 active


dur 00:00:31 tx:1092/21707 rx:2302/193968
Tele 3/2:D (2083989) [3/3.23] tx:45815/21000/0ms g711alaw noise:6
acom:127 i/0:-16/-87 dBm

367C : -463813141hs.1 +1695 pid:111 Originate 12125148924 active


dur 00:00:31 tx:2302/193968 rx:1092/21707
IP [Link]:21758 rtt:0ms pl:9000/0ms lost:0/1/0
delay:50/50/110ms g711alaw
MODEMPASS nse buf:0/0 loss 0% 0/0 last 0s dur:4294967/4294967s

3057 : -463809370hs.1 +-1 pid:1000000 Answer 15146936300 connected


dur 00:00:00 tx:0/0 rx:0/0
IP [Link]:0 rtt:0ms pl:0/0ms lost:0/0/0 delay:0/0/0ms None

3057 : -463809324hs.1 +-1 pid:15140 Originate 15143748863 connecting


dur 00:00:00 tx:0/0 rx:0/0
Tele 3/1:D (2083992) [3/1.0] tx:0/0/0ms None noise:0 acom:0 i/0:0/0
dBm

Telephony call-legs: 3
SIP call-legs: 0
H323 call-legs: 3
MGCP call-legs: 0
Multicast call-legs: 0
Total call-legs: 6

[Link]#

Each call has 2 parts, VOIP and POTS, which are identify by a CALL ID, in the previus example, the
first to register belong to the same call, and his CALL ID is 3643.
Example:

3643 : -463938778hs.1 +0 pid:4 Answer 5145269249 active


dur 00:21:44 tx:63935/1312580 rx:63776/1275520
Tele 3/1:D (2083785) [3/1.1] tx:1303775/381000/0ms g729r8 noise:6
acom:90 i/0:-20/-49 dBm

3643 : -463936031hs.1 +1701 pid:11 Originate 01146611511328 active


dur 00:20:59 tx:63776/1275520 rx:63781/1275620
IP [Link]:17120 rtt:7ms pl:608000/23725ms lost:0/8/0
delay:80/60/110ms g729r8

Other parameters in this call are:

Duration : 00:21:44
TX/RX packets: tx:63935/1312580 rx:63776/1275520
Codec : g729r8
Destination ip: [Link]

The Duration parameter show the time of the call duration, and let us find call without a normal
duration. The TX/RX packet show the number of packets sending and receiving in the communication;
also in the case of one way audio or a high packet lost connection this parameter remains with any or
low variation. The codec show what is the compression used in the call. And the destination IP show
where the call is sending to.

If we selected the the history option, we also get the information of the disconnection cause

Example:

[Link]#sh call history voice brief


<ID>: <start>hs.<index> +<connect> +<disc> pid:<peer_id> <direction>
<addr>
dur hh:mm:ss tx:<packets>/<bytes> rx:<packets>/<bytes> <disc-
cause>(<text>)
IP <ip>:<udp> rtt:<time>ms pl:<play>/<gap>ms
lost:<lost>/<early>/<late>
delay:<last>/<min>/<max>ms <codec>
MODEMPASS <method> buf:<fills>/<drains> loss <overall%>
<multipkt>/<corrected>
last <buf event time>s dur:<Min>/<Max>s
FR <protocol> [int dlci cid] vad:<y/n> dtmf:<y/n> seq:<y/n>
<codec> (payload size)
ATM <protocol> [int vpi/vci cid] vad:<y/n> dtmf:<y/n> seq:<y/n>
<codec> (payload size)
Telephony <int> (callID) [channel_id] tx:<tot>/<voice>/<fax>ms
<codec> noise:<lvl>dBm acom:<lvl>dBm
MODEMRELAY info:<rcvd>/<sent>/<resent> xid:<rcvd>/<sent>
total:<rcvd>/<sent>/<drops> disc:<cause code>
speeds(bps): local <rx>/<tx> remote <rx>/<tx>
Proxy <ip>:<audio udp>,<video udp>,<tcp0>,<tcp1>,<tcp2>,<tcp3>
endpt: <type>/<manf>
bw: <req>/<act> codec: <audio>/<video>
tx: <audio pkts>/<audio bytes>,<video pkts>/<video bytes>,<t120
pkts>/<t120 bytes>
rx: <audio pkts>/<audio bytes>,<video pkts>/<video bytes>,<t120
pkts>/<t120 bytes>

Telephony call-legs: 25
SIP call-legs: 0
H323 call-legs: 25
MGCP call-legs: 0
Total call-legs: 50
2611 : -463764238hs.1933263 +-1 +2436 pid:15140 Originate 15149200114
dur 00:00:00 tx:0/0 rx:0/0 10 (normal call clearing (16))
Telephony 3/1:D (2084046) [3/1.10] tx:0/0/0ms None noise:0dBm
acom:0dBm
2611 : -463764281hs.1933264 +-1 +2480 pid:1000000 Answer 15146936300
dur 00:00:00 tx:0/0 rx:0/0 10 (normal call clearing (16))
IP [Link]:0 rtt:0ms pl:0/0ms lost:0/0/0 delay:0/0/0ms None

3290 : -463764162hs.1933265 +-1 +2362 pid:15140 Originate 15149324680


dur 00:00:00 tx:0/0 rx:0/0 10 (normal call clearing (16))
Telephony 3/1:D (2084048) [3/1.11] tx:0/0/0ms None noise:0dBm
acom:0dBm
3290 : -463764196hs.1933266 +-1 +2396 pid:1000000 Answer 15146936300
dur 00:00:00 tx:0/0 rx:0/0 10 (normal call clearing (16))
IP [Link]:0 rtt:0ms pl:0/0ms lost:0/0/0 delay:0/0/0ms None

368B : -463763555hs.1933267 +1755 +6365 pid:111 Originate 12125148924


dur 00:00:46 tx:3091/314792 rx:1471/29230 10 (normal call clearing
(16))
IP [Link]:21232 rtt:0ms pl:9000/0ms lost:0/1/0
delay:50/50/120ms g711alaw
MODEMPASS nse buf:0/0 loss 0% 0/0 last 0s dur:4294967/4294967s

368B : -463763556hs.1933268 +1756 +6367 pid:100 Answer 5149919191


dur 00:00:46 tx:1471/29230 rx:3091/314792 10 (normal call clearing
(16))
Telephony 3/2:D (2084049) [3/3.23] tx:57130/28000/0ms g711alaw
noise:6dBm acom:127dBm

In that cases we got normal call clearing as the disconnect cause and the number 16, which is the
ISDN code for this cause.

The history option only shows the last calls, and depends of the amount of traffic in the GW.

3. E1 status

The command show controllers E1/T1; show the status of the E1/T1 and if this is up or down.

Example

[Link]#show controllers t1
T1 3/0 is down.
Applique type is Channelized T1
Cablelength is long gain36 0db
Description: Group Telecom - CKT ID QC/IPXX/042057/000/GTG/000
Transmitter is sending remote alarm.
Receiver has loss of signal.
alarm-trigger is not set
Version info of slot 3: HW: 256, PLD Rev: 1
Framer Version: 0x8

Manufacture Cookie Info:


EEPROM Type 0x0001, EEPROM Version 0x01, Board ID 0x04,
Board Hardware Version 1.0, Item Number 73-5267-01,
Board Revision E0, Serial Number JAE06510A0X,
PLD/ISP Version <unset>, Manufacture Date 21-Dec-2002.

Framing is ESF, FDL is ansi, Line Code is B8ZS, Clock Source is


Line.
Data in current interval (654 seconds elapsed):
0 Line Code Violations, 0 Path Code Violations
0 Slip Secs, 654 Fr Loss Secs, 0 Line Err Secs, 0 Degraded Mins
0 Errored Secs, 0 Bursty Err Secs, 0 Severely Err Secs, 654
Unavail Secs
Total Data (last 24 hours)
0 Line Code Violations, 0 Path Code Violations,
0 Slip Secs, 86400 Fr Loss Secs, 0 Line Err Secs, 0 Degraded
Mins,
0 Errored Secs, 0 Bursty Err Secs, 0 Severely Err Secs, 86400
Unavail Secs
T1 3/1 is up.
Applique type is Channelized T1
Cablelength is long gain36 0db
Description: ----Videotron ID=CVGDS1010-----
No alarms detected.
alarm-trigger is not set
Version info of slot 3: HW: 256, PLD Rev: 1
Framer Version: 0x8

Manufacture Cookie Info:


EEPROM Type 0x0001, EEPROM Version 0x01, Board ID 0x04,
Board Hardware Version 1.0, Item Number 73-5267-01,
Board Revision E0, Serial Number JAE06510A0X,
PLD/ISP Version <unset>, Manufacture Date 21-Dec-2002.

Framing is ESF, FDL is ansi, Line Code is B8ZS, Clock Source is


Line.
Data in current interval (656 seconds elapsed):
0 Line Code Violations, 0 Path Code Violations
0 Slip Secs, 0 Fr Loss Secs, 0 Line Err Secs, 0 Degraded Mins
0 Errored Secs, 0 Bursty Err Secs, 0 Severely Err Secs, 0
Unavail Secs
Total Data (last 24 hours)
0 Line Code Violations, 0 Path Code Violations,
0 Slip Secs, 0 Fr Loss Secs, 0 Line Err Secs, 0 Degraded Mins,
0 Errored Secs, 0 Bursty Err Secs, 0 Severely Err Secs, 0
Unavail Secs
T1 3/2 is up.
Applique type is Channelized T1
Cablelength is long gain36 0db
Description: --- Loop 67-(nfas) Future Electronics
No alarms detected.
alarm-trigger is not set
Version info of slot 3: HW: 256, PLD Rev: 1
Framer Version: 0x8

Manufacture Cookie Info:


EEPROM Type 0x0001, EEPROM Version 0x01, Board ID 0x04,
Board Hardware Version 1.0, Item Number 73-5267-01,
Board Revision E0, Serial Number JAE06510A0X,
PLD/ISP Version <unset>, Manufacture Date 21-Dec-2002.

Framing is ESF, Line Code is B8ZS, Clock Source is Line.


Data in current interval (657 seconds elapsed):
0 Line Code Violations, 0 Path Code Violations
0 Slip Secs, 0 Fr Loss Secs, 0 Line Err Secs, 0 Degraded Mins
0 Errored Secs, 0 Bursty Err Secs, 0 Severely Err Secs, 0
Unavail Secs
Total Data (last 24 hours)
0 Line Code Violations, 0 Path Code Violations,
0 Slip Secs, 0 Fr Loss Secs, 0 Line Err Secs, 0 Degraded Mins,
0 Errored Secs, 0 Bursty Err Secs, 0 Severely Err Secs, 0
Unavail Secs
T1 3/3 is up.
Applique type is Channelized T1
Cablelength is long gain36 0db
Description: --- Loop 61-(nfas) Future Electronics
No alarms detected.
alarm-trigger is not set
Version info of slot 3: HW: 256, PLD Rev: 1
Framer Version: 0x8

Manufacture Cookie Info:


EEPROM Type 0x0001, EEPROM Version 0x01, Board ID 0x04,
Board Hardware Version 1.0, Item Number 73-5267-01,
Board Revision E0, Serial Number JAE06510A0X,
PLD/ISP Version <unset>, Manufacture Date 21-Dec-2002.

Framing is ESF, Line Code is B8ZS, Clock Source is Line.


Data in current interval (657 seconds elapsed):
0 Line Code Violations, 0 Path Code Violations
0 Slip Secs, 0 Fr Loss Secs, 0 Line Err Secs, 0 Degraded Mins
0 Errored Secs, 0 Bursty Err Secs, 0 Severely Err Secs, 0
Unavail Secs
Total Data (last 24 hours)
0 Line Code Violations, 0 Path Code Violations,
0 Slip Secs, 0 Fr Loss Secs, 0 Line Err Secs, 0 Degraded Mins,
0 Errored Secs, 0 Bursty Err Secs, 0 Severely Err Secs, 0
Unavail Secs
[Link]#

In this case the T1 3/0 is down and the rest are up.

Also, this command show us the configuration for the E1/T1; framing,coding and clock source.

4. ISDN status

The command: show isdn status, give us information about the layer 1,2,3 of the ISDN. The layer 1 is
the physical connection to the port if this is non active means, that a physical cable should be
reviewed.

The layer 2 is the data layer, show if the framing and coding is the appropriate for the E1/T1
configuration.

The layer 3 show the calls that are in progress for that E1/T1

Example

[Link]#sh isdn status


Global ISDN Switchtype = primary-dms100
ISDN Serial3/0:23 interface
dsl 0, interface ISDN Switchtype = primary-ni
Layer 1 Status:
DEACTIVATED
Layer 2 Status:
TEI = 0, Ces = 1, SAPI = 0, State = TEI_ASSIGNED
Layer 3 Status:
0 Active Layer 3 Call(s)
Active dsl 0 CCBs = 0
The Free Channel Mask: 0x00000000
Number of L2 Discards = 0, L2 Session ID = 103
ISDN Serial3/1:23 interface
dsl 1, interface ISDN Switchtype = primary-ni
Layer 1 Status:
ACTIVE
Layer 2 Status:
TEI = 0, Ces = 1, SAPI = 0, State =
MULTIPLE_FRAME_ESTABLISHED
Layer 3 Status:
1 Active Layer 3 Call(s)
CCB:callid=FA15, sapi=0, ces=0, B-chan=4, calltype=VOICE
CCB:callid=FA30, sapi=0, ces=0, B-chan=1, calltype=VOICE
Active dsl 1 CCBs = 2
The Free Channel Mask: 0x807FFFF6
Number of L2 Discards = 0, L2 Session ID = 3
ISDN Serial3/2:23 interface
dsl 2, interface ISDN Switchtype = primary-dms100 : Primary D
channel of nfas group 1
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 2 CCBs = 0
The Free Channel Mask: 0x807FFFFF
Number of L2 Discards = 0, L2 Session ID = 92
ISDN Serial3/3:23 interface
dsl 3, interface ISDN Switchtype = primary-dms100 : Group
member of nfas group 1
Layer 1 Status:
ACTIVE
Layer 2 Status: Not Applicable
Layer 3 Status:
0 Active Layer 3 Call(s)
Active dsl 3 CCBs = 0
The Free Channel Mask: 0x80FFFFFF
Total Allocated ISDN CCBs = 2

In this example the Layer 1 for the Serial 3/0:23 is show as DEACTIVATED which means that no
fisical signal for this port.

5. ISDN service

The command show isdn service show wich channels have calls and which are free.

Example:

[Link]#show isdn service


PRI Channel Statistics:
ISDN Se3/0:23, Channel [1-24]
Configured Isdn Interface (dsl) 0
Channel State (0=Idle 1=Proposed 2=Busy 3=Reserved 4=Restart
5=Maint_Pend)
Channel : 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4
State : 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 3
Service State (0=Inservice 1=Maint 2=Outofservice 8=MaintPend
9=OOSPend)
Channel : 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4
State : 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2
ISDN Se3/1:23, Channel [1-24]
Configured Isdn Interface (dsl) 1
Channel State (0=Idle 1=Proposed 2=Busy 3=Reserved 4=Restart
5=Maint_Pend)
Channel : 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4
State : 0 0 2 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 3
Service State (0=Inservice 1=Maint 2=Outofservice 8=MaintPend
9=OOSPend)
Channel : 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4
State : 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2
ISDN Se3/2:23, Channel [1-24]
Configured Isdn Interface (dsl) 2
Channel State (0=Idle 1=Proposed 2=Busy 3=Reserved 4=Restart
5=Maint_Pend)
Channel : 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4
State : 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 3
Service State (0=Inservice 1=Maint 2=Outofservice 8=MaintPend
9=OOSPend)
Channel : 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4
State : 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2
ISDN Se3/3:23, Channel [1-24]
Configured Isdn Interface (dsl) 3
Channel State (0=Idle 1=Proposed 2=Busy 3=Reserved 4=Restart
5=Maint_Pend)
Channel : 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4
State : 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Service State (0=Inservice 1=Maint 2=Outofservice 8=MaintPend
9=OOSPend)
Channel : 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4
State : 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
[Link]#

In this example, the first T1, Serial 3/0:23, remains out of service

ISDN Se3/0:23, Channel [1-24]


Configured Isdn Interface (dsl) 0
Channel State (0=Idle 1=Proposed 2=Busy 3=Reserved 4=Restart
5=Maint_Pend)
Channel : 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4
State : 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 3
Service State (0=Inservice 1=Maint 2=Outofservice 8=MaintPend
9=OOSPend)
Channel : 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4
State : 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2

And the channels 3 and 4 from the Serial 3/1:23 have calls

ISDN Se3/1:23, Channel [1-24]


Configured Isdn Interface (dsl) 1
Channel State (0=Idle 1=Proposed 2=Busy 3=Reserved 4=Restart
5=Maint_Pend)
Channel : 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4
State : 0 0 2 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 3
Service State (0=Inservice 1=Maint 2=Outofservice 8=MaintPend
9=OOSPend)
Channel : 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4
State : 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2

Also with this command is possible to check the amount of calls that that an E1/T1 has in this
moment.

You might also like