]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-3774 --resolve
authorAnthony Minessale <anthm@freeswitch.org>
Tue, 10 Apr 2012 21:19:23 +0000 (16:19 -0500)
committerAnthony Minessale <anthm@freeswitch.org>
Tue, 10 Apr 2012 21:19:23 +0000 (16:19 -0500)
libs/sofia-sip/.update
libs/sofia-sip/libsofia-sip-ua/nua/nua_client.c

index 4c9b84cadf30d8a16344eac7b10d11b22e9bdce5..cf78cb49ef3892db7ca9a4bf4f74b5c6a8b0f59a 100644 (file)
@@ -1 +1 @@
-Wed Apr  4 16:17:37 CDT 2012
+Tue Apr 10 16:19:10 CDT 2012
index 1a3614c6a12bbf64ffd991d48ad92393b54ab988..e7ec9fb8902c95c333e4f0ca5733e21e706bfb42 100644 (file)
@@ -1212,10 +1212,12 @@ int nua_base_client_check_restart(nua_client_request_t *cr,
       return 1;
     }
   }
-
-  if (0 && 500 <= status && status < 600 &&
+  /* GriGiu : RFC-3261 status supported Retry-After */
+  if ( (status == 404 || status == 413 || status == 480 || status == 486 ||
+          status == 500 || status == 503 ||
+          status == 600 || status == 603) &&
       sip->sip_retry_after &&
-      sip->sip_retry_after->af_delta < 32) {
+      sip->sip_retry_after->af_delta < 3200) {
     su_timer_t *timer;
     char phrase[18];           /* Retry After XXXX\0 */