[asterisk-commits] bmd: branch group/newcdr r125190 - /team/group/newcdr/main/channel.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Wed Jun 25 19:37:30 CDT 2008
Author: bmd
Date: Wed Jun 25 19:37:30 2008
New Revision: 125190
URL: http://svn.digium.com/view/asterisk?view=rev&rev=125190
Log:
small bugfix
Modified:
team/group/newcdr/main/channel.c
Modified: team/group/newcdr/main/channel.c
URL: http://svn.digium.com/view/asterisk/team/group/newcdr/main/channel.c?view=diff&rev=125190&r1=125189&r2=125190
==============================================================================
--- team/group/newcdr/main/channel.c (original)
+++ team/group/newcdr/main/channel.c Wed Jun 25 19:37:30 2008
@@ -4004,7 +4004,7 @@
if (!ast_strlen_zero(chan1->peeraccount) && ast_strlen_zero(chan2->accountcode)) {
ast_log(LOG_DEBUG, "setting accountcode to %s for %s from data on channel %s\n",
chan1->peeraccount, chan2->name, chan1->name);
- ast_string_field_set(chan1, accountcode, chan1->peeraccount);
+ ast_string_field_set(chan2, accountcode, chan1->peeraccount);
}
if (!ast_strlen_zero(chan2->peeraccount) && ast_strlen_zero(chan1->accountcode)) {
ast_log(LOG_DEBUG, "setting accountcode to %s for %s from data on channel %s\n",
More information about the asterisk-commits
mailing list