在终端在思科统一通信管理器(CUCM)上注册并通过视频通信服务器(VCS)路由呼叫的部署中,公司间呼叫或呼叫可能无法正确路由到不同域。
本文档介绍向错误目标地址发送呼出的问题如何发生,以及如果从邀请中删除端口,如何解决该问题。
Cisco 建议您了解以下主题:
在本示例中,呼叫流是从CUCM集群上注册的终端到VCS Expressway上DNS区域的传出呼叫:
在VCS Control和CUCM集群之间配置了邻居区域,在VCS Control和VCS Expressway之间配置了穿越区域。当CUCM通过会话发起协议(SIP)中继发出呼叫时,它会将端口号添加到统一资源标识符(URI):
Module="network.sip" Level="DEBUG": Src-ip="10.48.79.189" Src-port="25018"
SIPMSG:
|INVITE sip:user@company.com:5060 SIP/2.0
VCS Control具有将呼叫发送到VCS Expressway的搜索规则。VCS Expressway已配置,因此搜索规则将此呼叫发送到DNS区域。如果URI上没有修改,VCS Expressway将执行A记录查找:
Module="network.dns" Level="DEBUG": Detail="Sending DNS query"
Name="company.com" Type="A and AAAA"
Module="network.dns" Level="DEBUG": Detail="Resolved hostname to:
['IPv4''TCP''10.10.10.10'] (A/AAAA) Number of relevant records
retrieved: 1"
VCS Expressway还对域执行DNS服务器(SRV)查找:
Module="network.dns" Level="DEBUG": Detail="Sending DNS query"
Name="_sips._tcp.company.com" Type="SRV (IPv4 and IPv6)"
Module="network.dns" Level="DEBUG": Detail="Resolved hostname to:
['IPv4''TCP''10.10.10.10:5061'] (A/AAAA) Number of relevant records
retrieved: 1"
发送邀请时,将使用A记录查找的结果:
Event="Request Sent" Service="SIP" Src-ip="10.48.79.123" Src-port="5060"
Dst-ip="10.10.10.10" Dst-port="5060"
Call-serial-number="617a2b3a-407b-11e3-882a-000c291377f3"
Tag="617331f4-407b-11e3-b012-000c29f5e10e" Protocol="UDP"
Method="INVITE" Request-URI="sip:user@company.com:5060"
To="sip:user@10.48.79.189" Level="2" UTCTime="2013-10-29 09:20:41,210"
这不是所需行为,因为地址不是VCS Expressway的地址,而是托管www.company.com的Web服务器的地址。
在VCS Control或VCS Expressway上使用转换规则,以从邀请中删除端口。这允许VCS Expressway使用命名授权指针(NAPTR)和SRV查找。
有关如何删除端口的示例,请参阅《Cisco Telepresence Cisco Unified Communications Manager with Cisco VCS(SIP中继)部署指南》第24页的“启用在Unified CM上注册的终端呼叫在VCS上注册的终端”部分。
剥离端口后,VCS Expressway将执行NAPTR和SRV查找:
Module="network.dns" Level="DEBUG": Detail="Sending DNS query"
Name="company.com" Type="NAPTR (IPv4 and IPv6)"
Module="network.dns" Level="DEBUG": Detail="Could not resolve hostname"
Module="network.dns" Level="DEBUG": Detail="Sending DNS query"
Name="_sips._tcp.company.com" Type="SRV (IPv4 and IPv6)"
Module="network.dns" Level="DEBUG": Detail="Resolved hostname to:
['IPv4''TCP''10.10.10.20:5061'] (A/AAAA) Number of relevant records
retrieved: 1"
Module="network.dns" Level="DEBUG": Detail="Sending DNS query"
Name="_sip._tcp.company.com" Type="SRV (IPv4 and IPv6)"
Module="network.dns" Level="DEBUG": Detail="Resolved hostname to:
['IPv4''TCP''10.10.10.20:5060'] (A/AAAA) Number of relevant records
retrieved: 1"
Module="network.dns" Level="DEBUG": Detail="Sending DNS query"
Name="_sip._udp.company.com" Type="SRV (IPv4 and IPv6)"
Module="network.dns" Level="DEBUG": Detail="Could not resolve hostname"
VCS Expressway使用SRV的结果(而不是A记录查找)来建立呼叫。这是预期行为,并且调用成功:
Module="network.tcp" Level="DEBUG": Src-ip="10.48.79.123" Src-port="25005"
Dst-ip="10.10.10.20" Dst-port="5061" Detail="TCP Connecting"