Re: [sipcore] draft-kaplan-sip-session-id-02

Hadriel Kaplan <HKaplan@acmepacket.com> Fri, 17 July 2009 21:50 UTC

Return-Path: <HKaplan@acmepacket.com>
X-Original-To: sipcore@core3.amsl.com
Delivered-To: sipcore@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 2A7553A6B53 for <sipcore@core3.amsl.com>; Fri, 17 Jul 2009 14:50:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.597
X-Spam-Level:
X-Spam-Status: No, score=-2.597 tagged_above=-999 required=5 tests=[AWL=0.002, BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id RMK+jlyX7JC1 for <sipcore@core3.amsl.com>; Fri, 17 Jul 2009 14:50:47 -0700 (PDT)
Received: from etmail.acmepacket.com (etmail.acmepacket.com [216.41.24.6]) by core3.amsl.com (Postfix) with ESMTP id D99EB3A6EFF for <sipcore@ietf.org>; Fri, 17 Jul 2009 14:50:44 -0700 (PDT)
Received: from mail.acmepacket.com (216.41.24.7) by etmail.acmepacket.com (216.41.24.6) with Microsoft SMTP Server (TLS) id 8.1.375.2; Fri, 17 Jul 2009 17:51:17 -0400
Received: from mail.acmepacket.com ([127.0.0.1]) by mail ([127.0.0.1]) with mapi; Fri, 17 Jul 2009 17:51:17 -0400
From: Hadriel Kaplan <HKaplan@acmepacket.com>
To: "Dawes, Peter, VF-Group" <Peter.Dawes@vodafone.com>, "L.Liess@telekom.de" <L.Liess@telekom.de>
Date: Fri, 17 Jul 2009 17:51:16 -0400
Thread-Topic: [sipcore] draft-kaplan-sip-session-id-02
Thread-Index: Acn1DaU1pu17VvRRTd+gHdXlHhTG9AOmEHkwAAGgysAAavX4kABqQ4Zw
Message-ID: <E6C2E8958BA59A4FB960963D475F7AC3196C795F9B@mail>
References: <1245876685.3748.61.camel@victoria-pingtel-com.us.nortel.com> <C6A11A02FF1FBF438477BB38132E474104B236BB@EITO-MBX02.internal.vodafone.com> <40FB0FFB97588246A1BEFB05759DC8A00330040F@S4DE9JSAANI.ost.t-com.de> <C6A11A02FF1FBF438477BB38132E474104B23BFB@EITO-MBX02.internal.vodafone.com>
In-Reply-To: <C6A11A02FF1FBF438477BB38132E474104B23BFB@EITO-MBX02.internal.vodafone.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
acceptlanguage: en-US
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Cc: "sipcore@ietf.org" <sipcore@ietf.org>, "Gerold.Pinker@telekom.de" <Gerold.Pinker@telekom.de>, "dworley@nortel.com" <dworley@nortel.com>, "R.Jesske@telekom.de" <R.Jesske@telekom.de>, "Martin.Huelsemann@telekom.de" <Martin.Huelsemann@telekom.de>
Subject: Re: [sipcore] draft-kaplan-sip-session-id-02
X-BeenThere: sipcore@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: SIP Core Working Group <sipcore.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/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: Fri, 17 Jul 2009 21:50:48 -0000

> -----Original Message-----
> From: Dawes, Peter, VF-Group [mailto:Peter.Dawes@vodafone.com]
> Sent: Wednesday, July 15, 2009 10:47 AM
> Subject: RE: [sipcore] draft-kaplan-sip-session-id-02
> 
> Hello Laura,
> Thanks for the very interesting extra perspective. Does your traffic
> monitoring solution pass all SIP signalling through this 'separate
> device for monitoring', and does this device record all network activity
> all the time? I ask because one thing that the session-id-02 draft does
> not seem to help with is how you identity a particular session you are
> interested in. Since session-id is very similar to Call-ID, it doesn't
> seem very different from recording everything and then searching based
> on Call-ID.

With regards to identifying a particular session you're interested in, I'm not sure if you mean that in the sense of:
    1) Once I know I want Session X, how do I find the messages for it? 
Or...
    2) How do I even decide Session X is what I want to log?  

The answer to the first question is: using the Session-ID.  And Session-ID is different from a Call-ID, purely because it gets through B2BUA's.  If you determine you want to find all SIP messages from a given Call-ID, you have to take into account that the Call-ID changes along the path.  Some of the devices change it due to security reasons, which is what I wrote http://tools.ietf.org/html/draft-kaplan-sip-secure-call-id-00 to try to avoid - but some devices change it for very different, unavoidable reasons.  You can record everything all day long, but you have to figure out what inbound dialog is associated with what outbound dialog(s) in the B2BUA's along the path, to actually troubleshoot it.  So Session-ID is to solve that problem.

For the question (2) semantically that is more of a "filter" question, than an identifier once the filter is triggered.  It's just asking "what filters do I want to use, in order to choose which calls to debug?"  In other words, deciding what session to analyze is a separate thing from identifying which messages are part of the same session.  In your debug draft, the "filter" is the set of things in the XML identified by the <start-trigger> and <stop-trigger> elements, for things like target URI's and time.  The debug draft just ties those together with the message identifier, so that it can only be done in real-time, and in a certain way. (I think)

-hadriel