Skip to content
Snippets Groups Projects
  1. Jun 08, 2015
    • Corey Farrell's avatar
      Fix unsafe uses of ast_context pointers. · 53658a14
      Corey Farrell authored
      Although ast_context_find, ast_context_find_or_create and
      ast_context_destroy perform locking of the contexts table,
      any context pointer can become invalid at any time that the
      contexts table is unlocked. This change adds locking around
      all complete operations involving these functions.
      
      Places where ast_context_find was followed by ast_context_destroy
      have been replaced with calls ast_context_destroy_by_name.
      
      ASTERISK-25094 #close
      Reported by: Corey Farrell
      
      Change-Id: I1866b6787730c9c4f3f836b6133ffe9c820734fa
      53658a14
  2. May 31, 2015
    • Ivan Poddubny's avatar
      Fix buffer overflow in slin sample frames generation. · 99c54fe4
      Ivan Poddubny authored
      The length of frames retured by sample functions was twice as large as
      real, what caused global buffer overflow caught by AddressSanitizer.
      
      ASTERISK-24717 #close
      Reported by: Badalian Vyacheslav
      
      Change-Id: Iec2fe682aef13e556684912f906bedf7c18229c6
      99c54fe4
  3. May 20, 2015
    • Kevin Harwell's avatar
      audiohook.c: Difference in read/write rates caused continuous buffer resets · 58970f14
      Kevin Harwell authored
      Currently, everytime a sample rate change occurs (on read or write) the
      associated factory buffers are reset. If the requested sample rate on a
      read differed from that of a write then the buffers are continually reset
      on every read and write. This has the side effect of emptying the buffer,
      thus there being no data to read and then write to a file in the case of
      call recording.
      
      This patch fixes it so that an audiohook_list's rate always maintains the
      maximum sample rate among hooks and formats. Audiohook sample rates are
      only overwritten by this value when slin native compatibility is turned on.
      Also, the audiohook sample rate can only overwrite the list's sample rate
      when its rate is greater than that of the list or if compatibility is
      turned off. This keeps the rate from constantly switching/resetting.
      
      ASTERISK-24944 #close
      Reported by: Ronald Raikes
      
      Change-Id: Idab4dfef068a7922c09cc631dda27bc920a6c76f
      58970f14
  4. May 03, 2015
    • Diederik de Groot's avatar
      Update configure.ac/Makefile for clang · f70f2c62
      Diederik de Groot authored
      Created autoconf/ast_check_raii.m4: contains AST_CHECK_RAII which
      checks compiler requirements for RAII:
      gcc: -fnested-functions support
      clang: -fblocks (and if required -lBlocksRuntime)
      The original check was implemented in configure.ac and now has it's
      own file. This function also sets C_COMPILER_FAMILY to either gcc or
      clang for use by makefile
      
      Created autoconf/ast_check_strsep_array_bounds.m4 (contains
      AST_CHECK_STRSEP_ARRAY_BOUNDS):
      which checks if clang is able to handle the optimized strsep & strcmp
      functions (linux). If not, the standard libc implementation should be
      used instead. Clang + the optimized macro's work with:
      strsep(char *, char []), but not with strsepo(char *, char *).
      Instead of replacing all the occurences throughout the source code,
      not using the optimized macro version seemed easier
      
      See 'define __strcmp_gc(s1, s2, l2) in bits/string2.h':
      llvm-comment: Normally, this array-bounds warning are suppressed for
      macros, so that unused paths like the one that accesses __s1[3] are
      not warned about.  But if you preprocess manually, and feed the
      result to another instance of clang, it will warn about all the
      possible forks of this particular if statement. Instead of switching
      of this optimization, another solution would be to run the preproces-
      sing step with -frewrite-includes, which should preserve enough
      information so that clang should still be able to suppress the diag-
      nostic at the compile step later on.
      
      See also "https://llvm.org/bugs/show_bug.cgi?id=20144"
      See also "https://llvm.org/bugs/show_bug.cgi?id=11536"
      
      Makefile.rules: If C_COMPILER_FAMILY=clang then add two warning
      suppressions:
      -Wno-unused-value
      -Wno-parentheses-equality
      In an earlier review (reviewboard: 4550 and 4554), they were deemed a
      nuisace and less than benefitial.
      
      configure.ac:
      Added AST_CHECK_RAII() see earlier
      Added AST_CHECK_STRSEP_ARRAY_BOUNDS() see earlier
      Removed moved content
      
      ASTERISK-24917
      Change-Id: I12ea29d3bda2254ad3908e279b7effbbac6a97cb
      (cherry picked from commit 9c3ed428)
      f70f2c62
  5. Apr 30, 2015
    • Matt Jordan's avatar
      include/asterisk/vector.h: Backport vector.h to Asterisk 11 · 176cb0d4
      Matt Jordan authored
      Vectors are very useful constructs. As a container, they prevent having
      to calloc/realloc arrays manually. They also have advantages over linked
      lists, which require elements in the list to be a struct. This patch
      backports vectors to Asterisk 11 for use in future patches.
      
      Change-Id: Idc9d74d246a0158b0b36ccb250e7acc71bab078d
      176cb0d4
  6. Apr 29, 2015
    • Kevin Harwell's avatar
      res_fax: allow 2400 transmission rate according to v.27ter standard · f6091525
      Kevin Harwell authored
      A previous set of patches (see: ASTERISK-22790 & ASTERISK-23231) made it so
      a v.27 modem was not allowed to have a minimum transmission rate of 2400 bits
      per second. This reverts all or some of those patches since according to the
      v.27ter standard a rate of 2400 bits per second is also supported.
      
      One of the original patches also added 9600 bits per second support for v.27.
      This patch also removes that since v.27ter only supports 2400/4800 bits per
      second.
      
      Also, since Asterisk specifically supports v.27ter the enum was renamed to
      better reflect this.
      
      ASTERISK-24955 #close
      Reported by: Matt Jordan
      
      Change-Id: I4b9dfb6bf7eff08463ab47ee1a74224f27cae733
      f6091525
  7. Apr 22, 2015
    • Diederik de Groot's avatar
      Fix/Update clang-RAII macro implementation · 42955825
      Diederik de Groot authored
      - When you need to refer to 'variable XXX' outside a block, it needs
      to be declared as '__block XXX', otherwise it will not be available with-
      in the block, making updating that variable hard to do, and ast_free
      lead to issues.
      
      - Removed the #error message
      because it creates complications when compiling external projects
      against asterisk For example when using a different compiler than the
      one used to compile asterisk. The warning/error should be generated
      during the configure process not the compilation process
      
      ASTERISK-24917
      Change-Id: I12091228090e90831bf2b498293858f46ea7a8c2
      42955825
  8. Apr 17, 2015
    • Corey Farrell's avatar
      Fix issue with AST_THREADSTORAGE_RAW when DEBUG_THREADLOCALS is enabled. · 8fc07492
      Corey Farrell authored
      When DEBUG_THREADLOCALS is enabled it causes the threadlocal cleanup to be
      called as a function.  This causes a compile error with raw threadstorage as
      it uses NULL for cleanup.  This fix uses a macro that provides NULL when
      DEBUG_THREADLOCALS is disabled, and replaces the call to "c_cleanup(data);"
      with "{};" when DEBUG_THREADLOCALS is enabled.
      
      ASTERISK-24975 #close
      Reported by: Ashley Sanders
      
      Change-Id: I3ef7428ee402816d9fcefa1b3b95830c00d5c402
      8fc07492
  9. Apr 13, 2015
    • Matt Jordan's avatar
      git migration: Remove support for file versions · 552fa861
      Matt Jordan authored
      Git does not support the ability to replace a token with a version
      string during check-in. While it does have support for replacing a
      token on clone, this is somewhat sub-optimal: the token is replaced
      with the object hash, which is not particularly easy for human
      consumption. What's more, in practice, the source file version was often
      not terribly useful. Generally, when triaging bugs, the overall version
      of Asterisk is far more useful than an individual SVN version of a file.
      As a result, this patch removes Asterisk's support for showing source file
      versions.
      
      Specifically, it does the following:
      * main/asterisk:
        - Refactor the file_version structure to reflect that it no longer
          tracks a version field.
        - Alter the "core show file version" CLI command such that it always
          reports the version of Asterisk. The file version is no longer
          available.
      
      * main/manager: The Version key now always reports the Asterisk version.
      
      * UPGRADE: Add notes for:
        - Modification to the ModuleCheck AMI Action.
        - Modification to the CLI "core show file version" command.
      
      Change-Id: Ia932d3c64cd18a14a3c894109baa657ec0a85d28
      552fa861
  10. Apr 12, 2015
    • George Joseph's avatar
      Add .gitignore and .gitreview files · 7079f53a
      George Joseph authored
      Add the .gitignore and .gitreview files to the asterisk repo.
      
      NB:  You can add local ignores to the .git/info/exclude file
      without having to do a commit.
      
      Common ignore patterns are in the top-level .gitignore file.
      Subdirectory-specific ignore patterns are in their own .gitignore
      files.
      
      Change-Id: I2b7513fc9acf5d432cf9587c25faa9786af14abf
      Tested-by: George Joseph
      7079f53a
  11. Apr 09, 2015
    • Matthew Jordan's avatar
      clang compiler warnings: Fix autological comparisons · 7c4efc49
      Matthew Jordan authored
      This fixes autological comparison warnings in the following:
       * chan_skinny: letohl may return a signed or unsigned value, depending on the
         macro chosen
       * func_curl: Provide a specific cast to CURLoption to prevent mismatch
       * cel: Fix enum comparisons where the enum can never be negative
       * enum: Fix comparison of return result of dn_expand, which returns a signed
         int value
       * event: Fix enum comparisons where the enum can never be negative
       * indications: tone_data.freq1 and freq2 are unsigned, and hence can never be
         negative
       * presencestate: Use the actual enum value for INVALID state
       * security_events: Fix enum comparisons where the enum can never be negative
       * udptl: Don't bother to check if the return value from encode_length is less
         than 0, as it returns an unsigned int
       * translate: Since the parameters are unsigned int, don't bother checking
         to see if they are negative. The cast to unsigned int would already blow
         past the matrix bounds.
      
      Review: https://reviewboard.asterisk.org/r/4533
      ASTERISK-24917
      Reported by: dkdegroot
      patches:
        rb4533.patch submitted by dkdegroot (License 6600)
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/11@434469 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      7c4efc49
  12. Apr 06, 2015
    • George Joseph's avatar
      build: Fixes for gcc 5 compilation · 5e46127e
      George Joseph authored
      These are fixes for compilation under gcc 5.0...
      
      chan_sip.c:    In parse_request needed to make 'lim' unsigned.
      inline_api.h:  Needed to add a check for '__GNUC_STDC_INLINE__' to detect C99 
                     inline semantics (same as clang).
      ccss.c:        In ast_cc_set_parm, needed to fix weird comparison.
      dsp.c:         Needed to work around a possible compiler bug.  It was throwing 
                     an array-bounds error but neither
                     sgriepentrog, rmudgett nor I could figure out why.
      manager.c:     In action_atxfer, needed to correct an array allocation.
      
      This patch will go to 11, 13, trunk.
      
      Review: https://reviewboard.asterisk.org/r/4581/
      Reported-by: Jeffrey Ollie
      Tested-by: George Joseph
      ASTERISK-24932 #close
      
      
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/11@434113 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      5e46127e
  13. Mar 30, 2015
  14. Mar 27, 2015
  15. Mar 26, 2015
  16. Mar 12, 2015
    • Matthew Jordan's avatar
      Add support for the clang compiler; update RAII_VAR to use BlocksRuntime · 69e30dfc
      Matthew Jordan authored
      RAII_VAR, which is used extensively in Asterisk to manage reference counted
      resources, uses a GCC extension to automatically invoke a cleanup function
      when a variable loses scope. While this functionality is incredibly useful
      and has prevented a large number of memory leaks, it also prevents Asterisk
      from being compiled with clang.
      
      This patch updates the RAII_VAR macro such that it can be compiled with clang.
      It makes use of the BlocksRuntime, which allows for a closure to be created
      that performs the actual cleanup.
      
      Note that this does not attempt to address the numerous warnings that the clang
      compiler catches in Asterisk.
      
      Much thanks for this patch goes to:
      * The folks on StackOverflow who asked this question and Leushenko for
        providing the answer that formed the basis of this code:
        http://stackoverflow.com/questions/24959440/rewrite-gcc-cleanup-macro-with-nested-function-for-clang
      * Diederik de Groot, who has been extremely patient in working on getting this
        patch into Asterisk.
      
      Review: https://reviewboard.asterisk.org/r/4370/
      
      ASTERISK-24133
      ASTERISK-23666
      ASTERISK-20399
      ASTERISK-20850 #close
      Reported by: Diederik de Groot
      patches:
        RAII_CLANG.patch uploaded by Diederik de Groot (License 6600)
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/11@432807 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      69e30dfc
  17. Feb 21, 2015
  18. Feb 19, 2015
  19. Feb 11, 2015
  20. Jan 23, 2015
  21. Jan 12, 2015
    • Matthew Jordan's avatar
      main/syslog: Allow dynamic logs, such as security events, to log to the syslog · a8499746
      Matthew Jordan authored
      The security event log uses a dynamic log level (SECURITY) that is registered
      with the Asterisk logging core. Unfortunately, the syslog would ignore log
      statements that had a dynamic log level associated with them. Because the
      syslog cannot handle ad hoc dynamic log levels, this patch treats any dynamic
      log entries sent to the syslog as logs with a level of NOTICE.
      
      ASTERISK-20744 #close
      Reported by: Michael Keuter
      Tested by: Michael L. Young, Jacek Konieczny
      patches:
        asterisk-20744-syslog-dynamic-logging_trunk.diff uploaded by Michael L. Young (license 5026)
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/11@430506 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      a8499746
  22. Jan 09, 2015
  23. Dec 22, 2014
  24. Dec 12, 2014
    • Richard Mudgett's avatar
      DEBUG_THREADS: Fix regression and lock tracking initialization problems. · b97dbd72
      Richard Mudgett authored
      This patch started with David Lee's patch at
      https://reviewboard.asterisk.org/r/2826/ and includes a regression fix
      introduced by the ASTERISK-22455 patch.
      
      The initialization of a mutex's lock tracking structure was not protected
      in a critical section.  This is fine for any mutex that is explicitly
      initialized, but a static mutex may have its lock tracking double
      initialized if multiple threads attempt the first lock simultaneously.
      
      * Added a global mutex to properly serialize initialization of the lock
      tracking structure.  The painful global lock can be mitigated by adding a
      double checked lock flag as discussed on the original review request.
      
      * Defer lock tracking initialization until first use.
      
      * Don't be "helpful" and initialize an uninitialized lock when
      DEBUG_THREADS is enabled.  Debug code is not supposed to fix or change
      normal code behavior.  We don't need a lock initialization race that would
      force a re-setup of lock tracking.  Lock tracking already handles
      initialization on first use.
      
      * Properly handle allocation failures of the lock tracking structure.
      
      * No need to initialize tracking data in __ast_pthread_mutex_destroy()
      just to turn around and destroy it.
      
      
      The regression introduced by ASTERISK-22455 is the result of manipulating
      a pthread_mutex_t struct outside of the pthread library code.  The
      pthread_mutex_t struct seems to have a global linked list pointer member
      that can get changed by other threads.  Therefore, saving and restoring
      the contents of a pthread_mutex_t struct is a bad thing.
      
      Thanks to Thomas Airmont for finding this obscure regression.
      
      * Don't overwrite the struct ast_lock_track.reentr_mutex member to restore
      tracking data in __ast_cond_wait() and __ast_cond_timedwait().  The
      pthread_mutex_t struct must be treated as a read-only opaque variable.
      
      
      Miscellaneous other items fixed by this patch:
      
      * Match ast_suspend_lock_info() with ast_restore_lock_info() in
      __ast_cond_timedwait().
      
      * Made some uninitialized lock sanity checks return EINVAL and try a
      DO_THREAD_CRASH.
      
      * Fix bad canlog initialization expressions.
      
      ASTERISK-24614 #close
      Reported by: Thomas Airmont
      
      Review: https://reviewboard.asterisk.org/r/4247/
      Review: https://reviewboard.asterisk.org/r/2826/
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/11@429539 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      b97dbd72
  25. Nov 06, 2014
  26. Nov 05, 2014
    • George Joseph's avatar
      config: Make text_file_save and 'dialplan save' escape semicolons in values. · 03fcc1ad
      George Joseph authored
      When a config file is read, an unescaped semicolon signals comments which are
      stripped from the value before it's stored.  Escaped semicolons are then
      unescaped and become part of the value.  Both of these behaviors are normal
      and expected.  When the config is serialized either by 'dialplan save' or
      AMI/UpdateConfig however, the now unescaped semicolons are written as-is.
      If you actually reload the file just saved, the unescaped semicolons are
      now treated as start of comments.
      
      Since true comments are stripped on read, any semicolons in
      ast_variable.value must have been escaped originally.  This patch
      re-escapes semicolons in ast_variable.values before they're written to
      file either by 'dialplan save' or config/ast_config_text_file_save which
      is called by AMI/UpdateConfig. I also fixed a few pre-existing formatting
      issues nearby in pbx_config.c
      
      Tested-by: George Joseph
      ASTERISK-20127 #close
      
      Review: https://reviewboard.asterisk.org/r/4132/
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/11@427328 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      03fcc1ad
  27. Sep 18, 2014
  28. Aug 27, 2014
  29. Jul 10, 2014
  30. Jun 30, 2014
  31. Jun 26, 2014
    • Matthew Jordan's avatar
      res_http_websocket: Close websocket correctly and use careful fwrite · 32d684ee
      Matthew Jordan authored
      When a client takes a long time to process information received from Asterisk,
      a write operation using fwrite may fail to write all information. This causes
      the underlying file stream to be in an unknown state, such that the socket
      must be disconnected. Unfortunately, there are two problems with this in
      Asterisk's existing websocket code:
      1. Periodically, during the read loop, Asterisk must write to the connected
         websocket to respond to pings. As such, Asterisk maintains a reference to
         the session during the loop. When ast_http_websocket_write fails, it may
         cause the session to decrement its ref count, but this in and of itself
         does not break the read loop. The read loop's write, on the other hand,
         does not break the loop if it fails. This causes the socket to get in a
         'stuck' state, preventing the client from reconnecting to the server.
      2. More importantly, however, is that the fwrite in ast_http_websocket_write
         fails with a large volume of data when the client takes awhile to process
         the information. When it does fail, it fails writing only a portion of
         the bytes. With some debugging, it was shown that this was failing in a
         similar fashion to ASTERISK-12767. Switching this over to ast_careful_fwrite
         with a long enough timeout solved the problem.
      
      ASTERISK-23917 #close
      Reported by: Matt Jordan
      
      Review: https://reviewboard.asterisk.org/r/3624/
      
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/11@417310 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      32d684ee
  32. Jun 20, 2014
    • George Joseph's avatar
      build: Allow autoconf/ast_ext_tool_check to handle cross-compiling better. · 2b4423d2
      George Joseph authored
      ast_ext_tool_check.m4 isn't handling cases where a path to a package is
      provided (E.G. --with-mysqlclient=/some/sysroot) and the package has a config
      tool (E.G. mysql_config) and the package has its own subdirectories in include
      or lib.  For example, mysql's libraries are in ${MYSQLCLIENT_DIR}/usr/lib/mysql
      but ast_ext_tool_check sets MYSQLCLIENT_LIB to ${MYSQLCLIENT_DIR}/usr/lib.
      libxml2 has the same problem with its includes.  They're in 
      ${LIBXML2_DIR}/usr/include/libxml2 not directly in ${LIBXML2_DIR}/usr/include.
      Both cause configure to fail and there are others in the same boat.
      
      The problem is caused by logic in ast_ext_tool_check that overrides the result
      of the config tool's --cflags and --libs options if package_DIR is set.
      
      This patch prepends package_DIR (if specified) to the -L and -I results from
      the package's config tool instead of overriding them.
      
      A regenerated ./configure and include/asterisk/autoconfig.h.in are included
      but can be regenerated by running ./bootstrap.sh at any time.
      
      Tested by: George Joseph
      Tested by: Matt Jordan
      Review: https://reviewboard.asterisk.org/r/3550/
      ........
      
      Merged revisions 416929 from http://svn.asterisk.org/svn/asterisk/branches/1.8
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/11@416930 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      2b4423d2
  33. Jun 13, 2014
  34. Jun 12, 2014
    • Richard Mudgett's avatar
      AST-2014-007: Fix DOS by consuming the number of allowed HTTP connections. · df686c50
      Richard Mudgett authored
      Simply establishing a TCP connection and never sending anything to the
      configured HTTP port in http.conf will tie up a HTTP connection.  Since
      there is a maximum number of open HTTP sessions allowed at a time you can
      block legitimate connections.
      
      A similar problem exists if a HTTP request is started but never finished.
      
      * Added http.conf session_inactivity timer option to close HTTP
      connections that aren't doing anything.  Defaults to 30000 ms.
      
      * Removed the undocumented manager.conf block-sockets option.  It
      interferes with TCP/TLS inactivity timeouts.
      
      * AMI and SIP TLS connections now have better authentication timeout
      protection.  Though I didn't remove the bizzare TLS timeout polling code
      from chan_sip.
      
      * chan_sip can now handle SSL certificate renegotiations in the middle of
      a session.  It couldn't do that before because the socket was non-blocking
      and the SSL calls were not restarted as documented by the OpenSSL
      documentation.
      
      * Fixed an off nominal leak of the ssl struct in
      handle_tcptls_connection() if the FILE stream failed to open and the SSL
      certificate negotiations failed.
      
      The patch creates a custom FILE stream handler to give the created FILE
      streams inactivity timeout and timeout after a specific moment in time
      capability.  This approach eliminates the need for code using the FILE
      stream to be redesigned to deal with the timeouts.
      
      This patch indirectly fixes most of ASTERISK-18345 by fixing the usage of
      the SSL_read/SSL_write operations.
      
      ASTERISK-23673 #close
      Reported by: Richard Mudgett
      ........
      
      Merged revisions 415841 from http://svn.asterisk.org/svn/asterisk/branches/1.8
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/11@415854 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      df686c50
  35. Jun 06, 2014
  36. May 12, 2014
    • Richard Mudgett's avatar
      chan_dahdi/sig_pri: Prevent unnecessary PROGRESS events when overlap dialing is enabled. · e99783e7
      Richard Mudgett authored
      When overlap dialing is enabled, the lack of inband audio available
      information in the SETUP_ACKNOWLEDGE events causes an interoperability
      problem with SIP.  sig_pri doesn't know if there is dialtone present when
      a SETUP_ACKNOWLEDGE is received so it assumes it is there and posts an
      AST_CONTROL_PROGRESS frame.  The SIP channel driver then sends out a 183
      Session Progress and blocks the desired 180 Ringing message when the
      ALERTING message comes in.
      
      * Made the configure script detect if the installed version of libpri
      supports the SETUP_ACKNOWLEDGE enhancements.
      
      * Using the new API, made generate an AST_CONTROL_PROGRESS frame on an
      incoming SETUP_ACKNOWLEDGE message when the message indicates inband audio
      is present instead of assuming that dialtone is present.
      
      * Using the new API, made SETUP_ACKNOWLEDGE send out an inband audio
      available indication only if dialtone is expected.  The change also makes
      the fallback behaviour of sending the PROGRESS message better by sending
      it only if dialtone is expected.
      
      * Changed receiving a PROCEEDING message to not generate an
      AST_CONTROL_PROGRESS frame if the progress indication ie indicates
      non-end-to-end-ISDN.  This helps interoperability with SIP.
      
      * Changed sending a PROCEEDING message in response to an
      AST_CONTROL_PROCEEDING frame to not indicate inband audio available.  It
      was silly to do so anyway because the channel driver doesn't know if
      inband audio is even available.  This helps interoperability with SIP.
      
      This patch and a corresponding change in libpri work together to allow
      Asterisk to control the inband audio available progress indication ie on
      the SETUP_ACKNOWLEDGE message when dialtone is present.
      
      AST-1338 #close
      Reported by: Tyler Stewart
      
      Review: https://reviewboard.asterisk.org/r/3521/
      ........
      
      Merged revisions 413714 from http://svn.asterisk.org/svn/asterisk/branches/1.8
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/11@413765 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      e99783e7
  37. May 09, 2014
  38. Apr 30, 2014
Loading