Home Sections Gateways Analiza problemow w bramkach Patton Smart Node
Analiza problemow w bramkach Patton Smart Node PDF Print E-mail
User Rating: / 1
PoorBest 
Written by Lukasz Kutkowski   
Thursday, 08 November 2007 14:41

Sponsored by

dns-lookup <hostname> ;podaje adres IP dla danego hosta

patton(cfg)#dns-lookup sip.voiceworks.pl
Name: sip.voiceworks.pl
Address: 192.168.1.2

debug gateway sip transport ;debug pełnych wiadomosci sip


patton(cfg)#08:58:43 SIP_TR> [GW] < Stack: from 192.168.0.4:40364
INVITE sip:111@192.168.0.68:5062;user=phone;transport=udp SIP/2.0
Record-Route: <sip:192.168.0.4:5080;lr>
Via: SIP/2.0/UDP 192.168.0.4:5080;branch=z9hG4bK-df0e05c7a4068097f35fcdb274f52062
Via: SIP/2.0/UDP 192.168.0.4;branch=z9hG4bK-6d73755911e4379b62331d1fbe6fba4d
Via: SIP/2.0/UDP 192.168.0.253;branch=z9hG4bK55d02100CF305BD5
From: "Lukasz Kutkowski" <sip:305@sip.voiceworks.pl>;tag=3BF55A5A-6E4CDC71
To: <sip:550@sip.voiceworks.pl;user=phone>
Cseq: 1 INVITE
Call-Id: dd18ee8e-98d1532c-4981f7fb@192.168.0.253
Contact: <sip:305@192.168.0.253>
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, INFO, MESSAGE, SUBSCRIBE, NOTIFY, PRACK, UPDATE, REFER
User-Agent: PolycomSoundPointIP-SPIP_300-UA/2.1.0.2708
Supported: 100rel,replaces
Allow-Events: talk,hold,conference
Max-Forwards: 18
Content-Type: application/sdp
Content-Length: 251
Date: Mon, 29 Oct 2007 08:58:44 GMT

v=0
o=- 1193648255 1193648255 IN IP4 192.168.0.253
s=Polycom IP Phone
c=IN IP4 192.168.0.253
t=0 0
m=audio 2234 RTP/AVP 18 8 0 101
a=sendrecv
a=rtpmap:18 G729/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000

debug gateway sip transport detail 1 ;pokazuje tylko rodzaj i kody wiadomości SIP

patton(cfg)#08:56:34 SIP_TR> [GW] > Stack: SIP/2.0 503 Service Unavailable
08:56:34 SIP_TR> [GW] < Stack: INVITE sip:111@10.2.250.68:5062;user=phone;transport=udp SIP/2.0
08:56:34 SIP_TR> [GW] > Stack: SIP/2.0 100 Trying
08:56:34 SIP_TR> [GW] > Stack: SIP/2.0 503 Service Unavailable

debug media-gateway error ;pokazuje błędy związane z rtp

debug media-gateway rtp ;pozwala na śledzenie połączenia na poziomie rtp

17:42:19 RTP > [02000021] (BCD) Event=rx-rtp | New State=established
17:42:20 RTP > [0200001f] RTCP TX
17:42:20 RTP > [0200001f] RTCP-TX: TX-Info: packets=86, octets=1720
17:42:20 RTP > [0200001f] RTCP TX: RX-Info: packets=78, octets=1560, lost=0, jitter=14
17:42:20 RTP > [02000022] RTCP TX
17:42:20 RTP > [02000022] RTCP-TX: TX-Info: packets=76, octets=1520
17:42:20 RTP > [02000022] RTCP TX: RX-Info: packets=96, octets=1920, lost=0, jitter=0
17:42:20 RTP > [02000021] RTCP TX
17:42:20 RTP > [02000021] RTCP-TX: TX-Info: packets=138, octets=22080
17:42:20 RTP > [02000021] RTCP TX: RX-Info: packets=76, octets=12160, lost=0, jitter=0
17:42:22 RTP > [0200001f] Set mode: TX/RX -> INACTIVE
17:42:22 RTP > [0200001f] (BCD) Event=disable | New State=disabled

debug isdn event <slot> <port> {all | layer2 | layer3} ;pozwala na debug warstwy 2 i 3 dla portu BRI

17:44:59 ISDN > # 148 p: 0 R: sapi: 0 cr=0 ea=0 tei: 66 ea=1 RR Nr( 1) pf=0
17:44:59 ISDN > # 149 p: 0 R: sapi: 0 cr=0 ea=0 tei: 67 ea=1 RR Nr( 1) pf=0
17:44:59 ISDN > # 150 p: 0 from CC key: 259 L3ProceedingReq
17:44:59 ISDN > # 151 cause : Transparent
17:44:59 ISDN > # 152 hex:1E 02 85 82
17:44:59 ISDN > # 153 IE: ProgressInd
17:44:59 ISDN > # 154 ---> Layer2 tei:127 sapi: 0 CallProc
17:44:59 ISDN > # 155 hex:08 01 FC 02 18 01 89 1E 02 85 82
17:44:59 ISDN > # 156 IE: ChannelId BCh0 excl otherIf
17:44:59 ISDN > # 157 IE: ProgressInd
17:44:59 ISDN > # 158 new call state : L3PcSt09U
17:44:59 ISDN > # 159 p: 0 S: sapi: 0 cr=0 ea=0 tei: 76 ea=1 SABME p =1
17:44:59 ISDN > # 160 p: 0 R: sapi: 0 cr=0 ea=0 tei: 76 ea=1 UA f =1
17:44:59 ISDN > # 161 p: 0 S: sapi: 0 cr=0 ea=0 tei: 76 ea=1 INFO Nr( 0) Ns( 0) pf=0


show call-control call ;pokazuje aktualny stan połączeń

Active Calls
============
Call Call-Leg State Address Display Charge
-----------------------------------------------------------------------------------------------

00919e60
IF-ISDN-TPSA-00e5484 CONNECTED 90228753293 n/a n/a
VIA.PINGTEL-4726003e CONNECTED 100 n/a n/a
010cef70
VIA.PINGTEL-4726003e CONNECTED 90228753293 n/a n/a
IF-SIP-PINGTEL-010ce CONNECTED 100 n/a n/a

show call-control call continuously ;pokazuje aktualny stan połączeń odświeżając co kilka sekund

debug call-router ;pokazuje jak została kierowana rozmowa w CS podczas zestawiania połączenia

patton#15:47:30 CR > [switch] Routing-Lookup:
15:47:30 CR > Execute all entries in table interfejs_sip-precall-service
15:47:30 CR > Execute all entries in table interfejs_PRI_wejscie-dest
15:47:30 CR > Execute all entries in table route-found-place-call
15:47:30 CR > Lookup result: Route found; place call (timeout=0)

debug call-control ;pokazuje jakie parametry ma rozmowa (skąd przyszła, dokąd idzie, kody rozł)

patton#15:48:24 CC > [EP interfejs_sip-013dd410/active] Set call-leg property: Network -> SIP-GW
15:48:24 CC > [EP interfejs_sip-013dd410/active] Set call-leg property: E164-Number -> 600
15:48:24 CC > [EP interfejs_sip-013dd410/active] Set call-leg property: URI -> sip:600@sip.voiceworks.pl
15:48:24 CC > [EP interfejs_sip-013dd410/active] Set call-leg property: Type-Of-Number -> Unknown
15:48:24 CC > [EP interfejs_sip-013dd410/active] Set call-leg property: Numbering-Plan -> Unknown
15:48:24 CC > [EP interfejs_sip-013dd410/active] Set call-leg property: Presentation-Indicator -> Presentation allowed
15:48:24 CC > [EP interfejs_sip-013dd410/active] Set call-leg property: Name -> Lukasz
15:48:24 CC > [EP interfejs_sip-013dd410/active] Set call-leg property: Screening-Indicator -> User provided, not screened
15:48:24 CC > [EP interfejs_sip-013dd410/active] Set call-leg property: Supports Overlap-Sending -> true
15:48:24 CC > [EP interfejs_sip-013dd410/active] Set call-leg property: Supported Codecs -> Voice: G.711 A-law[20/20], G.711 u-law[20/20]
15:48:24 CC > [EP interfejs_sip-013dd410/active] Set call-leg property: Unique Identifier -> a64279de-2a172134-79d06ce1@192.168.0.253
15:48:24 CC > [EP interfejs_sip-013dd410/active] Set call-leg property: IP-Address -> 192.168.0.253
15:48:24 CC > [EP interfejs_sip-013dd410/active] Set call-leg property: Call-Leg-ID -> 0x013dfd58
15:48:24 CC > [EP interfejs_sip-013dd410/active] Set call-leg property: State -> CONNECTED
15:48:24 CC > [Call 013e0400] Set call property: Context -> 0x00000000
15:48:24 CC > [Call 013e0400] Set call property: Information-Transfer-Capability -> 3.1kHz Audio

show port <ethernet | bri | isdn > <port number> ;pokazuje status portu podanego jako parametr

patton#show port e1t1 0 0
Port: e1t1 0 0 0
================

Clock: Auto
Higher layer clock preference: Slave
Line Code: HDB3
Framing: Multiframe with CRC4

IDT 82P228x
===========

Type: E1
Port State: Enabled
Link State: Wait-Signal
Clock: Slave
Line Code: HDB3
Framing: CRC4
Loopback: Disabled
Application: Short-Haul
CAS channels: 0
Red alarm: On
AIS alarm: Off
Basic Framing: no
Multi Framing: no
Crc4 to Non-Crc4 Interworking: no
Bit Slips (local clock too fast): 0
Bit Slips (local clock too slow): 1
Rx Frames: 362
Rx Bytes: 333723
Tx Frames: 362
Tx Bytes: 1560
Impedance: 120 Ohm

no debug all ;wyłącz logi

show log ;podstawowy log pokazujący np. stany łączy

2007-10-29T08:45:51 : LOGINFO : Link down on interface e1t1 0 0 1
2007-10-29T08:45:51 : LOGINFO : Link down on interface ISDN 0 1
2007-10-29T08:46:55 : LOGINFO : Link up on interface e1t1 0 0 1
2007-10-29T08:46:55 : LOGINFO : Link up on interface ISDN 0 1
2007-10-29T14:32:03 : LOGINFO : Link down on interface ethernet 0 0 1
2007-10-29T14:32:16 : LOGINFO : Link up on interface ethernet 0 0 1

show license ;pokazuje zainstalowane licencje

patton#show licenses

IP Routing [iprouter]
Status: Active

VPN [vpn]
Status: Active

 

Powered By Joomla Tags

Last Updated ( Thursday, 28 August 2008 11:17 )
 
 
English (Angielski)

Patton Firmware