[Asterisk-cvs] asterisk/channels chan_sip.c,1.176,1.177

markster at lists.digium.com markster at lists.digium.com
Sat Sep 13 15:19:06 CDT 2003


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

Modified Files:
	chan_sip.c 
Log Message:
Add extended Matching functionality (bug #97)


Index: chan_sip.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_sip.c,v
retrieving revision 1.176
retrieving revision 1.177
diff -u -d -r1.176 -r1.177
--- chan_sip.c	11 Sep 2003 22:41:30 -0000	1.176
+++ chan_sip.c	13 Sep 2003 20:20:14 -0000	1.177
@@ -1573,7 +1573,7 @@
 		hostname++;
 	}
 	if (!username || !strlen(username) || !hostname || !strlen(hostname)) {
-		ast_log(LOG_WARNING, "Format for registration is user[:secret[:authuser]]@host[:port] at line %d", lineno);
+		ast_log(LOG_WARNING, "Format for registration is user[:secret[:authuser]]@host[:port][/contact] at line %d", lineno);
 		return -1;
 	}
 	stringp=username;
@@ -4091,6 +4091,7 @@
 			ast_cli(fd, "NAT Support:         %s\n", cur->nat ? "Yes" : "No");
 			ast_cli(fd, "Our Tag:             %08d\n", cur->tag);
 			ast_cli(fd, "Their Tag:           %s\n", cur->theirtag);
+			ast_cli(fd, "Need Destroy:        %d\n", cur->needdestroy);
 			strcpy(tmp, "");
 			if (cur->dtmfmode & SIP_DTMF_RFC2833)
 				strcat(tmp, "rfc2833 ");




More information about the svn-commits mailing list