Re: [sipcore] [EXTERNAL] Re: 3264 offer a=sendonly in context of session modification

"Mojtaba Esfandiari.S" <esfandiari.m84@gmail.com> Sat, 18 November 2023 08:57 UTC

Return-Path: <esfandiari.m84@gmail.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 847B3C14CF15 for <sipcore@ietfa.amsl.com>; Sat, 18 Nov 2023 00:57:10 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.854
X-Spam-Level:
X-Spam-Status: No, score=-1.854 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id y3WzqPucgoQ0 for <sipcore@ietfa.amsl.com>; Sat, 18 Nov 2023 00:57:06 -0800 (PST)
Received: from mail-oi1-x22b.google.com (mail-oi1-x22b.google.com [IPv6:2607:f8b0:4864:20::22b]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 4C475C14CF0C for <sipcore@ietf.org>; Sat, 18 Nov 2023 00:57:06 -0800 (PST)
Received: by mail-oi1-x22b.google.com with SMTP id 5614622812f47-3b56b618217so1786207b6e.0 for <sipcore@ietf.org>; Sat, 18 Nov 2023 00:57:06 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1700297825; x=1700902625; darn=ietf.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=sh5zArF8TCypykRlEccX3fRn05xmh574vKu71D/KZgw=; b=fmidW1xJVpGlobbelACH+gDGoNEHRCgh0cyKaI4LZ0s6JS/jZiMkjv5r/u0WpLNToS BWqMFWoxMHCnc7sb+MbjUmWCs80VHhkGRtUgHmezGqBAcdop1/vGQDpFRuILrGDrqSQQ nxP12CU9uKCLE8zNM+Z8q9dryO87VdaGeYE7EiAerplTo01b68zb8pR40VBnlC0hNNYg GyGyKg/MaKYO0ZWgv9lFUBL+bNeQG/d7NatZ847uvWgcYUNiejF1wNuRVd4PJ8XzgSy+ YDmsfBBnLBsS/57Y5+T+YDX5Yf7r9udpr7xCHFXK/Z0jSUN83nT5sWQmgFJWlF7CygQX 3U7A==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700297825; x=1700902625; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=sh5zArF8TCypykRlEccX3fRn05xmh574vKu71D/KZgw=; b=hV2y4BrqAkZ9Pxr7EchhfU5IWsjhZeXwt+ZbdxY5WjDPScMAV7z7yvdIZskv3B0mgZ Mu2MCZ6sPYU3utL9iZQMXoyk/STaDC/AK7Q02sU+7gsB5v0n0tnnZTNxe16pUl+yo3UD kCs2WmbnI6C3WpysUDHcTk3sBSh8FIipKIHaFslyECPz4+XMkeH6BMdvA+hhs2+o803d rne/e+bNKsd4axE0PWlfsbXqopVzMPm3X9AAo3qEtiXyl3A2t1NRAu7y0KFIfNuamOeq Aso8JlBzVgroxtPz4iyxzc8yo2wdf0j5obCmZy9mcdPbmcoClOkAlQgNtDUVn5bq+lj9 Rcdg==
X-Gm-Message-State: AOJu0YyiJMjeusbZFP2QEUWrSVO9uhUX3/sGPV8yJ7/fs9Kl1GgXTU6p cBbylhFyhoPjHGr9aWXVy/H2NVmW+H5TPbMbL2k=
X-Google-Smtp-Source: AGHT+IGk+NPaDXnU7nbE/DIO1KToj+li4AW736ipbDpgUMd3Bq7rZswpox1suX5MAERrEh4DSSKb7AL3eOVzyxFUCRQ=
X-Received: by 2002:aca:1315:0:b0:3b2:e0f0:e53d with SMTP id e21-20020aca1315000000b003b2e0f0e53dmr2253989oii.37.1700297825471; Sat, 18 Nov 2023 00:57:05 -0800 (PST)
MIME-Version: 1.0
References: <BY5PR00MB0691A51D3E0FB33D972EBE63B6B7A@BY5PR00MB0691.namprd00.prod.outlook.com> <0518b9fe-9a7b-4a09-a6e1-e300a8f984f6@alum.mit.edu> <BY5PR00MB0691124C9D16E1EFE11D24B2B6B7A@BY5PR00MB0691.namprd00.prod.outlook.com> <0836cdda-28e4-4654-8ed9-65eb5de81c7c@alum.mit.edu>
In-Reply-To: <0836cdda-28e4-4654-8ed9-65eb5de81c7c@alum.mit.edu>
From: "Mojtaba Esfandiari.S" <esfandiari.m84@gmail.com>
Date: Sat, 18 Nov 2023 12:26:54 +0330
Message-ID: <CA+8sMAx2tsnG2i=ZsndfQtiNqmmMivLc-Br1MiUV6RQ2kKetXg@mail.gmail.com>
To: Paul Kyzivat <pkyzivat@alum.mit.edu>
Cc: Russ Penar <russp@microsoft.com>, "sipcore@ietf.org" <sipcore@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000e65081060a696fd9"
Archived-At: <https://mailarchive.ietf.org/arch/msg/sipcore/0WfJXlIjThPX2hE4UXnuoAe9vGM>
Subject: Re: [sipcore] [EXTERNAL] Re: 3264 offer a=sendonly in context of session modification
X-BeenThere: sipcore@ietf.org
X-Mailman-Version: 2.1.39
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: <https://mailarchive.ietf.org/arch/browse/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: Sat, 18 Nov 2023 08:57:10 -0000

Hello all,
As my experiences when I had been developing the RTSP module for kamailio,
I used this option, because I just needed to get a one-way real stream from
Camera. In that situation, I have to change the SDP parameter to a=recvonly
or a=sendonly.
WIth Best Regards
Mojtaba Esfandiari.S

On Sat, Nov 18, 2023 at 12:25 AM Paul Kyzivat <pkyzivat@alum.mit.edu> wrote:

> On 11/17/23 11:55 AM, Russ Penar wrote:
> > Paul,
> >
> > Thank you for the reply and follow up.
> >
> > Paul Kyzivat wrote:
> >>   Are you asking as a recipient of such an offer? If so, why does it
> > matter?
> >
> > Yes, as an offer recipient a client's UI indicates remote party call
> hold.
> > Client logic triggers UI update today based on a=inactive update for
> > established session.
>
> Just to be clear, you are saying that "other party" sends an in-dialog
> offer (via either reINVITE or UPDATE) with a=sendonly, and the client
> you are concerned about sends a corresponding answer with a=inactive?
>
> That is a valid response, as would be a=recvonly.
>
> > To progress the client's 3264 interworking support discussion, I must
> > determine the risk of introducing my interpretation of 3264 8.4, " With
> > conditions met, new offer for established session, supporting a=sendonly
> > modification (in addition to inactive) does not break the existing UI
> > experience of remote party call hold indication."
>
> Do you have reason for concern that the a=inactive is wrong in this
> circumstance? IIUC your implementation is *presuming* that the other
> party is requesting to put the call on hold, and deciding that it
> doesn't want to received the media. (Presumed to be music on hold.)
>
> On what basis would you make any determination? Did the media exchanged
> prior to the "hold" cause your user to be surprised to no longer get media?
>
> > *8.4 <https://www.rfc-editor.org/rfc/rfc3264#section-8.4>** Putting a
> > Unicast Media Stream on Hold*   If a party in a call wants to put the
> > other party "on hold", i.e.,    request that it temporarily stops
> > sending one or more unicast media    streams, a party offers the other
> > an updated SDP.    If the stream to be placed on hold was previously a
> > sendrecv media    stream, it is placed on hold by marking it as
> > sendonly.  If the    stream to be placed on hold was previously a
> > recvonly media stream,    it is placed on hold by marking it inactive.
>
> I suggest you read RFC 6337, especially section 5, for an in-depth
> discussion of this topic.
>
>         Happy Reading,
>         Paul
>
> _______________________________________________
> sipcore mailing list
> sipcore@ietf.org
> https://www.ietf.org/mailman/listinfo/sipcore
>