简介
本文档介绍思科统一边界元素/语音网关拨号对等体状态忙出和Cisco IOS®升级后的呼叫失败问题。
先决条件
要求
本文档没有任何特定的要求。
使用的组件
本文档中的信息基于思科统一边界元素(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下显示为“busyout”或“active 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 options-keepalive”。
dial-peer voice 1000 voip
no voice-class sip options-keepalive profile 1
3. 降级到早期版本。此问题是在提交Cisco Bug ID CSCvx92872后引入的。
思科漏洞ID CSCvz80171中记录了此问题。
可从16.12.8/17.3.6/17.6.3/17.7.1/17.8.1获取修复