Re: [dispatch] Session recording in SIP

Alan Johnston <alan@sipstation.com> Fri, 12 June 2009 03:39 UTC

Return-Path: <alan@sipstation.com>
X-Original-To: dispatch@core3.amsl.com
Delivered-To: dispatch@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 7F05E3A6ABC for <dispatch@core3.amsl.com>; Thu, 11 Jun 2009 20:39:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level:
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[AWL=0.000, 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 Xll5xzzIvuxm for <dispatch@core3.amsl.com>; Thu, 11 Jun 2009 20:39:16 -0700 (PDT)
Received: from mho-02-ewr.mailhop.org (mho-02-ewr.mailhop.org [204.13.248.72]) by core3.amsl.com (Postfix) with ESMTP id 3DEE63A68A8 for <dispatch@ietf.org>; Thu, 11 Jun 2009 20:39:16 -0700 (PDT)
Received: from 24-107-193-18.dhcp.stls.mo.charter.com ([24.107.193.18] helo=aidan-DS.sipserver.homeip.net) by mho-02-ewr.mailhop.org with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.68) (envelope-from <alan@sipstation.com>) id 1MExbs-0000yp-1G; Fri, 12 Jun 2009 03:39:20 +0000
X-Mail-Handler: MailHop Outbound by DynDNS
X-Originating-IP: 24.107.193.18
X-Report-Abuse-To: abuse@dyndns.com (see http://www.dyndns.com/services/mailhop/outbound_abuse.html for abuse reporting information)
X-MHO-User: U2FsdGVkX1+MyDvxZQ2yDQckTlN8pcpFlp//rtmLPPw=
Message-ID: <4A31CDE2.7080208@sipstation.com>
Date: Thu, 11 Jun 2009 22:39:14 -0500
From: Alan Johnston <alan@sipstation.com>
User-Agent: Thunderbird 2.0.0.21 (Macintosh/20090302)
MIME-Version: 1.0
To: "James M. Polk" <jmpolk@cisco.com>
References: <4A2ECDB2.7000601@alcatel-lucent.com> <EDC652A26FB23C4EB6384A4584434A04017901E7@307622ANEX5.global.avaya.com> <4A2FB842.7050302@sipstation.com> <028a01c9ea12$5ec96e60$1c5c4b20$%roni@huawei.com> <719F9BBB3E7E71428A2D13F3D76C768F01C7BBE8@GBNTHT12009MSX.gb002.siemens.net> <002801c9ea82$0da51320$28ef3960$%roni@huawei.com> <719F9BBB3E7E71428A2D13F3D76C768F01C7BE97@GBNTHT12009MSX.gb002.siemens.net> <004a01c9eaa7$94ef7990$bece6cb0$%roni@huawei.com> <E6C2E8958BA59A4FB960963D475F7AC3193F96D920@mail> <00ab01c9eace$58b7c190$0a2744b0$%roni@huawei.com> <E6C2E8958BA59A4FB960963D475F7AC31940E5668D@mail> <4A318F1E.9080308@cisco.com> <XFE-SJC-21271mrvoGd000002ea@xfe-sjc-212.amer.cisco.com>
In-Reply-To: <XFE-SJC-21271mrvoGd000002ea@xfe-sjc-212.amer.cisco.com>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
Cc: 'Leon Portman' <Leon.Portman@nice.com>, "dispatch@ietf.org" <dispatch@ietf.org>, "'Jain, Rajnish'" <Rajnish.Jain@ipc.com>, Roni Even <Even.roni@huawei.com>, Hadriel Kaplan <HKaplan@acmepacket.com>
Subject: Re: [dispatch] Session recording in SIP
X-BeenThere: dispatch@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: DISPATCH Working Group Mail List <dispatch.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/dispatch>, <mailto:dispatch-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/dispatch>
List-Post: <mailto:dispatch@ietf.org>
List-Help: <mailto:dispatch-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dispatch>, <mailto:dispatch-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 12 Jun 2009 03:39:17 -0000

These various models and modes of recording are described in

      http://tools.ietf.org/html/draft-wing-sipping-srtp-key-04#section-5

To summarize some of the arguments for forking the media in the middle 
as opposed to doing it in an endpoint:

1.  Requirements to use basic UAs without any extensions
2.  Not always having double the media bandwidth in endpoints, 
especially when they are remote
3.  The recording mode (always on, on demand, required, pause and 
resume) and policy is usually controlled centrally, and so another 
protocol would be needed to tell the UA to start and stop recording.

Thanks,
Alan

James M. Polk wrote:
> At 06:11 PM 6/11/2009, Paul Kyzivat wrote:
>
>
>> Hadriel Kaplan wrote:
>>> Hey Roni,
>>> Being a middlebox man myself, a B2BUA doing the media forking makes 
>>> the most sense to me too, but some other folks don't do it/want-it 
>>> that way.  So the proposed work is to cover both potential models.
>>> The statement you cite reflects the belief that the solution to the 
>>> requirements will be to use SIP between the UA doing the media 
>>> forking, and the recorder doing the collection; and that the work of 
>>> specification will be to define that.
>>> So one diagram could be this, where "TBD" is the To-Be-Defined work:
>>>    +-----+              +-----+
>>>    |     |   Call       |     |
>>>    |UA-A +<------------>+UA-B |
>>>    |     |              |     |
>>>    +-++--+              +-----+
>>>       \\
>>>        \\
>>>     TBD \\
>>>          \\+----------+
>>>           \+          |
>>>            + Recorder |
>>>            |          |
>>>            +----------+
>>
>> This model actually can make a lot of sense in *some* circumstances.
>> For instance, in a call center, where you may have control over what 
>> components are used throughout, it could make sense to do the media 
>> forking for recording and monitoring right at the agent phone.
>
> Paul - how is your call center example *not* better accomplished with 
> the figure below instead of the figure above?
>
> It seems to me that any enterprise based call center would have to 
> have a SIP server of some form (i.e., the caller is not going to have 
> a pt-to-pt SIP established session directly with a call center call 
> taker). It seems much easier if that call center wants to record calls 
> (even some of the calls, that to the caller, the B2BUA is the UAS, 
> meaning the sRTP keys only have to be between the caller and the 
> B2BUA, and not all the way to the call taker.  In this scenario, the 
> B2BUA merely replicates the RTP stream out towards the recording 
> device with RTCP in tact, an can allow the B2BUA provide any meta data 
> about the specifics of the call signaling it wants to also store.
>
> This scenario also means the caller is never aware the call is being 
> recorded, creating anonymity wrt that facet of the solution.
>
> I'm not advocating B2BUAs here, I just see this as a better solution 
> for call center type recording than pt-to-pt between caller and call 
> taker.
>
>
>> But in those sorts of monitoring/recording we don't talk about in 
>> IETF, its essential that the recorded parties not be able to 
>> distinguish calls that are monitored from those that are not. 
>> Anything that requires cooperation by one of the endpoints is a 
>> no-go. Even something as simple as a middlebox replacing one media 
>> port with another in order to initiate monitoring might be enough to 
>> clue in the monitored parties. So  in those cases you had better have 
>> a way that looks exactly the same whether recording is happening or 
>> not, which generally requires something like your picture below.
>>
>>         Thanks,
>>         Paul
>>
>>> Or this:
>>>
>>> +-----+              +-----+              +-----+
>>> |     |     Call     |     |   Call       |     |
>>> |UA-A +<------------>+B2BUA+<------------>+UA-B |
>>> |     |              |     |              |     |
>>> +-----+              +-++--+              +-----+
>>>                         \\
>>>                          \\
>>>                       TBD \\
>>>                            \\+----------+
>>>                             \+          |
>>>                              + Recorder |
>>>                              |          |
>>>                              +----------+
>>> -hadriel
>>>
>>>> -----Original Message-----
>>>> From: Roni Even [mailto:Even.roni@huawei.com]
>>>> Sent: Thursday, June 11, 2009 3:54 PM
>>>> To: Hadriel Kaplan; 'Hutton, Andrew'; 'Alan Johnston'; 'Romascanu, Dan
>>>> (Dan)'
>>>> Cc: 'Leon Portman'; dispatch@ietf.org; 'Jain, Rajnish'
>>>> Subject: RE: [dispatch] Session recording in SIP
>>>>
>>>> Hadriel,
>>>> I am still confused by the following text which was the reason for the
>>>> previous question
>>>>
>>>> "This group will specify requirements for a SIP based protocol 
>>>> interface
>>>> between a communications system and a recorder. The Communications 
>>>> System
>>>> is
>>>> responsible for establishing media sessions where the actual 
>>>> business is
>>>> conducted. The Recorder is the sink of the recorded media."
>>>>
>>>>
>>>> Can someone draw a figure showing the talking parties the 
>>>> Communication
>>>> system and the recorder and explain where is this interface. 
>>>> According to
>>>> your response I can think that there are at least two separate
>>>> architectures
>>>> your are proposing one where the parties (or one of them) in the 
>>>> call know
>>>> the recorder and somehow forwards the media to it. The other 
>>>> architecture
>>>> has some B2BUA in the call path who is either forking the media to the
>>>> recorder and to the parties or the recorder is in the middle of the 
>>>> media
>>>> path.
>>> _______________________________________________
>>> dispatch mailing list
>>> dispatch@ietf.org
>>> https://www.ietf.org/mailman/listinfo/dispatch
>> _______________________________________________
>> dispatch mailing list
>> dispatch@ietf.org
>> https://www.ietf.org/mailman/listinfo/dispatch
>
> _______________________________________________
> dispatch mailing list
> dispatch@ietf.org
> https://www.ietf.org/mailman/listinfo/dispatch
>