Record-Route标头被添加到如下所示的初始INVITE消息中。收到后 200 OK此请求,通过在SipServletResponse类中使用createAck()方法创建ACK。 ACK消息的输出也如下所示。如您所见,47.168.150.15被添加到路由头中,该头最初作为Record-Route添加到INVITE。由于ACK消息在内部路由,因此不会发送到47.168.22.204。
下面的行是来自mobicents调试日志。 [org.mobicents.servlet.sip.message.SipServletRequestImpl]由于RR = Route :; lr
请求在内部进行我必须添加Record-Route标头才能接收会话的后续消息。
你知道为什么47.168.150.15被添加到ACK消息中吗?我试图从ACK中删除此地址并修改Record-Route标头但我无法成功。
提前致谢。 Hatke
INVITE sip:u6002@kk1ims1.com;transport=UDP SIP/2.0
Call-ID: c377b8dc2fd0d30e500caf2e1dc96e52@10.15.3.11
CSeq: 1 INVITE
From: <sip:u6013@kk1ims1.com>;tag=80260627_0efbfc5e_83a50d35-38c8-44ff-be22-8e3d0a2213e5
To: <sip:u6002@kk1ims1.com>
Max-Forwards: 70
Contact: "u6013" <sip:u6013@47.168.150.15:5060;transport=udp>
User-Agent: WAM 7.0
Allow: INVITE,ACK,CANCEL,BYE,MESSAGE,NOTIFY,INFO
Route: <sip:10.15.3.11:5065;lr;transport=udp;node_host=10.15.3.11;node_port=5180>
Route: <sip:scscf@47.168.22.204:5060;lr;client-orig>
Record-Route: <sip:47.168.150.15:5060>;lr
P-Charging-Vector: icid-value="b0af7824-b589-4d8d-8048-0b5a98ecfbf61397028011061";orig-ioi="Type 1cscf1@homedomain.com"
P-Asserted-Identity: <sip:u6013@kk1ims1.com>
P-Visited-Network-ID: susoh-apims.ims.lab.centurylink
P-Access-Network-Info: ADSL; network-provided;dsl-location=SustainingLab1
Expires: 180
Content-Type: application/sdp
Via: SIP/2.0/UDP 47.168.150.15:5060;branch=z9hG4bK83a50d35-38c8-44ff-be22-8e3d0a2213e5_0efbfc5e_402240429608258
Content-Length: 606
SIP/2.0 200 OK
Via: SIP/2.0/UDP 10.15.3.11:5180;branch=z9hG4bK83a50d35-38c8-44ff-be22-8e3d0a2213e5_0efbfc5e_402240429608258;received=10.15.3.11
To: "u6002 basic" <sip:u6002@kk1ims1.com>;tag=45-4b18-623c-ffffffff
From: "u6013 allowed_clients_nopccset" <sip:u6013@kk1ims1.com>;tag=80260627_0efbfc5e_83a50d35-38c8-44ff-be22-8e3d0a2213e5
CSeq: 1 INVITE
Call-ID: c377b8dc2fd0d30e500caf2e1dc96e52@10.15.3.11
P-Charging-Function-Addresses: ecf="aaa://node3.kk1ims1.com;transport=tcp";ecf="aaa://node4.kk1ims1.com;transport=tcp";ccf="aaa://node.kk1ims1.com;transport=tcp";ccf="aaa://node1.kk1ims1.com;transport=tcp"
Record-Route: <sip:47.168.116.57:5060;lr>
Record-Route: <sip:130e7466scscf@47.168.22.204:5060;lr>
Record-Route: <sip:47.168.150.15:5060>;lr
Contact: <sip:u6002@47.168.116.57:5060;nt_end_pt=YM0+~KuBj08~Yo1T.bEu10qrm02~Xn2rdk71cpice~HW2YK005Odke~EbtYMig~W3QbP1E5T548._4QQ4VPnkTn291eyw8TeVy1tmn-~V!04ta06Gtd1T05k;nt_server_host=47.168.116.57:5060>
Allow: ACK,MESSAGE,NOTIFY,INVITE,BYE,CANCEL,REFER,OPTIONS,INFO,PUBLISH,UPDATE
P-Charging-Vector: icid-value="b0af7824-b589-4d8d-8048-0b5a98ecfbf61397028011061"
Supported: replaces
User-Agent: A2PC 10.1.1109
Call-Info: <http://trsbrms15-2.netas.lab.nortel.com:8081/pa/direct/pictureServlet?user=u6002@kk1ims1.com>;Purpose=icon
Content-Type: application/sdp
x-nt-party-id: u6002/
x-nt-location: 4333
Content-Length: 438
ACK sip:u6002@47.168.116.57:5060;nt_end_pt=YM0+~KuBj08~Yo1T.bEu10qrm02~Xn2rdk71cpice~HW2YK005Odke~EbtYMig~W3QbP1E5T548._4QQ4VPnkTn291eyw8TeVy1tmn-~V!04ta06Gtd1T05k;nt_server_host=47.168.116.57:5060 SIP/2.0
Call-ID: c377b8dc2fd0d30e500caf2e1dc96e52@10.15.3.11
CSeq: 1 ACK
From: <sip:u6013@kk1ims1.com>;tag=80260627_0efbfc5e_83a50d35-38c8-44ff-be22-8e3d0a2213e5
To: <sip:u6002@kk1ims1.com>;tag=45-4b18-623c-ffffffff
Max-Forwards: 70
Route: <sip:47.168.150.15:5060>;lr
Route: <sip:130e7466scscf@47.168.22.204:5060;lr>
Route: <sip:47.168.116.57:5060;lr>
Content-Length: 0