Skip to content
Snippets Groups Projects
  1. Apr 09, 2018
    • Corey Farrell's avatar
      Build System: Enable python3 compatibility. · 879e592b
      Corey Farrell authored
      * Consistently use spaces in rest-api-templates/asterisk_processor.py.
      * Exclude third-party from docs/full-en_US.xml.
      * Add docs/full-en_US.xml to .gitignore.
      * Use list() to convert python3 view.
      * Use python3 print function.
      * Replace cmp() with equivalent equation.
      * Replace reference to out of scope subtype variable with name
        parameter.
      * Use unescaping triple bracket notation in mustache templates where
        needed.  This causes behavior of Python2 to be maintained when using
        Python3.
      * Fix references to has_websocket / is_websocket in
        res_ari_resource.c.mustache.
      * Update calculation of has_websocket to use any().
      * Use unicode mode for writing output file in transform.py.
      * Replace 'from swagger_model import *' with explicit import of required
        symbols.
      
      I have not tested spandspflow2pcap.py or voicemailpwcheck.py, only the
      print syntax has been fixed.
      
      Change-Id: If5c5b556a2800d41a3e2cfef080ac2e151178c33
      879e592b
  2. Mar 23, 2018
  3. Mar 17, 2018
    • Alexander Traud's avatar
      BuildSystem: Remove unused dependency on libltdl. · 10a97882
      Alexander Traud authored
      Asterisk does not need the development package of libltdl, because it does not
      use any symbol of -lltdl directly. Instead, it uses the runtime package via the
      shared library -lodbc. On the supported platforms, that shared library declares
      its dependency on -lltdl correctly, otherwise AST_EXT_LIB_CHECK would have
      failed.
      
      ASTERISK-27745
      
      Change-Id: Icd315809b8e7978203431f3afb66240dd3a040ba
      10a97882
  4. Mar 15, 2018
  5. Mar 14, 2018
  6. Mar 12, 2018
    • Alexander Traud's avatar
      install_prereq: Update FreeBSD libraries. · ea3b8bb0
      Alexander Traud authored
      Because the code review system Gerrit creates merge conflicts even when one line
      apart another change happened, the previous update to the FreeBSD libraries had
      to be rebased via Git. Because of a break for training of the original
      contributor, this rebase was done by another contributor and the variant for
      Asterisk 13 was cherry-picked to all branches. By this, dependencies for new
      features added in newer Asterisk version got lost. This can be seen, when not
      the original path set but a previous patch set is compared.
      
      This change here fixes this by adding those (optional) dependencies for
      Asterisk 15 and newer (again).
      
      ASTERISK-27686
      
      Change-Id: I6638a3d0dc37ad4ff5f94be15463e3dd8a2bfe74
      ea3b8bb0
  7. Mar 08, 2018
  8. Feb 23, 2018
    • George Joseph's avatar
      ast_coredumper: Minor fixes · 7e2128c8
      George Joseph authored
      * Fix --tarball-config so the option doesn't cause an error.
      
      * Allow for missing /etc/os-release.
      
      * Add a sleep between tarballing the coredump and removing the
        output directory to allow the filesystem to settle.
      
      Change-Id: I73e03b13087978bcc7f6bc9f45753990f82d9d77
      7e2128c8
  9. Feb 22, 2018
    • Alexander Traud's avatar
      install_prereq: Update FreeBSD libraries. · c4c5d005
      Alexander Traud authored
      deleted
       autoconf gcc libsamplerate sqlite
      
      changed
       binutils to libbfd
       freetds-devel to freetds
       gmime2 to gmime26
       mysql55-client to mysql57-client
      
      added
       alsa-lib bison bzip2 cclient corosync doxygen libedit flex graphviz
       libhoard libical libilbc libltdl lua neon newt net-snmp
       openldap-client openssl patch pkgconf portaudio postgresql10-client
       python radcli speexdsp subversion uriparser xmlstarlet libzip
      
      ASTERISK-27686
      
      Change-Id: Ibe88c9b26e59c30d26cdb313a3ef01c9f37ac80d
      c4c5d005
  10. Feb 16, 2018
    • Alexander Traud's avatar
      install_prereq: Update OpenBSD libraries. · a7e7302a
      Alexander Traud authored
      deleted
       jack sqlite
      
      renamed
       freetds-0.63p1-msdblib to freetds
       mysql-client to mariadb-client
      
      added
       bison bzip2 c-client doxygen e2fsprogs graphviz gsm libical jansson libltdl
       lua neon net-snmp libsrtp portaudio-svn postgresql-client python speexdsp
       subversion uriparser xmlstarlet
       fftw3 libsndfile
      
      ASTERISK-27684
      
      Change-Id: I26bdcb0a1d0e484a8dad1052da97f194aefd3370
      a7e7302a
    • Torrey Searle's avatar
      contrib/script/sip_to_pjsip: add support for realtime · 976afd26
      Torrey Searle authored
      Add a new script that can read from legacy realtime peers & generate
      an sql file for populating pjsip endpoints, identify, and aor records.
      
      ASTERISK-27348 #close
      
      Change-Id: Idd3d7968a3c9c3ee7936d21acbdaf001b429bf65
      976afd26
  11. Feb 14, 2018
  12. Feb 12, 2018
  13. Feb 10, 2018
  14. Jan 30, 2018
    • George Joseph's avatar
      res_pjsip_pubsub: Prune subs with reliable transports at startup · 2b9aa6b5
      George Joseph authored
      In an earlier release, inbound registrations on a reliable transport
      were pruned on Asterisk restart since the TCP connection would have
      been torn down and become unusable when Asterisk stopped.  This same
      process is now also applied to inbound subscriptions.
      
      Also fixed issues in res_pjsip_registrar where it wasn't handling the
      monitoring correctly when multiple registrations came in over the same
      transport.
      
      To accomplish this, the pjsip_transport_event feature needed to
      be refactored to allow multiple monitors (multiple subcriptions or
      registrations from the same endpoint) to exist on the same transport.
      Since this changed the API, any external modules that may have used the
      transport monitor feature (highly unlikey) will need to be changed.
      
      ASTERISK-27612
      Reported by: Ross Beer
      
      Change-Id: Iee87cf4eb9b7b2b93d5739a72af52d6ca8fbbe36
      2b9aa6b5
  15. Jan 29, 2018
    • Alexander Traud's avatar
      install_prereq: Update RHEL/CentOS/Fedora libraries. · e7f8ef19
      Alexander Traud authored
      deleted
       automake git ncurses-devel pjproject-devel sqlite2-devel libsqlite3x-devel
      
      renamed
       radiusclient-ng-devel to radcli-devel
       gmime22-devel to gmime-dev
      
      added
       alsa-lib-devel bash binutils-devel bison doxygen flex hoard make pkgconfig
       speexdsp-devel uriparser-devel uw-imap-devel wget xmlstarlet zlib-devel
       codec2-devel fftw-devel libsndfile-devel unbound-devel
      
      ASTERISK-27599
      Reported by: Said Masoud
      
      Change-Id: I05bb0af98ae532b2d5f37478e38b8f0762b1c035
      e7f8ef19
  16. Jan 26, 2018
  17. Jan 22, 2018
    • Alexander Traud's avatar
      install_prereq: For PJProject, point users to configure script. · fd557ad0
      Alexander Traud authored
      The installation script and the new configure option --with-pjproject-bundled
      aimed to accomplish the same. However, the installation script was out of
      date. Users should go for the maintained configure option, or the Wiki.
      
      ASTERISK-24598
      
      Change-Id: Icbf4b562f81f7c05bd24a3805bd46c0beb4ebd44
      fd557ad0
  18. Jan 19, 2018
  19. Jan 16, 2018
    • Richard Mudgett's avatar
      res_pjsip: Split type=identify to IP address and SIP header matching priorities · 8494e780
      Richard Mudgett authored
      The type=identify endpoint identification method can match by IP address
      and by SIP header.  However, the SIP header matching has limited
      usefulness because you cannot specify the SIP header matching priority
      relative to the IP address matching.  All the matching happens at the same
      priority and the order of evaluating the identify sections is
      indeterminate.  e.g., If you had two type=identify sections where one
      matches by IP address for endpoint alice and the other matches by SIP
      header for endpoint bob then you couldn't predict which endpoint is
      matched when a request comes in that matches both.
      
      * Extract the SIP header matching criteria into its own "header" endpoint
      identification method so the user can specify the relative priority of the
      SIP header and the IP address matching criteria in the global
      endpoint_identifier_order option.  The "ip" endpoint identification method
      now only matches by IP address.
      
      ASTERISK-27491
      
      Change-Id: I9df142a575b7e1e3471b7cda5d3ea156cef08095
      8494e780
  20. Jan 12, 2018
  21. Dec 22, 2017
  22. Dec 21, 2017
    • Sean Bright's avatar
      Fix some invalid Unicode characters · a1a179c0
      Sean Bright authored
      configs/samples/minivm.conf.sample contains invalid UTF-8, but that
      appears to be intentional.
      
      Change-Id: I7b1e0d332f3380fd0425962a3c9c55f9b200c8cc
      a1a179c0
  23. Dec 18, 2017
  24. Nov 15, 2017
    • George Joseph's avatar
      ast_coredumper: Add ability to use directory other than /tmp · cf1cb334
      George Joseph authored
      The OUTPUTDIR environment variable can now be set either in the
      environment itself or in ast_debug_tools.conf.  If set, it's used
      for all work products instead of /tmp.
      
      Also added the --tarball-config option that includes the contents
      of /etc/asterisk when either --tarball-coredumps or --tarball-results
      are used.
      
      Change-Id: I66b2553319df61caea5b313d084f51978f730b4c
      cf1cb334
  25. Nov 06, 2017
    • Sean Bright's avatar
      dtls: Add support for ephemeral DTLS certificates. · 04d3785a
      Sean Bright authored
      This mimics the behavior of Chrome and Firefox and creates an ephemeral
      X.509 certificate for each DTLS session.
      
      Currently, the only supported key type is ECDSA because of its faster
      generation time, but other key types can be added in the future as
      necessary.
      
      ASTERISK-27395
      
      Change-Id: I5122e5f4b83c6320cc17407a187fcf491daf30b4
      04d3785a
  26. Nov 04, 2017
    • Alexander Traud's avatar
      install_prereq: Checkout of libSRTP 2.x. · 2ebea5aa
      Alexander Traud authored
      Since Asterisk 13.17, libSRTP 2.x is supported. Therefore, its latest version
      is installed again via the script install_prereq.
      
      ASTERISK-27356
      
      Change-Id: I13125839a79052356469e41edacbebff0a937d39
      2ebea5aa
  27. Oct 30, 2017
  28. Oct 25, 2017
    • Joshua Colp's avatar
      res_pjsip: Add 'ip' as a valid option to 'identify_by' on endpoint. · 9e1fbab3
      Joshua Colp authored
      When the identify_by option on an endpoint is set to ip it will
      only be identified using the res_pjsip_endpoint_identifier_ip module.
      This ensures that it is not mistakenly matched using the username of
      the From header. To ensure behavior has not changed the default has
      been changed to "username,ip" for the identify_by option.
      
      ASTERISK-27206
      
      Change-Id: I2170b86a7f7e221b4f00bf14aa1ef1ac5b050bbd
      9e1fbab3
    • George Joseph's avatar
      ast_coredumper: Add gzipping of binaries and display of signal info · 4aec7069
      George Joseph authored
      The --tarball-coredump option now creates a gzipped tarball of
      coredumps processed, their results txt files and copies of
      /etc/os-release, /usr/sbin/asterisk, /usr/lib(64)/libasterisk* and
      /usr/lib(64)/asterisk as those files are needed to properly examine
      the coredump.  The file will be named
      /tmp/asterisk.<timestamp>.coredumps.tar.gz or
      /tmp/asterisk-<uniqueid>.coredumps.tar.gz if --tarball-uniqueid was
      specified.
      
      Added dumps of *_siginfo to the top of the txt files so you can
      tell what signal was invoked.
      
      Change-Id: Ib9ee6d83592d4b1bc90cb3419a05376a88d1ded9
      4aec7069
  29. Oct 16, 2017
    • Torrey Searle's avatar
      contrib/script/sip_to_pjsip: implement 'all' for allow/disallow · da24d425
      Torrey Searle authored
      when 'all' is specified in an allow or disallow section, it should erase
      all values from the inverse section in the default config. E.G.
      allow=all should erase any deny values from default config &
      vice-versa
      
      ASTERISK-27333 #close
      
      Change-Id: I99219478fb98f08751d769daaee0b7795118a5a6
      da24d425
  30. Oct 10, 2017
  31. Sep 13, 2017
    • George Joseph's avatar
      res_pjsip: Add handling for incoming unsolicited MWI NOTIFY · 446d48fd
      George Joseph authored
      A new endpoint parameter "incoming_mwi_mailbox" allows Asterisk to
      receive unsolicited MWI NOTIFY requests and make them available to
      other modules via the stasis message bus.
      
      res_pjsip_pubsub has a new handler "pubsub_on_rx_mwi_notify_request"
      that parses a simple-message-summary body and, if
      endpoint->incoming_mwi_account is set, calls ast_publish_mwi_state
      with the voice-message counts from the message.
      
      Change-Id: I08bae3d16e77af48fcccc2c936acce8fc0ef0f3c
      446d48fd
  32. Sep 11, 2017
  33. Sep 08, 2017
    • Florian Floimair's avatar
      alembic: Add support for MS-SQL · e9a81157
      Florian Floimair authored
      MS-SQL has no native Enum-type support and therefore
      needs to work with constraints.
      Since these constraints need unique names the suggested approach
      referenced in the following alembic documentation has been applied:
      http://bit.ly/2x9r8pb
      
      ASTERISK-27255 #close
      
      Change-Id: I8b579750dae0c549f1103ee50172644afb9b2f95
      e9a81157
  34. Sep 06, 2017
Loading