[svn-commits] mattf: branch mattf/1.6.0-chan_ccs r265893 - /team/mattf/1.6.0-chan_ccs/chann...

SVN commits to the Digium repositories svn-commits at lists.digium.com
Wed May 26 11:01:33 CDT 2010


Author: mattf
Date: Wed May 26 11:01:32 2010
New Revision: 265893

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=265893
Log:
Make sure that we don't start the call for any case where there's a continuity check until COT arrives.

Modified:
    team/mattf/1.6.0-chan_ccs/channels/chan_ccs.c

Modified: team/mattf/1.6.0-chan_ccs/channels/chan_ccs.c
URL: http://svnview.digium.com/svn/asterisk/team/mattf/1.6.0-chan_ccs/channels/chan_ccs.c?view=diff&rev=265893&r1=265892&r2=265893
==============================================================================
--- team/mattf/1.6.0-chan_ccs/channels/chan_ccs.c (original)
+++ team/mattf/1.6.0-chan_ccs/channels/chan_ccs.c Wed May 26 11:01:32 2010
@@ -1390,7 +1390,8 @@
 				if (ast_exists_extension(NULL, p->context, p->exten, 1, p->cid_num)) {
 
 					if (e->iam.cot_check_required) {
-						ccs_loopback(p, 1);
+						if (e->iam.cot_check_required == 1)
+							ccs_loopback(p, 1);
 					} else
 						ss7_start_call(p, linkset);
 				} else {
@@ -1414,10 +1415,9 @@
 
 				ast_mutex_lock(&p->lock);
 
-				if (p->loopedback) {
-					ccs_loopback(p, 0);
-					ss7_start_call(p, linkset);
-				}
+				ccs_loopback(p, 0);
+
+				ss7_start_call(p, linkset);
 
 				ast_mutex_unlock(&p->lock);
 




More information about the svn-commits mailing list