0109 Headers and Tags

本文详细阐述了SIP协议中对于响应消息头字段的一致性要求,包括From、Call-ID、CSeq以及Via等字段如何与请求消息相对应。此外,还特别强调了To字段在请求与响应中的处理方式及其在对话标识中的作用。
摘要由CSDN通过智能技术生成

   The From field of the response MUST equal the From header field of

   the request.  The Call-ID header field of the response MUST equal the

   Call-ID header field of the request.  The CSeq header field of the

   response MUST equal the CSeq field of the request.  The Via header

   field values in the response MUST equal the Via header field values

   in the request and MUST maintain the same ordering.

 

   If a request contained a To tag in the request, the To header field

   in the response MUST equal that of the request.  However, if the To

   header field in the request did not contain a tag, the URI in the To

   header field in the response MUST equal the URI in the To header

   field; additionally, the UAS MUST add a tag to the To header field in

   the response (with the exception of the 100 (Trying) response, in

   which a tag MAY be present).  This serves to identify the UAS that is

   responding, possibly resulting in a component of a dialog ID.  The

   same tag MUST be used for all responses to that request, both final

   and provisional (again excepting the 100 (Trying)).  Procedures for

   the generation of tags are defined in Section 19.3.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值