[asterisk-dev] What is test-law?

George Joseph gjoseph at digium.com
Mon Nov 30 09:07:44 CST 2020


On Mon, Nov 30, 2020 at 2:18 AM Alexander Traud <pabstraud at compuserve.com>
wrote:

> In 2009, Asterisk 1.8 introduced a media format called "G.711 test-law"
> [1]. Furthermore, in chan_sip, default_format_capabilities mentioned
> testlaw. Five years later, Asterisk 13 removed testlaw from there [2].
> However, it remained in general.
>
> For me, it looks like not just dead code but a merge mistake back in the
> year 2009. It looks like a format which was used to white-box test the
> change back then. The old "Review Board" is no longer online, so I cannot
> check any possible comments there.
>
> Any idea? I feel it is worth removal because it can create chaos [3].
>

I don't see any reference to it in the testsuite so I _think_ it'd be OK to
remove.


>
> [1] <
> https://github.com/asterisk/asterisk/commit/d8e0c584372c51b585a52efbe2375861bc09bdcf#diff-5fda6a239e770b39ac96e677778e231fb79dc190b473c9724d21997ae9fca3bf
> >
> [2] <
> https://github.com/asterisk/asterisk/commit/a2c912e9972c91973ea66902d217746133f96026#diff-b46867aafe8df97c4c3e15a223f26dde97354b72e649bf6cb73215ac657364a2
> >
> [3] <https://issues.asterisk.org/jira/browse/ASTERISK-29185>
>
>
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> asterisk-dev mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-dev



-- 
George Joseph
Asterisk Software Developer
direct/fax +1 256 428 6012
Check us out at www.sangoma.com and www.asterisk.org
[image: image.png]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20201130/4e54716f/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 5142 bytes
Desc: not available
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20201130/4e54716f/attachment.png>


More information about the asterisk-dev mailing list