[asterisk-commits] mattf: trunk r126637 - /trunk/channels/chan_dahdi.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Jun 30 15:25:46 CDT 2008


Author: mattf
Date: Mon Jun 30 15:25:46 2008
New Revision: 126637

URL: http://svn.digium.com/view/asterisk?view=rev&rev=126637
Log:
Add support to see MTP2 down events when the link layer drops in SS7

Modified:
    trunk/channels/chan_dahdi.c

Modified: trunk/channels/chan_dahdi.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_dahdi.c?view=diff&rev=126637&r1=126636&r2=126637
==============================================================================
--- trunk/channels/chan_dahdi.c (original)
+++ trunk/channels/chan_dahdi.c Mon Jun 30 15:25:46 2008
@@ -9545,7 +9545,10 @@
 				}
 				break;
 			case MTP2_LINK_UP:
-				ast_debug(1, "MTP2 link up\n");
+				ast_verbose("MTP2 link up (SLC %d)\n", e->gen.data);
+				break;
+			case MTP2_LINK_DOWN:
+				ast_log(LOG_WARNING, "MTP2 link down (SLC %d)\n", e->gen.data);
 				break;
 			case ISUP_EVENT_CPG:
 				chanpos = ss7_find_cic(linkset, e->cpg.cic, e->cpg.opc);




More information about the asterisk-commits mailing list