ACK BYE/200 OK
ステップ 1 show sip-ua connections
2. clear sip-ua tcp connection コマンドの出力には、統計情報がクリアされていることが示されま す。
Router# clear sip-ua tcp connection id 1 target ipv4:172.18.194.183:5060 Purging the entry from sip tcp process
Purging the entry from reusable global connection table
3. show sip-ua connections
コマンドの出力では、すべての接続が想定どおりにクリアされていることを確認します。
Router# show sip-ua connections tcp detail Total active connections : 0
No. of send failures : 0 No. of remote closures : 0 No. of conn. failures : 0
No. of inactive conn. ageouts : 0
Max. tcp send msg queue size of 1, recorded for 172.18.194.183:5060 ---Printing Detailed Connection
Report---Note:
** Tuples with no matching socket entry
- Do 'clear sip <tcp/udp> conn t ipv4:<addr>:<port>' to overcome this error condition
++ Tuples with mismatched address/port entry
- Do 'clear sip <tcp/udp> conn t ipv4:<addr>:<port> id <connid>' to overcome this error condition
Remote-Agent:172.18.194.183, Connections-Count:0 ステップ
2 show sip-ua statistics
このコマンドを使用して、
UPDATE
要求を含むSIP
統計情報を表示します。Router# show sip-ua statistics
SIP Response Statistics (Inbound/Outbound) Informational
Trying 1/4, Ringing 0/0, Forwarded 0/0, Queued 0/0, SessionProgress 1/4 Success:
OkInvite 1/2, OkBye 1/2, OkCancel 0/2, OkOptions 0/0, OkPrack 1/4, OkPreconditionMet 0/0, OkSubscribe 0/0, OkNotify 0/0, OkInfo 0/0, 202Accepted 0/0, OkUpdate 0/0
Redirection (Inbound only):
MultipleChoice 0, MovedPermanently 0, MovedTemporarily 0, UseProxy 0, AlternateService 0
Client Error:
BadRequest 0/0, Unauthorized 0/0, PaymentRequired 0/0, Forbidden 0/0, NotFound 0/0, MethodNotAllowed 0/0, NotAcceptable 0/0, ProxyAuthReqd 0/0,
ReqTimeout 0/0, Conflict 0/0, Gone 0/0, ReqEntityTooLarge 0/0, ReqURITooLarge 0/0, UnsupportedMediaType 0/0, BadExtension 0/0, TempNotAvailable 0/0, CallLegNonExistent 0/0, LoopDetected 0/0, TooManyHops 0/0,
AddrIncomplete 0/0, Ambiguous 0/0, BusyHere 0/0, RequestCancel 0/2, NotAcceptableMedia 0/0, BadEvent 0/0, SETooSmall 0/0, RequestPending 0/0 Server Error:
InternalError 0/0, NotImplemented 0/0, BadGateway 0/0, ServiceUnavail 2/0, GatewayTimeout 0/0, BadSipVer 0/0, PreCondFailure 0/0
Global Failure:
BusyEverywhere 0/0, Decline 0/0,
NotExistAnywhere 0/0, NotAcceptable 0/0 Miscellaneous counters:
RedirectRspMappedToClientErr 0
SIP Total Traffic Statistics (Inbound/Outbound) Invite 4/4, Ack 4/3, Bye 2/1,
Cancel 2/0, Options 0/0, Prack 4/1, Comet 0/0, Subscribe 0/0, Notify 0/0, Refer 0/0, Info 0/0, Update 0/0
Retry Statistics
Invite 1, Bye 0, Cancel 0, Response 0, Prack 0, Comet 0, Reliable1xx 0, Notify 0 SDP application statistics:
Parses: 6, Builds 10
Invalid token order: 0, Invalid param: 0 Not SDP desc: 0, No resource: 0
Last time SIP Statistics were cleared: <never>
トラブルシューティングのヒント
(注) 一般的なトラブルシューティングのヒント、および重要な
debug
???????• SIP
関連のデバッグをイネーブルにするには、debug ccsip all
コマンドを使用します。• debug ccsip transport
コマンドを使用して、Invite
メッセージを送信すると同時に、転送および 接続に関連する操作をデバッグします。これらのコマンドの一部の出力例を、次に示します。
debug ccsip transport
コマンドの出力例ここで取り上げる操作は、次の内容を示しています。
•
接続が確立されており、Invite
が送信されていること。•
最初のInvite
メッセージがUDP
を介して転送されていること。•
リモートターゲットつまり要求の送信先の詳細。•
メッセージのサイズがMTU
のしきい値サイズを超えていること。このため、トランスポートス イッチング(UDP
からTCP
へ)がイネーブルになっていること。•
接続アルゴリズムが開始されている、つまり、非アクティビティが発生した場合、TCP
またはUDP
接続を期限切れにするためのカウンタが開始されていること。Router# debug ccsip transport .
. .
1w1d: //18/8E16980D800A/SIP/Transport/sipSPISendInvite: Sending Invite to the transport layer
1w1d: //18/8E16980D800A/SIP/Transport/sipSPIGetSwitchTransportFlag: Return the Global configuration, Switch Transport is TRUE
1w1d: //18/8E16980D800A/SIP/Transport/sipSPITransportSendMessage: msg=0x64082D50, addr=172.18.194.183, port=5060, sentBy_port=0, is_req=1, transport=1, switch=1, callBack=0x614FAB58
1w1d: //18/8E16980D800A/SIP/Transport/sipSPITransportSendMessage: Proceedable for sending msg immediately
1w1d: //18/8E16980D800A/SIP/Transport/sipTransportLogicSendMsg: switch transport is 1 1w1d: //-1/xxxxxxxxxxxx/SIP/Transport/sipTransportGetInterfaceMtuSize: MTU size for remote address 172.18.194.183 is 500
1w1d: //-1/xxxxxxxxxxxx/SIP/Transport/sipTransportVerifyMsgForMTUThreshold: Interface MTU Size 500, Msg Size 1096
1w1d: //18/8E16980D800A/SIP/Transport/sipTransportLogicSendMsg: Switching msg=0x64082D50 transport UDP->TCP
1w1d: //-1/xxxxxxxxxxxx/SIP/Transport/sipTransportSetAgeingTimer: Aging timer initiated for holder=0x64084058,addr=172.18.194.183
1w1d: //-1/xxxxxxxxxxxx/SIP/Transport/sipCreateConnHolder: Created new holder=0x64084058, addr=172.18.194.183
1w1d: //-1/xxxxxxxxxxxx/SIP/Transport/sipTransportPostRequestConnection: Posting TCP conn create request for addr=172.18.194.183, port=5060, context=0x64128D5C
1w1d: //-1/xxxxxxxxxxxx/SIP/Transport/sipTransportSetConnWaitTimer: Wait timer set for connection=0x64129BF4,addr=172.18.194.183, port=5060
1w1d: //-1/xxxxxxxxxxxx/SIP/Transport/sipCreateConnInstance: Created new initiated conn=0x64129BF4, connid=-1, addr=172.18.194.183, port=5060, transport=tcp
1w1d: //-1/xxxxxxxxxxxx/SIP/Transport/sipConnectionManagerProcessConnCreated:
gConnTab=0x64128D5C, addr=172.18.194.183, port=5060, connid=1, transport=tcp 1w1d: //-1/xxxxxxxxxxxx/SIP/Transport/sipInstanceHandleConnectionCreated: Moving connection=0x64129BF4, connid=1state to pending
1w1d: //-1/xxxxxxxxxxxx/SIP/Transport/sipTransportProcessNWConnectionCreated:
context=0x64128D5C
1w1d: //-1/xxxxxxxxxxxx/SIP/Transport/sipConnectionManagerProcessConnCreated:
gConnTab=0x64128D5C, addr=172.18.194.183, port=5060, connid=1, transport=tcp
1w1d: //-1/xxxxxxxxxxxx/SIP/Transport/sipTransportPostSendMessage: Posting send for msg=0x64082D50, addr=172.18.194.183, port=5060, connId=1 for TCP
. . .
SIP の RFC 準拠の設定例
ここでは、次の設定例について説明します。
•
「RFC 3261
、RFC 3262
、およびRFC 3264
に対するSIP
ゲートウェイの準拠」(P.47
)(注) 例に示す
IP
アドレスおよびホスト名は架空のものです。RFC 3261 、 RFC 3262 、および RFC 3264 に対する SIP ゲートウェイの 準拠
ここでは、前の項で説明した設定作業に対応する設定例を示します。
1w1d: %SYS-5-CONFIG_I: Configured from console by console Building configuration...
Current configuration : 3326 bytes
!
!Last configuration change at 18:09:20 EDT Fri Apr 23 2004
!
version 12.3
service timestamps debug uptime service timestamps log uptime no service password-encryption boot-start-marker
boot system tftp mantis/c3640-is-mz.disc_w_pi 172.18.207.10 boot-end-marker
!
clock timezone EST -5
clock summer-time EDT recurring voice-card 3
!
aaa new-model
!
aaa accounting connection h323 start-stop group radius aaa nas port extended
aaa session-id common ip subnet-zero
! ip cef
ip host example.com 172.18.194.183
ip host CALLGEN-SECURITY-V2 10.36.54.81 10.1.0.0 ip name-server 172.18.192.48
!
isdn switch-type primary-ni
!
trunk group 1
!
voice service voip sip
rel1xx require "100rel"
transport switch udp tcp
!
voice class uri 800 sip pattern test@example.com
!
controller T1 3/0 framing sf linecode ami
pri-group timeslots 1-24
!
controller T1 3/1 framing sf linecode ami
pri-group timeslots 1-24 gw-accounting aaa
!
interface Ethernet0/0
description CentreComm Hub port 9 in PP070 ip address 172.18.194.170 255.255.255.0
no ip proxy-arp ip mtu 500 half-duplex no cdp enable
ip rsvp bandwidth 100 100
!
interface Serial3/0:23 no ip address
no logging event link-status isdn switch-type primary-ni isdn incoming-voice voice no cdp enable
!
interface Serial3/1:23 no ip address
no logging event link-status isdn switch-type primary-ni isdn protocol-emulate network isdn incoming-voice voice no cdp enable
!
no ip http server ip classless
ip route 0.0.0.0 0.0.0.0 172.18.194.1 ip route 0.0.0.0 0.0.0.0 Ethernet0/0 ip route 10.0.0.0 255.0.0.0 172.18.194.1 ip route 172.16.0.0 255.0.0.0 Ethernet0/0
!
dialer-list 1 protocol ip permit no cdp run
!
radius-server host 10.13.84.133 auth-port 1645 acct-port 1646 radius-server timeout 2
radius-server key cisco
radius-server vsa send accounting radius-server vsa send authentication
!
control-plane
!
call application voice testapp79 tftp://172.18.207.10/mantis/my_app.tcl
call application voice testapp888 tftp://172.18.207.10/mantis/AL_FEAT_SIP_URL_O_RV_79.tcl call application voice testapp888 mcid-dtmf 9876
call application voice testapp888 test 5444
!
voice-port 1/1/0
!
voice-port 1/1/1
!
voice-port 3/0:23
!
voice-port 3/1:23
!
dial-peer cor custom
!
dial-peer voice 9876 voip destination-pattern 9876
voice-class sip transport switch udp tcp session protocol sipv2
session target ipv4:172.18.194.183 session transport udp
!
dial-peer voice 222 pots incoming called-number .
! sip-ua
max-forwards 65 retry invite 4 retry bye 4 retry cancel 4 retry comet 4 retry notify 4
timers connection aging 15 offer call-hold conn-addr
!
line con 0 exec-timeout 0 0 line vty 0 4
password password1 ntp clock-period 17179695 ntp server 172.18.194.178 ntp server 10.81.254.131
! end
その他の参考資料
関連資料
規格
MIB
関連項目 参照先
『
Cisco IOS SIP Configuration Guide
』の「Features Roadmap
」の章http://www.cisco.com/en/US/docs/ios/voice/sip/configuration/guide /sip_cg-roadmap.html
『
Cisco IOS SIP Configuration Guide
』の「Overview of SIP
」の章http://www.cisco.com/en/US/docs/ios/voice/sip/configuration/guide /sip_cg-overview.html
『
Cisco IOS Tcl IVR and VoiceXML Application Guide
』Cisco IOS
リリース12.3(14)T
以降:http://www.cisco.com/en/US/docs/ios/voice/ivr/configuration/guide /tcl_c.html
12.3(14)T
よりも前のCisco IOS
リリース:http://www.cisco.com/en/US/docs/ios/voice/ivr/pre12.3_14_t/confi guration/guide/ivrapp.pdf
『
Cisco IOS Voice Command Reference
』http://www.cisco.com/en/US/docs/ios/voice/command/reference/vr _book.html
『
Cisco Unified Communications Manager Express Command Reference
』http://www.cisco.com/en/US/docs/voice_ip_comm/cucme/comman d/reference/cme_cr.html
Cisco Unified Communications Manager Express
のサ ポートドキュメントhttp://www.cisco.com/en/US/products/sw/voicesw/ps4625/tsd_prod ucts_support_series_home.html
『
Cisco Unified SIP SRST System Administrator Guide
』http://www.cisco.com/en/US/docs/voice_ip_comm/cusrst/admin/sip srst/configuration/guide/spsrst41.html
『
Cisco VoiceXML Programmer's Guide
』http://www.cisco.com/en/US/docs/ios/voice/vxml/developer/guide/
vxmlprg.html
『
SIP Gateway Support of RSVP and TEL URL
』http://www.cisco.com/en/US/docs/ios/12_2t/12_2t11/feature/guide/
vvfresrv.html
『
Tcl IVR API Version 2.0 Programming Guide
』http://www.cisco.com/en/US/docs/ios/voice/tcl/developer/guide/tcli vrv2.html
規格 タイトル
国際標準化機構(
ISO
)仕様、ISO 639
「Codes for Representation of Names of Languages
」MIB MIB
リンクなし 選択したプラットフォーム、
Cisco IOS
リリース、および機能セットの
MIB
を検索してダウンロードする場合は、次のURL
にあるCisco MIB Locator
を使用します。http://www.cisco.com/go/mibs
RFC
RFC
タイトルRFC 2833
「RTP Payload for DTMF Digits, Telephony Tones and Telephony
Signals
」RFC 3261
「SIP: Session Initiation Protocol
」RFC 3262
「Reliability of Provisional Responses in the Session Initiation Protocol (SIP)
」RFC 3264
「An Offer/Answer Model with the Session Description Protocol (SDP)
」RFC 3265
「Session Initiation Protocol (SIP)-Specific Event Notification
」RFC 3312
「Integration of Resource Management and Session Initiation
Protocol (SIP)
」RFC 3323
「A Privacy Mechanism for the Session Initiation Protocol (SIP)
」RFC 3325
「Private Extensions to the Session Initiation Protocol (SIP) for
Asserted Identity within Trusted Networks
」RFC 3326
「The Reason Header Field for the Session Initiation Protocol (SIP)
」RFC 4028
「Session Timers in the Session Initiation Protocol (SIP)
」RFC 4244
「An Extension to the Session Initiation Protocol (SIP) for Request
History Information
」シスコのテクニカル サポート
CCDE, CCENT, CCSI, Cisco Eos, Cisco HealthPresence, Cisco IronPort, the Cisco logo, Cisco Nurse Connect, Cisco Pulse,
Cisco SensorBase, Cisco StackPower, Cisco StadiumVision, Cisco TelePresence, Cisco Unified Computing System, Cisco WebEx, DCE, Flip Channels, Flip for Good, Flip Mino, Flipshare (Design), Flip Ultra, Flip Video, Flip Video (Design), Instant Broadband, and Welcome to the Human Network are trademarks; Changing the Way We Work, Live, Play, and Learn, Cisco Capital, Cisco Capital (Design), Cisco:Financed (Stylized), Cisco Store, Flip Gift Card, and One Million Acts of Green are service marks; and Access Registrar, Aironet, AllTouch, AsyncOS, Bringing the Meeting To You, Catalyst, CCDA, CCDP, CCIE, CCIP, CCNA, CCNP, CCSP, CCVP, Cisco, the Cisco Certified Internetwork Expert logo, Cisco IOS, Cisco Lumin, Cisco Nexus, Cisco Press, Cisco Systems, Cisco Systems Capital, the Cisco Systems logo, Cisco Unity, Collaboration Without Limitation, Continuum, EtherFast, EtherSwitch, Event Center, Explorer, Follow Me Browsing, GainMaker, iLYNX, IOS, iPhone, IronPort, the IronPort logo, Laser Link, LightStream, Linksys, MeetingPlace, MeetingPlace Chime Sound, MGX, Networkers, Networking Academy, PCNow, PIX, PowerKEY, PowerPanels, PowerTV, PowerTV (Design), PowerVu, Prisma, ProConnect, ROSA, SenderBase, SMARTnet, Spectrum Expert, StackWise, WebEx, and the WebEx logo are registered trademarks of Cisco Systems, Inc. and/or its affiliates in the United States and certain other countries.
All other trademarks mentioned in this document or website are the property of their respective owners. The use of the word partner does not imply a partnership relationship between Cisco and any other company. (0910R)
このマニュアルで使用している IP アドレスおよび電話番号は、実際のアドレスおよび電話番号を示すものではありません。マニュアル 内の例、コマンド出力、ネットワークトポロジ図、およびその他の図は、説明のみを目的として使用されています。説明の中に実際の アドレスおよび電話番号が使用されていたとしても、それは意図的なものではなく、偶然の一致によるものです。
© 2002–2009 Cisco Systems, Inc.
説明 リンク
Cisco Support Web
サイトには、資料やツールなど幅 広いオンラインリソースが用意されており、シスコの 製品およびテクノロジーに関するトラブルシューティ ングや技術的な問題の解決などに役立てることができ ます。以下を含むさまざまな作業にこの
Web
サイトが役立 ちます。•
テクニカルサポートを受ける•
ソフトウェアをダウンロードする•
セキュリティの脆弱性を報告する、またはシスコ 製品のセキュリティ問題に対する支援を受ける•
ツールおよびリソースへアクセスする• Product Alert
の受信登録• Field Notice
の受信登録• Bug Toolkit
を使用した既知の問題の検索• Networking Professionals
(NetPro
)コミュニ ティで、技術関連のディスカッションに参加する•
トレーニングリソースへアクセスする• TAC Case Collection
ツールを使用して、ハード ウェアや設定、パフォーマンスに関する一般的な 問題をインタラクティブに特定および解決するJapan
テクニカルサポートWeb
サイトでは、Technical Support Web
サイト(http://www.cisco.com/techsupport
) の、利用頻度の高いドキュメントを日本語で提供してい ます。Japan
テクニカルサポートWeb
サイトには、次のURL
からアクセスしてください。http://www.cisco.com/jp/go/tac
http://www.cisco.com/techsupport
Copyright © 2002–2010, シスコシステムズ合同会社. All rights reserved.