[Asterisk-cvs] asterisk/channels chan_zap.c,1.373,1.374

markster at lists.digium.com markster at lists.digium.com
Fri Nov 5 12:08:20 CST 2004


Update of /usr/cvsroot/asterisk/channels
In directory mongoose.digium.com:/tmp/cvs-serv15936/channels

Modified Files:
	chan_zap.c 
Log Message:
Make clear that "hookstate" is only valid on FXS


Index: chan_zap.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_zap.c,v
retrieving revision 1.373
retrieving revision 1.374
diff -u -d -r1.373 -r1.374
--- chan_zap.c	3 Nov 2004 22:37:55 -0000	1.373
+++ chan_zap.c	5 Nov 2004 17:10:28 -0000	1.374
@@ -8636,7 +8636,7 @@
 				if (ioctl(tmp->subs[SUB_REAL].zfd, ZT_GET_PARAMS, &ps) < 0) {
 					ast_log(LOG_WARNING, "Failed to get parameters on channel %d\n", tmp->channel);
 				} else {
-					ast_cli(fd, "Actual Hookstate: %s\n", ps.rxisoffhook ? "Offhook" : "Onhook");
+					ast_cli(fd, "Hookstate (FXS only): %s\n", ps.rxisoffhook ? "Offhook" : "Onhook");
 				}
 			}
 			ast_mutex_unlock(lock);




More information about the svn-commits mailing list