Skip to content
Snippets Groups Projects
  1. Mar 15, 2018
  2. Mar 14, 2018
  3. 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
  4. Mar 08, 2018
  5. 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
  6. 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
  7. 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
  8. Feb 14, 2018
  9. Feb 12, 2018
  10. Feb 10, 2018
  11. 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
  12. 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
  13. Jan 26, 2018
  14. 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
  15. Jan 19, 2018
  16. 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
  17. Jan 12, 2018
  18. Dec 22, 2017
  19. 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
  20. Dec 18, 2017
  21. 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
  22. 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
  23. 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
  24. Oct 30, 2017
  25. 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
  26. 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
  27. Oct 10, 2017
  28. 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
  29. Sep 11, 2017
  30. 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
  31. Sep 06, 2017
  32. Aug 25, 2017
  33. Aug 10, 2017
    • Richard Mudgett's avatar
      res_pjsip: Remove ephemeral registered contacts on transport shutdown. · 82f4ade9
      Richard Mudgett authored
      The fix for the issue is broken up into three parts.
      
      This is part two which handles the server side of REGISTER requests when
      rewrite_contact is enabled.  Any registered reliable transport contact
      becomes invalid when the transport connection becomes disconnected.
      
      * Monitor the rewrite_contact's reliable transport REGISTER contact for
      shutdown.  If it is shutdown then the contact must be removed because it
      is no longer valid.  Otherwise, when the client attempts to re-REGISTER it
      may be blocked because the invalid contact is there.  Also if we try to
      send a call to the endpoint using the invalid contact then the endpoint is
      not likely to see the request.  The endpoint either won't be listening on
      that port for new connections or a NAT/firewall will block it.
      
      * Prune any rewrite_contact's registered reliable transport contacts on
      boot.  The reliable transport no longer exists so the contact is invalid.
      
      * Websockets always rewrite the REGISTER contact address and the transport
      needs to be monitored for shutdown.
      
      * Made the websocket transport set a unique name since that is what we use
      as the ao2 container key.  Otherwise, we would not know which transport we
      find when one of them shuts down.  The names are also used for PJPROJECT
      debug logging.
      
      * Made the websocket transport post the PJSIP_TP_STATE_CONNECTED state
      event.  Now the global keep_alive_interval option, initially idle shutdown
      timer, and the server REGISTER contact monitor can work on wetsocket
      transports.
      
      * Made the websocket transport set the PJSIP_TP_DIR_INCOMING direction.
      Now initially idle websockets will automatically shutdown.
      
      ASTERISK-27147
      
      Change-Id: I397a5e7d18476830f7ffe1726adf9ee6c15964f4
      82f4ade9
  34. Aug 03, 2017
    • 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
  35. Jul 21, 2017
Loading