From: Steve Murphy Date: Tue, 10 Apr 2007 16:07:10 +0000 (+0000) Subject: updated ast_channel_alloc() call to include the 4 extra args everyone got. Not much... X-Git-Tag: 1.6.0-beta1~3^2~2867 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=28b5fb02bd3025106aa8762036a657a89875e014;p=thirdparty%2Fasterisk.git updated ast_channel_alloc() call to include the 4 extra args everyone got. Not much info there, as the config file evidently does not allow amaflags, or accountcode settings; and the pvt's exten doesn't sound like what we need in the cdr, either. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@61221 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channels/chan_jingle.c b/channels/chan_jingle.c index 87fb379550..4da4b85cea 100644 --- a/channels/chan_jingle.c +++ b/channels/chan_jingle.c @@ -765,7 +765,7 @@ static struct ast_channel *jingle_new(struct jingle *client, struct jingle_pvt * str = title; else str = i->from; - tmp = ast_channel_alloc(1, state, i->cid_num, i->cid_name, "Jingle/%s-%04lx", str, ast_random() & 0xffff); + tmp = ast_channel_alloc(1, state, i->cid_num, i->cid_name, "", "", "", 0, "Jingle/%s-%04lx", str, ast_random() & 0xffff); if (!tmp) { ast_log(LOG_WARNING, "Unable to allocate Jingle channel structure!\n"); return NULL;