[asterisk-commits] rmudgett: branch rmudgett/dahdi_ccss r241174 - /team/rmudgett/dahdi_ccss/chan...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Jan 18 17:23:50 CST 2010


Author: rmudgett
Date: Mon Jan 18 17:23:46 2010
New Revision: 241174

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=241174
Log:
Store the PRI specific CCSS options in the sig_pri_pri struct when loading the configuration.

Modified:
    team/rmudgett/dahdi_ccss/channels/sig_pri.c

Modified: team/rmudgett/dahdi_ccss/channels/sig_pri.c
URL: http://svnview.digium.com/svn/asterisk/team/rmudgett/dahdi_ccss/channels/sig_pri.c?view=diff&rev=241174&r1=241173&r2=241174
==============================================================================
--- team/rmudgett/dahdi_ccss/channels/sig_pri.c (original)
+++ team/rmudgett/dahdi_ccss/channels/sig_pri.c Mon Jan 18 17:23:46 2010
@@ -2005,14 +2005,16 @@
 					"ISDN far end accepted CC request");
 				break;
 			case 1:/* timeout */
-				ast_verb(2, "%s CC request timeout\n", sig_pri_cc_type_name);
+				ast_verb(2, "core_id:%d %s CC request timeout\n", monitor->core_id,
+					sig_pri_cc_type_name);
 				ao2_unlink(sig_pri_cc_monitors, monitor);
 				monitor->cc_id = -1;
 				ast_cc_monitor_failed(monitor->core_id, monitor->name,
 					sig_pri_cc_type_name);
 				break;
 			case 2:/* error */
-				ast_verb(2, "%s CC request error: %s\n", sig_pri_cc_type_name,
+				ast_verb(2, "core_id:%d %s CC request error: %s\n", monitor->core_id,
+					sig_pri_cc_type_name,
 					pri_facility_error2str(subcmd->u.cc_request_rsp.fail_code));
 				ao2_unlink(sig_pri_cc_monitors, monitor);
 				monitor->cc_id = -1;
@@ -2020,7 +2022,8 @@
 					sig_pri_cc_type_name);
 				break;
 			case 3:/* reject */
-				ast_verb(2, "%s CC request reject: %s\n", sig_pri_cc_type_name,
+				ast_verb(2, "core_id:%d %s CC request reject: %s\n", monitor->core_id,
+					sig_pri_cc_type_name,
 					pri_facility_reject2str(subcmd->u.cc_request_rsp.fail_code));
 				ao2_unlink(sig_pri_cc_monitors, monitor);
 				monitor->cc_id = -1;
@@ -2028,6 +2031,9 @@
 					sig_pri_cc_type_name);
 				break;
 			default:
+				ast_verb(2, "core_id:%d %s CC request unknown status %d\n",
+					monitor->core_id, sig_pri_cc_type_name,
+					subcmd->u.cc_request_rsp.status);
 				ao2_unlink(sig_pri_cc_monitors, monitor);
 				monitor->cc_id = -1;
 				ast_cc_monitor_failed(monitor->core_id, monitor->name,




More information about the asterisk-commits mailing list