aboutsummaryrefslogtreecommitdiffstats
path: root/codecs
diff options
context:
space:
mode:
authorkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2007-02-24 00:53:55 +0000
committerkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2007-02-24 00:53:55 +0000
commit43e8ebed6170fdd31c5ca40aac06a06d4d848cd6 (patch)
tree726113d6acc98d92f9672138ab3f1f548eafa4c9 /codecs
parentf3b0962824da4a49a8e922016d4f0229b725b51a (diff)
update to match zaptel 1.4 API change that was committed a few minutes ago
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@56548 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'codecs')
-rw-r--r--codecs/codec_zap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/codecs/codec_zap.c b/codecs/codec_zap.c
index 5d05d3545..9ccdd5dc2 100644
--- a/codecs/codec_zap.c
+++ b/codecs/codec_zap.c
@@ -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;