[svn-commits] mmichelson: branch mmichelson/queue_bugbug r394468 - /team/mmichelson/queue_b...

SVN commits to the Digium repositories svn-commits at lists.digium.com
Tue Jul 16 13:19:06 CDT 2013


Author: mmichelson
Date: Tue Jul 16 13:19:04 2013
New Revision: 394468

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=394468
Log:
Be sure to actually provide valid channel snapshots.


Modified:
    team/mmichelson/queue_bugbug/apps/app_queue.c

Modified: team/mmichelson/queue_bugbug/apps/app_queue.c
URL: http://svnview.digium.com/svn/asterisk/team/mmichelson/queue_bugbug/apps/app_queue.c?view=diff&rev=394468&r1=394467&r2=394468
==============================================================================
--- team/mmichelson/queue_bugbug/apps/app_queue.c (original)
+++ team/mmichelson/queue_bugbug/apps/app_queue.c Tue Jul 16 13:19:04 2013
@@ -5277,6 +5277,9 @@
 			return;
 		}
 
+		caller = ast_channel_snapshot_get_latest(queue_data->caller_uniqueid);
+		agent = ast_channel_snapshot_get_latest(queue_data->agent_uniqueid);
+
 		ast_log(LOG_NOTICE, "Detected attended transfer in queue %s\n", queue_data->queue);
 		/* XXX Need to send queue log something-or-other here. Problem is that it doesn't really make
 		 * sense to specify an exten and context on an attended transfer. Perhaps separate queue log message




More information about the svn-commits mailing list