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