[Stox] media: rejecting an m-line in jingle

Philipp Hancke <fippo@goodadvice.pages.de> Wed, 18 September 2013 13:25 UTC

Return-Path: <fippo@goodadvice.pages.de>
X-Original-To: stox@ietfa.amsl.com
Delivered-To: stox@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 0BDE211E824C for <stox@ietfa.amsl.com>; Wed, 18 Sep 2013 06:25:50 -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=[BAYES_00=-2.599]
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 h5Dy8g-9AaXf for <stox@ietfa.amsl.com>; Wed, 18 Sep 2013 06:25:45 -0700 (PDT)
Received: from lo.psyced.org (lost.IN.psyced.org [188.40.42.221]) by ietfa.amsl.com (Postfix) with ESMTP id BB02611E8289 for <stox@ietf.org>; Wed, 18 Sep 2013 06:25:39 -0700 (PDT)
Received: from lo.psyced.org (localhost [127.0.0.1]) by lo.psyced.org (8.14.3/8.14.3/Debian-9.4) with ESMTP id r8IDPbFD009741 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 18 Sep 2013 15:25:37 +0200
Received: from localhost (fippo@localhost) by lo.psyced.org (8.14.3/8.14.3/Submit) with ESMTP id r8IDPbdw009736; Wed, 18 Sep 2013 15:25:37 +0200
X-Authentication-Warning: lo.psyced.org: fippo owned process doing -bs
Date: Wed, 18 Sep 2013 15:25:37 +0200 (CEST)
From: Philipp Hancke <fippo@goodadvice.pages.de>
X-X-Sender: fippo@lo.psyced.org
To: stox@ietf.org
Message-ID: <alpine.DEB.2.00.1309181507090.9311@lo.psyced.org>
User-Agent: Alpine 2.00 (DEB 1167 2008-08-23)
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII
Cc: jingle@xmpp.org
Subject: [Stox] media: rejecting an m-line in jingle
X-BeenThere: stox@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: SIP-TO-XMPP Working Group discussion list <stox.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/stox>, <mailto:stox-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/stox>
List-Post: <mailto:stox@ietf.org>
List-Help: <mailto:stox-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/stox>, <mailto:stox-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 18 Sep 2013 13:25:50 -0000

I just stumbled over a case where I have to map a rejected m-line over 
jingle... i.e. the port in the m-line is set to 0.

Jingle doesn't have a mapping for the port in the m-line. So how can one 
reject a single m-line (content) in jingle?

While jingle has a content-reject option that only happens in response to 
a content-add. A XEP-0177 (raw udp) <transport/> element with port set to
zero might be an option... but that seems onerous and I doubt that anything
which currently implement 0177 handles it correctly.