簡介
本檔案介紹如何在呼叫由於「503 Service Unavailable」錯誤而失敗時,對移動和遠端訪問(MRA)進行故障排除。
作者:Ishan Sambhi,思科TAC工程師。
必要條件
需求
思科建議您瞭解以下主題:
- Cisco Video Communication Server(VCS)或Expressway-C和Expressway-E平台
- 思科整合通訊管理員(CUCM)
本文中的資訊是根據特定實驗室環境內的裝置所建立。文中使用到的所有裝置皆從已清除(預設)的組態來啟動。如果您的網路運作中,請確保您瞭解任何指令可能造成的影響。
採用元件
本文件所述內容不限於特定軟體和硬體版本。
本文中的資訊是根據特定實驗室環境內的裝置所建立。文中使用到的所有裝置皆從已清除(預設)的組態來啟動。如果您的網路運作中,請確保您瞭解任何指令可能造成的影響。
問題
通過MRA註冊到CUCM的兩個Jabber客戶端之間的呼叫失敗,並出現錯誤消息「503服務不可用」
呼叫流:
Jabber客戶端1 > Expressway-E > Expressway-C > CUCM > Expressway-C > Expressway-E > Jabber客戶端2
附註:在呼叫流程中,Jabber客戶端1和Jabber客戶端2均註冊到同一個MRA部署,這意味著Expressway對在CUCM之前和之後是相同的。
解決方案
會話初始協定(SIP)INVITE從CUCM到Expressway-C
2014-06-06T10:27:20+10:00 kcec tvcs: UTCTime="2014-06-06 00:27:20,782" Module="network.sip" Level="DEBUG": Action="Received" Local-ip="10.200.1.220" Local-port="5060" Src-ip="10.200.1.210" Src-port="49071" Msg-Hash="12136618272786736242"
SIPMSG:
|INVITE sip:80d713ba-514d-fc2a-6b7e-af527f9eb37f@10.200.1.220:5060;transport=tcp;orig-hostport=10.100.94.116:58991 SIP/2.0
Via: SIP/2.0/TCP 10.200.1.210:5060;branch=z9hG4bK4ca27d4986
Call-ID: 50f2a980-39110ae8-1fb3-d201c80a@10.200.1.210
CSeq: 101 INVITE
Remote-Party-ID: "Jabber client 1" <sip:sip%3Ajabber.client1@domain.com;x-cisco-number=168;x-cisco-callback-number=168>;party=calling;screen=yes;privacy=off
Contact: <sip:sip%3Ajabber.client1i@10.200.1.210:5060;transport=tcp>
From: "Jabber Client 1" <sip:sip%3Ajabber.client1@domain.com>;tag=132472~2b8aa2ec-85b4-4b2c-b662-3d078784a480-27388704
To: <sip:jabber.client2@10.200.1.210>
Max-Forwards: 70
Allow: INVITE,OPTIONS,INFO,BYE,CANCEL,ACK,PRACK,UPDATE,REFER,SUBSCRIBE,NOTIFY
User-Agent: Cisco-CUCM9.1
Expires: 180
Date: Fri, 06 Jun 2014 00:27:20 GMT
Supported: timer,resource-priority,replaces
Min-SE: 1800
Allow-Events: presence
Send-Info: conference,x-cisco-conference
Call-Info: <urn:x-cisco-remotecc:callinfo>; security= NotAuthenticated; orientation= from; gci= 1-7197; call-instance= 2
Alert-Info: <file://Bellcore-dr1/>
Content-Length: 0
Expressway-C嘗試呼叫呼叫許可證。
Module="network.http" Level="DEBUG": Message="Request" Method="POST" URL="http://127.0.0.1:4370/status/call/call/uuid/86cc754d-eec2-4202-aa07-ea89c8afc47d"; Ref="0x7fd3780034e0"
Module="network.http" Level="DEBUG": Message="Response" Src-ip="127.0.0.1" Src-port="4370" Dst-ip="127.0.0.1" Dst-port="32769" Response="200 OK" ResponseTime="0.002091" Ref="0x7fd3780034e0"
Module="developer.licensemanager.service.licensepool" Level="INFO" CodeLocation="licensepool(818)" Detail="Call license limit reached"license_type="nontraversal" tokens="2" cluster_token_inuse="0" cluster_token_limit="0"
Module="developer.licensemanager.service.licensepool" Level="INFO" CodeLocation="licensepool(818)" Detail="Call license limit reached"license_type="traversal" tokens="2" cluster_token_inuse="0" cluster_token_limit="0"
Module="developer.licensemanager.service.manager" Level="INFO" CodeLocation="licensemanager(155)" Detail="License not granted" call_id="6355985b-0d26-4a48-8b24-ba1ac5de38c6" lic_type="nontraversal" tokens=2
licensemanager: Level="INFO" Detail="License not granted" call_id="6355985b-0d26-4a48-8b24-ba1ac5de38c6" lic_type="nontraversal" tokens=2 UTCTime="2014-06-06 00:27:20,799"
Module="network.http" Level="DEBUG": Message="Response" Src-ip="127.0.0.1" Src-port="9999" Dst-ip="127.0.0.1" Dst-port="32516" Response="200 OK" ResponseTime="0.012601" Ref="0x7fd366097b00"
Event="Search Completed" Reason="Service Unavailable" Service="SIP" Src-alias-type="SIP" Src-alias="sip%3Ajabber.client1@domain.com" Dst-alias-type="SIP" Dst-alias="sip:80d713ba-514d-fc2a-6b7e-af527f9eb37f@10.100.94.116:58991;transport\=tls" Call-serial-number="86cc754d-eec2-4202-aa07-ea89c8afc47d" Tag="92f548cb-a8a6-4339-8b3b-814cb85ae25a" Detail="found:false, searchtype:INVITE, Info:No License Available" Level="1" UTCTime="2014-06-06 00:27:20,800"
Event="Call Rejected" Service="SIP" Src-ip="10.200.1.210" Src-port="5060" Src-alias-type="SIP" Src-alias="sip:sip%3Ajabber.client1@domain.com" Dst-alias-type="SIP" Dst-alias="sip:80d713ba-514d-fc2a-6b7e-af527f9eb37f@10.100.94.116:58991;transport\=tls" Call-serial-number="86cc754d-eec2-4202-aa07-ea89c8afc47d" Tag="92f548cb-a8a6-4339-8b3b-814cb85ae25a" Detail="Service Unavailable" Protocol="TCP" Response-code="503" Level="1" UTCTime="2014-06-06 00:27:20,801"
Module="network.sip" Level="INFO": Action="Sent" Local-ip="10.200.1.220" Local-port="5060" Dst-ip="10.200.1.210" Dst-port="49071" Detail="Sending Response Code=503, Method=INVITE, CSeq=101, To=sip:168@10.200.1.210, Call-ID=50f2a980-39110ae8-1fb3-d201c80a@10.200.1.210, From-Tag=132472~2b8aa2ec-85b4-4b2c-b662-3d078784a480-27388704, To-Tag=111a6c358c828b39, Msg-Hash=17852441825048296421"
由於沒有可用的許可證,Expressway-C會回覆錯誤「Service unavailable」
2014-06-06T10:27:20+10:00 kcec tvcs: UTCTime="2014-06-06 00:27:20,801" Module="network.sip" Level="DEBUG": Action="Sent" Local-ip="10.200.1.220" Local-port="5060" Dst-ip="10.200.1.210" Dst-port="49071" Msg-Hash="17852441825048296421"
SIPMSG:
|SIP/2.0 503 Service Unavailable
Via: SIP/2.0/TCP 10.200.1.210:5060;branch=z9hG4bK4ca27d4986;received=10.200.1.210;ingress-zone=CEtcp102001210
Call-ID: 50f2a980-39110ae8-1fb3-d201c80a@10.200.1.210
CSeq: 101 INVITE
From: "Jabber Client 1" <sip:sip%3Ajabber.client1@domain.com>;tag=132472~2b8aa2ec-85b4-4b2c-b662-3d078784a480-27388704
To: <sip:jabber.client2@10.200.1.210>;tag=111a6c358c828b39
Server: TANDBERG/4129 (X8.1.1)
Warning: 399 10.200.1.220:5061 "No License Available"
Content-Length: 0
呼叫失敗是因為它找不到可用的許可證,但是通過MRA在同一CUCM中註冊的兩個jabber客戶端之間的呼叫不需要Expressway-C中的任何許可證。當Expressway-C統一通訊遍歷區域指向Expressway-E內部IP地址而不是Expressway-E公共IP地址時,會發生此問題。
在單個NIC Expressway-E部署中,統一通訊遍歷區域必須指向Expressway-E的公共IP地址,並且Expressway-E和Internet之間的防火牆必須配置網路地址轉換(NAT)自反,以允許Expressway-C和Expressway-E之間的通訊。