[Asterisk-cvs] asterisk/channels chan_sip.c,1.305,1.306

citats at lists.digium.com citats at lists.digium.com
Tue Mar 9 12:49:59 CST 2004


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

Modified Files:
	chan_sip.c 
Log Message:
Make mess more informative if non-dynamic sip user registers (bug 1186)


Index: chan_sip.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_sip.c,v
retrieving revision 1.305
retrieving revision 1.306
diff -u -d -r1.305 -r1.306
--- chan_sip.c	5 Mar 2004 18:09:35 -0000	1.305
+++ chan_sip.c	9 Mar 2004 17:42:29 -0000	1.306
@@ -3790,7 +3790,7 @@
 #endif
 	if (peer) {
 			if (!peer->dynamic) {
-				ast_log(LOG_NOTICE, "Peer '%s' isn't dynamic\n", peer->name);
+				ast_log(LOG_NOTICE, "Peer '%s' is trying to register, but not configured as host=dynamic\n", peer->name);
 			} else {
 				p->nat = peer->nat;
 				transmit_response(p, "100 Trying", req);




More information about the svn-commits mailing list