[svn-commits] rmudgett: branch rmudgett/ect r1499 - /team/rmudgett/ect/pri_facility.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Wed Feb 17 13:15:37 CST 2010


Author: rmudgett
Date: Wed Feb 17 13:15:33 2010
New Revision: 1499

URL: http://svnview.digium.com/svn/libpri?view=rev&rev=1499
Log:
Only respond to the EctExecute and ExplicitEctExecute messages once.

The upper layer needs to respond to the ECT message if we did not have an
error generating the SUBCMD event.

Modified:
    team/rmudgett/ect/pri_facility.c

Modified: team/rmudgett/ect/pri_facility.c
URL: http://svnview.digium.com/svn/libpri/team/rmudgett/ect/pri_facility.c?view=diff&rev=1499&r1=1498&r2=1499
==============================================================================
--- team/rmudgett/ect/pri_facility.c (original)
+++ team/rmudgett/ect/pri_facility.c Wed Feb 17 13:15:33 2010
@@ -4178,8 +4178,6 @@
 		error_code = etsi_ect_execute_transfer(ctrl, call, invoke->invoke_id);
 		if (error_code != ROSE_ERROR_None) {
 			send_facility_error(ctrl, call, invoke->invoke_id, error_code);
-		} else {
-			send_facility_result_ok(ctrl, call, invoke->invoke_id);
 		}
 		break;
 	case ROSE_ETSI_ExplicitEctExecute:
@@ -4187,8 +4185,6 @@
 			invoke->args.etsi.ExplicitEctExecute.link_id);
 		if (error_code != ROSE_ERROR_None) {
 			send_facility_error(ctrl, call, invoke->invoke_id, error_code);
-		} else {
-			send_facility_result_ok(ctrl, call, invoke->invoke_id);
 		}
 		break;
 	case ROSE_ETSI_RequestSubaddress:




More information about the svn-commits mailing list