]> git.ipfire.org Git - thirdparty/asterisk.git/log
thirdparty/asterisk.git
8 years agoMerge "vector: After remove element recheck index" into 14
zuul [Tue, 11 Oct 2016 22:39:55 +0000 (17:39 -0500)] 
Merge "vector: After remove element recheck index" into 14

8 years agoMerge "app_dial: Add the "Q" option to set the cause on unanswered channels" into 14
zuul [Tue, 11 Oct 2016 20:36:58 +0000 (15:36 -0500)] 
Merge "app_dial:  Add the "Q" option to set the cause on unanswered channels" into 14

8 years agoMerge "astobj2: Add backtrace to log_bad_ao2." into 14
zuul [Tue, 11 Oct 2016 18:22:39 +0000 (13:22 -0500)] 
Merge "astobj2: Add backtrace to log_bad_ao2." into 14

8 years agoapp_dial: Add the "Q" option to set the cause on unanswered channels 34/4034/7
George Joseph [Thu, 6 Oct 2016 14:58:26 +0000 (08:58 -0600)] 
app_dial:  Add the "Q" option to set the cause on unanswered channels

The "Q" option will set the cause on the unanswered channels when
another channel answers.  It overrides the default of
ANSWERED_ELSEWHERE.

NOTE:  chan_sip does not support setting the cause on a CANCEL to
anything other than ANSWERED_ELSEWHERE.

ASTERISK-26446 #close

Change-Id: I71742e0919aaa16784c30a2b2e73fbeed7672e47

8 years agoMerge "res_rtp_asterisk: Fix infinite DTMF issue when switching to P2P bridge" into 14
Joshua Colp [Tue, 11 Oct 2016 12:32:02 +0000 (07:32 -0500)] 
Merge "res_rtp_asterisk: Fix infinite DTMF issue when switching to P2P bridge" into 14

8 years agovector: After remove element recheck index 66/4066/6
Badalyan Vyacheslav [Mon, 10 Oct 2016 21:59:58 +0000 (17:59 -0400)] 
vector: After remove element recheck index

Small fix. It is necessary to double-check
the index that we just removed because there
is a new element.

ASTERISK-26453 #close

Change-Id: Ib947fa94dc91dcd9341f357f1084782c64434eb7

8 years agoMerge "cel_odbc: Fix memory leak on module unload" into 14
Joshua Colp [Tue, 11 Oct 2016 10:36:29 +0000 (05:36 -0500)] 
Merge "cel_odbc: Fix memory leak on module unload" into 14

8 years agoMerge "logger: Prevent output of verbose messages initiated from rasterisk." into 14
zuul [Tue, 11 Oct 2016 03:43:23 +0000 (22:43 -0500)] 
Merge "logger: Prevent output of verbose messages initiated from rasterisk." into 14

8 years agores_rtp_asterisk: Fix infinite DTMF issue when switching to P2P bridge 52/4052/2
Torrey Searle [Thu, 29 Sep 2016 17:52:45 +0000 (19:52 +0200)] 
res_rtp_asterisk: Fix infinite DTMF issue when switching to P2P bridge

If a bridge switched to P2P when a DTMF was in progress it
was possible for the DTMF to continue being sent indefinitely.

Change-Id: I7e2a3efe0d59d4b214ed50cd0b5d0317e2d92e29

8 years agoMerge "pjproject_bundled: Add MALLOC_DEBUG capability" into 14
Joshua Colp [Mon, 10 Oct 2016 21:44:46 +0000 (16:44 -0500)] 
Merge "pjproject_bundled:  Add MALLOC_DEBUG capability" into 14

8 years agores_pjsip_config_wizard: Memory leak in module_unload 56/4056/1
Badalyan Vyacheslav [Mon, 10 Oct 2016 15:59:38 +0000 (11:59 -0400)] 
res_pjsip_config_wizard: Memory leak in module_unload

Fixed a memory leak. It removes only the first element.
Added a useful feature in vector.h to remove all items
under the CMP through a callback function / macro.

ASTERISK-26453 #close

Change-Id: I84508353463456d2495678f125738e20052da950

8 years agocel_odbc: Fix memory leak on module unload 46/4046/1
Badalyan Vyacheslav [Mon, 10 Oct 2016 02:53:07 +0000 (22:53 -0400)] 
cel_odbc: Fix memory leak on module unload

Change-Id: Ic7a1236eba2408090fdabb5f717b5fa455ead715

8 years agologger: Prevent output of verbose messages initiated from rasterisk. 41/4041/1
Corey Farrell [Mon, 10 Oct 2016 02:28:52 +0000 (22:28 -0400)] 
logger: Prevent output of verbose messages initiated from rasterisk.

Remote asterisk consoles should only display verbose log messages
created by the daemon.  The first patch for ASTERISK-26410 caused
a couple verbose messages to be printed when the rasterisk process
ended.

ASTERISK-26410

Change-Id: Ie2a1bb3753ad2724c0349ec1a336f52f7117b52a

8 years agopjproject_bundled: Add MALLOC_DEBUG capability 31/4031/5
George Joseph [Wed, 5 Oct 2016 19:53:10 +0000 (13:53 -0600)] 
pjproject_bundled:  Add MALLOC_DEBUG capability

pjproject_bundled will now use the asterisk memory debugging APIs
if MALLOC_DEBUG is turned on in menuselect.

Because this required stubs for the executable programs and the python
bindings, some Makefile reorganization was needed to properly handle
the dependencies.  As a result, the makefile now individually makes
each of the pjproject libraries separately instead of making them all
in 1 shot.  The only visible change is that there are separate status
lines printed for each library instead oif 1 for all libs.  Also, the
making of the pjproject dependency files was eliminated.  They're not
needed for building unless you're actively modifying pjproject source
files and it makes the build process faster.  Finally, any issues with
parallel builds should be resolved again making the build faster.

Change-Id: Icc5e3d658fbfb00e0a46b44c66dcc2522d5171b0

8 years agoalembic: Allow cdr, config and voicemail to exist in the same schema 19/4019/2
George Joseph [Tue, 4 Oct 2016 21:59:54 +0000 (15:59 -0600)] 
alembic:  Allow cdr, config and voicemail to exist in the same schema

cdr, config and voicemail are all separate alembic trees.  Because
alembic's default is to use a table named 'alembic_version' to store
the current tree revision, the 3 trees can't exist in the same schema
without stepping on each other.

Now each tree uses 'alembic_version_<tree_name>' as the version table.
Each tree's env.py script now first checks for 'alembic_version'.  If
it finds it AND its revision is in the tree's history, the script
renames it to 'alembic_version_<tree_name>'.  Regardless, the script
then continues with the migration using 'alembic_version_<tree_name>'
and creates that table if it's not found.  The result is that if an
existing 'alembic_version' table was found but it didn't belong to this
tree, it's left alone and 'alembic_version_<tree_name>' is used or
created.

WARNING:  If multiple trees are using the same schema, they MUST NOT
CRU or D any objects with names that might exist in the other trees.
An example would be 'yesno_values' type.  If two trees perform
operations on it, one tree could pull it out from under the other.
Thankfully we currently don't share any names among cdr, config and
voicemail.

NOTE:  Since the env.py scripts in each tree were identical, a common
env.py has been placed in the ast-db-manage directory and a symlink
to it has been placed in each tree directory.

ASTERISK-24311 #close
Reported-by: Dafi Ni
Change-Id: I4d593f000350deb5d21a14fa1e9bc3896844d898

8 years agoastobj2: Add backtrace to log_bad_ao2. 36/4036/2
Corey Farrell [Fri, 16 Sep 2016 23:54:07 +0000 (19:54 -0400)] 
astobj2: Add backtrace to log_bad_ao2.

* Compile __ast_assert_failed unconditionally.
* Use __ast_assert_failed to log messages from log_bad_ao2
* Remove calls to ast_assert(0) that happen after log_bad_ao2 was run.

Change-Id: I48f1af44b2718ad74a421ff75cb6397b924a9751

8 years agochan_sip: Honor support of Symmetric Response (rport) for SIP requests. 28/4028/1
Alexander Traud [Wed, 5 Oct 2016 09:25:11 +0000 (11:25 +0200)] 
chan_sip: Honor support of Symmetric Response (rport) for SIP requests.

In the SIP channel driver chan_sip, the default is "auto_force_rport". When no
NAT was detected, for example in case of IPv6, Asterisk uses the IP address
from the headers within the SIP-REGISTER for subsequent SIP signaling. When
the remote party specifies support for Symmetric Response (RFC 3581) via the
parameter "rport", Asterisk should not extract the port from the SIP headers
but reuse the port of the transport. This did not happen because of a typo.

ASTERISK-26438 #close

Change-Id: If6e7891848aaf96666dee5305695f7c6667cd5a6

8 years agoMerge "Remove "format_ogg_opus: New format"" into 14
Joshua Colp [Thu, 29 Sep 2016 21:14:24 +0000 (16:14 -0500)] 
Merge "Remove "format_ogg_opus: New format"" into 14

8 years agoMerge "download_externals: Fix issue with re-install" into 14
Joshua Colp [Thu, 29 Sep 2016 20:53:25 +0000 (15:53 -0500)] 
Merge "download_externals: Fix issue with re-install" into 14

8 years agoRemove "format_ogg_opus: New format" 04/4004/1
Kevin Harwell [Thu, 29 Sep 2016 19:02:37 +0000 (14:02 -0500)] 
Remove "format_ogg_opus: New format"

This reverts commit 40aa28131bc30b4516da2b20eb1a1e043920169c.

ASTERISK-26426 #close

Change-Id: I81e55c3c512f1dd6f49896f0c6b97a07d74fd8f5

8 years agodownload_externals: Fix issue with re-install 94/3994/1
George Joseph [Tue, 27 Sep 2016 21:10:37 +0000 (15:10 -0600)] 
download_externals: Fix issue with re-install

Needed to ignore an xmlstarlet return code for optional element.

Change-Id: I6a96f709b4b38c9a3f3dda4e8b07903787e16873
Reported-by: Dan Jenkins
8 years agologger: Output early verbose messages to console. 91/3991/1
Corey Farrell [Tue, 27 Sep 2016 20:35:38 +0000 (16:35 -0400)] 
logger: Output early verbose messages to console.

Verbose messages should be printed to the console if the sublevel is
less than option_verbose.  This fix ensures the welcome message with
copyright and license are printed at daemon and interactive rasterisk
startup.

ASTERISK-26410 #close

Change-Id: Ia44235e30ec328aba92ea2c8a837b094e65c9a03

8 years agoMerge "chan_sip: Resolve externhost not to IPv6; instead go for IPv4." into 14
zuul [Tue, 27 Sep 2016 19:30:48 +0000 (14:30 -0500)] 
Merge "chan_sip: Resolve externhost not to IPv6; instead go for IPv4." into 14

8 years agoMerge "codec_opus: Add download ability to menuselect" into 14
George Joseph [Tue, 27 Sep 2016 19:12:30 +0000 (14:12 -0500)] 
Merge "codec_opus: Add download ability to menuselect" into 14

8 years agoMerge "codec_opus: Replace res_format_attr_opus with the one from codec_opus" into 14
George Joseph [Tue, 27 Sep 2016 19:12:18 +0000 (14:12 -0500)] 
Merge "codec_opus: Replace res_format_attr_opus with the one from codec_opus" into 14

8 years agoMerge "format_ogg_opus: New format" into 14
George Joseph [Tue, 27 Sep 2016 19:12:00 +0000 (14:12 -0500)] 
Merge "format_ogg_opus: New format" into 14

8 years agocodec_opus: Add download ability to menuselect 86/3986/1
George Joseph [Thu, 22 Sep 2016 14:49:50 +0000 (08:49 -0600)] 
codec_opus: Add download ability to menuselect

Updated codecs/codecs.xml to add codec_opus to the external
download list.

ASTERISK-26409

Change-Id: Ia07b36539f30e852125fb2b94147dc9774df31a4
(cherry picked from commit 2cdab0e36eec4997ca3bd85aa09efc477038e31c)

8 years agocodec_opus: Replace res_format_attr_opus with the one from codec_opus 78/3378/2
George Joseph [Sat, 23 Jul 2016 19:50:37 +0000 (13:50 -0600)] 
codec_opus: Replace res_format_attr_opus with the one from codec_opus

Preparation

ASTERISK-26409

Change-Id: I9f20e7cce00c32464d9a180e81283d49d199d0a3

8 years agoformat_ogg_opus: New format 85/3985/1
George Joseph [Sat, 23 Jul 2016 20:56:43 +0000 (14:56 -0600)] 
format_ogg_opus: New format

Add Ogg/Opus playback support.

This uses libopusfile in order to be able to read .opus files and play
them back.

Writing/recording support is not present at this time.

ASTERISK-26409

Change-Id: I8815d23345108d8ca7c0bd640f6a1ce6b4f56955

8 years agobuild_tools: Add ability to download variants to download_externals 72/3972/1
George Joseph [Sun, 25 Sep 2016 00:05:02 +0000 (18:05 -0600)] 
build_tools:  Add ability to download variants to download_externals

Some external packages have multiple variants that apply to different
builds of asterisk.  The DPMA for instance has a "bundled" variant that
needs to be downloaded if asterisk was configured with
--with-pjproject-bundled.

There are 2 ways to specify variants:

If you need the user to make the decision about which variant to
download, simply create multiple menuselect "member" entries like so...

<member name="res_digium_phone" displayname="..snipped..">
  <support_level>external</support_level>
  <depend>xmlstarlet</depend>
  <depend>bash</depend>
  <defaultenabled>no</defaultenabled>
</member>

<member name="res_digium_phone-bundled" displayname="..snipped..">
  <support_level>external</support_level>
  <depend>xmlstarlet</depend>
  <depend>bash</depend>
  <defaultenabled>no</defaultenabled>
</member>

Note that the second entry has "-<variant>" appended to the name.
You can then use the existing menuselect facilities to restrict which
members to enable or disable.  Youy probably don't want the user to
enable multiple at the same time.

If you want to hide the details of the variants, the better way to
do it is to create 1 member with "variant" elements.

<member name="res_digium_phone" displayname="..snipped..">
  <support_level>external</support_level>
  <depend>xmlstarlet</depend>
  <depend>bash</depend>
  <defaultenabled>no</defaultenabled>
  <member_data>
    <downloader>
      <variants>
        <variant tag="bundled"
          condition='[[ "$PJPROJECT_BUNDLED" = "yes" ]]'/>
      </variants>
    </downloader>
  </member_data>
</member>

The condition must be a bash expression suitable for use with an "if"
statement.  Any environment variable can be used plus those available
in makeopts.

In this case, if asterisk was configured with --with-pjproject-bundled
the bundled variant will be automatically downloaded.  Otherwise the
normal version will be downloaded.

Change-Id: I4de23e06d4492b0a65e105c8369966547d0faa3e

8 years agoMerge "channels/chan_pjsip: fix HANGUPCAUSE function bug." into 14
zuul [Fri, 23 Sep 2016 23:53:10 +0000 (18:53 -0500)] 
Merge "channels/chan_pjsip: fix HANGUPCAUSE function bug." into 14

8 years agochannels/chan_pjsip: fix HANGUPCAUSE function bug. 71/3971/1
Aaron An [Thu, 22 Sep 2016 06:40:45 +0000 (14:40 +0800)] 
channels/chan_pjsip: fix HANGUPCAUSE function bug.

HANGUPCAUSE not return 'SIP 200 Ok' when dialed channel answered.
This patch change the call order of ast_queue_control_data
and ast_queue_control in chan_pjsip_incoming_response.

ASTERISK-26396 #close
Reported by: AaronAn
Tested by: AaronAn

Change-Id: Ide2d31723d8d425961e985de7de625694580be61

8 years agochan_sip: Resolve externhost not to IPv6; instead go for IPv4. 67/3967/1
Alexander Traud [Fri, 23 Sep 2016 14:54:28 +0000 (16:54 +0200)] 
chan_sip: Resolve externhost not to IPv6; instead go for IPv4.

For the channel driver chan_sip, you specify externhost=example.com in sip.conf
when your Asterisk is behind a NAT and your IP address is assigned dynamically.
Or stated differently: You do not have a static IP address to use "externaddr"
directly. This NAT support is quite handy but just about IPv4. Previously,
Asterisk resolved "externhost" to any IP version. When the first DNS answer
resolved to an IPv6, Asterisk sent an IPv6 in SIP/SDP for origin (o=) and
connection (c=). This happened in outgoing SIP-REGISTER and while answering
SIP-INVITE. If the remote peer is IPv4-only, it might not handle o=/c= with an
IPv6. This change makes sure, no IPv6 is resolved anymore for "externhost".

ASTERISK-18232 #close
Reported by: Jacek Kowalski
Tested by: Alexander Traud
patches:
 changes.patch submitted by Alessandro Crespi

Change-Id: If68eedbeff65bd1c1d8a9ed921c02ba464b32dac

8 years agochan_sip: Address runaway when realtime peers subscribe to mailboxes 64/3964/2
George Joseph [Tue, 20 Sep 2016 14:42:15 +0000 (08:42 -0600)] 
chan_sip:  Address runaway when realtime peers subscribe to mailboxes

Users upgrading from asterisk 13.5 to a later version and who use
realtime with peers that have mailboxes were experiencing runaway
situations that manifested as a continuous stream of taskprocessor
congestion errors, memory leaks and an unresponsive chan_sip.

A related issue was that setting rtcachefriends=no NEVER worked in
asterisk 13 (since the move to stasis).  In 13.5 and earlier, when a
peer tried to register, all of the stasis threads would block and
chan_sip would again become unresponsive.  After 13.5, the runaway
would happen.

There were a number of causes...
* mwi_event_cb was (indirectly) calling build_peer even though calls to
  mwi_event_cb are often caused by build_peer.
* In an effort to prevent chan_sip from being unloaded while messages
  were still in flight, destroy_mailboxes was calling
  stasis_unsubscribe_and_join but in some cases waited forever for the
  final message.
* add_peer_mailboxes wasn't properly marking the existing mailboxes
  on a peer as "keep" so build_peer would always delete them all.
* add_peer_mwi_subs was unsubscribing existing mailbox subscriptions
  then just creating them again.

All of this was causing a flood of subscribes and unsubscribes on
multiple threads all for the same peer and mailbox.

Fixes...
* add_peer_mailboxes now marks mailboxes correctly and build_peer only
  deletes the ones that really are no longer needed by the peer.
* add_peer_mwi_subs now only adds subscriptions marked as "new" instead
  of unsubscribing and resubscribing everything.  It also adds the peer
  object's address to the mailbox instead of its name to the subscription
  userdata so mwi_event_cb doesn't have to call build_peer.

With these changes, with rtcachefriends=yes (the most common setting),
there are no leaks, locks, loops or crashes at shutdown.

rtcachefriends=no still causes leaks but at least it doesn't lock, loop
or crash.  Since making rtcachefriends=no work wasnt in scope for this
issue, further work will have to be deferred to a separate patch.

Side fixes...
 * The ast_lock_track structure had a member named "thread" which gdb
   doesn't like since it conflicts with it's "thread" command.  That
   member was renamed to "thread_id".

ASTERISK-25468 #close

Change-Id: I07519ef7f092629e1e844f855abd279d6475cdd0

8 years agoMerge "core: Ensure presencestate subtype and message are NULL." into 14
zuul [Thu, 22 Sep 2016 15:06:37 +0000 (10:06 -0500)] 
Merge "core: Ensure presencestate subtype and message are NULL." into 14

8 years agoMerge "res_odbc: Make pooling option deprecation notice more useful." into 14
Joshua Colp [Thu, 22 Sep 2016 12:10:42 +0000 (07:10 -0500)] 
Merge "res_odbc: Make pooling option deprecation notice more useful." into 14

8 years agoMerge "cdr_mysql: fix UTC support" into 14
zuul [Wed, 21 Sep 2016 22:11:56 +0000 (17:11 -0500)] 
Merge "cdr_mysql: fix UTC support" into 14

8 years agoMerge "logger: Simplify ast_callid handling code." into 14
zuul [Wed, 21 Sep 2016 20:15:12 +0000 (15:15 -0500)] 
Merge "logger: Simplify ast_callid handling code." into 14

8 years agocore: Ensure presencestate subtype and message are NULL. 57/3957/1
Joshua Colp [Wed, 21 Sep 2016 19:24:08 +0000 (19:24 +0000)] 
core: Ensure presencestate subtype and message are NULL.

When retrieving presence state information there is no
guarantee that the subtype and message passed in are
set to NULL. This change ensures they are.

ASTERISK-26397 #close

Change-Id: If38cd730e409e9a9b6eb9adef6591d15a9e61f86

8 years agoMerge "logger: Always enable verbose for console channel." into 14
zuul [Wed, 21 Sep 2016 19:19:03 +0000 (14:19 -0500)] 
Merge "logger: Always enable verbose for console channel." into 14

8 years agoMerge "logger: Fix default console settings." into 14
zuul [Wed, 21 Sep 2016 17:25:09 +0000 (12:25 -0500)] 
Merge "logger: Fix default console settings." into 14

8 years agores_odbc: Make pooling option deprecation notice more useful. 52/3952/2
Joshua Colp [Wed, 21 Sep 2016 15:48:47 +0000 (15:48 +0000)] 
res_odbc: Make pooling option deprecation notice more useful.

This changes the notice for the deprecation of the old
pooling options to point to the new option for doing
pooling. This gives a clearer direction as to what to
look into.

ASTERISK-26389 #close

Change-Id: I2ca9cdfdcd75aec170a7db9d5ff69a4cd25b7c10

8 years agoMerge "core: Fix LOW_MEMORY missing symbol ast_pbx_uuid_get." into 14
zuul [Wed, 21 Sep 2016 14:57:50 +0000 (09:57 -0500)] 
Merge "core: Fix LOW_MEMORY missing symbol ast_pbx_uuid_get." into 14

8 years agocdr_mysql: fix UTC support 48/3948/1
Tzafrir Cohen [Mon, 12 Sep 2016 12:37:30 +0000 (15:37 +0300)] 
cdr_mysql: fix UTC support

* Make 'cdrzone=UTC' work properly.
* Fix the documentation of cdr_mysql.conf: it's cdrzone and not timezone

ASTERISK-26359 #close

Change-Id: I2a6f67b71bbbe77cac31a34d0bbfb1d67c933778

8 years agoodbc: Remove options that are no longer applicable. 45/3945/1
Joshua Colp [Wed, 21 Sep 2016 13:46:36 +0000 (13:46 +0000)] 
odbc: Remove options that are no longer applicable.

The pooling, shared_connection, limit, and idlecheck options
are no longer used in res_odbc.

ASTERISK-26389

Change-Id: I2fde7b467d01f9d1c82cc0a339bb4f7e1dd6bbe6

8 years agoMerge "asterisk.c: Non-root users also get the astcanary after core restart." into 14
zuul [Wed, 21 Sep 2016 12:27:21 +0000 (07:27 -0500)] 
Merge "asterisk.c: Non-root users also get the astcanary after core restart." into 14

8 years agocore: Fix LOW_MEMORY missing symbol ast_pbx_uuid_get. 37/3937/1
Corey Farrell [Tue, 20 Sep 2016 20:17:42 +0000 (16:17 -0400)] 
core: Fix LOW_MEMORY missing symbol ast_pbx_uuid_get.

Move the function outside the conditional block that excludes
LOW_MEMORY.

ASTERISK-26273 #close

Change-Id: Ic290fa128222c410c3531107e30efacabc8493b4

8 years agoMerge "sd_notify (systemd status notifications) support" into 14
zuul [Tue, 20 Sep 2016 19:39:04 +0000 (14:39 -0500)] 
Merge "sd_notify (systemd status notifications) support" into 14

8 years agologger: Simplify ast_callid handling code. 42/3942/1
Corey Farrell [Tue, 16 Aug 2016 20:21:33 +0000 (16:21 -0400)] 
logger: Simplify ast_callid handling code.

Routines responsible for managing ast_callid's are overly complicated.
This is left-over code from when ast_callid was an AO2 object.  Now that
it is an integer the code can be reduced.

ast_callid handler code no longer prints it's own error message upon failure
to allocate threadstorage as ast_calloc would have already printed a
message.  Debug messages that were printed when TEST_FRAMEWORK was
enabled have been also been removed.

Change-Id: I65a768a78dc6cf3cfa071e97f33ce3dce280258e

8 years agoMerge "res_pjsip_multihomed: Change Contact port to listening port." into 14
zuul [Tue, 20 Sep 2016 16:59:00 +0000 (11:59 -0500)] 
Merge "res_pjsip_multihomed: Change Contact port to listening port." into 14

8 years agologger: Always enable verbose for console channel. 34/3934/2
Corey Farrell [Tue, 20 Sep 2016 14:22:45 +0000 (10:22 -0400)] 
logger: Always enable verbose for console channel.

Previous versions of Asterisk did not require verbose to be specified in
logger.conf for the console channel, if it was requested by command line
or asterisk.conf it just worked.  This change causes Asterisk to always
enable verbose in the console channel level mask.  Verbose is displayed
on consoles if requested by command line, option_verbose or 'core set
verbose'.

This also delays initialization of the logger until after threadstorage
is initialized.  Initializing too early can cause messages to be printed
multiple times to the console (stdout).

ASTERISK-26391 #close

Change-Id: I52187d67c2fcb3efd5561bf04b3e5e23e5ee8a04

8 years agologger: Fix default console settings. 32/3932/2
Corey Farrell [Tue, 20 Sep 2016 15:16:42 +0000 (11:16 -0400)] 
logger: Fix default console settings.

When logger.conf is missing or invalid we should be printing notices,
warnings and errors to the console.  The logmask was incorrectly
calculated.

Change-Id: Ibaa9465a8682854bc1a5e9ba07079bea1bfb6bb3

8 years agoMerge "rtp: Only accept the first payload for a format in SDP." into 14
zuul [Tue, 20 Sep 2016 14:53:43 +0000 (09:53 -0500)] 
Merge "rtp: Only accept the first payload for a format in SDP." into 14

8 years agosd_notify (systemd status notifications) support 29/3929/1
Tzafrir Cohen [Mon, 27 Jun 2016 19:26:54 +0000 (21:26 +0200)] 
sd_notify (systemd status notifications) support

sd_notify() is used to notify systemd of changes to the status of the
process. This allows the systemd daemon to know when the process
finished loading (and thus only start another program after Asterisk has
finished loading).

To use this, use a systemd unit with 'Type=notify' for Asterisk.

This commit also adds the function ast_sd_notify(), a wrapper around
sd_notify that does nothing if not built with systemd support.

Also adds support for libsystemd detection in the configure script.

Change-Id: Ied6a59dafd5ef331c5c7ae8f3ccd2dfc94be7811
(cherry picked from commit 07b95f7c65b7c083724f1af2b26f93cc22cad58c)

8 years agoasterisk.c: Non-root users also get the astcanary after core restart. 21/3921/2
Walter Doekes [Mon, 19 Sep 2016 19:21:23 +0000 (21:21 +0200)] 
asterisk.c: Non-root users also get the astcanary after core restart.

Without this change, a 'core restart' would kill the astcanary forever
if you're not running as root. Both with and without this patch, the
scheduling priority was still SCHED_RR after restart.

Additionally, the astcanary is now spawned if you start with high
priority and Asterisk doesn't get a chance to lower it. For example
through: `chrt -r 10 sudo -u asterisk asterisk -c`

Also reap killed astcanary processes on core restart.

ASTERISK-26352 #close

Change-Id: Iacb49f26491a0717084ad46ed96b0bea5f627a55

8 years agoMerge "asterisk.c: When astcanary dies on linux, reset priority on all threads."...
zuul [Mon, 19 Sep 2016 22:35:02 +0000 (17:35 -0500)] 
Merge "asterisk.c: When astcanary dies on linux, reset priority on all threads." into 14

8 years agoMerge "Fix showing of swap details when sysinfo() is available" into 14
zuul [Mon, 19 Sep 2016 21:53:47 +0000 (16:53 -0500)] 
Merge "Fix showing of swap details when sysinfo() is available" into 14

8 years agoMerge "res_config_odbc.c: Fix buffer size limitation creating invalid SQL." into 14
zuul [Mon, 19 Sep 2016 20:02:12 +0000 (15:02 -0500)] 
Merge "res_config_odbc.c: Fix buffer size limitation creating invalid SQL." into 14

8 years agoasterisk.c: When astcanary dies on linux, reset priority on all threads. 17/3917/2
Walter Doekes [Mon, 19 Sep 2016 14:40:40 +0000 (16:40 +0200)] 
asterisk.c: When astcanary dies on linux, reset priority on all threads.

Previously only the canary checking thread itself had its priority set
to SCHED_OTHER. Now all threads are traversed and adjusted.

ASTERISK-19867 #close
Reported by: Xavier Hienne

Change-Id: Ie0dd02a3ec42f66a78303e9c1aac28f7ed9aae39

8 years agoMerge "pjproject_bundled: Prevent SERVFAIL from marking name server bad" into 14
Joshua Colp [Mon, 19 Sep 2016 16:25:45 +0000 (11:25 -0500)] 
Merge "pjproject_bundled:  Prevent SERVFAIL from marking name server bad" into 14

8 years agores_config_odbc.c: Fix buffer size limitation creating invalid SQL. 25/3925/1
Richard Mudgett [Mon, 12 Sep 2016 23:00:22 +0000 (18:00 -0500)] 
res_config_odbc.c: Fix buffer size limitation creating invalid SQL.

Creating ODBC SQL queries resulted in queries too large to fit into the
supplied buffer.  The resulting truncated buffer contained an invalid SQL
query.

* Made SQL query generation code use a thread storage buffer that can
increase in size as needed.

* Fixed bad multi-line warning messages.

ASTERISK-26263 #close
Reported by: Jeppe Ryskov Larsen

Change-Id: I23f3cdd43c2dac80bed3ded4dd77d18cb17f21ae

8 years agoFix showing of swap details when sysinfo() is available 13/3913/1
Timo Teräs [Fri, 9 Sep 2016 11:35:43 +0000 (14:35 +0300)] 
Fix showing of swap details when sysinfo() is available

If sysinfo() is available, but not sysctl() or swapctl() the
printing code for swap buffer sizes is incorrectly omitted.
The above condition happens with musl c-library.

Fix #if rule to consider defined(HAVE_SYSINFO). And also
remove the redundant || defined(HAVE_SYSCTL) which was
incorrectly there to start with. Now swap information is
displayed only if an actual libc function to get it is
available.

This also fixes warnings previously seen with musl libc:

   [CC] asterisk.c -> asterisk.o
asterisk.c: In function 'handle_show_sysinfo':
asterisk.c:773:6: warning: variable 'totalswap' set but not used
 [-Wunused-but-set-variable]
  int totalswap = 0;
      ^~~~~~~~~
asterisk.c:770:11: warning: variable 'freeswap' set but not used
 [-Wunused-but-set-variable]
  uint64_t freeswap = 0;
           ^~~~~~~~

Change-Id: I1fb21dad8f27e416c60f138c6f2bff03fb626eca

8 years agortp: Only accept the first payload for a format in SDP. 94/3894/6
Joshua Colp [Wed, 14 Sep 2016 11:53:36 +0000 (07:53 -0400)] 
rtp: Only accept the first payload for a format in SDP.

When receiving an SDP offer with multiple payloads for
the same format we would generate an answer with the first
payload, but during the payload crossover operation
(to set the payloads for receiving) we would remove all
payloads but the last. This would result in incoming
traffic being matched against the wrong format and outgoing
traffic being sent using the wrong payload.

This change makes it so that once a format has a payload
number put into the mapping all subsequent ones are ignored.
This ensures there is only ever one payload in the mapping
and that it is the payload placed into the answer SDP.

ASTERISK-26365 #close

Change-Id: I1e8150860a3518cab36d00b1fab50f9352b64e60

8 years agochan_sip: Fix session timeout on retransmit of non-UDP packets 09/3909/2
Steve Davies [Tue, 13 Sep 2016 10:34:47 +0000 (11:34 +0100)] 
chan_sip: Fix session timeout on retransmit of non-UDP packets

Change-Id I1cd33453c77c56c8e1394cd60a6f17bb61c1d957 Enable Session-Timers for
SIP over TCP (and TLS) also disables SIP retransmits in chan_sip for non-UDP
connections, allowing the TCP layer to handle the retransmits. Unfortunately,
this caused sessions to be terminated with a retransmit timeout becasue it
stopped at the point of the first retrans call.

This patch waits for the 64*T1 timer to expire instead.

ASTERISK-19968

Change-Id: I844f26801aada10bc94e9bebe6e151f0a8443204
(cherry picked from commit 98e42cc6624a02bede84c38772412b6ff9d8fa2f)

8 years agores_pjsip_multihomed: Change Contact port to listening port. 00/3900/3
Joshua Colp [Wed, 14 Sep 2016 13:42:46 +0000 (09:42 -0400)] 
res_pjsip_multihomed: Change Contact port to listening port.

The res_pjsip_multihomed module determines what interface and transport
a request is going out on and updates the SIP message accordingly with
the address information. This currently incorrectly updates the Contact
header for connectionful protocols to the ephemeral connection port,
instead of the bound address for the listening socket which can actually
accept the connection back. If the remote side attempts to connect back on
the epehemeral port it will fail.

This change makes it so the port is updated to the bound port on
connectionful protocols and is maintained on UDP (as there can be
multiple of those).

ASTERISK-26374 #close

Change-Id: I50f8dab65b9f75117d73ba5f6bbcf6c9871854ab

8 years agopjproject_bundled: Prevent SERVFAIL from marking name server bad 11/3911/1
George Joseph [Wed, 7 Sep 2016 19:48:48 +0000 (13:48 -0600)] 
pjproject_bundled:  Prevent SERVFAIL from marking name server bad

A name server that returns "Server Failure" is indicating only that
the server couldn't process that particular request.  We should NOT
assume that the name server is incapable of serving other requests.

Here's the scenario we've been encountering...

* 2 local name servers configured in resolv.conf.
* An OPTIONS request causes a request for A and AAAA records to go out
  to both nameservers.
* The A responses both come back successfully resolved.
* Because of an issue at some upstream nameserver, the AAAA responses
  for that particular query come back as "SERVFAIL" from both local
  name servers.
* Both local servers are marked as bad and no further queries can be
  sent until the 60 second ttl expires.  Only previously cached results
  can be used.
* In this case, 60 seconds is just enough time for another OPTIONS
  request to go out to the same host so the cycle repeats.

We could set the bad ttl really low but that also affects REFUSED and
NOTAUTH which probably DO signal a real server issue.  Besides, even
a really low bad ttl would be an issue on a pbx.

Although we use our own resolver in 14 and master and don't have this
issue there, Teluu has merged this patch upstream so it's appropriate
to cherry-pick to 14 and master to keep pjproject consistent.

Change-Id: Ie03ba902288e274aff23f9b9bb2786e1e8be09e0

8 years agoMerge "chan_sip: Enable Session-Timers for SIP over TCP (and TLS)." into 14
Joshua Colp [Thu, 15 Sep 2016 11:24:37 +0000 (06:24 -0500)] 
Merge "chan_sip: Enable Session-Timers for SIP over TCP (and TLS)." into 14

8 years agoMerge "res_pjsip_transport_management: Convert time in log message to seconds." into 14
zuul [Thu, 15 Sep 2016 03:59:05 +0000 (22:59 -0500)] 
Merge "res_pjsip_transport_management: Convert time in log message to seconds." into 14

8 years agoMerge "rtp: Preserve timestamps on video frames." into 14
Joshua Colp [Thu, 15 Sep 2016 00:29:04 +0000 (19:29 -0500)] 
Merge "rtp: Preserve timestamps on video frames." into 14

8 years agoMerge "sip_to_pjsip.py: Map legacy_useroption_parsing." into 14
zuul [Wed, 14 Sep 2016 20:03:48 +0000 (15:03 -0500)] 
Merge "sip_to_pjsip.py: Map legacy_useroption_parsing." into 14

8 years agoMerge "res_pjsip: Add ignore_uri_user_options option." into 14
zuul [Wed, 14 Sep 2016 18:14:46 +0000 (13:14 -0500)] 
Merge "res_pjsip: Add ignore_uri_user_options option." into 14

8 years agortp: Preserve timestamps on video frames. 97/3897/2
Joshua Colp [Wed, 14 Sep 2016 12:59:51 +0000 (08:59 -0400)] 
rtp: Preserve timestamps on video frames.

Currently when receiving video over RTP we store only
a calculated samples on the frame. When starting the video
it can take some time for this calculation to actually yield
a value as it requires constant changing timestamps. As well
if a video frame passes over multiple RTP packets this calculation
will fail as the timestamp is the same as the previous RTP
packet and the number of samples calculated will be 0.

This change preserves the timestamp on the frame and allows
it to pass through the core. When sending the video this timestamp
is used instead of a new one being calculated.

ASTERISK-26367 #close

Change-Id: Iba8179fb5c14c9443aee4baf670d2185da3ecfbd

8 years agores_pjsip_transport_management: Convert time in log message to seconds. 04/3904/2
Joshua Colp [Wed, 14 Sep 2016 14:51:53 +0000 (10:51 -0400)] 
res_pjsip_transport_management: Convert time in log message to seconds.

ASTERISK-26375 #close

Change-Id: I46496af5cae41413e76d44d2068a7431279f09dc

8 years agoMerge "res_pjsip: Don't assume a request will have any addresses." into 14
zuul [Tue, 13 Sep 2016 23:24:46 +0000 (18:24 -0500)] 
Merge "res_pjsip: Don't assume a request will have any addresses." into 14

8 years agochan_sip: Enable Session-Timers for SIP over TCP (and TLS). 93/3893/1
Alexander Traud [Fri, 22 Jul 2016 10:46:02 +0000 (12:46 +0200)] 
chan_sip: Enable Session-Timers for SIP over TCP (and TLS).

Asterisk defaults to timers=accept/refresher=uas. In that scenario, only in that
scenario, Sessions-Timers (RFC 4028) had no effect via TCP. This change enables
Session-Timers for SIP over TCP (and for SIP over TLS).

However with longer international calls via TCP, the SIP channel might break,
because all hops on the Internet route must stay online (have not a single power
outage, for example). Therefore with Session-Timers enabled (which are enabled
at default), you might see dropped calls. Consequently even with this change,
you might be better-off going for session-timers=refuse in your sip.conf.

ASTERISK-19968 #close

Change-Id: I1cd33453c77c56c8e1394cd60a6f17bb61c1d957
(cherry picked from commit 66c9dfb272322b21192f58383ae519ceb44e474c)

8 years agoMerge "chan_sip: Allow target refresh (Contact update) on re-INVITE." into 14
zuul [Tue, 13 Sep 2016 15:15:58 +0000 (10:15 -0500)] 
Merge "chan_sip: Allow target refresh (Contact update) on re-INVITE." into 14

8 years agoMerge "res_pjsip_messaging.c: Misc cleanups and fixes." into 14
zuul [Tue, 13 Sep 2016 14:04:06 +0000 (09:04 -0500)] 
Merge "res_pjsip_messaging.c: Misc cleanups and fixes." into 14

8 years agoMerge "contrib: Let safe_asterisk script continue without /dev/tty9." into 14
Joshua Colp [Tue, 13 Sep 2016 12:20:20 +0000 (07:20 -0500)] 
Merge "contrib: Let safe_asterisk script continue without /dev/tty9." into 14

8 years agores_pjsip: Don't assume a request will have any addresses. 88/3888/1
Joshua Colp [Tue, 13 Sep 2016 11:08:18 +0000 (07:08 -0400)] 
res_pjsip: Don't assume a request will have any addresses.

When performing DNS resolution the failover code present in
res_pjsip currently assumes that a request will always have
at least one viable address. In practice this is not true.
A domain may be used that has no records.

The code now checks that at least one address exists on the
request which prevents looping.

ASTERISK-26364 #close

Change-Id: Ic0761b0264864acd85915c94d878a81624940f4c

8 years agoapp_queue: Fix CLI "queue show" and AMI Queues action output truncation. 83/3883/1
Richard Mudgett [Mon, 12 Sep 2016 17:25:54 +0000 (12:25 -0500)] 
app_queue: Fix CLI "queue show" and AMI Queues action output truncation.

The output of CLI "queue show" and AMI Queues action is truncated and
"failed to extend from 240 to 327" messages are generated if the queue
member and interface names are lengthy.

* Increase the string buffer size from 240 to 512 in order to accommodate
for more information fields added to the output since v1.8.

ASTERISK-26360 #close
Reported by: Richard Mudgett

Change-Id: Id99c03cf5362453b80491a4b3b0434cb67aa966d

8 years agochan_sip: Allow target refresh (Contact update) on re-INVITE. 78/3878/1
Walter Doekes [Mon, 12 Sep 2016 08:28:17 +0000 (10:28 +0200)] 
chan_sip: Allow target refresh (Contact update) on re-INVITE.

Previously, the Contact was stored only on initial INVITE and on any
18X and 200. That meant that after re-INVITEs from *us* the Contact
could get updated, but after re-INVITEs from the *peer*, it did not.

This changeset fixes this inconsistency, properly allowing target
refreshes through re-INVITES (RFC3261, 12.2).

If your strictrtp setting allows it, this change allows you to switch
the source IP of a connected/calling device mid-call with a simple
re-INVITE from the new IP.

ASTERISK-26358 #close

Change-Id: Ibb8512054ab27c8c3d2514022568fde943bf2435

8 years agosip_to_pjsip.py: Map legacy_useroption_parsing. 53/3853/2
Richard Mudgett [Wed, 31 Aug 2016 20:22:01 +0000 (15:22 -0500)] 
sip_to_pjsip.py: Map legacy_useroption_parsing.

Map the sip.conf general section legacy_useroption_parsing to the
new pjsip.conf global ignore_uri_user_options.

ASTERISK-26316
Reported by: Kevin Harwell

Change-Id: I78108a31995db19d41f4e1a07b3324692c5363fc

8 years agores_pjsip: Add ignore_uri_user_options option. 52/3852/2
Richard Mudgett [Mon, 29 Aug 2016 23:08:22 +0000 (18:08 -0500)] 
res_pjsip: Add ignore_uri_user_options option.

This implements the chan_sip legacy_useroption_parsing option but with a
better name.

* Made the caller-id number and redirecting number strings obtained from
incoming SIP URI user fields always truncated at the first semicolon.
People don't care about anything after the semicolon showing up on their
displays even though the RFC allows the semicolon.

ASTERISK-26316 #close
Reported by: Kevin Harwell

Change-Id: Ib42b0e940dd34d84c7b14bc2e90d1ba392624f62

8 years agocontrib: Let safe_asterisk script continue without /dev/tty9. 68/3868/1
Walter Doekes [Fri, 9 Sep 2016 11:26:01 +0000 (13:26 +0200)] 
contrib: Let safe_asterisk script continue without /dev/tty9.

If you use the safe_asterisk script, it uses hardcoded defaults before
running configurable values from /etc/asterisk/startup.d. The hardcoded
default has TTY=9. Some containerized environments don't have such a
TTY, and safe_asterisk would stop.

The custom configuration from /etc/asterisk/startup.d/* isn't read until
after it stopped, so changing TTY in a custom config did not help.

This changeset changes safe_asterisk to continue if the TTY setting was
untouched and /dev/tty9 and /dev/vc/9 aren't found.

Change-Id: I2c7cdba549b77f418a0af4cb1227e8e6fe4148fc

8 years agores_pjsip: Only invoke unidentified endpoint logic when unidentified. 64/3864/2
Joshua Colp [Fri, 9 Sep 2016 10:39:51 +0000 (10:39 +0000)] 
res_pjsip: Only invoke unidentified endpoint logic when unidentified.

The code was incorrectly invoking the unidentified logic when
an endpoint had actually been identified, causing log messages
to be output.

ASTERISK-26349 #close

Change-Id: Id8104fc9e3d138d5e8b6f6977ecc08765fd17d4f

8 years agochan_sip: Don't allocate new RTP instances on top of old ones.
Joshua Colp [Tue, 23 Aug 2016 11:35:11 +0000 (11:35 +0000)] 
chan_sip: Don't allocate new RTP instances on top of old ones.

In some scenarios dialog_initialize_rtp can be called multiple times on
the same dialog.  This can cause RTP instances to be leaked along with
multiple file descriptors for each instance.

This change makes it so the existing RTP instances are destroyed and
not overwritten, stopping the memory leak.

ASTERISK-26272 #close
patches:
  ASTERISK-26272-13.patch submitted by Corey Farrell (license 5909)

Change-Id: Id529de1184c68f2f4d254ab41a1f458dafdb5f73

8 years agores_pjsip: Do not crash on ACKs from unknown endpoints.
Mark Michelson [Tue, 16 Aug 2016 20:34:53 +0000 (15:34 -0500)] 
res_pjsip: Do not crash on ACKs from unknown endpoints.

The endpoint identification PJSIP module is intended to identify which
endpoint an incoming request is from. If an endpoint is not identified,
then an artificial endpoint is used in its place when proceeding.

The problem is that the ACK request type is an exception to the rule.
The artificial endpoint is not used when processing an ACK. This results
in the possibility of having a NULL endpoint being used further on.

The reason ACK is an exception is an attempt not to spam security logs
with unidentified requests. Presumably, you've already logged the
unidentified request on the preceeding INVITE.

Up until Asterisk 13.10, retrieving a NULL endpoint in this fashion
didn't cause an issue. A new change in 13.10 added endpoint ACL checking
shortly after endpoint identification. Because we are accessing a NULL
endpoint, this ACL check resulted in a crash.

The fix here is to be sure to retrieve the artificial endpoint for all
request types. ACKs still do not generate unidentified request security
events.

ASTERISK-26264 #close
Reported by nappsoft

AST-2016-006

Change-Id: Ie0c795ae2d72273decb972dd74b6a1489fb6b703

8 years agoMerge "res_pjsip: Allow global headers to be overridden." into 14
zuul [Thu, 8 Sep 2016 18:59:06 +0000 (13:59 -0500)] 
Merge "res_pjsip: Allow global headers to be overridden." into 14

8 years agoMerge "ConfBridge: Make some announcements asynchronous." into 14
zuul [Thu, 8 Sep 2016 02:19:02 +0000 (21:19 -0500)] 
Merge "ConfBridge: Make some announcements asynchronous." into 14

8 years agoMerge "res/res_stasis_playback: Cancel the entire playlist when a stop occurs" into 14
zuul [Wed, 7 Sep 2016 22:52:22 +0000 (17:52 -0500)] 
Merge "res/res_stasis_playback: Cancel the entire playlist when a stop occurs" into 14

8 years agoMerge "apps/app_dial: Fix crash on non-connect call paths for Privacy/Screening optio...
zuul [Wed, 7 Sep 2016 21:21:59 +0000 (16:21 -0500)] 
Merge "apps/app_dial: Fix crash on non-connect call paths for Privacy/Screening option" into 14

8 years agores_pjsip_messaging.c: Misc cleanups and fixes. 44/3844/1
Richard Mudgett [Tue, 6 Sep 2016 16:46:16 +0000 (11:46 -0500)] 
res_pjsip_messaging.c: Misc cleanups and fixes.

* Eliminated RAII_VAR in get_outbound_endpoint().

* Simplify update_to() coding.  However, this function can only be a NoOp
because the To string can only be a URI and not a name-address formatted
string.

* Simplify update_from() coding.  Also fixed a code path modifying the
from string when the caller could still want to use the original string.

* Fixed msg_data_create() incompletely removing the "pjsip:" to then add
back the "sip:" string if needed.  The code didn't handle the "pjsip:sip:"
case because it left the colon after pjsip in the string.

Change-Id: I68a09a665f6d4daa9eaa59069045ab69122e28db

8 years agores_pjsip: Allow global headers to be overridden. 41/3841/1
Joshua Colp [Wed, 7 Sep 2016 21:00:16 +0000 (21:00 +0000)] 
res_pjsip: Allow global headers to be overridden.

Currently when you add global headers from the dialplan both
the header in the dialplan and the globally configured header
are added to the resulting SIP INVITE. This change makes it
so the headers in the dialplan take precedence and are the
only ones added.

Change-Id: I36f864298f38db3632ad503edc11267cb8ffb3ad

8 years agoMerge "res_resolver_unbound: Fix config documentation." into 14
zuul [Wed, 7 Sep 2016 20:44:02 +0000 (15:44 -0500)] 
Merge "res_resolver_unbound: Fix config documentation." into 14

8 years agoMerge "res_pjsip_session: segfault on already disconnected session" into 14
zuul [Wed, 7 Sep 2016 19:39:17 +0000 (14:39 -0500)] 
Merge "res_pjsip_session: segfault on already disconnected session" into 14

8 years agoMerge "apps/app_dial: Set the DIALSTATUS to NOANSWER on privacy option 5" into 14
zuul [Wed, 7 Sep 2016 18:04:40 +0000 (13:04 -0500)] 
Merge "apps/app_dial: Set the DIALSTATUS to NOANSWER on privacy option 5" into 14

8 years agoConfBridge: Make some announcements asynchronous. 10/3510/2
Mark Michelson [Wed, 10 Aug 2016 20:14:09 +0000 (15:14 -0500)] 
ConfBridge: Make some announcements asynchronous.

Confbridge announcements tend to block a channel while they are being
played. In some circumstances, this is warranted since you want that
particular channel not to hear the announcement (Example: "John Doe has
entered the conference"). For others it makes less sense.

This change first introduces methods for playing sounds asynchronously
into the conference. This is very similar to how synchronous sounds are
played, except the channel initiating the playback does not wait for the
sound to complete before moving on.

Asynchronous announcements are used for two circumstances:
* Sounds played for a user after they have left the bridge
* Sounds that play first to a single user and then the rest of the
  conference (if the channel and conference use the same language)

ASTERISK-26289 #close
Reported by Mark Michelson

Change-Id: Ie486bb3de1646d50894489030326a423e594ab0a

8 years agoMerge "build: Add download capability for external packages" into 14
zuul [Wed, 7 Sep 2016 14:05:07 +0000 (09:05 -0500)] 
Merge "build: Add download capability for external packages" into 14

8 years agores_resolver_unbound: Fix config documentation. 38/3838/1
Joshua Colp [Wed, 7 Sep 2016 10:59:26 +0000 (10:59 +0000)] 
res_resolver_unbound: Fix config documentation.

The code was referencing the config section as 'globals'
instead of 'general'. This change swaps it over to 'general'.

Change-Id: I9dfe7788f41c4a6754c77e103880dc1a747de7fe

8 years agoMerge "chan_sip: Don't refuse calls with "optional crypto"; fall back to RTP." into 14
zuul [Wed, 7 Sep 2016 04:15:21 +0000 (23:15 -0500)] 
Merge "chan_sip: Don't refuse calls with "optional crypto"; fall back to RTP." into 14