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

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed May 13 13:21:48 CDT 2009


Author: jpeeler
Date: Wed May 13 13:21:44 2009
New Revision: 194355

URL: http://svn.asterisk.org/svn-view/asterisk?view=rev&rev=194355
Log:
trivial changes, switching computers

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

Modified: team/jpeeler/asterisk-sigwork-trunk/channels/chan_dahdi.c
URL: http://svn.asterisk.org/svn-view/asterisk/team/jpeeler/asterisk-sigwork-trunk/channels/chan_dahdi.c?view=diff&rev=194355&r1=194354&r2=194355
==============================================================================
--- team/jpeeler/asterisk-sigwork-trunk/channels/chan_dahdi.c (original)
+++ team/jpeeler/asterisk-sigwork-trunk/channels/chan_dahdi.c Wed May 13 13:21:44 2009
@@ -2187,6 +2187,9 @@
 
 	res = ioctl(p->subs[index].dfd, DAHDI_DIAL, &ddop);
 
+	if (res == -1)
+		ast_log(LOG_DEBUG, "DAHDI_DIALING ioctl failed on %s: %s\n", p->owner->name, strerror(errno));
+
 	return res;
 }
 

Modified: team/jpeeler/asterisk-sigwork-trunk/channels/sig_analog.c
URL: http://svn.asterisk.org/svn-view/asterisk/team/jpeeler/asterisk-sigwork-trunk/channels/sig_analog.c?view=diff&rev=194355&r1=194354&r2=194355
==============================================================================
--- team/jpeeler/asterisk-sigwork-trunk/channels/sig_analog.c (original)
+++ team/jpeeler/asterisk-sigwork-trunk/channels/sig_analog.c Wed May 13 13:21:44 2009
@@ -672,7 +672,7 @@
 	}
 	
 	if ((ast->_state != AST_STATE_DOWN) && (ast->_state != AST_STATE_RESERVED)) {
-		ast_log(LOG_WARNING, "dahdi_call called on %s, neither down nor reserved\n", ast->name);
+		ast_log(LOG_WARNING, "analog_call called on %s, neither down nor reserved\n", ast->name);
 		return -1;
 	}
 




More information about the asterisk-commits mailing list