簡介
本文檔介紹Cisco Unified Border Elements/語音網關撥號對等體狀態忙碌退出以及Cisco IOS®升級後的呼叫失敗問題。
必要條件
需求
本文件沒有特定需求。
採用元件
本檔案中的資訊是根據Cisco Unified Border Elements (CUBE)。
本文中的資訊是根據特定實驗室環境內的裝置所建立。文中使用到的所有裝置皆從已清除(預設)的組態來啟動。如果您的網路運作中,請確保您瞭解任何指令可能造成的影響。
背景資訊
本文檔介紹Cisco IOS®升級到16.12.6/17.3.5/17.6.1或更高版本後的故障。
問題
在Cisco IOS升級到16.12.6/17.3.5/17.6.1/17.7.1或更高版本後,透過Cisco IOS語音網關或CUBE呼叫失敗。
症狀
當CUBE收到SIP呼叫並與配置了session server-group和sip options-keepalive的傳出撥號對等體匹配時,呼叫將在呼叫控制應用程式程式設計介面(CCAPI)層失敗,且失敗原因值為188。
CUBE不會將出站INVITE傳送到作為伺服器組一部分的目標伺服器。
傳入的INVITE以TRYING回應,503服務無法使用。
即使在show dial-peer voice summary下撥號對等體顯示為忙碌退出或活動KEEPALIVE狀態,也會出現相同行為。
示例配置/撥號對等體狀態/調試代碼段:
dial-peer voice 1000 voip
destination-pattern ^1000$
session protocol sipv2
session transport tcp
session server-group 1
voice-class sip options-keepalive profile 1
voice-class sip bind control source-interface GigabitEthernet0/0/1
voice-class sip bind media source-interface GigabitEthernet0/0/1
dtmf-relay rtp-nte sip-kpml
codec g711ulaw
ip qos dscp cs3 signaling
no vad
voice class server-group 1
ipv4 10.106.117.11
ipv4 10.106.117.6 preference 1
show dial-peer voice summary
AD PRE PASS SESS-SER-GRP OUT
TAG TYPE MIN OPER PREFIX DEST-PATTERN FER THRU SESS-TARGET STAT PORT KEEPALIVE VRF
3001 voip up up 0 syst NA
1000 voip up up ^1000$ 0 syst SESS-SVR-GRP: 1 busyout NA
show dial-peer voice summary
AD PRE PASS SESS-SER-GRP OUT
TAG TYPE MIN OPER PREFIX DEST-PATTERN FER THRU SESS-TARGET STAT PORT KEEPALIVE VRF
3001 voip up up 0 syst NA
1000 voip up up ^1000$ 0 syst SESS-SVR-GRP: 1 active NA
Debug snippet:
007592: Apr 7 07:28:56.046: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Received:
INVITE sip:1000@10.106.117.5:5060 SIP/2.0
Via: SIP/2.0/UDP 10.106.117.2:5060;branch=z9hG4bK51889
Remote-Party-ID: <sip:3001@10.106.117.2>;party=calling;screen=no;privacy=off
From: <sip:3001@10.106.117.2>;tag=12EE76F8-154A
To: <sip:1000@10.106.117.5>
Date: Wed, 06 Apr 2022 18:28:16 GMT
Call-ID: 28E9846D-B50E11EC-8025D5B1-C2D1F237@10.106.117.2
Supported: 100rel,timer,resource-priority,replaces,sdp-anat
Min-SE: 1800
Cisco-Guid: 0678152134-3037598188-2149635505-3268538935
User-Agent: Cisco-SIPGateway/IOS-12.x
Allow: INVITE, OPTIONS, BYE, CANCEL, ACK, PRACK, UPDATE, REFER, SUBSCRIBE, NOTIFY, INFO, REGISTER
CSeq: 101 INVITE
Max-Forwards: 70
Timestamp: 1649269696
Contact: <sip:3001@10.106.117.2:5060>
Expires: 180
Allow-Events: telephone-event
Content-Type: application/sdp
Content-Disposition: session;handling=required
Content-Length: 247
v=0
o=CiscoSystemsSIP-GW-UserAgent 8965 7288 IN IP4 10.106.117.2
s=SIP Call
c=IN IP4 10.106.117.2
t=0 0
m=audio 18406 RTP/AVP 0 101
c=IN IP4 10.106.117.2
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
007649: Apr 7 07:28:56.050://-1/286BC7C68020/SIP/Info/info/2048/sipSPIGetCallConfig: Peer tag 3001 matched for incoming call
007872: Apr 7 07:28:56.061: //89/286BC7C68020/CCAPI/ccCallSetupRequest:
Destination=, Calling IE Present=TRUE, Mode=0,
Outgoing Dial-peer=1000, Params=0x7FF65E441DE8, Progress Indication=NULL(0)
007935: Apr 7 07:28:56.064: //-1/xxxxxxxxxxxx/SIP/Info/critical/8192/ccsip_call_setup_request: SIP Dialpeer 1000 busied out due to options-keepalive profile in server group
008160: Apr 7 07:28:56.073: //90/286BC7C68020/CCAPI/cc_api_call_disconnected:
Cause Value=188, Interface=0x7FF64F4542E8, Call Id=90
008199: Apr 7 07:28:56.077: //89/286BC7C68020/CCAPI/ccCallDisconnect:
Cause Value=188, Tag=0x0, Call Entry(Previous Disconnect Cause=0, Disconnect Cause=0)
008239: Apr 7 07:28:56.079: //89/286BC7C68020/SIP/Msg/ccsipDisplayMsg:
Sent:
SIP/2.0 503 Service Unavailable
Via: SIP/2.0/UDP 10.106.117.2:5060;branch=z9hG4bK51889
From: <sip:3001@10.106.117.2>;tag=12EE76F8-154A
To: <sip:1000@10.106.117.5>;tag=1C2F76-17F5
Date: Wed, 06 Apr 2022 17:28:56 GMT
Call-ID: 28E9846D-B50E11EC-8025D5B1-C2D1F237@10.106.117.2
Timestamp: 1649269696
CSeq: 101 INVITE
Allow-Events: telephone-event
Server: Cisco-SIPGateway/IOS-17.3.5
Reason: Q.850;cause=0
Session-ID: 00000000000000000000000000000000;remote=3c1f754eba075201a684fda2c51c04df
Content-Length: 0
因應措施
- 用session target ip4而不是session server-group配置傳出撥號對等體。如果需要,請為伺服器組的每個IP建立單獨的撥號對等體。
dial-peer voice 1000 voip
session target ipv4:x.x.x.x
dial-peer voice 1001 voip
session target ipv4:x.x.x.x
- 刪除撥號對等體上的「sip選項-保持連線」。
dial-peer voice 1000 voip
no voice-class sip options-keepalive profile 1
3. 降級到早期版本。此問題是在提交思科漏洞ID CSCvx92872後引起的。
此問題已記錄在Cisco錯誤ID CSCvz80171中。
修正程式可從16.12.8/17.3.6/17.6.3/17.7.1/17.8.1取得