Skip to content
Snippets Groups Projects
  1. Jul 18, 2018
  2. Jul 06, 2018
    • George Joseph's avatar
      res_pjsip: Add 'suppress_q850_reason_headers' option to endpoint · 8f42447c
      George Joseph authored
      A new option 'suppress_q850_reason_headers' has been added to the
      endpoint object. Some devices can't accept multiple Reason headers and
      get confused when both 'SIP' and 'Q.850' Reason headers are received.
      This option allows the 'Q.850' Reason header to be suppressed.
      The default value is 'no'.
      
      ASTERISK-27949
      Reported-by: Ross Beer
      
      Change-Id: I54cf37a827d77de2079256bb3de7e90fa5e1deb1
      8f42447c
  3. Jun 26, 2018
    • George Joseph's avatar
      res_pjsip_session: Add ability to accept multiple sdp answers · 880fbff6
      George Joseph authored
      pjproject by default currently will follow media forked during an INVITE
      on outbound calls if the To tag is different on a subsequent response as
      that on an earlier response.  We handle this correctly.  There have
      been reported cases where the To tag is the same but we still need to
      follow the media.  The pjproject patch in this commit adds the
      capability to sip_inv and also adds the capability to control it at
      runtime.  The original "different tag" behavior was always controllable
      at runtime but we never did anything with it and left it to default to
      TRUE.
      
      So, along with the pjproject patch, this commit adds options to both the
      system and endpoint objects to control the two behaviors, and a small
      logic change to session_inv_on_media_update in res_pjsip_session to
      control the behavior at the endpoint level.
      
      The default behavior for "different tags" remains the same at TRUE and
      the default for "same tag" is FALSE.
      
      Change-Id: I64d071942b79adb2f0a4e13137389b19404fe3d6
      ASTERISK-27936
      Reported-by: Ross Beer
      880fbff6
  4. May 24, 2018
    • George Joseph's avatar
      ast_coredumper: Fix output directory and variable precedence · 2bf26ce5
      George Joseph authored
      The OUTPUTDIR variable in ast_debug_tools.conf.sample is now set
      to "/tmp" instead of "/some/directory".
      
      Variables set on the command line or that are already in the
      environment now take predecence over variables set in the config files.
      
      ASTERISK-27846
      Reported by: Ted G
      
      Change-Id: Ie8baec52d531886bf5849ec1d59bb59dc87ad387
      2bf26ce5
  5. May 09, 2018
    • Alexander Traud's avatar
      sip_to_pjsip: Enable python3 compatibility. · 2d81709a
      Alexander Traud authored
      The script remains compatible with Python 2.7 but now also works with
      Python 3.3 and newer; to ease the migration from chan_sip to chan_pjsip.
      
      ASTERISK-27811
      
      Change-Id: I59cc6b52a1a89777eebcf25b3023bdf93babf835
      2d81709a
  6. Apr 20, 2018
  7. 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
  8. Mar 23, 2018
  9. 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
  10. Mar 15, 2018
  11. Mar 14, 2018
  12. 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
  13. Mar 08, 2018
  14. 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
  15. 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
  16. 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
  17. Feb 14, 2018
  18. Feb 12, 2018
  19. Feb 10, 2018
  20. 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
  21. 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
  22. Jan 26, 2018
  23. 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
  24. Jan 19, 2018
  25. 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
  26. Jan 12, 2018
  27. Dec 22, 2017
  28. 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
  29. Dec 18, 2017
  30. 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
  31. 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
  32. 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
  33. Oct 30, 2017
  34. 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
  35. 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
Loading