[asterisk-commits] russell: branch 1.4 r115561 - /branches/1.4/channels/chan_sip.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu May 8 11:11:33 CDT 2008


Author: russell
Date: Thu May  8 11:11:33 2008
New Revision: 115561

URL: http://svn.digium.com/view/asterisk?view=rev&rev=115561
Log:
Don't give up on attempting an outbound registration if we receive a 408 Timeout.
(closes issue #12323)

Modified:
    branches/1.4/channels/chan_sip.c

Modified: branches/1.4/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/channels/chan_sip.c?view=diff&rev=115561&r1=115560&r2=115561
==============================================================================
--- branches/1.4/channels/chan_sip.c (original)
+++ branches/1.4/channels/chan_sip.c Thu May  8 11:11:33 2008
@@ -12544,8 +12544,6 @@
 		}
 		break;
 	case 408:	/* Request timeout */
-		if (global_regattempts_max)
-			p->registry->regattempts = global_regattempts_max+1;
 		ast_set_flag(&p->flags[0], SIP_NEEDDESTROY);	
 		r->call = NULL;
 		AST_SCHED_DEL(sched, r->timeout);




More information about the asterisk-commits mailing list