Skip to content
Snippets Groups Projects
  1. May 02, 2019
    • George Joseph's avatar
      res_pjsip: Check return from pjsip_parse_uri calls · ef92c69f
      George Joseph authored
      Updated ast_sip_create_rdata_with_contact and registrar_find_contact
      to check the return from pjsip_parse_uri before attempting to
      use the uri returned.
      
      ASTERISK-28402
      Reported-by: Ross Beer
      
      Change-Id: I9810b3b163c45ed5a56ec743586e5ce107f13ba7
      ef92c69f
  2. Apr 30, 2019
  3. Apr 29, 2019
    • Rodrigo Ramírez Norambuena's avatar
      app_queue: Set correct value by default for shared_lastcall · ed615afb
      Rodrigo Ramírez Norambuena authored
      There a long history here:
      
      In commit dd1e62c0 has introduce by default shared_lastcall = true by
      default but this now only happen is there not [general] directive in
      queues.conf
      
      After that, the commit 4b50e3f1 fix the
      sample file.
      
      We'll need to keep the same setting if there a general or not section in
      configuration file since the shared_lastcall is by a long time in
      sample files as default value to 'no'.
      
      Change-Id: Id44faec370136df8d57902b453ad4059ed21b94c
      ed615afb
  4. Apr 24, 2019
    • Ben Ford's avatar
      stasis: Fix crash at shutdown. · dc02d0d9
      Ben Ford authored
      When compiling in dev mode, stasis statistics are enabled and can cause
      a crash at shutdown due to the following:
      - Containers are freed
      - Topics and subscriptions remain
      - When those topics and subscriptions are deallocated, they go to do
        things with the container
      
      This changes the containers to global ao2 objects, and whenever needed
      in the code, a reference must be obtained and checked before any
      operations can be done.
      
      ASTERISK-28353 #close
      
      Change-Id: Ie7d5e907fcfcb4d65bd36d5e4eb923126fde8d33
      dc02d0d9
    • Antoni Goldstein's avatar
      app_dial.c: RINGTIME, PROGRESSTIME and ms resolution dial timings · 8e21c25c
      Antoni Goldstein authored
      Added RINGTIME, RINGTIME_MS, PROGRESSTIME, PROGRESSTIME_MS variables filled
      at the earliest received PROGRESS or RINGING.
      Added millisecond versions of DIALEDTIME and ANSWEREDTIME.
      
      Added millisecond versions of ast_channel_get_up_time and
      ast_channel_get_duration in channel.c.
      
      ASTERISK-28363
      
      Change-Id: If95f1a7d8c4acbac740037de0c6e3109ff6620b1
      8e21c25c
  5. Apr 23, 2019
  6. Apr 22, 2019
    • Guido Falsi's avatar
      core/buildsystem: check the actual compiler being version · 8b7324ed
      Guido Falsi authored
      Make compiler check use the output of the actual compiler being
      used as reported by the CC variable, instead of unconditionally
      running the "gcc" binary.  Also only run the check if the compiler
      is gcc or a cross-compile gcc.
      
      ASTERISK-28374
      
      Change-Id: Icaacf6d93686ad21076878aa1504a23b4fc9d0f4
      8b7324ed
  7. Apr 19, 2019
  8. Apr 18, 2019
  9. Apr 17, 2019
    • Dan Cropp's avatar
      res_pjsip: Added a norefersub configuration setting · cffa2a74
      Dan Cropp authored
      Added a new PJSIP global setting called norefersub.
      Default is true to keep support working as before.
      
      res_pjsip_refer:  Configures PJSIP norefersub capability accordingly.
      
      Checks the PJSIP global setting value.
      If it is true (default) it adds the norefersub capability to PJSIP.
      If it is false (disabled) it does not add the norefersub capability
      to PJSIP.
      
      This is useful for Cisco switches that do not follow RFC4488.
      
      ASTERISK-28375 #close
      Reported-by: Dan Cropp
      
      Change-Id: I0b1c28ebc905d881f4a16e752715487a688b30e9
      cffa2a74
  10. Apr 16, 2019
  11. Apr 15, 2019
    • George Joseph's avatar
      CI: Move test group config files to Jenkins · 8a32b680
      George Joseph authored
      One of the downaides of having things like test configuration
      in the git repo is that it can't be changed at runtime.  You have
      to create a review for the changes and merge it mefore it will
      take effect.
      
      This review moves the data currently held in
      tests/CI/periodic-dailyTestGroups.json and
      tests/CI/gateTestGroups.json into a Jenkins Config File attached
      to the job definitions.  This allows us to alter it from the
      Jenkins UI at runtime.  The original files stay in the repo
      as documentation.
      
      Change-Id: I14b9702f6285ce1fb2420287ba0e7d3b59109763
      8a32b680
  12. Apr 13, 2019
    • Sean Bright's avatar
      app_voicemail: Don't split mailbox options on comma · d58d7d45
      Sean Bright authored
      Because the per-mailbox options are the last thing on a line, don't look
      for or stomp on any subsequent commas.
      
      ASTERISK-27935 #close
      Reported by: Sébastien Duthil
      
      Change-Id: I07b2eb4a33c303d0c7114d5b906f8c067c60a153
      d58d7d45
  13. Apr 12, 2019
  14. Apr 11, 2019
    • Sean Bright's avatar
      res_ael: Create consistent label names across reloads · f8271934
      Sean Bright authored
      Reset the internal counter that the AEL2 compiler uses for unique label
      names before compiling. This keeps dialplan labels consistent across
      reloads assuming the AEL2 has not changed.
      
      ASTERISK-17799 #close
      Reported by: Kirill Katsnelson
      
      Change-Id: I30b3cc887d1ee0644d3f341e2fef16f525d7fae5
      f8271934
    • Sean Bright's avatar
      res_ael: Use Gosub in for loop expressions · f7f1a2cb
      Sean Bright authored
      In AEL2, if a 'for' statement contains macro* calls, like:
      
          for (&iterator(${TRY},A); "${A}" != ""; &iterate(A)) {
      
      The AEL2 parser will translate these into calls to the deprecated Macro
      dialplan application and use the antiquated pipe delimiter.
      
      Instead, convert these into calls to the Gosub dialplan application and
      use commas as argument separators.
      
      ASTERISK-18593 #close
      Reported by: Luke-Jr
      
      * 'macro' in this context means AEL2 macros, not the 'Macro' application
      
      Change-Id: I3d73716033b8e3e42e0209d355bf5f10c97045fc
      f7f1a2cb
    • Sean Bright's avatar
      res_ael: Fix pattern matching against literal '+' · 395c7ed5
      Sean Bright authored
      When generating the regular expression that matches against existing
      extensions, we need to escape literal characters that can also be
      regular expression metacharacters. This was already being done for '*'
      but we need to do the same for '+'.
      
      In passing, remove some unreachable code - strcmp() is already run
      immediately when entering extension_matches().
      
      ASTERISK-14939 #close
      Reported by: klaus3000
      
      Change-Id: I8d2cccb3479168fba1b0a6704c52198b396468f1
      395c7ed5
    • Friendly Automation's avatar
Loading