[asterisk-commits] mattf: trunk r64384 - /trunk/channels/chan_zap.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Mon May 14 15:25:57 MST 2007


Author: mattf
Date: Mon May 14 17:25:56 2007
New Revision: 64384

URL: http://svn.digium.com/view/asterisk?view=rev&rev=64384
Log:
Add codec G.722 support.

Modified:
    trunk/channels/chan_zap.c

Modified: trunk/channels/chan_zap.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_zap.c?view=diff&rev=64384&r1=64383&r2=64384
==============================================================================
--- trunk/channels/chan_zap.c (original)
+++ trunk/channels/chan_zap.c Mon May 14 17:25:56 2007
@@ -8619,9 +8619,10 @@
 		while ((e = ss7_check_event(ss7))) {
 			switch (e->e) {
 			case SS7_EVENT_UP:
-				ast_verbose("--- SS7 Up ---\n");
-				if (linkset->state != LINKSET_STATE_UP)
+				if (linkset->state != LINKSET_STATE_UP) {
+					ast_verbose("--- SS7 Up ---\n");
 					ss7_reset_linkset(linkset);
+				}
 				linkset->state = LINKSET_STATE_UP;
 				break;
 			case SS7_EVENT_DOWN:



More information about the asterisk-commits mailing list