[svn-commits] moy: branch moy/mfcr2 r123827 - /team/moy/mfcr2/channels/chan_zap.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Thu Jun 19 09:14:21 CDT 2008


Author: moy
Date: Thu Jun 19 09:14:21 2008
New Revision: 123827

URL: http://svn.digium.com/view/asterisk?view=rev&rev=123827
Log:
added a bit more logging info when failing to generate the MF tone in zaptel

Modified:
    team/moy/mfcr2/channels/chan_zap.c

Modified: team/moy/mfcr2/channels/chan_zap.c
URL: http://svn.digium.com/view/asterisk/team/moy/mfcr2/channels/chan_zap.c?view=diff&rev=123827&r1=123826&r2=123827
==============================================================================
--- team/moy/mfcr2/channels/chan_zap.c (original)
+++ team/moy/mfcr2/channels/chan_zap.c Thu Jun 19 09:14:21 2008
@@ -1201,7 +1201,8 @@
 	p->dialing = 1;
 	res = ioctl(openr2_chan_get_fd(handle->r2chan), ZT_SENDTONE, &handle->signal);
 	if (-1 == res) {
-		ast_log(LOG_ERROR, "Failed to generate tone with ZT_SENDTONE: %s\n", strerror(errno));
+		ast_log(LOG_ERROR, "Failed to generate tone %X with ZT_SENDTONE in fd %d: %s\n", 
+				handle->signal, openr2_chan_get_fd(handle->r2chan), strerror(errno));
 		return -1;
 	}
 	handle->generate = 0;




More information about the svn-commits mailing list