Uploaded image for project: 'FreeSWITCH'
  1. FreeSWITCH
  2. FS-5751

gateway stop register for long time after receiving a "Request Timeout [408]"

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: No Reporter Response
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: mod_sofia
    • Labels:
      None
    • CPU Architecture:
      x86-64
    • Kernel:
      Linux
    • Userland:
      GNU/Linux
    • Compiler:
      gcc
    • FreeSWITCH GIT Revision:
      4eee5ae
    • GIT Master Revision hash::
      yes
    • Target Version:

      Description

      After multiple failures registering a gateway, all tries between 30sec, after receiving a SIP/408 the time increase to a huge number of seconds (20730)... making the gateway wait multiple hours until it try to register again..

      Attaching the log.

      In sofia_reg.c i see what makes the time of retrying increase:

      if (gateway_ptr->failure_status == 503 || gateway_ptr->failure_status == 908 || gateway_ptr->failures < 1) {
      sec = gateway_ptr->retry_seconds;
      } else {
      sec = gateway_ptr->retry_seconds * gateway_ptr->failures;
      }

      Hope it helps to solve this issue.


      Thanks,
      António

        Attachments

          Activity

            People

            • Assignee:
              mikej Mike Jerris
              Reporter:
              antonio Antonio
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: