Friday, May 7, 2010

Disconnect calls in cisco AS5400 gateways

;Disconnect calls in cisco AS5400 gateways
;IOS Version 12.4(25a)


:Method 1
;Inspect the as5400 for dead or stuck calls
gateway#show call active voice compact
A/O FAX T Codec type Peer Address IP R:
Total call-legs: 2
6970 ANS T164506 g711ulaw TELE P5000
6971 ORG T164506 g711ulaw VOIP P1000 192.168.1.2:18876
;T164506 = 164506 seconds (call duration)

;Look into the details of the call
gateway#show call activce voice brief
B03 : 6970 467365190ms.1 +2220 pid:1 Answer 5000 active
dur 1d21h tx:4584734/709292132 rx:8261947/1321911520
Tele 7/7:D (6970) [7/7.1] tx:165238945/368000/0ms g711ulaw
noise:-71 acom:80 i/0:-56/-55 dBm

B03 : 6971 467365200ms.1 +2210 pid:2 Originate 1000 active
dur 1d21h tx:8261947/1321911520 rx:4584734/709292132
IP 192.168.1.2:18876 SRTP: off rtt:155ms pl:106228000/0ms
lost:0/205/0 delay:60/40/105ms g711ulaw
media inactive detected:n media contrl rcvd:n/a timestamp:n/a

;Disconnect the call
gateway#clear call voice causecode 10 id B03



;Method 2
gateway#show call active voice id B03
-------strip----------
OriginalCallingNumber=5000
OriginalCalledNumber=1000
TranslatedCallingNumber=5000
TranslatedCalledNumber=1000
GwReceivedCalledNumber=1000
GwReceivedCallingNumber=5000
DSPIdentifier=2/4:1
;The above indicate the calling/called number and dsp being used

;Inspect the spe
SPE# Port # State Busyout Shut Crash State Type
2/03 0018-0023 ACTIVE 0 0 0 ______ ______
2/04 0024-0029 ACTIVE 0 0 0 _a____ _v____

;Disconnect the call
gateway#clear spe 2/04
;This will clear all calls within 2/04 spe

No comments:

Post a Comment