Difference between dialog and session in SIP?

对话与会话的区别
本文探讨了SIP中对话(Dialog)与会话(Session)的概念差异。对话代表了信令层面的呼叫状态,包括序列号、路由集等信息;而会话则侧重于媒体流的建立与管理。此外,还解释了请求如何在对话内外发挥作用。
Patrick Lam wrote:
Dear all:

I am a little confused about the concept of a dialog. What exactly is
the difference between a dialog and a session?
A dialog is a sip relationship. A session is a media relationship.

Does dialog mean a "call
has already been setup" in the signaling sense, while a session mean the
"media has already been setup" in the media sense?
Thats pretty much right.

Also, what does "part of a dialog" mean?  Are "INVITE", "ACK" and the
responses considered "part of a dialog"?
Dialog represents state, which includes sequence numbers, route sets, and URIs. A request sent as part of a dialog means that it includes route headers from the route set of the dialog, and uses the next highest sequence number in the dialog.'

What does "outside the dialog" mean then?  Is a request is outside the
dialog, does it still affect or change anything "inside the dialog"
then?
Outside the dialog means that it is not within the context of a dialog. It doesnt use the callid, cseq, or route sets of any existing dialogs, and when such a reuqest is set, it has no impact on the state of an existing dialog.

-Jonathan R.
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值