[Asterisk-cvs] asterisk/channels chan_iax2.c,1.219,1.220

markster at lists.digium.com markster at lists.digium.com
Sun Nov 28 22:21:03 CST 2004


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

Modified Files:
	chan_iax2.c 
Log Message:
Don't seed on temponly peers


Index: chan_iax2.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_iax2.c,v
retrieving revision 1.219
retrieving revision 1.220
diff -u -d -r1.219 -r1.220
--- chan_iax2.c	23 Nov 2004 13:44:08 -0000	1.219
+++ chan_iax2.c	29 Nov 2004 03:19:55 -0000	1.220
@@ -6585,7 +6585,7 @@
 		peer->delme = 0;
 		/* Make sure these are IPv4 addresses */
 		peer->addr.sin_family = AF_INET;
-		if (!found && peer->dynamic)
+		if (!found && peer->dynamic && !temponly)
 			reg_source_db(peer);
 	}
 	if (oldha)




More information about the svn-commits mailing list