Re: [Iptel] CPL language switch

Jonathan Rosenberg <jdrosen@dynamicsoft.com> Fri, 13 December 2002 05:39 UTC

Received: from www1.ietf.org (ietf.org [132.151.1.19] (may be forged)) by ietf.org (8.9.1a/8.9.1a) with ESMTP id AAA04737 for <iptel-archive@odin.ietf.org>; Fri, 13 Dec 2002 00:39:42 -0500 (EST)
Received: (from mailnull@localhost) by www1.ietf.org (8.11.6/8.11.6) id gBD5gIl14612 for iptel-archive@odin.ietf.org; Fri, 13 Dec 2002 00:42:18 -0500
Received: from ietf.org (odin.ietf.org [132.151.1.176]) by www1.ietf.org (8.11.6/8.11.6) with ESMTP id gBD5gIv14609 for <iptel-web-archive@optimus.ietf.org>; Fri, 13 Dec 2002 00:42:18 -0500
Received: from www1.ietf.org (ietf-mx.ietf.org [132.151.6.1]) by ietf.org (8.9.1a/8.9.1a) with ESMTP id AAA04643 for <iptel-web-archive@ietf.org>; Fri, 13 Dec 2002 00:39:11 -0500 (EST)
Received: from www1.ietf.org (localhost.localdomain [127.0.0.1]) by www1.ietf.org (8.11.6/8.11.6) with ESMTP id gBD5g4v14589; Fri, 13 Dec 2002 00:42:04 -0500
Received: from ietf.org (odin.ietf.org [132.151.1.176]) by www1.ietf.org (8.11.6/8.11.6) with ESMTP id gBD5fev14572 for <iptel@optimus.ietf.org>; Fri, 13 Dec 2002 00:41:40 -0500
Received: from mail3.dynamicsoft.com (ietf-mx.ietf.org [132.151.6.1]) by ietf.org (8.9.1a/8.9.1a) with ESMTP id AAA04569 for <iptel@ietf.org>; Fri, 13 Dec 2002 00:38:33 -0500 (EST)
Received: from dynamicsoft.com ([63.113.46.71]) by mail3.dynamicsoft.com (8.12.1/8.12.1) with ESMTP id gBD5fNYH016602; Fri, 13 Dec 2002 00:41:23 -0500 (EST)
Message-ID: <3DF97300.4010208@dynamicsoft.com>
From: Jonathan Rosenberg <jdrosen@dynamicsoft.com>
Organization: dynamicsoft
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.1) Gecko/20020826
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: snmadhusudan@hss.hns.com
CC: iptel@ietf.org
Subject: Re: [Iptel] CPL language switch
References: <65256C8C.00504054.00@sampark.hss.hns.com>
Content-Type: text/plain; charset="us-ascii"; format="flowed"
Content-Transfer-Encoding: 7bit
Content-Transfer-Encoding: 7bit
Sender: iptel-admin@ietf.org
Errors-To: iptel-admin@ietf.org
X-BeenThere: iptel@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/iptel>, <mailto:iptel-request@ietf.org?subject=unsubscribe>
List-Id: IP Telephony <iptel.ietf.org>
List-Post: <mailto:iptel@ietf.org>
List-Help: <mailto:iptel-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/iptel>, <mailto:iptel-request@ietf.org?subject=subscribe>
List-Archive: <https://www.ietf.org/pipermail/iptel/>
Date: Fri, 13 Dec 2002 00:41:20 -0500
Content-Transfer-Encoding: 7bit
Content-Transfer-Encoding: 7bit


snmadhusudan@hss.hns.com wrote:
> 
> 
> Hi,
> Section 5.3 on Language Switches in draft-ietf-iptel-cpl-06
> states
>      "If the caller specified the special language-range "*",
>      it is ignored for the purposes of matching."
> 
> I would assume that the caller has no specific choices about
> the language and he accepts any language. 

The caller specifies their preferred languages using the Accept-Language 
header.



> Hence a CPL switch
> on language trying to match a particular language is redundant.

Of course not. If the caller indicated that they want spanish, the CPL 
language-switch can do something specific in that case.


> Can I take that the 'language' output matched successfully for
> this case and proceed further ?
> 
> But the next line states
>      "Languages with a "q" value of 0 are also ignored."
> 
> Here the ignored word confuses me. Is it that the language
> with a q=0 is ignored and other languages are used for matching?

Right. If the accept-language looks like:

Accept-Language: en;q=1.0, es;q=0.0, de;q=0.5

the es language would be ignored for purposes of the CPL switch.

-Jonathan R.
-- 
Jonathan D. Rosenberg, Ph.D.                72 Eagle Rock Ave.
Chief Scientist                             First Floor
dynamicsoft                                 East Hanover, NJ 07936
jdrosen@dynamicsoft.com                     FAX:   (973) 952-5050
http://www.jdrosen.net                      PHONE: (973) 952-5000
http://www.dynamicsoft.com

_______________________________________________
Iptel mailing list
Iptel@ietf.org
https://www.ietf.org/mailman/listinfo/iptel