RFC3261: SIP:16.12.1.3 重写记录路由报头字段值

文章描述了在U1和U2通过代理P1进行SIP通信时,P1如何重写记录路由报头字段值以适应不同私有名称空间的需求,以及在对话结束时P1如何转发BYE请求的过程。
摘要由CSDN通过智能技术生成
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
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值