[Asterisk-cvs] asterisk/channels chan_sip.c,1.905,1.906

markster markster
Mon Oct 31 18:46:36 CST 2005


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

Modified Files:
	chan_sip.c 
Log Message:
Only consider timeouts on realtimers (bug #5554)


Index: chan_sip.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_sip.c,v
retrieving revision 1.905
retrieving revision 1.906
diff -u -d -r1.905 -r1.906
--- chan_sip.c	31 Oct 2005 23:03:44 -0000	1.905
+++ chan_sip.c	31 Oct 2005 23:38:40 -0000	1.906
@@ -12167,7 +12167,7 @@
 		 */
 		v=v->next;
 	}
-	if (!ast_test_flag((&global_flags_page2), SIP_PAGE2_IGNOREREGEXPIRE) && ast_test_flag(peer, SIP_DYNAMIC)) {
+	if (!ast_test_flag((&global_flags_page2), SIP_PAGE2_IGNOREREGEXPIRE) && ast_test_flag(peer, SIP_DYNAMIC) && realtime) {
 		time_t nowtime;
 
 		time(&nowtime);




More information about the svn-commits mailing list