Re: [sipcore] Bypassing out-of-service intermediate Proxy

<> Wed, 03 November 2010 12:14 UTC

Return-Path: <>
Received: from localhost (localhost []) by (Postfix) with ESMTP id F0B1D3A6A9D for <>; Wed, 3 Nov 2010 05:14:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at
X-Spam-Flag: NO
X-Spam-Score: -2.049
X-Spam-Status: No, score=-2.049 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HELO_EQ_FR=0.35, J_CHICKENPOX_29=0.6, J_CHICKENPOX_39=0.6, RCVD_IN_DNSWL_LOW=-1]
Received: from ([]) by localhost ( []) (amavisd-new, port 10024) with ESMTP id y25eLKx0uSrw for <>; Wed, 3 Nov 2010 05:14:23 -0700 (PDT)
Received: from ( []) by (Postfix) with ESMTP id E42383A6825 for <>; Wed, 3 Nov 2010 05:14:22 -0700 (PDT)
Received: from (localhost.localdomain []) by localhost (Postfix) with SMTP id 4FB068B813E; Wed, 3 Nov 2010 11:27:58 +0100 (CET)
Received: from (unknown []) by (Postfix) with ESMTP id 529628B8039; Wed, 3 Nov 2010 10:59:39 +0100 (CET)
Received: from ([]) by with Microsoft SMTPSVC(6.0.3790.4675); Wed, 3 Nov 2010 10:58:26 +0100
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Date: Wed, 3 Nov 2010 10:55:41 +0100
Message-ID: <>
In-Reply-To: <>
Thread-Topic: [sipcore] Bypassing out-of-service intermediate Proxy
Thread-Index: ActKwqukakXd2CSyR9G+Afh4w9O9dQsxhaSAAAMmKZUA6UXXwA==
References: <><>, <> <>
From: <>
To: <>, <>
X-OriginalArrivalTime: 03 Nov 2010 09:58:26.0218 (UTC) FILETIME=[A89B90A0:01CB7B3D]
Subject: Re: [sipcore] Bypassing out-of-service intermediate Proxy
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: SIP Core Working Group <>
List-Unsubscribe: <>, <>
List-Archive: <>
List-Post: <>
List-Help: <>
List-Subscribe: <>, <>
X-List-Received-Date: Wed, 03 Nov 2010 12:14:24 -0000

I understand that the usage of DNS to provide alternate server is a way to ensure redundancy. In such solution, to be able to handle SIP requests inside a SIP dialog and for which the proxy need to be "dialog statefull", there is a need to implement a mechanism that would allow the "alternate" server to share the same SIP dialog contexts.

My idea is in case of unavailability of the next hop and in case no alternate server is returned by DNS (or alternate servers are unreachable too), instead of rejecting the request (which would make the call/session fails), the SIP Proxy may send it to the hop after the unreachable one in the Route. This alternative would be authorized only if the Proxy knows that it's better to bypass the unreachable node instead of rejecting the request. The SIP proxy may get this information via a URI parameter in the Route entry of the "unreachable" node for example

Best regards,


-----Message d'origine-----
De : Worley, Dale R (Dale) [] 
Envoyé : vendredi 29 octobre 2010 20:22
Cc :
Objet : RE: [sipcore] Bypassing out-of-service intermediate Proxy

From: [] On Behalf Of []

I understand that the intention of this text in RFC 3261 is to fail over to an alternate server that serves the same function. Though, it's not explicitly stated.

However, I did not find any text in RFC 3261 that would make forbidden failing over to a proxy further down the path.  Moreover, I did not see any problem to such behaviour.

If a particular URI is included in a Route header, then there is some important function the server with that URI is to perform.  If one element ignores this URI and sends the request to the next URI in the Route header, presumably the function of the skipped server will not be performed.

In all cases that I have heard about, the correct way to provide alternate servers for a failed server is to construct a DNS SRV name which maps to the primary and alternate server as is desired.

For instance, if functionA is to be serviced by serverA but in an emergency the request can be routed to serverB, and if functionB is serviced by serverB, then we construct two SRV names:

functionA    SRV   serverA  priority=1
functionA    SRV   serverB  priority=2

functionB    SRV   serverB priority=1

and use this Route header:

Route:  sip:functionA, sip:functionB

If an element has a request with this Route header, it will send the request to sp:functionA using the RFC 3263 rules, viz., attempt to send to serverA, and if that fails, attempt to send to serverB.