Skip to content
Snippets Groups Projects
  1. Aug 10, 2017
  2. Aug 09, 2017
  3. Aug 08, 2017
    • George Joseph's avatar
      Make --with-pjproject-bundled the default for Asterisk 15 · 305bd0d9
      George Joseph authored
      '--with-pjproject-bundled' is now the default when running
      ./configure. It can be disabled with '--without-pjproject-bundled'.
      
      To make building without an internet connection easier, a new
      ./configure option '--with-download-cache' was added that sets
      the cache for externals (like pjproject, the codecs and the DPMA),
      AND the sounds files.  It can also be specified as an environment
      variable named "AST_DOWNLOAD_CACHE".  The existing
      '--with-sounds-cache' option / SOUNDS_CACHE_DIR env variable and
      '--with-externals-cache' option / EXTERNALS_CACHE_DIR env variable
      remain and if specified, will override '--with-downloads-cache'.
      
      ASTERISK-27189
      
      Change-Id: Ifa9783fddf44aafadb060c9feba713dfa81d38ce
      305bd0d9
    • Joshua Colp's avatar
      res_pjsip_session: Release media resources on session end quicker. · 62092bc1
      Joshua Colp authored
      A change was made long ago where the session was kept around
      until the underlying INVITE session had been destroyed. This
      had the side effect of also keeping the underlying media resources
      around for this time as well.
      
      This change ensures that when we are told to terminate the
      session we immediately release any media sessions associated
      with it.
      
      ASTERISK-27110
      
      Change-Id: I643e431d5c3bf05cda220c1d39e824a505a29b82
      62092bc1
  4. Aug 07, 2017
  5. Aug 06, 2017
    • Joshua Colp's avatar
      bridge: Fix stream topology/participant locking and video misrouting. · 88c65f7c
      Joshua Colp authored
      This change fixes a few locking issues and some video misrouting.
      
      1. When accessing the stream topology of a channel the channel lock
      must be held to guarantee the topology remains valid.
      
      2. When a channel was joined to a bridge the bridge specific
      implementation for stream mapping was not invoked, causing video
      to be misrouted for a brief period of time.
      
      ASTERISK-27182
      
      Change-Id: I5d2f779248b84d41c5bb3896bf22ba324b336b03
      88c65f7c
  6. Aug 05, 2017
  7. Aug 04, 2017
  8. Aug 03, 2017
    • Richard Mudgett's avatar
      res_pjsip_transport_websocket.c: Fix serializer ref leak. · 842e1414
      Richard Mudgett authored
      Change-Id: Ib5a19bfd597f63d9021baeb645fc11153b3afa57
      842e1414
    • Richard Mudgett's avatar
      res_pjsip_outbound_registration.c: Misc fixes. · 615b6a20
      Richard Mudgett authored
      * Remove unnecessary CMP_STOP.
      
      * In handle_client_registration() use DEBUG_ATLEAST() to only do work
      needed for the debug log message when the debug log message is needed.
      
      * In sip_outbound_registration_state_destroy() check state->registration
      for NULL.
      
      Change-Id: I656d0fa11dda0b00048103efb1558e67a426fd80
      615b6a20
    • Richard Mudgett's avatar
      res_pjsip_nat.c: Remove unnecessary CMP_STOP. · 564927c5
      Richard Mudgett authored
      Change-Id: I6279b0d723bc3b75b8d65e81e02da9ea9bc0c3da
      564927c5
    • Richard Mudgett's avatar
      res_pjsip_registrar.c: Remove unnecessary CMP_STOP. · 5655cded
      Richard Mudgett authored
      Most uses of CMP_STOP are superfluous and are only respected when
      OBJ_MULTIPLE is used to search the container.
      
      Change-Id: I20571a202ec0aa1098bb2749eeba18de7ca110b8
      5655cded
    • Tzafrir Cohen's avatar
      Support GMIME 3.0 · 123c93a7
      Tzafrir Cohen authored
      Support building the Asterisk httpd with version 3.0 of gmime as
      well as earlier versions of that library.
      
      ASTERISK-27173
      
      Change-Id: I7e13dd05a3083ccb0df2dabf83110223f6a9fa8f
      123c93a7
    • Kevin Harwell's avatar
      alembic/res_pjsip: Add "webrtc" configuration option · 521b6fed
      Kevin Harwell authored
      When the "webrtc" option was added in res_pjsip it was not added to the alembic
      scripts. This patch adds the option for alembic.
      
      Also, changed the sorcery configuration type to an OPT_YESNO_T value instead of
      an OPT_BOOL_T so if this field is ever written to a database it will write out
      the correct value.
      
      ASTERISK-27119 #close
      
      Change-Id: I3e199f060aea25e193c439fc5cf96be4d3ed1c7b
      521b6fed
    • kkm's avatar
      chan_sip: Add dialplan function SIP_HEADERS · 4c0798e9
      kkm authored
      Syntax: SIP_HEADERS([prefix])
      
      If the argument is specified, only the headers matching the given prefix
      are returned.
      
      The function returns a comma-separated list of SIP header names from an
      incoming INVITE message. Multiple headers with the same name are included
      in the list only once. The returned list can be iterated over using the
      functions POP() and SIP_HEADER().
      
      For example, '${SIP_HEADERS(Co)}' might return the string
      'Contact,Content-Length,Content-Type'.
      
      Practical use is rather '${SIP_HEADERS(X-)}' to enumerate optional
      extended headers sent by a peer.
      
      ASTERISK-27163
      
      Change-Id: I2076d3893d03a2f82429f393b5b46db6cf68a267
      4c0798e9
  9. Aug 02, 2017
  10. Aug 01, 2017
    • Sean Bright's avatar
      res_pjsip_pidf_eyebeam_body_supplement: Correct status presentation · 2be8d91c
      Sean Bright authored
      This change fixes PIDF content generation when the underlying device
      state is considered in use. Previously it was incorrectly marked
      as closed meaning they were offline/unavailable. The code now
      correctly marks them as open.
      
      Additionally:
      
        * Generate an XML element for our activity instead of a using a text
          node.
      
        * Consider every extension state other than "unavailable" to be 'open'
          status.
      
        * Update the XML namespaces and structure to reflect those
          documented in RFC 4480
      
        * Use 'on-the-phone' (defined in RFC 4880) instead of 'busy' as the
          "in use" activity. This change results in eyeBeam using the
          appropriate icon for the watched user.
      
      This was tested on eyeBeam 1.5.20.2 build 59030 on Windows.
      
      ASTERISK-26659 #close
      Reported by: Abraham Liebsch
      patches:
        ASTERISK-26659.diff submitted by snuffy (license 5024)
      
      Change-Id: I6e5ad450f91106029fb30517b8c0ea0c2058c810
      2be8d91c
    • Joshua Colp's avatar
      res_pjsip: Add support for dnsmgr to external_media_address. · 2a4283f3
      Joshua Colp authored
      The "external_media_address" option on transports is now
      resolved using dnsmgr. This allows it to be automatically
      refreshed regularly if refreshes are enabled in dnsmgr.
      If the system is using a dynamic IP address a dynamic DNS
      hostname can be provided to keep the IP address up to
      date.
      
      Change-Id: Ia54771720dff0105bde55d5bbb81a3ba437e05b2
      2a4283f3
    • Corey Farrell's avatar
      Fix compiler warnings on Fedora 26 / GCC 7. · 58d03211
      Corey Farrell authored
      GCC 7 has added capability to produce warnings, this fixes most of those
      warnings.  The specific warnings are disabled in a few places:
      
      * app_voicemail.c: truncation of paths more than 4096 chars in many places.
      * chan_mgcp.c: callid truncated to 80 chars.
      * cdr.c: two userfields are combined to cdr copy, fix would break ABI.
      * tcptls.c: ignore use of deprecated method SSLv3_client_method().
      
      ASTERISK-27156 #close
      
      Change-Id: I65f280e7d3cfad279d16f41823a4d6fddcbc4c88
      58d03211
    • Sean Bright's avatar
      app_queue: Add announce-position-only-up option · 3f984882
      Sean Bright authored
      Setting this option will cause the Queue application to only announce
      the caller's position if it has improved since the last time that we
      announced it.
      
      Change-Id: I173a124121422209485b043e2bf784f54242fce6
      3f984882
    • George Joseph's avatar
      bundled_pjproject: Improve SSL/TLS error handling · ac6d98b2
      George Joseph authored
      OpenSSL has 2 levels or error processing.  It's possible for the
      top layer to return SSL_ERROR_SYSCALL but the lower layer return
      no error, in which case processing should continue.  Only the top
      layer was being examined though so connections were being torn
      down when they didn't need to be.  This patch adds the examination
      of the lower level codes, and if they return no errors, allows
      processing to continue.
      
      ASTERISK-27001
      Reported-by: Ian Gilmour
      patches:
      	pjproject-2.6.patch submitted by Ian Gilmour (license 6889)
      
      Updated-by: George Joseph and Sauw Ming (Teluu)
      
      Merged to upstream pjproject on 7/27/2017 (commit 5631)
      
      Change-Id: I23844ca0c68ef1ee550f14d46f6dae57d33b7bd2
      ac6d98b2
    • Torrey Searle's avatar
      chan_pjsip: add a new function PJSIP_DTMF_MODE · 65c56089
      Torrey Searle authored
      This function is a replica of SIPDtmfMode, allowing the DTMF mode of a
      PJSIP call to be modified on a per-call basis
      
      ASTERISK-27085 #close
      
      Change-Id: I20eef5da3e5d1d3e58b304416bc79683f87e7612
      65c56089
Loading