Re: [sipcore] RFC5626 and REGISTER with multiple contacts

Ivo Sedlacek <ivo.sedlacek@ericsson.com> Wed, 09 May 2012 11:49 UTC

Return-Path: <ivo.sedlacek@ericsson.com>
X-Original-To: sipcore@ietfa.amsl.com
Delivered-To: sipcore@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id CF67F21F856A for <sipcore@ietfa.amsl.com>; Wed, 9 May 2012 04:49:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.561
X-Spam-Level:
X-Spam-Status: No, score=-5.561 tagged_above=-999 required=5 tests=[AWL=0.088, BAYES_00=-2.599, HELO_EQ_SE=0.35, J_CHICKENPOX_38=0.6, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Zqjh9D4QKhck for <sipcore@ietfa.amsl.com>; Wed, 9 May 2012 04:49:51 -0700 (PDT)
Received: from mailgw7.ericsson.se (mailgw7.ericsson.se [193.180.251.48]) by ietfa.amsl.com (Postfix) with ESMTP id C4CAB21F8557 for <sipcore@ietf.org>; Wed, 9 May 2012 04:49:50 -0700 (PDT)
X-AuditID: c1b4fb30-b7c78ae000006de5-50-4faa59dd6d00
Authentication-Results: mailgw7.ericsson.se x-tls.subject="/CN=esessmw0247"; auth=fail (cipher=AES128-SHA)
Received: from esessmw0247.eemea.ericsson.se (Unknown_Domain [153.88.253.125]) (using TLS with cipher AES128-SHA (AES128-SHA/128 bits)) (Client CN "esessmw0247", Issuer "esessmw0247" (not verified)) by mailgw7.ericsson.se (Symantec Mail Security) with SMTP id F2.62.28133.DD95AAF4; Wed, 9 May 2012 13:49:49 +0200 (CEST)
Received: from ESESSCMS0360.eemea.ericsson.se ([169.254.1.5]) by esessmw0247.eemea.ericsson.se ([153.88.115.93]) with mapi; Wed, 9 May 2012 13:49:49 +0200
From: Ivo Sedlacek <ivo.sedlacek@ericsson.com>
To: Paul Kyzivat <pkyzivat@alum.mit.edu>, "sipcore@ietf.org" <sipcore@ietf.org>
Date: Wed, 09 May 2012 13:49:48 +0200
Thread-Topic: [sipcore] RFC5626 and REGISTER with multiple contacts
Thread-Index: Ac0tMbOj2Y8wCuYgSYuFwJpDUFlK7gApVLZw
Message-ID: <3A324A65CCACC64289667DFAC0B88E12197E4394DF@ESESSCMS0360.eemea.ericsson.se>
References: <3A324A65CCACC64289667DFAC0B88E12197E3BB890@ESESSCMS0360.eemea.ericsson.se> <CALiegfk5t5p=sw0MVcrzVshYs2Z3kiw0KYmqzLRGmdcPZj3YfA@mail.gmail.com> <3A324A65CCACC64289667DFAC0B88E12197E3BBEA3@ESESSCMS0360.eemea.ericsson.se> <4FA3EFD8.2080903@digium.com> <3A324A65CCACC64289667DFAC0B88E12197E438967@ESESSCMS0360.eemea.ericsson.se> <4FA7D98E.8090100@alum.mit.edu> <3A324A65CCACC64289667DFAC0B88E12197E438E96@ESESSCMS0360.eemea.ericsson.se> <CALiegfkjp=V8ZHZRuD7atXN5eqNbrXnO8tVxc9-U8k=637Ok9Q@mail.gmail.com> <3A324A65CCACC64289667DFAC0B88E12197E438EF2@ESESSCMS0360.eemea.ericsson.se> <CALiegfkBge3QWUVdk01bAOtqLA9UGN2meoR4Aoc_LJjfUGyMvg@mail.gmail.com> <3A324A65CCACC64289667DFAC0B88E12197E438F2D@ESESSCMS0360.eemea.ericsson.se> <4FA92331.5010001@alum.mit.edu> <CALiegfkhGow1kQF7cWz05CdpE9GO+h2M_Qmn0FtKnGRQtAbH2g@mail.gmail.com> <4FA928C6.4040302@alum.mit.edu> <4FA92E05.4060709@digium.com> <4FA93158.2020104@alum.mit.edu> <4FA936B8.6080801@digium.com> <4FA93FBE.7000508@alum.mit.edu>
In-Reply-To: <4FA93FBE.7000508@alum.mit.edu>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
acceptlanguage: en-US
Content-Type: text/plain; charset="iso-8859-2"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Brightmail-Tracker: AAAAAA==
Subject: Re: [sipcore] RFC5626 and REGISTER with multiple contacts
X-BeenThere: sipcore@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: SIP Core Working Group <sipcore.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/sipcore>, <mailto:sipcore-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/sipcore>
List-Post: <mailto:sipcore@ietf.org>
List-Help: <mailto:sipcore-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/sipcore>, <mailto:sipcore-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 09 May 2012 11:49:51 -0000

Hello,

please see below.

Kind regards

Ivo Sedlacek 

Ericsson
GF Technology, Terminal Standardization
Sweden
Office: +46 10 711 9382
ivo.sedlacek@ericsson.com
www.ericsson.com

This communication is confidential. We only send and receive email on the basis of the term set out at www.ericsson.com/email_disclaimer


-----Original Message-----
> From: sipcore-bounces@ietf.org [mailto:sipcore-bounces@ietf.org] On Behalf Of Paul 
> Kyzivat 
> Sent: 8. května 2012 17:46 
> To: sipcore@ietf.org 
> Subject: Re: [sipcore] RFC5626 and REGISTER with multiple contacts 
> 
> On 5/8/12 11:07 AM, Kevin P. Fleming wrote: 
> > On 05/08/2012 09:44 AM, Paul Kyzivat wrote: 
> >> Its also true that registering multiple contacts means that forked  
> >> call attempts may reach more than one of the instances. This is a bit  
> >> inefficient and will require care to provide a reasonable user  
> >> experience. 

When outbound is used and the contacts have the same sip.instance, then incoming INVITE will be forked to the UA only __once__ (unless flow fails with 430).
------------
7.  Authoritative Proxy Procedures: Forwarding Requests

   When a proxy uses the location service to look up a registration
   binding and then proxies a request to a particular contact, it
   selects a contact to use normally, with a few additional rules:

   o  The proxy MUST NOT populate the target set with more than one
      contact with the same AOR and instance-id at a time.
...
   o  If the proxy receives a final response from a branch other than a
      408 (Request Timeout) or a 430 (Flow Failed) response, the proxy
      MUST NOT forward the same request to another target representing
      the same AOR and instance-id.  The targeted instance has already
      provided its response. 
------------

However, when outbound is used and the contacts have different sip.instance values (and representing several UAs in the device), then incoming INVITE can be forked to the devices __several times__. Moreover, given that each UA is different, I guess 2nd and later forking of the incoming INVITE will not be rejected with 482 (Loop Detected) response (as in section 8.2.2.2 of RFC 3261) as each UA sees the INVITE request for the 1st time. That could cause user experience issues.

> > 
> > If a registrar supported multiple Contact URIs for a single AoR with  
> > the same sip.instance value, wouldn't this still be true? If a proxy  
> > does 
> > RFC3841 processing to select candidates to send a request to, and more  
> > than one candidate matches, the request would still be forked, wouldn't it? 
> 
> Its hard to assess what might happen if we relaxed some rule - we would need to work 
> out all the details of the change. Certainly it would be possible to define it that 
> way. 

RFC5626 states that only one delivery (unless flow fails) is attempted to contacts with the same AOR and instance-id - see exceprt above.

> 
> My point is that you can do it today, legally, but with these consequences. 
> 
> If we were to make a change I would think we would try to make it in such a way as 
> to minimize the negative consequences. 
> 
> 	Thanks, 
> 	Paul 
> _______________________________________________ 
> sipcore mailing list 
> sipcore@ietf.org 
> https://www.ietf.org/mailman/listinfo/sipcore 
>