Skip to content
Snippets Groups Projects
  1. Apr 12, 2017
  2. Apr 11, 2017
    • Richard Mudgett's avatar
      stun.c: Fix ast_stun_request() erratic timeout. · 7c37365f
      Richard Mudgett authored
      If ast_stun_request() receives packets other than a STUN response then we
      could conceivably never exit if we continue to receive packets with less
      than three seconds between them.
      
      * Fix poll timeout to keep track of the time when we sent the STUN
      request.  We will now send a STUN request every three seconds regardless
      of how many other packets we receive while waiting for a response until we
      have completed three STUN request transmission cycles.
      
      Change-Id: Ib606cb08585e06eb50877f67b8d3bd385a85c266
      7c37365f
    • Richard Mudgett's avatar
      sorcery.c: Speed up ast_sorcery_retrieve_by_id() · 8d323c74
      Richard Mudgett authored
      Return early if ast_sorcery_retrieve_by_id() is not passed an id to find.
      Also eliminated the RAII_VAR() usage in the function.
      
      Change-Id: I871dbe162a301b5ced8b4393cec27180c7c6b218
      8d323c74
    • Richard Mudgett's avatar
      res_pjsip: Fix pointer use after unref. · 5b4e2ec2
      Richard Mudgett authored
      Change-Id: I4b6e1b0070563eeaee223cb58326f1b962ed5bc1
      5b4e2ec2
    • Richard Mudgett's avatar
      res_pjsip_sdp_rtp.c: Don't use deprecated transport struct member. · 6f793ac1
      Richard Mudgett authored
      * create_rtp(): Eliminate use of deprecated transport struct member.  That
      member and several others in the transport structure were deprecated
      because of an infinite loop created when using realtime configuration.
      See 2451d4e4
      
      ASTERISK-26851
      
      Change-Id: I0533aa13c9ce3c6cc394e0fd2b5bf1cd1b2ef3bc
      6f793ac1
    • Richard Mudgett's avatar
      tcptls.c: Cleanup TCP/TLS listener thread on abnormal exit. · d76bc056
      Richard Mudgett authored
      Temporarily running out of file descriptors should not terminate the
      listener thread.  Otherwise, when there becomes more file descriptors
      available, nothing is listening.
      
      * Added EMFILE exception to abnormal thread exit.
      
      * Added an abnormal TCP/TLS listener exit error message.
      
      * Closed the TCP/TLS listener socket on abnormal exit so Asterisk does not
      appear dead if something tries to connect to the socket.
      
      ASTERISK-26903 #close
      
      Change-Id: I10f2f784065136277f271159f0925927194581b5
      d76bc056
  3. Apr 08, 2017
  4. Apr 07, 2017
  5. Apr 06, 2017
  6. Apr 05, 2017
    • George Joseph's avatar
      pjproject_bundled: Add 3 upstream patches · 01e9eaf3
      George Joseph authored
      0035-r5572-svn-backport-dialog-transaction-deadlock.patch
      0036-r5573-svn-backport-ua-pjsua-transaction-deadlock.patch
      0037-r5576-svn-backport-session-timer-crash.patch
      
      Also removed the progress bar from wget download to stdout.
      
      ASTERISK-26905 #close
      Reported-by: Ross Beer
      
      Change-Id: I268fb3cf71a3bb24283ff0d24bd8b03239d81256
      01e9eaf3
    • Troy Bowman's avatar
      app_queue: Log reason for PAUSEALL/UNPAUSEALL · fac5115c
      Troy Bowman authored
      We needed the reason for our reporting when agents pause/unpause all of
      their queues at once.  This is a small, simple patch that adds a reason
      for PAUSEALL and UNPAUSEALL.  I have been using it in production for years.
      
      ASTERISK-26920 #close
      
      Change-Id: Ifb3f0d1a0abd5194253d9794023546e1395baf3d
      fac5115c
    • George Joseph's avatar
      sample_config: Add samples for pubsub to pjsip.conf.sample · 40e9d5e8
      George Joseph authored
      Added:
       * outbound-publish
       * resource_list
       * inbound-publication
       * asterisk-publication
      
      Change-Id: I65043a896c35483f30a92d30b5b118359af7ba5a
      40e9d5e8
  7. Apr 04, 2017
    • Richard Mudgett's avatar
      res_pjsip_sdp_rtp.c: Don't alter global addr variable. · f2ee8ac2
      Richard Mudgett authored
      * create_rtp(): Fix unexpected alteration of global address_rtp if a
      transport is bound to an address.
      
      * create_rtp(): Fix use of uninitialized memory if the endpoint RTP media
      address is invalid or the transport has an invalid address.
      
      ASTERISK-26851
      
      Change-Id: Icde42e65164a88913cb5c2601b285eebcff397b7
      f2ee8ac2
    • Corey Farrell's avatar
      CDR: Protect from data overflow in ast_cdr_setuserfield. · 380973cc
      Corey Farrell authored
      ast_cdr_setuserfield wrote to a fixed length field using strcpy. This could
      result in a buffer overrun when called from chan_sip or func_cdr. This patch
      adds a maximum bytes written to the field by using ast_copy_string instead.
      
      ASTERISK-26897 #close
      patches:
        0001-CDR-Protect-from-data-overflow-in-ast_cdr_setuserfie.patch submitted
          by Corey Farrell (license #5909)
      
      Change-Id: Ib23ca77e9b9e2803a450e1206af45df2d2fdf65c
      380973cc
  8. Apr 03, 2017
    • Daniel Journo's avatar
      Unused realtime MOH classes not purged on 'moh reload' · 6c3ae397
      Daniel Journo authored
      Purge Realtime MOH classes on 'moh reload' even when musiconhold.conf
      hasn't changed.
      
      ASTERISK-25974 #close
      
      Change-Id: I42c78ea76528473a656f204595956c9eedcf3246
      6c3ae397
    • Corey Farrell's avatar
      core: Improve/simplify handling of required headers. · 8e360641
      Corey Farrell authored
      * Report failures if configure finds a required header is missing.
      * Deduplicate includes between asterisk.h, astmm.h and compat.h.
      * Unconditionally include headers in compat.h if required elsewhere.
      
      Change-Id: Ie67d0185ca71fbfb81c9bdfaebe46a49e3c56dc5
      8e360641
    • Richard Mudgett's avatar
      res_pjsip: Fix transport ref leak. · a889621b
      Richard Mudgett authored
      We were leaking a transport ref in multihomed_on_rx_message() which
      resulted in the FRACK about excessive ref counts.
      
      ASTERISK-26916 #close
      
      Change-Id: I7a96658a9614a060565bb9ad51cb1c9c11ee145f
      a889621b
    • Mark Michelson's avatar
    • Alexander Traud's avatar
      chan_sip: Session Timers required but refused wrongly. · 4fc22c76
      Alexander Traud authored
      SIP user-agents indicate which protocol extensions are allowed in headers
      like Supported and Required. Such protocol extensions are Session Timers
      (RFC 4028) for example. Session Timers are supported since Mantis-10665.
      Since ASTERISK-21721, not only the first but multiple Supported/Required
      headers in a message are parsed. In that change, an existing variable was
      re-used within a newly added do-loop. Currently, at the end of that loop,
      that variable is an empty string always. Previously, that variable was used
      within log output. However, the log output was not changed.
      
      ASTERISK-26915 #close
      
      Change-Id: I09315f31b4d78fb214bb2a9fb6c0f5e143eae990
      4fc22c76
  9. Apr 01, 2017
  10. Mar 31, 2017
  11. Mar 30, 2017
Loading