Re: [dispatch] SIP-CLF: text versus binary

Christian Groves <Christian.Groves@nteczone.com> Mon, 04 May 2009 00:22 UTC

Return-Path: <Christian.Groves@nteczone.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 3619F3A6FDE for <dispatch@core3.amsl.com>; Sun, 3 May 2009 17:22:16 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.59
X-Spam-Level:
X-Spam-Status: No, score=-1.59 tagged_above=-999 required=5 tests=[AWL=-1.585, BAYES_50=0.001, RCVD_IN_DNSWL_LOW=-1, RELAY_IS_203=0.994]
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 iz3Ta3yqwNxZ for <dispatch@core3.amsl.com>; Sun, 3 May 2009 17:22:09 -0700 (PDT)
Received: from ipmail05.adl2.internode.on.net (ipmail05.adl2.internode.on.net [203.16.214.145]) by core3.amsl.com (Postfix) with ESMTP id 420623A6AF6 for <dispatch@ietf.org>; Sun, 3 May 2009 17:22:00 -0700 (PDT)
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: Au8CAH/S/Ul20Olq/2dsb2JhbAAIyzeDfQU
X-IronPort-AV: E=Sophos;i="4.40,288,1238941800"; d="scan'208";a="373495998"
Received: from ppp118-208-233-106.lns10.mel6.internode.on.net (HELO [127.0.0.1]) ([118.208.233.106]) by ipmail05.adl2.internode.on.net with ESMTP; 04 May 2009 09:53:12 +0930
Message-ID: <49FE3565.9090508@nteczone.com>
Date: Mon, 04 May 2009 10:23:01 +1000
From: Christian Groves <Christian.Groves@nteczone.com>
User-Agent: Thunderbird 2.0.0.21 (Windows/20090302)
MIME-Version: 1.0
To: Tom Taylor <tom.taylor@rogers.com>
References: <AF689C4E-9D79-4C82-87D5-7623D7A08007@standardstrack.com> <49FB4A4B.1060007@rogers.com>
In-Reply-To: <49FB4A4B.1060007@rogers.com>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
Cc: dispatch@ietf.org
Subject: Re: [dispatch] SIP-CLF: text versus binary
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: Mon, 04 May 2009 00:22:16 -0000

The reason was not to carry it in ISUP or the BICC protocol (I'm not 
aware of any spec doing this). Companies wanted to use it in gateways 
where ISUP, BICC and H.323 were the call control protocols. All these 
were binary. That's why ITU-T and 3GPP adopted binary for those 
applications. However as H.248/Megaco evolved many applications were 
more closely tied to the work of the IETF and the usage has tended to be 
toward text implementations. Both the text and binary had tons of 
intellectual effort poured into them.
The text version is certainly easier for humans to read but slightly 
more problematic because a human must understand the grammar.
In terms of the technical performance like the tests here have shown the 
results are very dependent who has done the encoding.

My advice would be to pick one (if you use the coin method make sure it 
doesn't roll under a chair :-) ) and then document an optimised encode / 
decode code as part of the spec to try to minimise performance variability.

Good luck,
 Christian

PS: And no I wasn't rapporteur at the time.

Tom Taylor wrote:
> Just for fun, I'll remind you all that we tried to decide the H.248 
> text vs. binary question by the flip of a coin. The coin came up 
> "text" while the H.248 rapporteur sat there with his jaw touching the 
> floor, but then Pete Cordell came up with the idea of text-encoded 
> ASN.1 and that kept the issue alive. It turned out the real reason the 
> binary wouldn't die was that some people wanted to carry it in ISUP 
> (BICC, actually).
>
> Tom Taylor
>
> Eric Burger wrote:
> ...
>>
>> Why is H.248 a text protocol in the wild, even though the binary 
>> format had tons of intellectual effort poured into it?
>>
>
> _______________________________________________
> dispatch mailing list
> dispatch@ietf.org
> https://www.ietf.org/mailman/listinfo/dispatch
>