16.12.1.3 Rewriting Record-Route Header Field Values 16.12.1.3 重写记录路由报头字段值 In this scenario, U1 and U2 are in different private namespaces and they enter a dialog through a proxy P1, which acts as a gateway between the namespaces. 在这种情况下,U1和U2位于不同的私有名称空间中,它们通过代理P1进入对话,代理P1充当名称空间之间的网关。 U1->P1->U2
U1 sends: U1发送: INVITE sip:callee@gateway.leftprivatespace.com SIP/2.0 Contact: <sip:caller@u1.leftprivatespace.com> P1 uses its location service and sends the following to U2: P1使用其定位服务并向U2发送以下内容: INVITE sip:callee@rightprivatespace.com SIP/2.0 Contact: <sip:caller@u1.leftprivatespace.com> Record-Route: <sip:gateway.rightprivatespace.com;lr> U2 sends this 200 (OK) back to P1: U2将该200(OK)发送回P1: SIP/2.0 200 OK Contact: <sip:callee@u2.rightprivatespace.com> Record-Route: <sip:gateway.rightprivatespace.com;lr> P1 rewrites its Record-Route header parameter to provide a value that U1 will find useful, and sends the following to U1: P1重写其记录路由报头参数以提供U1将发现有用的值,并向U1发送以下内容: SIP/2.0 200 OK Contact: <sip:callee@u2.rightprivatespace.com> Record-Route: <sip:gateway.leftprivatespace.com;lr> Later, U1 sends the following BYE request to P1: 随后,U1向P1发送以下BYE请求: BYE sip:callee@u2.rightprivatespace.com SIP/2.0 Route: <sip:gateway.leftprivatespace.com;lr> which P1 forwards to U2 as: 其中P1转发给U2作为: BYE sip:callee@u2.rightprivatespace.com SIP/2.0