[zaptel-commits] sruffell: branch 1.4 r4612 - /branches/1.4/kernel/zttranscode.c

SVN commits to the Zaptel project zaptel-commits at lists.digium.com
Wed Jan 7 13:55:40 CST 2009


Author: sruffell
Date: Wed Jan  7 13:55:39 2009
New Revision: 4612

URL: http://svn.digium.com/view/zaptel?view=rev&rev=4612
Log:
Set that the channel is busy even when it is already built. This is already
done in DAHDI and was an error when back porting.
Issue: DAHDI-231

Modified:
    branches/1.4/kernel/zttranscode.c

Modified: branches/1.4/kernel/zttranscode.c
URL: http://svn.digium.com/view/zaptel/branches/1.4/kernel/zttranscode.c?view=diff&rev=4612&r1=4611&r2=4612
==============================================================================
--- branches/1.4/kernel/zttranscode.c (original)
+++ branches/1.4/kernel/zttranscode.c Wed Jan  7 13:55:39 2009
@@ -199,8 +199,10 @@
 				 * make sure that it can support the formats
 				 * that we're interested in. */
 				if ((fmts->srcfmt|fmts->dstfmt) ==
-					chan->built_fmts)
+					chan->built_fmts) {
+					zt_tc_set_busy(chan);
 					return chan;
+				}
 			}
 		}
 	}




More information about the zaptel-commits mailing list