Skip to content
Snippets Groups Projects
  1. Jan 16, 2016
  2. Jan 15, 2016
    • Kevin Harwell's avatar
      bridge_basic: don't cache xferfailsound during an attended transfer · a5b38b60
      Kevin Harwell authored
      The xferfailsound was read from the channel at the beginning of the transfer,
      and that value is "cached" for the duration of the transfer. Therefore, changing
      the xferfailsound on the channel using the FEATURE() dialplan function does
      nothing once the transfer is under way.
      
      This makes it so the transfer code instead gets the xferfailsound configuration
      options from the channel when it is actually going to be used.
      
      This patch also fixes a potential memory leak of the props object as well as
      making sure the condition variable gets initialized before being destroyed.
      
      ASTERISK-25696 #close
      
      Change-Id: Ic726b0f54ef588bd9c9c67f4b0e4d787934f85e4
      a5b38b60
    • Richard Mudgett's avatar
      taskprocessor.c: Simplify ast_taskprocessor_get() return code. · d36c4d0b
      Richard Mudgett authored
      Change-Id: Id5bd18ef1f60ef8be453e677e98478298358a9d1
      d36c4d0b
    • Richard Mudgett's avatar
      astmm.c: Add more stats to CLI "memory show" commands. · 0a878020
      Richard Mudgett authored
      * Add freed regions totals to allocations and summary.
      
      * Add totals for all allocations and not just the selected allocations.
      
      Change-Id: I61d5a5112617b0733097f2545a3006a344b4032a
      0a878020
  3. Jan 14, 2016
  4. Jan 13, 2016
    • Daniel Journo's avatar
      pjsip: Add option global/regcontext · 8182146e
      Daniel Journo authored
      Added new global option (regcontext) to pjsip. When set, Asterisk will
      dynamically create and destroy a NoOp priority 1 extension
      for a given endpoint who registers or unregisters with us.
      
      ASTERISK-25670 #close
      Reported-by: Daniel Journo
      
      Change-Id: Ib1530c5b45340625805c057f8ff1fb240a43ea62
      8182146e
    • Joshua Colp's avatar
      app: Queue hangup if channel is hung up during sub or macro execution. · 022423b9
      Joshua Colp authored
      This issue was exposed when executing a connected line subroutine.
      When connected or redirected subroutines or macros are executed it is
      expected that the underlying applications and logic invoked are fast
      and do not consume frames. In practice this constraint is not enforced
      and if not adhered to will cause channels to continue when they shouldn't.
      This is because each caller of the connected or redirected logic does not
      check whether the channel has been hung up on return. As a result the
      the hung up channel continues.
      
      This change makes it so when the API to execute a subroutine or
      macro is invoked the channel is checked to determine if it has hung up.
      If it has then a hangup is queued again so the caller will see it
      and stop.
      
      ASTERISK-25690 #close
      
      Change-Id: I1f9a8ceb1487df0389f0d346ce0f6dcbcaf476ea
      022423b9
    • Mark Michelson's avatar
    • Sean Bright's avatar
      res_musiconhold: Prevent multiple simultaneous reloads. · 79a7321a
      Sean Bright authored
      There are two ways in which the reload() function in res_musiconhold can be
      called from the CLI:
      
        * module reload res_musiconhold.so
        * moh reload
      
      In the former case, the module loader holds a lock that prevents multiple
      concurrent calls, but in the latter there is no such protection.
      
      This patch changes the 'moh reload' CLI command to invoke the module loader
      directly, rather than call reload() explicitly.
      
      ASTERISK-25687 #close
      
      Change-Id: I408968b4c8932864411b7f9ad88cfdc7b9ba711c
      79a7321a
    • Richard Mudgett's avatar
      res_pjsip_log_forwarder.c: Add CLI "pjsip show buildopts". · 1fffe71f
      Richard Mudgett authored
      PJPROJECT has a function available to dump the compile time
      options used when building the library.
      
      * Add CLI "pjsip show buildopts" command.
      
      * Update contrib/scripts/autosupport to get pjproject information.
      
      Change-Id: Id93a6a916d765b2a2e5a1aeb54caaf83206be748
      1fffe71f
    • Joshua Colp's avatar
  5. Jan 12, 2016
  6. Jan 11, 2016
  7. Jan 10, 2016
    • Corey Farrell's avatar
      devicestate: Cleanup engine thread during graceful shutdown. · e9c2c1dc
      Corey Farrell authored
      ASTERISK-25681 #close
      
      Change-Id: I64337c70f0ebd8c77f70792042684607c950c8f1
      e9c2c1dc
    • Corey Farrell's avatar
      manager: Cleanup manager_channelvars during shutdown. · 90c0dcae
      Corey Farrell authored
      ASTERISK-25680 #close
      
      Change-Id: I3251d781cbc3f48a6a7e1b969ac4983f552b2446
      90c0dcae
    • Corey Farrell's avatar
      res_calendar: Cleanup scheduler context at unload. · a868a381
      Corey Farrell authored
      ASTERISK-25679 #close
      
      Change-Id: I839159bf6882cccc1b23494c7aa2bc2a2624613f
      a868a381
    • Joshua Colp's avatar
      res_rtp_asterisk: Revert DTLS negotiation changes. · a1c43022
      Joshua Colp authored
      Due to locking issues within pjnath these changes are being
      reverted until pjnath can be changed.
      
      ASTERISK-25645
      
      Revert "res_rtp_asterisk.c: Fix DTLS negotiation delays."
      
      This reverts commit 24ae124e.
      
      Change-Id: I2986cfb2c43dc14455c1bcaf92c3804f9da49705
      
      Revert "res_rtp_asterisk: Resolve further timing issues with DTLS negotiation"
      
      This reverts commit 965a0eee.
      
      Change-Id: Ie68fafde27dad4b03cb7a1e27ce2a8502c3f7bbe
      a1c43022
    • George Joseph's avatar
      Revert "pjsip_location: Delete contact_status object when contact is deleted" · 220ba979
      George Joseph authored
      This reverts commit 0a9941de.
      
      Matt,
      
      This patch causes another problem and should not have been needed.
      Before this patch, persistent_endpoint_contact_deleted_observer WAS
      deleting the contact_status when ast_sip_location_delete_contact was
      called.  By deleting it yourself in ast_sip_location_delete_contact
      it was gone before the observer could run and the observer therefore
      was throwing an error and not sending stasis/AMI/statsd messages.
      
      So, I don't think this was the cause of your original issue.  I also
      had verified the contact AMI and statsd lifecycle and it was working.
      I'll double check now though.
      
      ASTERISK-25675
      Reported-by: Daniel Journo
      
      Change-Id: Ib586a6b7f90acb641b0c410f659743ab90e84f1a
      220ba979
    • Corey Farrell's avatar
      pbx_dundi: Run cleanup on failed load. · 26e0e113
      Corey Farrell authored
      During failed startup of pbx_dundi no cleanup was performed.  Add a call
      to unload_module before returning AST_MODULE_LOAD_DECLINE.
      
      ASTERISK-25677 #close
      
      Change-Id: I8ffa226fda4365ee7068ac1f464473f1a4ebbb29
      26e0e113
  8. Jan 09, 2016
    • Corey Farrell's avatar
      res_crypto: Perform cleanup at shutdown. · dc2c000f
      Corey Farrell authored
      This change causes res_crypto to unregister CLI at shutdown while still
      preventing the module from being unloaded.
      
      ASTERISK-25673 #close
      
      Change-Id: Ie5d57338dc2752abfc0dd05d0eec86413f2304fc
      dc2c000f
Loading