aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xCHANGES1
-rwxr-xr-xchannels/chan_zap.c7
-rwxr-xr-xpbx/pbx_wilcalu.c1
3 files changed, 8 insertions, 1 deletions
diff --git a/CHANGES b/CHANGES
index 97583fbcd..01212e158 100755
--- a/CHANGES
+++ b/CHANGES
@@ -1,3 +1,4 @@
+ -- Add malloc debugging support
-- Add preliminary Voicetronix support
-- Add iLBC codec
Asterisk 0.4.0
diff --git a/channels/chan_zap.c b/channels/chan_zap.c
index 8db13660f..6b6980cdd 100755
--- a/channels/chan_zap.c
+++ b/channels/chan_zap.c
@@ -6154,6 +6154,13 @@ static int zap_show_channel(int fd, int argc, char **argv)
} else {
ast_cli(fd, "Actual Confinfo: Num/%d, Mode/0x%04x\n", ci.confno, ci.confmode);
}
+#ifdef ZT_GETCONFMUTE
+ if (ioctl(tmp->subs[SUB_REAL].zfd, ZT_GETCONF, &x)) {
+ ast_log(LOG_WARNING, "Failed to get confmute info on channel %d\n", tmp->channel);
+ } else {
+ ast_cli(fd, "Actual Confmute: %s\n", x ? "Yes" : "No");
+ }
+#endif
ast_pthread_mutex_unlock(&iflock);
return RESULT_SUCCESS;
}
diff --git a/pbx/pbx_wilcalu.c b/pbx/pbx_wilcalu.c
index 8995491a8..5c1e4622c 100755
--- a/pbx/pbx_wilcalu.c
+++ b/pbx/pbx_wilcalu.c
@@ -79,7 +79,6 @@ static void *autodial(void *ignore)
FD_SET(fd, &fds);
ast_select(fd + 1, &fds, NULL, NULL, NULL);
bytes=read(fd,buf,256);
- printf("Bytes: %d\n", bytes);
buf[(int)bytes]=0;
if(bytes>0){