                                Release Summary

                                asterisk-12.8.0

                                Date: 2014-12-15

                           <asteriskteam@digium.com>

     ----------------------------------------------------------------------

                               Table of Contents

    1. Summary
    2. Contributors
    3. Closed Issues
    4. Other Changes
    5. Diffstat

     ----------------------------------------------------------------------

                                    Summary

                                 [Back to Top]

   This release includes only bug fixes. The changes included were made only
   to address problems that have been identified in this release series.
   Users should be able to safely upgrade to this version if this release
   series is already in use. Users considering upgrading from a previous
   release series are strongly encouraged to review the UPGRADE.txt document
   as well as the CHANGES document for information about upgrading to this
   release series.

   The data in this summary reflects changes that have been made since the
   previous release, asterisk-12.7.0.

     ----------------------------------------------------------------------

                                  Contributors

                                 [Back to Top]

   This table lists the people who have submitted code, those that have
   tested patches, as well as those that reported issues on the issue tracker
   that were resolved in this release. For coders, the number is how many of
   their patches (of any size) were committed into this release. For testers,
   the number is the number of times their name was listed as assisting with
   testing a patch. Finally, for reporters, the number is the number of
   issues that they reported that were closed by commits that went into this
   release.

     Coders                     Testers                    Reporters          
   12 mjordan                 2 Beppo Maazucato          7 coreyfarrell       
   11 coreyfarrell            2 Gregory Malsack          6 mjordan            
   9 gtjoseph                 1 David Duncan Ross Palmer 2 beppo.it           
   9 jcolp                    1 Etienne Lessard          2 gtj                
   6 rmudgett                 1 ibercom                  2 hexanol            
   4 bebuild                  1 xrobau                   2 nerbos             
   4 file                     1 Zane Conkle              2 rnewton            
   3 kharwell                                            1 bensmithurst       
   2 jrose                                               1 davidw             
   2 kmoore                                              1 dmitriy.bubnov     
   2 mmichelson                                          1 gmalsack           
   2 Nuno Borges                                         1 jcolp              
   1 Birger Harzenetter                                  1 ldardini           
   1 David Duncan Ross Palmer                            1 m6kvm              
   1 Dmitriy Bubnov                                      1 mshepherd          
   1 Dmitry Bubnov                                       1 rmudgett           
   1 Etienne Lessard                                     1 sgriepentrog       
   1 sgriepentrog                                        1 spitts             
   1 Xavier Hienne                                       1 wimpy              
                                                         1 xhienne            
                                                         1 xrobau             
                                                         1 yaronna            
                                                         1 zconkle            
                                                         1 zogot              

     ----------------------------------------------------------------------

                                 Closed Issues

                                 [Back to Top]

   This is a list of all issues from the issue tracker that were closed by
   changes that went into this release.

  Category: Addons/chan_mobile

   ASTERISK-24468: Incoming UCS2 encoded SMS truncated if SMS length exceeds
   50 (roughly) national symbols
   Revision: 427610
   Reporter: dmitriy.bubnov
   Coders: Dmitriy Bubnov, Dmitry Bubnov

  Category: Applications/app_agent_pool

   ASTERISK-24257: agent must dial acceptdtmf twice to bridge to queue caller
   Revision: 427508
   Reporter: spitts
   Coders: rmudgett

  Category: Applications/app_confbridge

   ASTERISK-24522: ConfBridge: delay occurs between kicking all endmarked
   users when last marked user leaves
   Revision: 428078
   Reporter: mjordan
   Coders: mjordan

  Category: Applications/app_dial

   ASTERISK-24499: Need more explicit debug when PJSIP dialstring is invalid
   Revision: 428007
   Reporter: rnewton
   Coders: jcolp

  Category: Applications/app_meetme

   ASTERISK-24572: [patch]App_meetme is loaded without its defaults when the
   configuration file is missing
   Revision: 429028
   Reporter: nerbos
   Coders: Nuno Borges

  Category: Applications/app_record

   ASTERISK-24530: [patch] app_record stripping 1/4 second from recordings
   Revision: 428654
   Reporter: bensmithurst
   Coders: jcolp

  Category: Applications/app_voicemail/IMAP

   ASTERISK-24516: [patch]Asterisk segfaults when playing back voicemail
   under high concurrency with an IMAP backend
   Revision: 428864
   Reporter: m6kvm
   Testers: David Duncan Ross Palmer
   Coders: David Duncan Ross Palmer

  Category: CDR/General

   ASTERISK-24279: Documentation: Clarify the behaviour of the CDR property
   'unanswered'
   Revision: 427901
   Reporter: mjordan
   Coders: jrose

  Category: CEL/cel_odbc

   ASTERISK-24283: [patch]Microseconds precision in the eventtime column in
   the cel_odbc module
   Revision: 427953
   Reporter: hexanol
   Coders: Etienne Lessard

  Category: Channels/chan_mgcp

   ASTERISK-24500: Regression introduced in chan_mgcp by SVN revision r227276
   Revision: 427614
   Reporter: xhienne
   Coders: Xavier Hienne

  Category: Channels/chan_sip/General

   ASTERISK-24307: Unintentional memory retention in stringfields
   Revision: 427382
   Reporter: hexanol
   Testers: ibercom, Etienne Lessard
   Coders: coreyfarrell

   ASTERISK-24533: 2 threads created per chan_sip entry
   Revision: 428681
   Reporter: xrobau
   Testers: xrobau
   Coders: mjordan

  Category: Channels/chan_sip/Transfers

   ASTERISK-15242: transmit_refer leaks sip_refer structures
   Revision: 428118
   Reporter: davidw
   Coders: coreyfarrell

  Category: Core/AstMM

   ASTERISK-24307: Unintentional memory retention in stringfields
   Revision: 427382
   Reporter: hexanol
   Testers: ibercom, Etienne Lessard
   Coders: coreyfarrell

   ASTERISK-24535: stringfields: Fix regression from fix for unintentional
   memory retention and another issue exposed by the fix
   Revision: 428272
   Reporter: coreyfarrell
   Coders: coreyfarrell

  Category: Core/Bridging

   ASTERISK-24447: Bridge DTMF hooks: Audio doesn't pass when waiting for
   more matching digits.
   Revision: 427493
   Reporter: rmudgett
   Coders: rmudgett

  Category: Core/BuildSystem

   ASTERISK-24502: Build fails when dev-mode, dont optimize and coverage are
   enabled
   Revision: 427683
   Reporter: coreyfarrell
   Coders: coreyfarrell

  Category: Core/Configuration

   ASTERISK-20127: [Regression] Config.c config_text_file_load() unescapes
   semicolons ("\;" -> ";") turning them into comments (corruption) on
   rewrite of a config file
   Revision: 427275
   Reporter: gtj
   Coders: gtjoseph

   ASTERISK-20127: [Regression] Config.c config_text_file_load() unescapes
   semicolons ("\;" -> ";") turning them into comments (corruption) on
   rewrite of a config file
   Revision: 427329
   Reporter: gtj
   Coders: gtjoseph

   ASTERISK-23651: Reloading some modules that are loaded already, results in
   'No such module' before a successful reload
   Revision: 427981
   Reporter: rnewton
   Coders: jcolp

   ASTERISK-24487: configuration: sections should be loadable as template
   even when not marked
   Revision: 427227
   Reporter: sgriepentrog
   Coders: gtjoseph

  Category: Core/FileFormatInterface

   ASTERISK-24492: main/file.c: ast_filestream sometimes causes extra calls
   to ast_module_unref
   Revision: 427465
   Reporter: coreyfarrell
   Coders: coreyfarrell

  Category: Core/General

   ASTERISK-23651: Reloading some modules that are loaded already, results in
   'No such module' before a successful reload
   Revision: 427981
   Reporter: rnewton
   Coders: jcolp

  Category: Core/ManagerInterface

   ASTERISK-24505: manager: http connections leak references
   Revision: 427642
   Reporter: coreyfarrell
   Coders: coreyfarrell

  Category: Core/Netsock

   ASTERISK-24469: Security Vulnerability: Mixed IPv4/IPv6 ACLs allow blocked
   addresses through
   Revision: 428422
   Reporter: mjordan
   Coders: mjordan

  Category: Core/PBX

   ASTERISK-24444: PBX: Crash when generating extension for pattern matching
   hint
   Revision: 427710
   Reporter: ldardini
   Coders: jcolp

  Category: Core/RTP

   ASTERISK-24489: Crash: Asterisk crashes when converting RTCP packet to
   JSON for res_hep_rtcp and report blocks are greater than 1
   Revision: 427762
   Reporter: gmalsack
   Testers: Gregory Malsack, Beppo Maazucato
   Coders: mjordan

  Category: Functions/func_talkdetect

   ASTERISK-24482: func_talkdetect: Fix stasis message leak in audiohook
   callback
   Revision: 427203
   Reporter: coreyfarrell
   Coders: coreyfarrell

  Category: PBX/pbx_loopback

   ASTERISK-24577: Speed up loopback switches by avoiding unneeded lookups
   Revision: 428788
   Reporter: wimpy
   Coders: Birger Harzenetter

  Category: Resources/res_ari

   ASTERISK-24501: ARI: Moving a channel between bridges followed by a hangup
   can cause an ARI client to not receive an expected ChannelLeftBridge event
   before StasisEnd
   Revision: 427788
   Reporter: mjordan
   Coders: kmoore

  Category: Resources/res_hep

   ASTERISK-24491: Memory leak in res_hep
   Revision: 427400
   Reporter: zconkle
   Testers: Zane Conkle
   Coders: coreyfarrell

  Category: Resources/res_hep_rtcp

   ASTERISK-24489: Crash: Asterisk crashes when converting RTCP packet to
   JSON for res_hep_rtcp and report blocks are greater than 1
   Revision: 427762
   Reporter: gmalsack
   Testers: Gregory Malsack, Beppo Maazucato
   Coders: mjordan

   ASTERISK-24498: Segmentation fault in res_hep_rtcp on attended transfer
   Revision: 427762
   Reporter: beppo.it
   Testers: Gregory Malsack, Beppo Maazucato
   Coders: mjordan

  Category: Resources/res_http_websocket

   ASTERISK-24480: res_http_websockets: Module reference decrease below zero
   Revision: 427200
   Reporter: coreyfarrell
   Coders: coreyfarrell

  Category: Resources/res_monitor

   ASTERISK-24573: [patch]Out of sync conversation recording when divided in
   multiple recordings
   Revision: 429032
   Reporter: nerbos
   Coders: Nuno Borges

  Category: Resources/res_pjsip

   ASTERISK-24336: PJSIP timer_min_se value under 90 causes crash
   Revision: 427978
   Reporter: zogot
   Coders: jcolp

   ASTERISK-24471: Crash - assert_fail in libc in pjmedia_sdp_neg_negotiate
   from /usr/local/lib/libpjmedia.so.2
   Revision: 428301
   Reporter: yaronna
   Coders: jcolp

   ASTERISK-24499: Need more explicit debug when PJSIP dialstring is invalid
   Revision: 428007
   Reporter: rnewton
   Coders: jcolp

   ASTERISK-24508: pjsip - REFER request from SNOM is rejected with "400 bad
   request" - DEBUG shows "Received a REFER without a parseable Refer-To"
   Revision: 428195
   Reporter: beppo.it
   Coders: jcolp

  Category: Resources/res_pjsip_acl

   ASTERISK-24531: res_pjsip_acl: ACLs not applied on initial module load
   Revision: 428333
   Reporter: mjordan
   Coders: jrose

  Category: Resources/res_pjsip_multihomed

   ASTERISK-24438: res_pjsip_multihomed.so blocks Asterisk reload when DNS
   settings invalid
   Revision: 427300
   Reporter: mshepherd
   Coders: jcolp

  Category: Resources/res_pjsip_refer

   ASTERISK-24508: pjsip - REFER request from SNOM is rejected with "400 bad
   request" - DEBUG shows "Received a REFER without a parseable Refer-To"
   Revision: 428195
   Reporter: beppo.it
   Coders: jcolp

   ASTERISK-24528: res_pjsip_refer: Sending INVITE with Replaces in-dialog
   with invalid target causes crash
   Revision: 428304
   Reporter: jcolp
   Coders: jcolp

  Category: Resources/res_stasis

   ASTERISK-24537: Stasis: StasisStart/StasisEnd events are not reliably
   transmitted during transfers
   Revision: 429061
   Reporter: mjordan
   Coders: kmoore

  Category: pjproject/pjsip

   ASTERISK-24336: PJSIP timer_min_se value under 90 causes crash
   Revision: 427978
   Reporter: zogot
   Coders: jcolp

   ASTERISK-24471: Crash - assert_fail in libc in pjmedia_sdp_neg_negotiate
   from /usr/local/lib/libpjmedia.so.2
   Revision: 428301
   Reporter: yaronna
   Coders: jcolp

     ----------------------------------------------------------------------

                      Commits Not Associated with an Issue

                                 [Back to Top]

   This is a list of all changes that went into this release that did not
   directly close an issue from the issue tracker. The commits may have been
   marked as being related to an issue. If that is the case, the issue
   numbers are listed here, as well.

   +------------------------------------------------------------------------+
   |Revision|Author      |Summary                                |Issues    |
   |        |            |                                       |Referenced|
   |--------+------------+---------------------------------------+----------|
   |427355  |gtjoseph    |test_strings: Remove string tests that |          |
   |        |            |exercise asserts.                      |          |
   |--------+------------+---------------------------------------+----------|
   |427582  |mjordan     |bridge_native_rtp: Fix T.38 issues with|          |
   |        |            |remote bridges                         |          |
   |--------+------------+---------------------------------------+----------|
   |427736  |coreyfarrell|Fix leak in AMI Action Bridge          |          |
   |--------+------------+---------------------------------------+----------|
   |        |            |res_pjsip_exten_state:                 |          |
   |427814  |kharwell    |PJSIPShowSubscriptionsInbound causes   |          |
   |        |            |crash                                  |          |
   |--------+------------+---------------------------------------+----------|
   |        |            |Fix a possible race condition where    |          |
   |427840  |mmichelson  |duplicate requests may be handled by   |          |
   |        |            |separate threads.                      |          |
   |--------+------------+---------------------------------------+----------|
   |427843  |file        |res_pjsip_pubsub: Add some casting so  |          |
   |        |            |that it builds once again.             |          |
   |--------+------------+---------------------------------------+----------|
   |427845  |file        |app_confbridge: Play "leader has left" |          |
   |        |            |sound even when musiconhold is enabled.|          |
   |--------+------------+---------------------------------------+----------|
   |427848  |mmichelson  |Fix race condition that could result in|          |
   |        |            |ARI transfer messages not being sent.  |          |
   |--------+------------+---------------------------------------+----------|
   |427875  |sgriepentrog|stun: correct attribute string padding |          |
   |        |            |to match rfc                           |          |
   |--------+------------+---------------------------------------+----------|
   |428051  |file        |chan_pjsip: Remove AOR check when      |          |
   |        |            |dialing and one is specified.          |          |
   |--------+------------+---------------------------------------+----------|
   |428104  |mjordan     |tests/test_cel: Fix CEL unit tests     |          |
   |--------+------------+---------------------------------------+----------|
   |        |            |apps/app_confbridge: Ensure 'normal'   |          |
   |428114  |mjordan     |users hear message when last marked    |          |
   |        |            |leaves                                 |          |
   |--------+------------+---------------------------------------+----------|
   |428168  |rmudgett    |parking_tests.c: Add missing newline on|          |
   |        |            |a unit test message.                   |          |
   |--------+------------+---------------------------------------+----------|
   |428245  |rmudgett    |ast_str: Fix improper member access to |          |
   |        |            |struct ast_str members.                |          |
   |--------+------------+---------------------------------------+----------|
   |        |            |AST-2014-017 - app_confbridge:         |          |
   |428334  |kharwell    |permission escalation/ class           |          |
   |        |            |authorization.                         |          |
   |--------+------------+---------------------------------------+----------|
   |428409  |kharwell    |AST-2014-018 - func_db: DB Dialplan    |          |
   |        |            |function permission escalation via AMI.|          |
   |--------+------------+---------------------------------------+----------|
   |        |            |sorcery: Make                          |          |
   |428543  |gtjoseph    |is_object_field_registered handle field|          |
   |        |            |names that are regexes.                |          |
   |--------+------------+---------------------------------------+----------|
   |428571  |rmudgett    |manager: Fix could not extend string   |          |
   |        |            |messages.                              |          |
   |--------+------------+---------------------------------------+----------|
   |        |            |DTMF hooks: Leaving channels need to   |          |
   |428601  |rmudgett    |push any collected digits into the     |          |
   |        |            |bridge.                                |          |
   |--------+------------+---------------------------------------+----------|
   |428725  |gtjoseph    |res_pjsip_endpoint_identifier_ip: Add  |          |
   |        |            |'show identify(ies)' cli commands      |          |
   |--------+------------+---------------------------------------+----------|
   |428733  |gtjoseph    |config: Create                         |          |
   |        |            |ast_variable_find_in_list()            |          |
   |--------+------------+---------------------------------------+----------|
   |        |            |res_pjsip_refer: Fix issue where native|          |
   |428760  |file        |bridge may not occur upon completion of|          |
   |        |            |a transfer.                            |          |
   |--------+------------+---------------------------------------+----------|
   |428836  |gtjoseph    |CHANGES: Add item for new 'pjsip show  |          |
   |        |            |identif(y|ies) commands                |          |
   |--------+------------+---------------------------------------+----------|
   |        |            |tests/test_cel: Fix CEL unit test      |          |
   |428891  |mjordan     |failures caused by attended transfer   |          |
   |        |            |changes                                |          |
   |--------+------------+---------------------------------------+----------|
   |        |            |tests/test_cel: Add                    |          |
   |428918  |mjordan     |test_cel_attended_transfer_bridges_link|          |
   |        |            |to racey tests                         |          |
   |--------+------------+---------------------------------------+----------|
   |428945  |mjordan     |main/test: Fix race condition between  |          |
   |        |            |AMI topic and Test Suite topic         |          |
   |--------+------------+---------------------------------------+----------|
   |428972  |mjordan     |main/test: Fix compilation issue on    |          |
   |        |            |32-bit systems                         |          |
   |--------+------------+---------------------------------------+----------|
   |428999  |gtjoseph    |sorcery: Add additional observer       |          |
   |        |            |capabilities.                          |          |
   |--------+------------+---------------------------------------+----------|
   |429310  |bebuild     |Create 12.8.0-rc2                      |          |
   |--------+------------+---------------------------------------+----------|
   |429313  |bebuild     |Remove old summaries; update .version  |          |
   |--------+------------+---------------------------------------+----------|
   |429316  |bebuild     |Merge r429272 for AST-2014-019         |          |
   |--------+------------+---------------------------------------+----------|
   |429323  |bebuild     |Importing release summary for          |          |
   |        |            |12.8.0-rc2 release.                    |          |
   +------------------------------------------------------------------------+

     ----------------------------------------------------------------------

                                Diffstat Results

                                 [Back to Top]

   This is a summary of the changes to the source code that went into this
   release that was generated using the diffstat utility.

 .version                                  |    2
 CHANGES                                   |    9
 ChangeLog                                 |   22 +
 Makefile.rules                            |   18
 UPGRADE.txt                               |   10
 addons/chan_mobile.c                      |    2
 apps/app_agent_pool.c                     |   39 +
 apps/app_confbridge.c                     |    4
 apps/app_meetme.c                         |   35 +
 apps/app_queue.c                          |    6
 apps/app_record.c                         |    9
 apps/app_voicemail.c                      |    7
 apps/confbridge/conf_state_multi_marked.c |   27 -
 asterisk-12.8.0-rc1-summary.html          |  503 -----------------------
 asterisk-12.8.0-rc1-summary.txt           |  641 ------------------------------
 asterisk-12.8.0-rc2-summary.html          |   64 ++
 asterisk-12.8.0-rc2-summary.txt           |   95 ++++
 bridges/bridge_native_rtp.c               |   10
 cel/cel_odbc.c                            |   13
 channels/chan_console.c                   |   64 +-
 channels/chan_dahdi.c                     |    2
 channels/chan_iax2.c                      |    2
 channels/chan_mgcp.c                      |    7
 channels/chan_motif.c                     |    6
 channels/chan_pjsip.c                     |   20
 channels/chan_sip.c                       |   51 +-
 channels/chan_skinny.c                    |    2
 channels/sig_pri.c                        |    2
 channels/sip/security_events.c            |    2
 configs/cdr.conf.sample                   |   21
 configs/stasis.conf.sample                |    9
 funcs/func_db.c                           |    2
 funcs/func_talkdetect.c                   |    1
 include/asterisk/bridge_channel.h         |   25 +
 include/asterisk/channel.h                |   11
 include/asterisk/config.h                 |   14
 include/asterisk/res_pjsip.h              |    3
 include/asterisk/sorcery.h                |  176 ++++++++
 include/asterisk/stasis.h                 |   36 +
 include/asterisk/stasis_app.h             |    5
 include/asterisk/stasis_bridges.h         |  213 ++++-----
 include/asterisk/stasis_internal.h        |    7
 include/asterisk/stasis_message_router.h  |   16
 include/asterisk/stringfields.h           |   47 +-
 include/asterisk/test.h                   |    4
 include/asterisk/utils.h                  |   10
 main/acl.c                                |    2
 main/bridge.c                             |  281 +++----------
 main/bridge_basic.c                       |  118 +----
 main/bridge_channel.c                     |  359 +++++++++++-----
 main/cdr.c                                |   22 -
 main/cel.c                                |    4
 main/channel.c                            |    3
 main/channel_internal_api.c               |    9
 main/config.c                             |   32 +
 main/endpoints.c                          |    2
 main/features.c                           |    1
 main/file.c                               |    4
 main/manager.c                            |  107 +----
 main/pbx.c                                |   26 -
 main/rtp_engine.c                         |    2
 main/sorcery.c                            |  365 ++++++++++++++---
 main/stasis.c                             |  176 +++++++-
 main/stasis_bridges.c                     |  244 ++++-------
 main/stasis_cache.c                       |    2
 main/stasis_channels.c                    |    2
 main/stasis_message_router.c              |   22 -
 main/stun.c                               |   11
 main/test.c                               |   50 ++
 main/utils.c                              |   46 ++
 pbx/pbx_config.c                          |   31 +
 pbx/pbx_loopback.c                        |   19
 res/parking/parking_applications.c        |    2
 res/parking/parking_bridge_features.c     |    2
 res/parking/parking_tests.c               |    2
 res/res_calendar.c                        |    2
 res/res_hep.c                             |    1
 res/res_http_websocket.c                  |   29 -
 res/res_jabber.c                          |    2
 res/res_monitor.c                         |    2
 res/res_pjsip.c                           |   11
 res/res_pjsip/pjsip_cli.c                 |    5
 res/res_pjsip/pjsip_configuration.c       |    8
 res/res_pjsip/pjsip_distributor.c         |   28 -
 res/res_pjsip_acl.c                       |    7
 res/res_pjsip_endpoint_identifier_ip.c    |   83 +++
 res/res_pjsip_multihomed.c                |    8
 res/res_pjsip_mwi.c                       |    2
 res/res_pjsip_outbound_registration.c     |  429 ++++++++++++--------
 res/res_pjsip_phoneprov_provider.c        |    9
 res/res_pjsip_pubsub.c                    |   13
 res/res_pjsip_refer.c                     |   63 ++
 res/res_pjsip_session.c                   |    7
 res/res_pjsip_transport_websocket.c       |    3
 res/res_stasis.c                          |  286 ++++++-------
 res/res_stasis_device_state.c             |    2
 res/res_xmpp.c                            |    2
 res/stasis/app.c                          |   31 -
 res/stasis/app.h                          |    7
 res/stasis/stasis_bridge.c                |    6
 tests/test_cel.c                          |   70 +--
 tests/test_sorcery.c                      |  355 ++++++++++++++++
 tests/test_stasis.c                       |  310 ++++++++++++++
 tests/test_strings.c                      |   66 +++
 104 files changed, 3440 insertions(+), 2627 deletions(-)

     ----------------------------------------------------------------------
