Skip to content
Snippets Groups Projects
  1. Nov 16, 2015
    • Mark Michelson's avatar
      Confbridge: Add a user timeout option · ed137321
      Mark Michelson authored
      This option adds the ability to specify a timeout, in seconds, for a
      participant in a ConfBridge. When the user's timeout has been reached,
      the user is ejected from the conference with the CONFBRIDGE_RESULT
      channel variable set to "TIMEOUT".
      
      The rationale for this change is that there have been times where we
      have seen channels get "stuck" in ConfBridge because a network issue
      results in a SIP BYE not being received by Asterisk. While these
      channels can be hung up manually via CLI/AMI/ARI, adding some sort of
      automatic cleanup of the channels is a nice feature to have.
      
      ASTERISK-25549 #close
      Reported by Mark Michelson
      
      Change-Id: I2996b6c5e16a3dda27595f8352abad0bda9c2d98
      ed137321
  2. Nov 14, 2015
    • Joshua Colp's avatar
      hashtab: Add NULL check when destroying iterator. · a1fcf6f7
      Joshua Colp authored
      The hashtab API is pretty NULL tolerant which has resulted
      in remaining callers not doing much checks themselves.
      Unfortunately the function to destroy an iterator does not
      do a NULL check and will result in a crash if passed NULL.
      This change fixes that.
      
      ASTERISK-25552 #close
      
      Change-Id: Ic1bf8eec3639e5a440f1c941d3ae3893ac6ed619
      a1fcf6f7
  3. Nov 13, 2015
    • Mark Michelson's avatar
      Taskprocessors: Increase high-water mark · e8881e17
      Mark Michelson authored
      In practical tests, we have seen certain taskprocessors, specifically
      Stasis subscription taskprocessors, cross the recently-added high-water
      mark and emit a warning. This high-water mark warning is only intended
      to be emitted when things have tanked on the system and things are
      heading south quickly. In the practical tests, the Stasis taskprocessors
      sometimes had a max depth of 180 tasks in them, and Asterisk wasn't in
      any danger at all.
      
      As such, this ups the high-water mark to 500 tasks instead. It also
      redefines the SIP threadpool request denial number to be a multiple of
      the taskprocessor high-water mark.
      
      Change-Id: Ic8d3e9497452fecd768ac427bb6f58aa616eebce
      e8881e17
  4. Nov 12, 2015
  5. Nov 11, 2015
  6. Nov 10, 2015
  7. Nov 09, 2015
  8. Nov 06, 2015
    • Walter Doekes's avatar
      func_callerid: Document that CALLERID(pres) is available. · 7dd8f89a
      Walter Doekes authored
      CALLERPRES() says that it's deprecated in favor of CALLERID(num-pres)
      and CALLERID(name-pres).  But for channel driver that don't make a
      distinction between the two (e.g. SIP), it makes more sense to get/set
      both at once.  This change reveals the availability of CALLERID(pres),
      CONNECTEDLINE(pres), REDIRECTING(orig-pres), REDIRECTING(to-pres) and
      REDIRECTING(from-pres).
      
      ASTERISK-25373 #close
      
      Change-Id: I5614ae4ab7d3bbe9c791c1adf147e10de8698d7a
      7dd8f89a
    • Walter Doekes's avatar
      docs: Fix a few typo's in app docs (more then, resourse). · 39daf9f0
      Walter Doekes authored
      Change-Id: Iba57efadf6c0b822e762c7a001bc89611d98afd7
      39daf9f0
    • George Joseph's avatar
      dns: Use ntohl for ans->ttl in dns_parse_answer_ex · d82a4b09
      George Joseph authored
      dns_parse_answer_ex was not converting ans->ttl from network
      by order to host byte order which was causing certain ttls
      it to go negative. In turn this was causing answer edit checks
      to fail.
      
      ASTERISK-25528 #close
      Reported-by: Daniel Tryba
      Tested-by: George Joseph
      
      Change-Id: I31505132d6321c46d2f39fd06c20ee808a864037
      d82a4b09
    • Walter Doekes's avatar
      xmldoc: Improve xmldoc wrapping of 'core show ...' output. · 74e73333
      Walter Doekes authored
      Previously, the wrapping did both lookahead and lookback, which,
      together with color escape sequences, caused some lines to be wrapped
      way earlier than other lines.  This led to inconsistent output.
      
      This simplifies the wrapping code and makes it more sane: if maxcolumns
      is hit, we simply jump back to the last space and wrap there.
      
      ASTERISK-25527 #close
      
      Change-Id: I56d01c6f9a812642b1b05535c98d4db48d17c957
      74e73333
    • Alexander Traud's avatar
      res_pjsip_sdp_rtp: Enable Opus to be negotiated via SIP/SDP. · 9d6e9173
      Alexander Traud authored
      In SIP/SDP, Opus has two channels always (see RFC 7587 section 7). The actual
      amount of channels is negotiated in-band. Therefore now, the Opus codec and its
      attribute rtpmap are registered with two channels.
      
      ASTERISK-24779 #close
      Reported by: PowerPBX
      Tested by: Alexander Traud
      patches:
        asterisk-24779.patch submitted by Sean Bright (license #5060)
      
      Change-Id: Ic7ac13cafa1d3450b4fa4987350924b42cbb657b
      9d6e9173
  9. Nov 05, 2015
    • Jonathan Rose's avatar
      taskprocessor: Add high water mark warnings · a2c2a8e1
      Jonathan Rose authored
      If a taskprocessor's queue grows large, this can indicate that there
      may be a problem with tasks not leaving the processor or else that
      the number of available task processors for a given type of task is
      too low. This patch makes it so that if a taskprocessor's task queue
      grows above 100 queued tasks that it will emit a warning message.
      Warning messages are emitted only once per task processor.
      
      ASTERISK-25518 #close
      Reported by: Jonathan Rose
      
      Change-Id: Ib1607c35d18c1d6a0575b3f0e3ff5d932fd6600c
      a2c2a8e1
    • Corey Farrell's avatar
      Increase account code maximum length to 80. · cd5ae028
      Corey Farrell authored
      This increases the maximum length of account code's to match
      extensions.  This ensures it is always possible to set an
      accountcode to ${EXTEN} without truncation.
      
      ASTERISK-23904
      Reported by: Ben Merrills
      
      Change-Id: If122602304ce03362722eb213a3111b32da5eeb9
      cd5ae028
  10. Nov 04, 2015
    • Joshua Colp's avatar
      f12ebe35
    • tcambron's avatar
      StatsD: Add res_statsd compatibility · 379c0410
      tcambron authored
      Added a new api to res_statsd.c to allow it to receive a
      character pointer for the value argument. This allows for a
      '+' and a '-' to easily be sent with the value.
      
      ASTERISK-25419
      Reported By: Ashley Sanders
      
      Change-Id: Id6bb53600943d27347d2bcae26c0bd5643567611
      379c0410
    • Matt Jordan's avatar
      main/dial: Protect access to the format_cap structure of the requesting channel · 9c293b51
      Matt Jordan authored
      When a dial attempt is made that involves a requesting channel, we previously
      were not:
      a) Protecting access to the native format capabilities structure on the
         requesting channel. That is inherently unsafe.
      b) Reference bumping the lifetime of the format capabilities structure.
      
      In both cases, something else could sneak in, blow away the format
      capabilities, and we'd be holding onto an invalid format_cap structure. When
      the newly created channel attempts to construct its format capabilities, things
      go poorly.
      
      This patch:
      a) Ensures that we get a reference to the native format capabilities while
         the requesting channel is locked
      b) Holds a reference to the native format capabilities during the creation
         of the new channel.
      
      ASTERISK-25522 #close
      
      Change-Id: I0bfb7ba8b9711f4158cbeaae96edf9626e88a54f
      9c293b51
    • Corey Farrell's avatar
      Fix cli display of build options. · b0bf1899
      Corey Farrell authored
      A previous commit reduced the AST_BUILDOPTS compiler define to
      only include options that affected ABI.  This included some options
      that were previously displayed by cli "core show settings".  This
      change corrects the CLI display while still restricting buildopts.h
      to ABI effecting options only.
      
      ASTERISK-25434 #close
      Reported by: Rusty Newton
      
      Change-Id: Id07af6bedd1d7d325878023e403fbd9d3607e325
      b0bf1899
    • Matt Jordan's avatar
    • Matt Jordan's avatar
  11. Nov 03, 2015
    • Matt Jordan's avatar
      pjsip_configuration: On delete, remove the persistent version of an endpoint · 63e02b45
      Matt Jordan authored
      When an endpoint is deleted (such as through an API), the persistent endpoint
      currently continues to lurk around. While this isn't harmful from a memory
      consumption perspective - as all persistent endpoints are reclaimed on
      shutdown - it does cause Stasis endpoint related operations to continue
      to believe that the endpoint may or may not exist.
      
      This patch causes the persistent endpoint related to a PJSIP endpoint to be
      destroyed if the PJSIP endpoint is deleted.
      
      Change-Id: I85ac707b4d5e6aad882ac275b0c2e2154affa5bb
      63e02b45
Loading