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

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed May 13 18:05:17 CDT 2009


Author: jpeeler
Date: Wed May 13 18:05:12 2009
New Revision: 194426

URL: http://svn.asterisk.org/svn-view/asterisk?view=rev&rev=194426
Log:
some log message fixes

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=194426&r1=194425&r2=194426
==============================================================================
--- team/jpeeler/asterisk-sigwork-trunk/channels/chan_dahdi.c (original)
+++ team/jpeeler/asterisk-sigwork-trunk/channels/chan_dahdi.c Wed May 13 18:05:12 2009
@@ -1784,7 +1784,7 @@
 				int res;
 
 				if ((res = ioctl(p->subs[idx].dfd, DAHDI_SET_BUFINFO, &bi)) < 0) {
-					ast_log(LOG_WARNING, "Channel '%s' unable to set faxbuffer policy, reason: %s\n", ast->name, strerror(errno));
+					ast_log(LOG_WARNING, "Channel '%s' unable to set buffer policy, reason: %s\n", ast->name, strerror(errno));
 				} else {
 					p->bufferoverrideinuse = 1;
 				}
@@ -2188,7 +2188,7 @@
 	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));
+		ast_log(LOG_DEBUG, "DAHDI_DIAL ioctl failed on %s: %s\n", p->owner->name, strerror(errno));
 
 	return res;
 }
@@ -5268,7 +5268,7 @@
 			int bpres;
 
 			if ((bpres = ioctl(p->subs[SUB_REAL].dfd, DAHDI_SET_BUFINFO, &bi)) < 0) {
-				ast_log(LOG_WARNING, "Channel '%s' unable to revert faxbuffer policy: %s\n", ast->name, strerror(errno));
+				ast_log(LOG_WARNING, "Channel '%s' unable to revert buffer policy: %s\n", ast->name, strerror(errno));
 			}
 			p->bufferoverrideinuse = 0;	
 		}
@@ -5444,7 +5444,7 @@
 			int bpres;
 
 			if ((bpres = ioctl(p->subs[SUB_REAL].dfd, DAHDI_SET_BUFINFO, &bi)) < 0) {
-				ast_log(LOG_WARNING, "Channel '%s' unable to revert faxbuffer policy: %s\n", ast->name, strerror(errno));
+				ast_log(LOG_WARNING, "Channel '%s' unable to revert buffer policy: %s\n", ast->name, strerror(errno));
 			}
 			p->bufferoverrideinuse = 0;	
 		}
@@ -6697,7 +6697,7 @@
 				int res;
 
 				if ((res = ioctl(p->subs[idx].dfd, DAHDI_SET_BUFINFO, &bi)) < 0) {
-					ast_log(LOG_WARNING, "Channel '%s' unable to set faxbuffer policy, reason: %s\n", ast->name, strerror(errno));
+					ast_log(LOG_WARNING, "Channel '%s' unable to set buffer policy, reason: %s\n", ast->name, strerror(errno));
 				} else {
 					p->bufferoverrideinuse = 1;
 				}

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=194426&r1=194425&r2=194426
==============================================================================
--- team/jpeeler/asterisk-sigwork-trunk/channels/sig_analog.c (original)
+++ team/jpeeler/asterisk-sigwork-trunk/channels/sig_analog.c Wed May 13 18:05:12 2009
@@ -3179,6 +3179,9 @@
 	/* Sub real is assumed to always be alloc'd */
 	p->subs[ANALOG_SUB_REAL].allocd = 1;
 
+	/* jpeeler */
+	analog_dsp_set_digitmode(p, ANALOG_DIGITMODE_DTMF);
+
 	return p;
 }
 




More information about the asterisk-commits mailing list