[asterisk-commits] jpeeler: branch jpeeler/asterisk-sigwork-trunk r201530 - /team/jpeeler/asteri...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Jun 17 16:05:01 CDT 2009


Author: jpeeler
Date: Wed Jun 17 16:04:48 2009
New Revision: 201530

URL: http://svn.asterisk.org/svn-view/asterisk?view=rev&rev=201530
Log:
adjust log message to report fd instead of dchannel, since the info is not currently available in sig_pri

Modified:
    team/jpeeler/asterisk-sigwork-trunk/channels/sig_pri.c

Modified: team/jpeeler/asterisk-sigwork-trunk/channels/sig_pri.c
URL: http://svn.asterisk.org/svn-view/asterisk/team/jpeeler/asterisk-sigwork-trunk/channels/sig_pri.c?view=diff&rev=201530&r1=201529&r2=201530
==============================================================================
--- team/jpeeler/asterisk-sigwork-trunk/channels/sig_pri.c (original)
+++ team/jpeeler/asterisk-sigwork-trunk/channels/sig_pri.c Wed Jun 17 16:04:48 2009
@@ -224,11 +224,9 @@
 			ast_log(LOG_WARNING, "No D-channels available!  Using Primary channel as D-channel anyway!\n");
 		}
 	}
-#if 0
 	if (old && (oldslot != newslot))
-		ast_log(LOG_NOTICE, "Switching from from d-channel %d to channel %d!\n",
-			pri->dchannels[oldslot], pri->dchannels[newslot]);
-#endif
+		ast_log(LOG_NOTICE, "Switching from d-channel fd %d to fd %d!\n",
+			pri->fds[oldslot], pri->fds[newslot]);
 	pri->pri = pri->dchans[newslot];
 	return 0;
 }




More information about the asterisk-commits mailing list