mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-05 12:16:00 +00:00
Only consider timeouts on realtimers (bug #5554)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6916 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -12167,7 +12167,7 @@ static struct sip_peer *build_peer(const char *name, struct ast_variable *v, int
|
||||
*/
|
||||
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);
|
||||
|
Reference in New Issue
Block a user