1. 10 9月, 2014 2 次提交
  2. 09 9月, 2014 1 次提交
    • Travis Cross's avatar
      Fix build on Debian sid/jessie · 790fa8c6
      Travis Cross 提交于
      Debian has packaged libpq version 9.4beta2.  We were parsing the minor
      version as "4beta2" and then trying to treat it as a constant integer,
      which obviously doesn't work.
      
      There's not really a perfect way to handle versions like this, so
      we'll just pretend it's 9.4.0.
      790fa8c6
  3. 08 9月, 2014 2 次提交
  4. 14 8月, 2014 1 次提交
  5. 12 8月, 2014 2 次提交
  6. 08 8月, 2014 1 次提交
  7. 05 8月, 2014 1 次提交
  8. 04 8月, 2014 1 次提交
  9. 11 7月, 2014 1 次提交
  10. 03 7月, 2014 1 次提交
  11. 30 6月, 2014 1 次提交
  12. 24 6月, 2014 2 次提交
  13. 23 6月, 2014 2 次提交
  14. 17 6月, 2014 1 次提交
  15. 16 6月, 2014 1 次提交
  16. 13 6月, 2014 1 次提交
  17. 11 6月, 2014 5 次提交
  18. 10 6月, 2014 6 次提交
    • Travis Cross's avatar
      Check for execv(3) errors when reincarnating · 0fbef4a3
      Travis Cross 提交于
      When -reincarnate-reexec is given we run execv to restart FS.  If
      argv[0] isn't a full pathname then execv is going to fail.  While not
      common for a FS system started by init, this is a common occurrence
      when FS is started from the shell.
      
      Now if execv fails, we'll try execvp.  If that fails too then we'll
      fall back on the normal reincarnation behavior.
      
      Previously what would happen in that case is god would descend from
      the heavens and become mortal.  Leaving heaven absent, all hope for
      reincarnation was lost.
      
      (That is, we'd simply return from reincarnate_protect and the
      supervisor process would become the new instance of FS, so the trick
      would only work once.)
      0fbef4a3
    • Travis Cross's avatar
      Add fsctl command to summon reincarnation · aa100232
      Travis Cross 提交于
      If you start freeswitch with -reincarnate or -reincarnate-reexec, FS
      will restart automatically in the event of an unexpected exit.
      
      Currently, you can cause FS to immediately call exit(0) with `fsctl
      shutdown now`, or you can have it call abort() with `fsctl crash`.
      Which are both nice, but if you have reincarnation engaged, you really
      might want FS to call exit([non-zero]) so the great supervisor
      immediately breathes life back into your system.
      
      This is now available via `fsctl shutdown reincarnate now`.
      aa100232
    • Travis Cross's avatar
      Improve a parameter name for fs_cli · ca0d10f2
      Travis Cross 提交于
      What we momentarily called log-uuid-chars is now better called
      log-uuid-length.  Setting log-uuid-length will specify a truncation
      length for UUIDs displayed by setting log-uuid.
      ca0d10f2
    • Travis Cross's avatar
      Add log-uuid-short option to fs_cli · 8af2469c
      Travis Cross 提交于
      If log-uuid-short is set, or -S is passed to fs_cli, we only display
      the first 8 hex digits of the UUID.  The log-uuid-chars option may
      instead be set to specify some other truncation length for the UUID.
      8af2469c
    • Travis Cross's avatar
      Convert esl_true and esl_false to functions · 9782b8bb
      Travis Cross 提交于
      Prior to this commit, an expression such as:
      
        esl_true("true") ? 42 : 0
      
      ...would return 1 rather than 42.
      9782b8bb
    • Chris Rienzo's avatar
  19. 03 6月, 2014 2 次提交
  20. 30 5月, 2014 1 次提交
  21. 28 5月, 2014 2 次提交
  22. 27 5月, 2014 2 次提交
  23. 24 5月, 2014 1 次提交
    • Travis Cross's avatar
      Avoid useless NAT log message · 75d073fc
      Travis Cross 提交于
      If FS is not behind NAT, then every call generates at least three
      INFO-level log messages:
      
        [INFO] switch_nat.c:589 NAT port mapping disabled
      
      This is useless noise.  The message is only interesting if you do have
      NAT enabled but mapping disabled, which might indicate a configuration
      issue.
      
      With this change, we just skip the entire nat_add_mapping function if
      the NAT system isn't initialized or we're not behind NAT.
      75d073fc