[svn-commits] rmudgett: branch rmudgett/bch_shift_v1.8 r311608 - /team/rmudgett/bch_shift_v...

SVN commits to the Digium repositories svn-commits at lists.digium.com
Wed Mar 23 12:15:07 CDT 2011


Author: rmudgett
Date: Wed Mar 23 12:15:03 2011
New Revision: 311608

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=311608
Log:
Invert test logic.  It will work better now.

Modified:
    team/rmudgett/bch_shift_v1.8/channels/sig_pri.c

Modified: team/rmudgett/bch_shift_v1.8/channels/sig_pri.c
URL: http://svnview.digium.com/svn/asterisk/team/rmudgett/bch_shift_v1.8/channels/sig_pri.c?view=diff&rev=311608&r1=311607&r2=311608
==============================================================================
--- team/rmudgett/bch_shift_v1.8/channels/sig_pri.c (original)
+++ team/rmudgett/bch_shift_v1.8/channels/sig_pri.c Wed Mar 23 12:15:03 2011
@@ -1331,7 +1331,7 @@
 		ast_verb(3, "Moving call (%s) from channel %d to %d.\n",
 			old_chan->owner ? old_chan->owner->name : "",
 			old_chan->channel, new_chan->channel);
-		if (sig_pri_is_chan_available(new_chan)) {
+		if (!sig_pri_is_chan_available(new_chan)) {
 			ast_log(LOG_WARNING,
 				"Can't move call (%s) from channel %d to %d.  It is already in use.\n",
 				old_chan->owner ? old_chan->owner->name : "",




More information about the svn-commits mailing list