diff options
author | Mark Spencer <markster@digium.com> | 2005-10-31 23:38:40 +0000 |
---|---|---|
committer | Mark Spencer <markster@digium.com> | 2005-10-31 23:38:40 +0000 |
commit | 4468de1bd7bb657558355165dd1e49817e31c5d0 (patch) | |
tree | 43212c43c3a0035c651bb03432287a2823775343 | |
parent | 6eaca0ad8fb80b10bae8f7728572d37e00212edb (diff) |
Only consider timeouts on realtimers (bug #5554)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6916 65c4cc65-6c06-0410-ace0-fbb531ad65f3
-rwxr-xr-x | channels/chan_sip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c index df406483c..7985d0633 100755 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -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); |