[Asterisk-cvs] asterisk/channels chan_sip.c,1.491,1.492

markster at lists.digium.com markster at lists.digium.com
Tue Sep 7 10:37:54 CDT 2004


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

Modified Files:
	chan_sip.c 
Log Message:
Don't attempt to qualify before we have a socket (bug #2331)


Index: chan_sip.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_sip.c,v
retrieving revision 1.491
retrieving revision 1.492
diff -u -d -r1.491 -r1.492
--- chan_sip.c	7 Sep 2004 01:25:18 -0000	1.491
+++ chan_sip.c	7 Sep 2004 14:40:34 -0000	1.492
@@ -8314,7 +8314,7 @@
 			 */
 			v=v->next;
 		}
-		if (!found && peer->dynamic)
+		if (!found && peer->dynamic && (sipsock > -1))
 			reg_source_db(peer);
 		peer->delme = 0;
 	}




More information about the svn-commits mailing list