summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRussell Bryant <russell@russellbryant.com>2008-05-08 16:14:08 +0000
committerRussell Bryant <russell@russellbryant.com>2008-05-08 16:14:08 +0000
commitc02cf176e134ea05a705a6a7ca6cf27317bcf1cd (patch)
treeee375575d5f9545c7ecbe5f348cc91a27d649cc6
parent44bf50567ffe82b4318a93c62b07adb2f60c95f0 (diff)
Merged revisions 115561 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r115561 | russell | 2008-05-08 11:11:33 -0500 (Thu, 08 May 2008) | 3 lines Don't give up on attempting an outbound registration if we receive a 408 Timeout. (closes issue #12323) ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@115562 65c4cc65-6c06-0410-ace0-fbb531ad65f3
-rw-r--r--channels/chan_sip.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index fa6938f3f..f7941c86f 100644
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -15970,8 +15970,6 @@ static int handle_response_register(struct sip_pvt *p, int resp, char *rest, str
}
break;
case 408: /* Request timeout */
- if (global_regattempts_max)
- p->registry->regattempts = global_regattempts_max+1;
p->needdestroy = 1;
if (r->call)
r->call = dialog_unref(r->call, "unsetting registry->call pointer-- case 408");