Skip to content
Snippets Groups Projects
  1. Dec 03, 2021
    • Alexander Traud's avatar
      res: Fix for Doxygen. · 178cb0ff
      Alexander Traud authored
      These are the remaining issues found in /res.
      
      ASTERISK-29761
      
      Change-Id: I572e6019c422780dde5ce8448b6c85c77af6046d
      178cb0ff
  2. Jan 10, 2020
  3. Oct 27, 2018
    • Alexei Gradinari's avatar
      res_pjsip_notify: improve realtime performance on CLI completion on the endpoint · e407b8af
      Alexei Gradinari authored
      The module 'res_pjsip_notify' inefficiently makes a lot of DB requests
      on CLI completion on the endpoint.
      
      For example if there are 10k endpoints the module makes 10k requests
      of these 10k records.
      
      Even if a part of the endpoint entered
      the module makes the same 10k requests and then filtered them by itself.
      
      This patch gathers endpoints container by prefix
      and adds all gathered endpoints to completion at once.
      
      ASTERISK-28137 #close
      
      Change-Id: Ic20024912cc77bf4d3e476c4cd853293c52b254b
      e407b8af
  4. Oct 19, 2018
    • Corey Farrell's avatar
      astobj2: Eliminate legacy container allocation macros. · 687ab7ae
      Corey Farrell authored
      These macros have been documented as legacy for a long time but are
      still used in new code because they exist.  Remove all references to:
      * ao2_container_alloc_options
      * ao2_t_container_alloc_options
      * ao2_t_container_alloc
      
      These macro's are also removed.  Only ao2_container_alloc remains due to
      it's use in over 100 places.
      
      Change-Id: I1a26258b5bf3deb081aaeed11a0baa175c933c7a
      687ab7ae
  5. Apr 11, 2018
    • Nathan Bruning's avatar
      res_pjsip_notify.c: enable in-dialog NOTIFY · 1cd704de
      Nathan Bruning authored
      This patch adds support to send in-dialog SIP NOTIFY commands on
      chan_pjsip channels, similar to the functionality recently added
      for chan_sip (ASTERISK_27461).
      
      This extends res_pjsip_notify to allow for in-dialog messages.
      
      ASTERISK-27697
      
      Change-Id: If7f3151a6d633e414d5dc319d5efc1443c43dd29
      1cd704de
  6. Jan 24, 2018
    • Corey Farrell's avatar
      Remove redundant module checks and references. · 527cf5a5
      Corey Farrell authored
      This removes references that are no longer needed due to automatic
      references created by module dependencies.
      
      In addition this removes most calls to ast_module_check as they were
      checking modules which are listed as dependencies.
      
      Change-Id: I332a6e8383d4c72c8e89d988a184ab8320c4872e
      527cf5a5
  7. Jan 15, 2018
    • Corey Farrell's avatar
      loader: Add dependency fields to module structures. · 9cfdb81e
      Corey Farrell authored
      * Declare 'requires' and 'enhances' text fields on module info structure.
      * Rename 'nonoptreq' to 'optional_modules'.
      * Update doxygen comments.
      
      Still need to investigate dependencies among modules I cannot compile.
      
      Change-Id: I3ad9547a0a6442409ff4e352a6d897bef2cc04bf
      9cfdb81e
  8. Dec 15, 2017
    • Corey Farrell's avatar
      aco: Minimize use of regex. · bf2d3593
      Corey Farrell authored
      Remove nearly all use of regex from ACO users.  Still remaining:
      * app_confbridge has a legitamate use of option name regex.
      * ast_sorcery_object_fields_register is implemented with regex, all
        callers use simple prefix based regex.  I haven't decided the best
        way to fix this in both 13/15 and master.
      
      Change-Id: Ib5ed478218d8a661ace4d2eaaea98b59a897974b
      bf2d3593
  9. Mar 07, 2016
    • George Joseph's avatar
      res_pjsip: Strip spaces from items parsed from comma-separated lists · d2eb65f7
      George Joseph authored
      Configurations like "aors = a, b, c" were either ignoring everything after "a"
      or trying to look up " b".  Same for mailboxes,  ciphers, contacts and a few
      others.
      
      To fix, all the strsep(&copy, ",") calls have been wrapped in ast_strip.  To
      facilitate this, ast_strip, ast_skip_blanks and ast_skip_nonblanks were
      updated to handle null pointers.
      
      In some cases, an ast_strlen_zero() test was added to skip consecutive commas.
      
      There was also an attempt to ast_free an ast_strdupa'd string in
      ast_sip_for_each_aor which was causing a SEGV.  I removed it.
      
      Although this issue was reported for realtime, the issue was in the res_pjsip
      modules so all config mechanisms were affected.
      
      ASTERISK-25829 #close
      Reported-by: Mateusz Kowalski
      
      Change-Id: I0b22a2cf22a7c1c50d4ecacbfa540155bec0e7a2
      d2eb65f7
  10. Nov 24, 2015
    • Corey Farrell's avatar
      res_pjsip_notify: Fix CLI usage info · fb451304
      Corey Farrell authored
      The usage info for 'pjsip send notify' previously referenced the
      chan_sip configuration sip_notify.conf.  Fix this to reference
      the correct configuration pjsip_notify.conf.
      
      ASTERISK-25590 #close
      
      Change-Id: I3898271a8e8a8b1db201741e790ebe2c6bf5cdea
      fb451304
  11. May 13, 2015
  12. Mar 26, 2015
  13. Oct 16, 2014
  14. Sep 19, 2014
  15. Jul 31, 2014
  16. Jul 25, 2014
  17. Jun 10, 2014
  18. Jan 15, 2014
    • Kinsey Moore's avatar
      PJSIP: Add Path header support · 7cbb6eab
      Kinsey Moore authored
      This adds Path support to chan_pjsip in res_pjsip_path.c with minimal
      additions in res_pjsip_registrar.c to store the path and additions in
      res_pjsip_outbound_registration.c to enable advertisement of path
      support to registrars and intervening proxies.
      
      Path information is stored on contacts and is enabled via Address of
      Record (AoRs) and Registration configuration sections.
      
      While adding path support, it became necessary to be able to add SIP
      supplements that handled messages outside of sessions, so a framework
      for handling these types of hooks was added in parallel to the
      already-existing session supplements and several senders of
      out-of-dialog requests were refactored as a result.
      
      (closes issue ASTERISK-21084)
      Review: https://reviewboard.asterisk.org/r/3050/
      ........
      
      Merged revisions 405565 from http://svn.asterisk.org/svn/asterisk/branches/12
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@405566 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      7cbb6eab
  19. Sep 28, 2013
  20. Aug 06, 2013
  21. Aug 02, 2013
  22. Jul 30, 2013
    • Mark Michelson's avatar
      The large GULP->PJSIP renaming effort. · 735b30ad
      Mark Michelson authored
      The general gist is to have a clear boundary between old SIP stuff
      and new SIP stuff by having the word "SIP" for old stuff and "PJSIP"
      for new stuff. Here's a brief rundown of the changes:
      
      * The word "Gulp" in dialstrings, functions, and CLI commands is now
        "PJSIP"
      * chan_gulp.c is now chan_pjsip.c
      * Function names in chan_gulp.c that were "gulp_*" are now "chan_pjsip_*"
      * All files that were "res_sip*" are now "res_pjsip*"
      * The "res_sip" directory is now "res_pjsip"
      * Files in the "res_pjsip" directory that began with "sip_*" are now "pjsip_*"
      * The configuration file is now "pjsip.conf" instead of "res_sip.conf"
      * The module info for all PJSIP-related files now uses "PJSIP" instead of "SIP"
      * CLI and AMI commands created by Asterisk's PJSIP modules now have "pjsip" as
      the starting word instead of "sip"
      
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@395764 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      735b30ad
  23. Jul 02, 2013
  24. Jul 01, 2013
Loading