]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
update to match zaptel 1.4 API change that was committed a few minutes ago
authorKevin P. Fleming <kpfleming@digium.com>
Sat, 24 Feb 2007 00:53:55 +0000 (00:53 +0000)
committerKevin P. Fleming <kpfleming@digium.com>
Sat, 24 Feb 2007 00:53:55 +0000 (00:53 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@56548 65c4cc65-6c06-0410-ace0-fbb531ad65f3

codecs/codec_zap.c

index 5d05d354512ce62747f7e8d78d060a3567fa0c62..9ccdd5dc2887c37a46617610b1fc2c01c7ca8a65 100644 (file)
@@ -181,7 +181,7 @@ static int zap_translate(struct ast_trans_pvt *pvt, int dest, int source)
 {
        /* Request translation through zap if possible */
        int fd;
-       unsigned int x = ZT_TCOP_RESET;
+       unsigned int x = ZT_TCOP_ALLOCATE;
        struct pvt *ztp = pvt->pvt;
        struct zt_transcode_header *hdr;
        int flags;