From 06afe72ddde29a01ab01380a6136c35913c8b619 Mon Sep 17 00:00:00 2001 From: murf Date: Mon, 9 Apr 2007 18:32:07 +0000 Subject: This is a big improvement over the current CDR fixes. It may still need refinement, but this won't have as many folks bothered. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@60989 f38db490-d61c-443f-a65b-d21fe96a405b --- channels/chan_zap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'channels/chan_zap.c') diff --git a/channels/chan_zap.c b/channels/chan_zap.c index d7bc60a6d..f988c7c33 100644 --- a/channels/chan_zap.c +++ b/channels/chan_zap.c @@ -5181,7 +5181,7 @@ static struct ast_channel *zt_new(struct zt_pvt *i, int state, int startpbx, int } y++; } while (x < 3); - tmp = ast_channel_alloc(0, state, 0, 0, b2); + tmp = ast_channel_alloc(0, state, 0, 0, i->accountcode, i->exten, i->context, i->amaflags, b2); if (b2) /*!> b2 can be freed now, it's been copied into the channel structure */ free(b2); if (!tmp) -- cgit v1.2.3