RE: [Sip] From and To-header confusion in draft-ietf-sip-replaces -04.txt

"Paul D.Smith" <Paul.D.Smith@dataconnection.com> Fri, 28 November 2003 10:08 UTC

Received: from optimus.ietf.org ([132.151.1.19]) by ietf.org (8.9.1a/8.9.1a) with ESMTP id FAA21485 for <sip-archive@odin.ietf.org>; Fri, 28 Nov 2003 05:08:01 -0500 (EST)
Received: from localhost.localdomain ([127.0.0.1] helo=www1.ietf.org) by optimus.ietf.org with esmtp (Exim 4.20) id 1APfXL-0006hv-SE for sip-archive@odin.ietf.org; Fri, 28 Nov 2003 05:07:44 -0500
Received: (from exim@localhost) by www1.ietf.org (8.12.8/8.12.8/Submit) id hASA7h33025782 for sip-archive@odin.ietf.org; Fri, 28 Nov 2003 05:07:43 -0500
Received: from localhost.localdomain ([127.0.0.1] helo=www1.ietf.org) by optimus.ietf.org with esmtp (Exim 4.20) id 1APfWg-0006Xl-T6; Fri, 28 Nov 2003 05:07:02 -0500
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org) by optimus.ietf.org with esmtp (Exim 4.20) id 1APfVh-0006SU-SV for sip@optimus.ietf.org; Fri, 28 Nov 2003 05:06:01 -0500
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1]) by ietf.org (8.9.1a/8.9.1a) with ESMTP id FAA21299 for <sip@ietf.org>; Fri, 28 Nov 2003 05:05:48 -0500 (EST)
Received: from ietf-mx ([132.151.6.1]) by ietf-mx with esmtp (Exim 4.12) id 1APfVe-0006XX-00 for sip@ietf.org; Fri, 28 Nov 2003 05:05:58 -0500
Received: from smtp.dataconnection.com ([192.91.191.4] helo=coltrane.dataconnection.com) by ietf-mx with esmtp (Exim 4.12) id 1APfVd-0006X7-00 for sip@ietf.org; Fri, 28 Nov 2003 05:05:57 -0500
Received: by coltrane.datcon.co.uk with Internet Mail Service (5.5.2656.59) id <XXPNQJ5Q>; Fri, 28 Nov 2003 10:05:24 -0000
Message-ID: <53F74F5A7B94D511841C00B0D0AB16F80261FD15@baker.datcon.co.uk>
From: "Paul D.Smith" <Paul.D.Smith@dataconnection.com>
To: 'Christian Stredicke' <stredicke@snom.de>
Cc: "'sip@ietf.org'" <sip@ietf.org>
Subject: RE: [Sip] From and To-header confusion in draft-ietf-sip-replaces -04.txt
Date: Fri, 28 Nov 2003 10:05:24 -0000
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2656.59)
Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C3B597.23E141C0"
Sender: sip-admin@ietf.org
Errors-To: sip-admin@ietf.org
X-BeenThere: sip@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/sip>, <mailto:sip-request@ietf.org?subject=unsubscribe>
List-Id: Session Initiation Protocol <sip.ietf.org>
List-Post: <mailto:sip@ietf.org>
List-Help: <mailto:sip-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/sip>, <mailto:sip-request@ietf.org?subject=subscribe>

Christian,
 
If I understand you correctly, you are pointing out the following.
 
If a target receives an INVITE with Replaces headers, it has to somehow use
the Replaces To/From fields to identify a dialog.  If this dialog were
originally started by the target then there may be a mapping of:
 
To field of original INVITE ==> target's idea of remote tag
From field of original INVITE ==> target's idea of local tag.
 
However if the target did not start the dialog, the mapping is reversed.
 
To field of original INVITE ==> target's idea of local tag
From field of original INVITE ==> target's idea of remote tag.
 
And your question is... how does the Replaces To/From get mapped to the
targets idea of local/remote tags?
 
Unfortunately, this can't be resolved into a simple mapping.  A third party
REFER modifying an INVITE may not know who started the dialog and so
renaming the Replaces fields makes no difference since the referrer still
doesn't know which tag to place in which field.  The target has to perform a
lookup using both mappings - often one will find a dialog and the other will
not.
 
There is a possible issue with "loopback" type dialogs where a UA, with
multiple personalities (i.e. a gateway) may have two dialogs, one in each
direction.  In this case, it may be impossible to map to a single dialog,
which is where the following sentence from page 5 of the draft is headed...
 
  "If the Replaces header field matches more than one dialog, the UA MUST
act as if no match is found."
 
Is this a correct understanding of your posting?
 
Regards,
Paul DS.
Paul D.Smith 
Network Protocols Group 
Data Connection Ltd (DCL) 
Tel: +44 20 8366 1177  Email: paul.d.smith@dataconnection.com 
Fax: +44 20 8363 1039  Web:   http://www.dataconnection.com
<http://www.dataconnection.com/>  
-----Original Message-----
From: Christian Stredicke [mailto:stredicke@snom.de]
Sent: 27 November 2003 17:45
To: SIP (E-mail)
Subject: [Sip] From and To-header confusion in
draft-ietf-sip-replaces-04.txt



Hi!

 

I think there is some from and to-header confusion in the Replaces header.

 

Depending on who initiates the call, the to and from must be exchanged.
Maybe it would be better to use the term local and remote-tag instead or to
allow mixing from and to.

 

Christian

--

Christian Stredicke

tel:+49.30.39833.401 (ENUM & PSTN)