Skip to content
Snippets Groups Projects
  1. Nov 05, 2015
    • 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
  2. Oct 26, 2015
    • Rodrigo Ramírez Norambuena's avatar
      install_prereq: Update repositories before install on Debian systems · 88f3dbae
      Rodrigo Ramírez Norambuena authored
      When to install packages the indexed local is more old of the
      version of software on the repository they have been upgraded by security
      update then get the package will give 404 not found.
      
      The patch prevent by update local index to repository for aptitude before
      install.
      
      ASTERISK-25495 #close
      
      Reporte by: Rodrigo Ramírez Norambuena
      
      Change-Id: I645959e553aac542805ced394cac2dca964051fa
      88f3dbae
  3. Oct 23, 2015
    • Kevin Harwell's avatar
      res_pjsip_outbound_registration: registration stops due to fatal 4xx response · 691c0e0b
      Kevin Harwell authored
      During outbound registration it is possible to receive a fatal (any permanent/
      non-temporary 4xx, 5xx, 6xx) response from the registrar that is simply due
      to a problem with the registrar itself. Upon receiving the failure response
      Asterisk terminates outbound registration for the given endpoint.
      
      This patch adds an option, 'fatal_retry_interval', that when set continues
      outbound registration at the given interval up to 'max_retries' upon receiving
      a fatal response.
      
      ASTERISK-25485 #close
      
      Change-Id: Ibc2c7b47164ac89cc803433c0bbe7063bfa143a2
      691c0e0b
  4. Oct 20, 2015
    • Matt Jordan's avatar
      contrib/scripts/autosupport: Update for Asterisk 13 · b9bd249a
      Matt Jordan authored
      This patch adds some minor tweaks for autosupport to update it for Asterisk 13.
      This includes:
      * Finally removing most references to Zaptel
      * Adding support for some additional 'core' commands, and fixing nomenclature
        that generally hasn't been used for some time
      * Adding some PJSIP/SIP commands to gather endpoints/peers and active channels
      
      Change-Id: Ic997b418cbd9313588b6608e50f47b0ce6f4f1f1
      (cherry picked from commit 9fc9777f)
      b9bd249a
  5. Sep 25, 2015
  6. Sep 04, 2015
    • Mark Michelson's avatar
      res_pjsip: Change default from user value. · 993ae9a6
      Mark Michelson authored
      When Asterisk sends an outbound SIP request, if there is no direct
      reason to place a specific value for the username in the From header,
      Asterisk would generate a UUID. For example, this would happen when
      sending outbound OPTIONS requests when qualifying or when sending
      outbound INVITE requests when originating (if no explicit caller ID were
      provided). The issue is that some SIP providers reject these sorts of
      requests with a "Name too long" error response.
      
      This patch aims to fix this by changing the default outbound username in
      From headers to "asterisk". This value can be overridden by changing the
      default_from_user option in the global options if desired.
      
      ASTERISK-25377 #close
      Reported by Mark Michelson
      
      Change-Id: I6a4d34a56ff73ff4f661b0075aeba5461b7f3190
      993ae9a6
  7. Aug 19, 2015
    • Scott Griepentrog's avatar
      contrib: script install_prereq should install sqlite3 · 53e2a6a8
      Scott Griepentrog authored
      Asterisk needs the sqlite 3 library, which is package
      sqlite-devel in CentOS. By adding this package to the
      script, a problem with configure failing is resolved.
      
      ASTERISK-25331 #close
      Reported by: Kevin Harwell
      
      Change-Id: I90efaf6a01914fea03f21e5cdbd91c348f44b0ec
      53e2a6a8
  8. Jul 24, 2015
    • Joshua Colp's avatar
      pjsip: Add rtp_timeout and rtp_timeout_hold endpoint options. · 309dd2a4
      Joshua Colp authored
      This change adds support for the 'rtp_timeout' and 'rtp_timeout_hold'
      endpoint options. These allow the channel to be hung up if RTP
      is not received from the remote endpoint for a specified number of
      seconds.
      
      ASTERISK-25259 #close
      
      Change-Id: I3f39daaa7da2596b5022737b77799d16204175b9
      309dd2a4
  9. Jul 20, 2015
    • Mark Michelson's avatar
      res_pjsip: Add rtp_keepalive endpoint option. · 2b42264e
      Mark Michelson authored
      This adds an "rtp_keepalive" option for PJSIP endpoints. Similar to the
      chan_sip option, this specifies an interval, in seconds, at which we
      will send RTP comfort noise frames. This can be useful for keeping RTP
      sessions alive as well as keeping NAT associations alive during lulls.
      
      ASTERISK-25242 #close
      Reported by Mark Michelson
      
      Change-Id: I3b9903d99e35fe5d0b53ecc46df82c750776bc8d
      2b42264e
  10. Jun 15, 2015
    • Kevin Harwell's avatar
      res_pjsip: Add option to force G.726 to be treated as AAL2 packed. · 93ac45d3
      Kevin Harwell authored
      Some phones send g.726 audio packed for AAL2, which differs from what is
      recommended by RFC 3351. If Asterisk receives audio formatted as such when
      negotiating g.726 then it sounds a bit distorted. Added an option to
      res_pjsip_endpoint that allows g.726 negotiated audio to be treated as g.726
      AAL2 packed.
      
      ASTERISK-25158 #close
      Reported by: Steve Pitts
      
      Change-Id: Ie7e21f75493d7fe53e75e12c971e72f5afa33615
      93ac45d3
  11. Jun 04, 2015
    • Rodrigo Ramírez Norambuena's avatar
      install_prereq: Check if is installed aptitude otherwise to install. · 6737ded0
      Rodrigo Ramírez Norambuena authored
      If in Debian or system based, dont have aptitude installed the script do
      nothing. This patch checked if aptitude  installed, if not installed.
      
      Also, if execute script with all packages installed yet, the script not show
      nothing and return exit 1 because the command 'grep' get nothing from pipe from
      'awk'.
      
      ASTERISK-25113 #close
      Reported By: Rodrigo Ramírez Norambuena <decipher.hk@gmail.com>
      
      Change-Id: Iebdff55805d3917166e5e08e0a1e2176f36ff27f
      6737ded0
  12. May 14, 2015
    • Corey Farrell's avatar
      MALLOC_DEBUG: Replace WRAP_LIBC_MALLOC with ASTMM_LIBC. · 478fb4a3
      Corey Farrell authored
      There are 3 ways that calls directly to standard allocator functions can
      be dealt with:
      1. Block their use, cause them to generate an error.  This is the default.
      2. Replace them with the Asterisk equivalent function calls.
      3. Leave them alone.
      
      This change allows one of these 3 options to be selected by any source.
      The source just needs to define ASTMM_LIBC to ASTMM_BLOCK, ASTMM_REDIRECT,
      or ASTMM_IGNORE to use option 1, 2 or 3 respectively.  Normally ASTMM_BLOCK
      is the correct option, so it is default when ASTMM_LIBC is not defined.
      In some cases when building 3rd party code it is desirable to have it use
      Asterisk functions, without changing the whole source - ASTMM_REDIRECT
      accomplishes this.  When using 3rd party libraries sometimes a static
      inline function will make use of malloc or free.  In these cases it may
      be unsafe to replace the allocator in the header, as it's possible the
      memory could be freed by the library using standard allocators.  For
      those cases ASTMM_IGNORE is needed.
      
      Change-Id: I8afef4bc7f3b93914263ae27d3a5858b69663fc7
      478fb4a3
  13. May 08, 2015
    • George Joseph's avatar
      doc: Make progdocs play nice with git · cf637f25
      George Joseph authored
      Moved contrib/asterisk-ng-doxygen to doc/asterisk-ng-doxygen.in
      
      Changed /Makefile to copy asterisk-ng-doxygen.in to
      asterisk-ng-doxygen then modify it with version instead of
      modifying asterisk-ng-doxygen directly.  Updated clean
      targets as well.
      
      Updated /.gitignore and doc/.gitignore.
      
      Change-Id: I38712d3e334fa4baec19d30d05de8c6f28137622
      cf637f25
  14. May 07, 2015
  15. May 04, 2015
    • Matt Jordan's avatar
      contrib/ast-db-manage: Add Postgres ENUM type support in auto DTMF mode update · 75c0aa69
      Matt Jordan authored
      The upgrade script for auto DTMF mode (31cd4f4891ec) added in 88b0fa77
      failed to add ENUM support for Postgres databases. This requires a
      specific import from the sqlalchemy.dialects.postgresql package. This
      patch corrects this error, which allows for Postgres update scripts to
      be generated.
      
      ASTERISK-24706
      
      Change-Id: I4742ac8efa533cd6f18e0bdd907b339a9aedf015
      75c0aa69
  16. Apr 27, 2015
    • Corey Farrell's avatar
      Astobj2: Allow reference debugging to be enabled/disabled by config. · 5c1d07ba
      Corey Farrell authored
      * The REF_DEBUG compiler flag no longer has any effect on code that uses
        Astobj2.  It is used to determine if reference debugging is enabled by
        default.  Reference debugging can be enabled or disabled in asterisk.conf.
      * Caller information is provided in logger errors for ao2 bad magic numbers.
      * Optimizes AO2 by merging internal functions with the public counterpart.
        This was possible now that we no longer require a dual ABI.
      
      ASTERISK-24974 #close
      Reported by: Corey Farrell
      
      Change-Id: Icf3552721fe999365ba8a8cf00a965aa6b897cc1
      5c1d07ba
  17. Apr 24, 2015
  18. Apr 16, 2015
    • George Joseph's avatar
      res_pjsip: Add global option to limit the maximum time for initial qualifies · c6ed6816
      George Joseph authored
      
      Currently when Asterisk starts initial qualifies of contacts are spread out
      randomly between 0 and qualify_timeout to prevent network and system overload.
      If a contact's qualify_frequency is 5 minutes however, that contact may be
      unavailable to accept calls for the entire 5 minutes after startup.  So while
      staggering the initial qualifies is a good idea, basing the time on
      qualify_timeout could leave contacts unavailable for too long.
      
      This patch adds a new global parameter "max_initial_qualify_time" that sets the
      maximum time for the initial qualifies.  This way you could make sure that all
      your contacts are initialy, randomly qualified within say 30 seconds but still
      have the contact's ongoing qualifies at a 5 minute interval.
      
      If max_initial_qualify_time is > 0, the formula is initial_interval =
      min(max_initial_interval, qualify_timeout * random().  If not set,
      qualify_timeout is used.
      
      The default is "0" (disabled).
      
      ASTERISK-24863 #close
      
      Change-Id: Ib80498aa1ea9923277bef51d6a9015c9c79740f4
      Tested-by: default avatarGeorge Joseph <george.joseph@fairview5.com>
      c6ed6816
    • George Joseph's avatar
      pjsip_options: Add qualify_timeout processing and eventing · 51886c68
      George Joseph authored
      This is the second follow-on to https://reviewboard.asterisk.org/r/4572/ and the
      discussion at
      http://lists.digium.com/pipermail/asterisk-dev/2015-March/073921.html
      
      
      
      The basic issues are that changes in contact status don't cause events to be
      emitted for the associated endpoint.  Only dynamic contact add/delete actions
      update the endpoint.  Also, the qualify timeout is fixed by pjsip at 32 seconds
      which is a long time.
      
      This patch makes use of the new transaction timeout feature in r4585 and
      provides the following capabilities...
      
      1.  A new aor/contact variable 'qualify_timeout' has been added that allows the
      user to specify the maximum time in milliseconds to wait for a response to an
      OPTIONS message.  The default is 3000ms.  When the timer expires, the contact is
      marked unavailable.
      
      2.  Contact status changes are now propagated up to the endpoint as follows...
      When any contact is 'Available', the endpoint is marked as 'Reachable'.  When
      all contacts are 'Unavailable', the endpoint is marked as 'Unreachable'.  The
      existing endpoint events are generated appropriately.
      
      ASTERISK-24863 #close
      
      Change-Id: Id0ce0528e58014da1324856ea537e7765466044a
      Tested-by: Dmitriy Serov
      Tested-by: default avatarGeorge Joseph <george.joseph@fairview5.com>
      51886c68
  19. Apr 10, 2015
  20. Mar 27, 2015
  21. Mar 19, 2015
  22. Mar 17, 2015
  23. Mar 13, 2015
  24. Mar 09, 2015
  25. Feb 15, 2015
  26. Jan 23, 2015
  27. Jan 20, 2015
  28. Jan 09, 2015
  29. Nov 19, 2014
  30. Nov 03, 2014
  31. Oct 31, 2014
  32. Oct 17, 2014
  33. Oct 09, 2014
  34. Oct 02, 2014
  35. Sep 29, 2014
  36. Sep 26, 2014
  37. Sep 18, 2014
Loading