Re: [Sip] G723.1H and G723.1L SDP negotiation

"Kevin P. Fleming" <kpfleming@digium.com> Mon, 01 March 2010 13:27 UTC

Return-Path: <kpfleming@digium.com>
X-Original-To: sip@core3.amsl.com
Delivered-To: sip@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id A14D628C3EE for <sip@core3.amsl.com>; Mon, 1 Mar 2010 05:27:13 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -106.599
X-Spam-Level:
X-Spam-Status: No, score=-106.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4, USER_IN_WHITELIST=-100]
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 prx3TViQ3uIY for <sip@core3.amsl.com>; Mon, 1 Mar 2010 05:27:12 -0800 (PST)
Received: from mail.digium.com (mail.digium.com [216.207.245.2]) by core3.amsl.com (Postfix) with ESMTP id DDCE128E1DC for <sip@ietf.org>; Mon, 1 Mar 2010 05:11:39 -0800 (PST)
Received: from zimbra.digium.internal ([10.24.55.203] helo=zimbra.hsv.digium.com) by mail.digium.com with esmtp (Exim 4.69) (envelope-from <kpfleming@digium.com>) id 1Nm5PP-0002eb-De; Mon, 01 Mar 2010 07:11:39 -0600
Received: from localhost (localhost.localdomain [127.0.0.1]) by zimbra.hsv.digium.com (Postfix) with ESMTP id 54225D8003; Mon, 1 Mar 2010 07:11:39 -0600 (CST)
Received: from zimbra.hsv.digium.com ([127.0.0.1]) by localhost (zimbra.hsv.digium.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id e5xIgzwN3MPG; Mon, 1 Mar 2010 07:11:39 -0600 (CST)
Received: from [172.19.1.105] (173-24-204-40.client.mchsi.com [173.24.204.40]) by zimbra.hsv.digium.com (Postfix) with ESMTPSA id B6C23D8002; Mon, 1 Mar 2010 07:11:38 -0600 (CST)
Message-ID: <4B8BBD09.2070508@digium.com>
Date: Mon, 01 Mar 2010 07:11:37 -0600
From: "Kevin P. Fleming" <kpfleming@digium.com>
Organization: Digium, Inc.
User-Agent: Thunderbird 2.0.0.23 (X11/20090817)
MIME-Version: 1.0
To: Elison Niven <elison.niven@matrixtelesol.com>
References: <20100226085546.46CF23A7B03@core3.amsl.com>
In-Reply-To: <20100226085546.46CF23A7B03@core3.amsl.com>
X-Enigmail-Version: 0.95.7
OpenPGP: id=05FB8DB2
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Cc: sip@ietf.org
Subject: Re: [Sip] G723.1H and G723.1L SDP negotiation
X-BeenThere: sip@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Session Initiation Protocol <sip.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/sip>, <mailto:sip-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/sip>
List-Post: <mailto:sip@ietf.org>
List-Help: <mailto:sip-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/sip>, <mailto:sip-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 01 Mar 2010 13:27:13 -0000

Elison Niven wrote:

> I know this has been discussed and asked a lot of times in the past but
> still I find no affirmative solution.
> 
> For a UA that supports both G7231-H and G7231-L, SHOULD it specify both the
> codecs in the offer that it sends?
> 
> If the UA is willing to specify both the codecs in the offer that it sends
> (because it specifies two different codecs in its user interface), what
> should be the method of specifying the codecs in the SDP body?

The G.723.1 recommendation mandates that a receiver be willing and able
to accept frames in both bitrates at any time, without any signaling
required to switch between them. Given that requirement, there is no
need to indicate both bitrates in the SDP and use separate payload
numbers; an offer can include that endpoint's *preferred* bitrate (using
the bitrate= parameter), but the endpoint must be prepared to accept
frames in both bitrates regardless.

-- 
Kevin P. Fleming
Digium, Inc. | Director of Software Technologies
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
skype: kpfleming | jabber: kfleming@digium.com
Check us out at www.digium.com & www.asterisk.org