[asterisk-commits] irroot: branch irroot/distrotech-customers-trunk r337833 - /team/irroot/distr...
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Fri Sep 23 00:59:41 CDT 2011
Author: irroot
Date: Fri Sep 23 00:59:38 2011
New Revision: 337833
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=337833
Log:
Set the dstchannel to the channel of the peer
Modified:
team/irroot/distrotech-customers-trunk/apps/app_queue.c
Modified: team/irroot/distrotech-customers-trunk/apps/app_queue.c
URL: http://svnview.digium.com/svn/asterisk/team/irroot/distrotech-customers-trunk/apps/app_queue.c?view=diff&rev=337833&r1=337832&r2=337833
==============================================================================
--- team/irroot/distrotech-customers-trunk/apps/app_queue.c (original)
+++ team/irroot/distrotech-customers-trunk/apps/app_queue.c Fri Sep 23 00:59:38 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