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_phone.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'channels/chan_phone.c') diff --git a/channels/chan_phone.c b/channels/chan_phone.c index 09a50bafe..961ec78b3 100644 --- a/channels/chan_phone.c +++ b/channels/chan_phone.c @@ -826,7 +826,7 @@ static struct ast_channel *phone_new(struct phone_pvt *i, int state, char *conte { struct ast_channel *tmp; struct phone_codec_data codec; - tmp = ast_channel_alloc(1, state, i->cid_num, i->cid_name, "Phone/%s", i->dev + 5); + tmp = ast_channel_alloc(1, state, i->cid_num, i->cid_name, "", i->ext, i->context, 0, "Phone/%s", i->dev + 5); if (tmp) { tmp->tech = cur_tech; tmp->fds[0] = i->fd; -- cgit v1.2.3