[asterisk-commits] murf: trunk r61221 - /trunk/channels/chan_jingle.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Tue Apr 10 09:07:11 MST 2007


Author: murf
Date: Tue Apr 10 11:07:10 2007
New Revision: 61221

URL: http://svn.digium.com/view/asterisk?view=rev&rev=61221
Log:
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.

Modified:
    trunk/channels/chan_jingle.c

Modified: trunk/channels/chan_jingle.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_jingle.c?view=diff&rev=61221&r1=61220&r2=61221
==============================================================================
--- trunk/channels/chan_jingle.c (original)
+++ trunk/channels/chan_jingle.c Tue Apr 10 11:07:10 2007
@@ -765,7 +765,7 @@
 		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;



More information about the asterisk-commits mailing list