1. 14 4月, 2014 3 次提交
  2. 13 4月, 2014 1 次提交
    • Peter Olsson's avatar
      FS-6457 --resolve · 295964f0
      Peter Olsson 提交于
      Upgrade to OpenSSL 1.0.1g in Windows build (Visual Studio 2010 and 2012)
      295964f0
  3. 12 4月, 2014 7 次提交
  4. 11 4月, 2014 6 次提交
  5. 10 4月, 2014 5 次提交
  6. 09 4月, 2014 15 次提交
    • Travis Cross's avatar
      Move loop exit conditionals · b72194b7
      Travis Cross 提交于
      The net effect here is the code looks more "regular" and reads more
      linearly.
      b72194b7
    • Travis Cross's avatar
      Avoid considering more phrase actions after break · 4a8dace5
      Travis Cross 提交于
      Previously we would continue considering phrase actions even after
      receiving a break action; we would only break on the next input
      clause.  It appears the intent here was to break before the next
      action.
      4a8dace5
    • Travis Cross's avatar
      Improve comment · 75b8f3e0
      Travis Cross 提交于
      75b8f3e0
    • Travis Cross's avatar
      Consolidate two conditionals · ffc3f9bb
      Travis Cross 提交于
      If we get SWITCH_STATUS_BREAK then we didn't get
      SWITCH_STATUS_SUCCESS.
      ffc3f9bb
    • Travis Cross's avatar
      Remove variable assignment without effect · 549aba0d
      Travis Cross 提交于
      We're breaking out of the loop here anyway, so setting done to true is
      useless.
      549aba0d
    • Travis Cross's avatar
      Fix memory leak in phrase macro playback · 2ace7bc7
      Travis Cross 提交于
      We were leaking memory when break_on_match was set or when we received
      back SWITCH_STATUS_BREAK from a callee as we were failing to free
      field_expanded_alloc.
      2ace7bc7
    • Travis Cross's avatar
      Remove tautological conditional · f83d6770
      Travis Cross 提交于
      If pattern is null we're setting it to a non-null value, so this
      branch will always be taken.
      
      Use `git diff -w` or `git log -p -w` to see what's going on in this
      commit.
      f83d6770
    • Travis Cross's avatar
      Fix memory leak on memory error · 1a71cf88
      Travis Cross 提交于
      In the event of a memory error, we were trying to free a null pointer
      while leaking the allocation for field_expanded_alloc.
      1a71cf88
    • Travis Cross's avatar
      Move variables down into loop where they're used · a0b8d922
      Travis Cross 提交于
      These variables aren't used outside of this for loop, so they should
      be declared within it.
      a0b8d922
    • Anthony Minessale's avatar
      add switch_hashtable_insert_destructor so you can insert a pointer into a hash… · 4178688b
      Anthony Minessale 提交于
      add switch_hashtable_insert_destructor so you can insert a pointer into a hash with a custom destructor and use it in spandsp to fix a leak on reloadxml with the tone_descriptor tables and fix a bunch of random tiny leaks etc
      4178688b
    • Anthony Minessale's avatar
      free global pool on shutdown · d789c647
      Anthony Minessale 提交于
      d789c647
    • Anthony Minessale's avatar
      clear event queue on shutdown · 0449baca
      Anthony Minessale 提交于
      0449baca
    • Travis Cross's avatar
      Suppress spurious warning in phrase macro playback · 2d811e0b
      Travis Cross 提交于
      Prior to this commit, if anything at all went wrong in
      switch_ivr_phrase_macro_event() we would generate a warning like this:
      
        [WARNING] switch_ivr_play_say.c:348 Macro [macro_name]: 'pattern_name' did not match any patterns
      
      This is clearly misleading.  The natural thing to do on seeing that
      message is to verify that the language files are there, and that the
      pattern really does exist in that macro.  But none of that was usually
      the problem.  The message would be generated if the language wasn't
      found, or if the channel had gone away, for example.
      
      With this commit, we verify that we actually tried looking for the
      pattern before displaying the warning about the pattern not matching.
      2d811e0b
    • Travis Cross's avatar
      Avoid playback on dead channels in voicemail · 1e273e51
      Travis Cross 提交于
      For years we've been generating spurious messages like:
      
        [WARNING] switch_ivr_play_say.c:348 Macro [voicemail_ack]: 'saved' did not match any patterns
      
      This would happen when the caller hangs up during the playback of
      certain prompts in the voicemail system where we weren't checking the
      return value of vm_macro_get().  Looking closely at the log, it's
      clear we were calling down into switch_ivr_phrase_macro() long after
      the channel was gone.
      
      The message above is also misleading -- switch_ivr_phrase_macro()
      would have been able to find that pattern just fine, but it never
      actually looked because the channel was gone.  We'll clean up that
      message in a follow on commit.
      1e273e51
    • Travis Cross's avatar
      Avoid crash on event without content-type · f754057c
      Travis Cross 提交于
      If we received an event without a content-type header we were
      dereferencing a null pointer leading to a seg fault.
      Reported-by: 's avatarIco <ico@voip-io.org>
      
      ESL-90 --resolve
      f754057c
  7. 08 4月, 2014 3 次提交