Yes Virginia, Zaptel does support native ALAW
authorKevin P. Fleming <kpfleming@digium.com>
Tue, 31 Jan 2006 03:45:09 +0000 (03:45 +0000)
committerKevin P. Fleming <kpfleming@digium.com>
Tue, 31 Jan 2006 03:45:09 +0000 (03:45 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8961 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_zap.c

index 7dd6232..90f0801 100644 (file)
@@ -711,7 +711,7 @@ static int zt_setoption(struct ast_channel *chan, int option, void *data, int da
 static const struct ast_channel_tech zap_tech = {
        .type = type,
        .description = tdesc,
-       .capabilities = AST_FORMAT_SLINEAR | AST_FORMAT_ULAW,
+       .capabilities = AST_FORMAT_SLINEAR | AST_FORMAT_ULAW | AST_FORMAT_ALAW,
        .requester = zt_request,
        .send_digit = zt_digit,
        .send_text = zt_sendtext,