[Asterisk-cvs] asterisk/channels chan_sip.c,1.433,1.434

markster at lists.digium.com markster at lists.digium.com
Tue Jun 29 10:58:47 CDT 2004


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

Modified Files:
	chan_sip.c 
Log Message:
Make history configurable


Index: chan_sip.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_sip.c,v
retrieving revision 1.433
retrieving revision 1.434
diff -u -d -r1.433 -r1.434
--- chan_sip.c	29 Jun 2004 14:22:27 -0000	1.433
+++ chan_sip.c	29 Jun 2004 14:44:29 -0000	1.434
@@ -8167,6 +8167,8 @@
 			}
 		} else if (!strcasecmp(v->name, "register")) {
 			sip_register(v->value, v->lineno);
+		} else if (!strcasecmp(v->name, "recordhistory")) {
+			recordhistory = ast_true(v->value);
 		} else if (!strcasecmp(v->name, "tos")) {
 			if (sscanf(v->value, "%i", &format) == 1)
 				tos = format & 0xff;




More information about the svn-commits mailing list