Concept clearification of Transaction, dialog and call

本文介绍了SIP协议中的交易和对话概念。SIP交易包括请求及其响应,用于不同协议功能,如电话呼叫发起与即时消息发送。SIP对话则作为设备间持久连接,用于关联交易并提供顺序。此外,还讨论了电话呼叫与SIP对话之间的映射关系。
摘要由CSDN通过智能技术生成

A single SIP request and all its responses form a SIP transaction. Different types of
transaction are used for different protocol functions. For example, an INVITE starts a
telephone call, and a MESSAGE sends an instant message.


A SIP dialog is a persistent link between two devices that is used to associate transactions
and to provide ordering between them. SIP transactions can exist within or outside a SIP
dialog, and transactions are used to establish and terminate dialogs. For example, in
telephony, the initial INVITE that starts the call also establishes a dialog between the
participants. To end the call, one participant sends a BYE within the context of this
dialog. This BYE transaction terminates both the call and the associated dialog.

 

The high-level concept of a call does not simply map to a SIP dialog, because a single
telephone call may include conversations with several people and devices, for example
receptionists and voicemail systems. These individual connections need separate SIP
dialogs, so the call can contain multiple dialogs. SIP messages contain a call identifier
field (Call-ID) that is sometimes used to link the dialogs and transaction into an
application-level concept of a call, although this use is strictly outside the standard.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值