[asterisk-commits] mattf: branch 1.6.0 r126638 - in /branches/1.6.0: ./ channels/chan_dahdi.c

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


Author: mattf
Date: Mon Jun 30 15:32:37 2008
New Revision: 126638

URL: http://svn.digium.com/view/asterisk?view=rev&rev=126638
Log:
Merged revisions 126637 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/trunk

........
r126637 | mattf | 2008-06-30 15:25:46 -0500 (Mon, 30 Jun 2008) | 1 line

Add support to see MTP2 down events when the link layer drops in SS7
........

Modified:
    branches/1.6.0/   (props changed)
    branches/1.6.0/channels/chan_dahdi.c

Propchange: branches/1.6.0/
------------------------------------------------------------------------------
Binary property 'trunk-merged' - no diff available.

Modified: branches/1.6.0/channels/chan_dahdi.c
URL: http://svn.digium.com/view/asterisk/branches/1.6.0/channels/chan_dahdi.c?view=diff&rev=126638&r1=126637&r2=126638
==============================================================================
--- branches/1.6.0/channels/chan_dahdi.c (original)
+++ branches/1.6.0/channels/chan_dahdi.c Mon Jun 30 15:32:37 2008
@@ -9386,7 +9386,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