[SIPForum-discussion] what is the diffrence b/w a transaction, session , dialog

Samir Patni samir_patni at persistent.co.in
Sat Jun 6 07:48:28 UTC 2009




Hi Vikas,

Distinction between the three terms is as follows.

SIP Transaction

A SIP transaction occurs between a client and a server and comprises all messages from the first request sent from the client to the server up to a final (non-1xx) response sent from the server to the client. If the request is INVITE and the final response is a non-2xx, the transaction also includes an ACK to the response. The ACK for a 2xx response to an INVITE request is a separate transaction

Transaction identified by branch tag of Via field.

Dialog

A dialog is a peer-to-peer SIP relationship between two UAs that persists for some time. A dialog is established by SIP messages, such as a 2xx response to an INVITE request. A dialog is identified by a call identifier, local tag, and a remote tag. A dialog was formerly known as a call leg in RFC 2543.

Dialog identified by Call id, To tag and From tag.

Session

>From the SDP specification: "A multimedia session is a set of multimedia senders and receivers and the data streams flowing from senders to receivers. A multimedia conference is an example of a multimedia session." (RFC 2327 (A session as defined for SDP can comprise one or more RTP sessions.) As defined, a callee can be INVITEd several times, by different calls, to the same session. If SDP is used, a session is defined by the concatenation of the SDP user name, session id, network type, address type, and address elements in the origin field.







Hope this helps

Thanks and Regards,
Samir Patni



-----Original Message-----
From: discussion-bounces at sipforum.org [mailto:discussion-bounces at sipforum.org] On Behalf Of VG
Sent: Friday, June 05, 2009 6:40 PM
To: discussion at sipforum.org
Subject: [SIPForum-discussion] what is the diffrence b/w a transaction, session , dialog

Hi,

I m confused with these three things :
transaction
session
dialog

Please specify me with an example.

Thanks & Regards,
VG
_______________________________________________
This is the SIP Forum discussion mailing list
TO UNSUBSCRIBE, or edit your delivery options, please visit http://sipforum.org/mailman/listinfo/discussion
Post to the list at discussion at sipforum.org


DISCLAIMER
==========
This e-mail may contain privileged and confidential information which is the property of Persistent Systems Ltd. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Persistent Systems Ltd. does not accept any liability for virus infected mails.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sipforum.org/pipermail/discussion/attachments/20090606/562c34a2/attachment-0002.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Picture (Device Independent Bitmap) 1.jpg
Type: image/jpeg
Size: 13967 bytes
Desc: Picture (Device Independent Bitmap) 1.jpg
URL: <http://sipforum.org/pipermail/discussion/attachments/20090606/562c34a2/attachment-0002.jpg>


More information about the discussion mailing list