[asterisk-commits] irroot: branch irroot/distrotech-customers-1.8 r337835 - /team/irroot/distrot...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Sep 23 00:59:50 CDT 2011


Author: irroot
Date: Fri Sep 23 00:59:46 2011
New Revision: 337835

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=337835
Log:
Set the dstchannel to the channel of the peer

Modified:
    team/irroot/distrotech-customers-1.8/apps/app_queue.c

Modified: team/irroot/distrotech-customers-1.8/apps/app_queue.c
URL: http://svnview.digium.com/svn/asterisk/team/irroot/distrotech-customers-1.8/apps/app_queue.c?view=diff&rev=337835&r1=337834&r2=337835
==============================================================================
--- team/irroot/distrotech-customers-1.8/apps/app_queue.c (original)
+++ team/irroot/distrotech-customers-1.8/apps/app_queue.c Fri Sep 23 00:59:46 2011
@@ -5099,8 +5099,7 @@
 				cdr = cdr->next;
 				ast_channel_unlock(qe->chan);
 			}
-			ast_copy_string(cdr->dstchannel, member->interface, sizeof(cdr->dstchannel));
-			ast_copy_string(cdr->dst, member->membername, sizeof(cdr->dst));
+			ast_copy_string(cdr->dstchannel, peer->name, sizeof(cdr->dstchannel));
 		}
 
 		if (qe->parent->eventwhencalled)




More information about the asterisk-commits mailing list