Commit Graph

24712 Commits

Author SHA1 Message Date
Asterisk Autobuilder
5eba3cf47a Creating tag for the release of asterisk-12.0.0-alpha2
git-svn-id: https://origsvn.digium.com/svn/asterisk/tags/12.0.0-alpha2@400615 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2013-10-05 18:05:44 +00:00
Asterisk Autobuilder
f534804779 Use autotagged externals
git-svn-id: https://origsvn.digium.com/svn/asterisk/tags/12.0.0-alpha2@400613 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2013-10-05 17:59:44 +00:00
Asterisk Autobuilder
a51f4134cd Importing release summary for 12.0.0-alpha2 release.
git-svn-id: https://origsvn.digium.com/svn/asterisk/tags/12.0.0-alpha2@400612 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2013-10-05 17:59:37 +00:00
Asterisk Autobuilder
511b82563b Importing files for 12.0.0-alpha2 release.
git-svn-id: https://origsvn.digium.com/svn/asterisk/tags/12.0.0-alpha2@400611 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2013-10-05 17:59:32 +00:00
Asterisk Autobuilder
c81e14022b Creating tag for the release of asterisk-12.0.0-alpha2
git-svn-id: https://origsvn.digium.com/svn/asterisk/tags/12.0.0-alpha2@400610 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2013-10-05 17:36:58 +00:00
Asterisk Autobuilder
9b1a126de6 Importing release summary for 12.0.0-alpha2 release.
git-svn-id: https://origsvn.digium.com/svn/asterisk/tags/12.0.0-alpha2@400608 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2013-10-05 03:28:07 +00:00
Asterisk Autobuilder
2c38d5c164 Importing release summary for 12.0.0-alpha2 release.
git-svn-id: https://origsvn.digium.com/svn/asterisk/tags/12.0.0-alpha2@400607 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2013-10-05 02:53:27 +00:00
Asterisk Autobuilder
95fc980bb4 Importing release summary for 12.0.0-alpha2 release.
git-svn-id: https://origsvn.digium.com/svn/asterisk/tags/12.0.0-alpha2@400606 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2013-10-05 02:43:26 +00:00
Asterisk Autobuilder
bf5f59b4eb Use autotagged externals
git-svn-id: https://origsvn.digium.com/svn/asterisk/tags/12.0.0-alpha2@400605 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2013-10-05 02:34:49 +00:00
Asterisk Autobuilder
087832c0a8 Importing release summary for 12.0.0-alpha2 release.
git-svn-id: https://origsvn.digium.com/svn/asterisk/tags/12.0.0-alpha2@400604 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2013-10-05 02:34:41 +00:00
Asterisk Autobuilder
3ff7c8f73f Importing files for 12.0.0-alpha2 release.
git-svn-id: https://origsvn.digium.com/svn/asterisk/tags/12.0.0-alpha2@400603 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2013-10-05 02:34:29 +00:00
Asterisk Autobuilder
81203c99fd Creating tag for the release of asterisk-12.0.0-alpha2
git-svn-id: https://origsvn.digium.com/svn/asterisk/tags/12.0.0-alpha2@400602 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2013-10-05 02:27:12 +00:00
Asterisk Autobuilder
0d9cf022f5 Importing release summary for 12.0.0-alpha2 release.
git-svn-id: https://origsvn.digium.com/svn/asterisk/tags/12.0.0-alpha2@400592 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2013-10-05 00:55:38 +00:00
Asterisk Autobuilder
7d29b7b25e Use autotagged externals
git-svn-id: https://origsvn.digium.com/svn/asterisk/tags/12.0.0-alpha2@400591 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2013-10-05 00:46:38 +00:00
Asterisk Autobuilder
1a762d7220 Importing release summary for 12.0.0-alpha2 release.
git-svn-id: https://origsvn.digium.com/svn/asterisk/tags/12.0.0-alpha2@400590 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2013-10-05 00:46:28 +00:00
Asterisk Autobuilder
5f2fc8aa90 Importing files for 12.0.0-alpha2 release.
git-svn-id: https://origsvn.digium.com/svn/asterisk/tags/12.0.0-alpha2@400589 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2013-10-05 00:46:22 +00:00
Richard Mudgett
e848dbab4f chan_iax2: Fix compile error.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/12@400588 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2013-10-05 00:41:32 +00:00
Asterisk Autobuilder
86f01e4e09 Creating tag for the release of asterisk-12.0.0-alpha2
git-svn-id: https://origsvn.digium.com/svn/asterisk/tags/12.0.0-alpha2@400587 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2013-10-05 00:39:24 +00:00
Asterisk Autobuilder
dc6a876c45 Creating tag for the release of asterisk-12.0.0-alpha2
git-svn-id: https://origsvn.digium.com/svn/asterisk/tags/12.0.0-alpha2@400585 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2013-10-05 00:28:39 +00:00
Asterisk Autobuilder
c1a658bbab Creating tag for the release of asterisk-12.0.0-alpha2
git-svn-id: https://origsvn.digium.com/svn/asterisk/tags/12.0.0-alpha2@400583 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2013-10-05 00:21:23 +00:00
Asterisk Autobuilder
1dff370bc0 Creating tag for the release of asterisk-12.0.0-alpha2
git-svn-id: https://origsvn.digium.com/svn/asterisk/tags/12.0.0-alpha2@400572 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2013-10-04 21:57:11 +00:00
Asterisk Autobuilder
2fae3ff073 Creating tag for the release of asterisk-12.0.0-alpha2
git-svn-id: https://origsvn.digium.com/svn/asterisk/tags/12.0.0-alpha2@400570 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2013-10-04 21:43:24 +00:00
Michael L. Young
130fd15c24 Add IPv6 Support To chan_iax2
This patch adds IPv6 support to chan_iax2.  Yay!

(closes issue ASTERISK-22025)
Patches:
  iax2-ipv6-v5-reviewboard.diff by Michael L. Young (license 5026)

Review: https://reviewboard.asterisk.org/r/2660/


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/12@400567 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2013-10-04 21:40:33 +00:00
Asterisk Autobuilder
c920b4e329 Creating tag for the release of asterisk-12.0.0-alpha2
git-svn-id: https://origsvn.digium.com/svn/asterisk/tags/12.0.0-alpha2@400566 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2013-10-04 21:32:30 +00:00
Asterisk Autobuilder
2ea015bc68 Creating tag for the release of asterisk-12.0.0-alpha2
git-svn-id: https://origsvn.digium.com/svn/asterisk/tags/12.0.0-alpha2@400564 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2013-10-04 21:17:10 +00:00
Asterisk Autobuilder
9c33b20357 Creating tag for the release of asterisk-12.0.0-alpha2
git-svn-id: https://origsvn.digium.com/svn/asterisk/tags/12.0.0-alpha2@400562 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2013-10-04 21:12:41 +00:00
David M. Lee
cd2ddccaf2 Added missing file from r400522
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/12@400552 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2013-10-04 19:31:35 +00:00
Jonathan Rose
c794605ea5 chan_pjsip: Make logger togglable without loading/unloading
This patch makes the res_pjsip_logger do a few things... First, it
will be built and installed by default now, so end users won't need
to enable it in menuselect. Second, while it is loaded, it no longer
will immediately issue log messages. Upon loading, it is in the
disabled state and must be turned on with the new CLI command. The
CLI command 'pjsip set logger <on/off/host> has been added and can be
used to do the following:
pjsip set logger on:
    Enables logger for all PJSIP traffic
pjsip set logger off:
    Disables logger for all PJSIP traffic
pjsip set logger host <host>:
    Enables logger for the specific host

Review: https://reviewboard.asterisk.org/r/2900/



git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/12@400542 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2013-10-04 18:42:06 +00:00
Jonathan Rose
66137de7e8 chan_pjsip: Add alembic scripts for generating db tables for PJSIP
Also updates sample configurations for sorcery and extconfig to
demonstrate how to use databases created by that alembic script.

(closes issue ASTERISK-22133)
Reported by: Matt Jordan
Review: https://reviewboard.asterisk.org/r/2892/


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/12@400532 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2013-10-04 17:10:27 +00:00
Matthew Jordan
7fc567bd76 ARI: Add subscription support
This patch adds an /applications API to ARI, allowing explicit management of
Stasis applications.

 * GET /applications - list current applications
 * GET /applications/{applicationName} - get details of a specific application
 * POST /applications/{applicationName}/subscription - explicitly subscribe to
   a channel, bridge or endpoint
 * DELETE /applications/{applicationName}/subscription - explicitly unsubscribe
   from a channel, bridge or endpoint

Subscriptions work by a reference counting mechanism: if you subscript to an
event source X number of times, you must unsubscribe X number of times to stop
receiveing events for that event source.

Review: https://reviewboard.asterisk.org/r/2862

(issue ASTERISK-22451)
Reported by: Matt Jordan




git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/12@400522 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2013-10-04 15:54:57 +00:00
Joshua Colp
c1e76f6ccb Enclose the To URI and update its user portion if a request user has been specified.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/12@400520 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2013-10-04 15:48:34 +00:00
Joshua Colp
bc81a9000f Replace the connection address at the SDP level if altering the SDP with the external media address.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/12@400510 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2013-10-04 14:54:32 +00:00
David M. Lee
096ce6c5b7 Corrected response class for stopPlayback
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/12@400508 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2013-10-04 04:54:51 +00:00
Jonathan Rose
624dbb74a5 chan_sip: Don't ignore expires value in contact header if it lacks semicolon
(closes issue ASTERISK-22574)
Reported by: Filip Jenicek
Patches:
    chan_sip_expires.patch uploaded by Filip Jenicek (license 6277)
........

Merged revisions 400469 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........

Merged revisions 400470 from http://svn.asterisk.org/svn/asterisk/branches/11


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/12@400471 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2013-10-03 23:11:24 +00:00
Matthew Jordan
19df630819 Remove publication of a channel snapshot when the technology is set
This patch removes said publication for a few reasons:
(1) It is unnecessary. Association of the channel technology with a specific
channel is an implementation detail that should be assumed to "just happen",
and consumers of Stasis don't need to be informed about it.
(2) Publication of said message can now cause crashes, as the actual creation
of a channel in normal locations now stages its messages. As a result, things
that create dummy channels (such as the SIP RTP QOS unit test) and associate
them with a channel technology were now crashing, as the channel itself was
not known by Stasis.



git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/12@400460 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2013-10-03 21:40:20 +00:00
Joshua Colp
7cfd95ac44 When serializing CDR variables (like for "core show channels") don't output an error if CDRs aren't enabled.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/12@400442 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2013-10-03 19:31:43 +00:00
Kinsey Moore
1f9ac47811 Fix security events for AMI invalid password
In r337595, additional security events were added for chan_sip
authentication failures. The new IEs added to the existing invalid
password event were defined as required IEs, but existing users of the
event did not set the new IEs and could not since they didn't apply to
existing uses. They are now marked as optional IEs.

(closes issue ASTERISK-22578)
Reported by: Matt Jordan
........

Merged revisions 400421 from http://svn.asterisk.org/svn/asterisk/branches/11


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/12@400440 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2013-10-03 19:29:49 +00:00
Mark Michelson
3422314cb2 Fix assumption in bridge_native_rtp.c regarding number of participants in a bridge.
When a party leaves a bridge, there may be more participants in the bridge than expected.
As such, it is important not to make assumptions regarding the list of channels in a
bridge.

This change makes it so that when a party leaves a native RTP bridge, we unbridge it and
the party it was bridged with. Previously, the first and last channels in the list were
unbridged since it was assumed that these were the two channels that had been bridged. As
previously stated, a new party had been inserted into the bridge, so this logic did not
work properly.

(closes issue ASTERISK-22615)
reported by Matt Jordan

(closes issue ASTERISK-22532)
reported by Matt Jordan

Review: https://reviewboard.asterisk.org/r/2899


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/12@400403 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2013-10-03 19:11:22 +00:00
Joshua Colp
3735f13434 Fix a crash caused by muting and unmuting a channel in ARI without specifying a direction.
(closes issue ASTERISK-22637)
Reported by: Scott Griepentrog

Patch by Matt Jordan, whose office I have taken over in the name of Canada.


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/12@400401 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2013-10-03 19:05:36 +00:00
Richard Mudgett
0dd84b2f51 cel: Some whitespace cleanups
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/12@400398 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2013-10-03 18:44:10 +00:00
Kinsey Moore
e59675b597 res_rtp_multicast: Ensure SSRC is set properly
This fixes a bug where the SSRC field on multicast RTP can be stuck at
0 which can cause problems for endpoints trying to make sense of
incoming streams.

(closes issue ASTERISK-22567)
Reported by: Simone Camporeale
Patches:
    22567_res_mulitcast_ssrc.patch uploaded by Simone Camporeale (License 6536)
........

Merged revisions 400393 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........

Merged revisions 400394 from http://svn.asterisk.org/svn/asterisk/branches/11


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/12@400395 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2013-10-03 18:28:57 +00:00
Kinsey Moore
315ec8d7f9 Detect and use xsltCleanupGlobals when available
This introduces usage of an additional libxslt cleanup function,
xsltCleanupGlobals, when the configure script detects that it is
available. Early versions of the library did not include this function.

(closes issue ASTERISK-22570)
Reported by: Corey Farrell
Patches:
    xsltCleanupGlobals.patch uploaded by Corey Farrell (License 5909)


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/12@400384 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2013-10-03 17:57:49 +00:00
Matthew Jordan
60423755e5 Update Alembic database scripts for external scripting and PostgreSQL, Oracle
This patch does the following:
1) The env scripts have been updated to be tolerant of a NULL configuration
   file. This occurs when configuration is provided by an external script,
   such that the actual config.ini file is not used.
2) Enum types have all been given names. This is needed for PostgreSQL script
   generation.
3) The identifier meetme_confno_starttime_endtime is greater than 30
   characters, and hence invalid for Oracle databases. This has been truncated
   down to meetme_confno_start_end.



git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/12@400383 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2013-10-03 17:55:50 +00:00
Richard Mudgett
72fbce14f4 chan_vpb: Make compile again.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/12@400373 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2013-10-03 16:22:45 +00:00
Mark Michelson
3c2d7934b1 Get rid of uses of stasis_topic_wait()
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/12@400362 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2013-10-03 14:56:30 +00:00
Joshua Colp
024f9bf283 Fix crashes in res_pjsip_sdp_rtp and res_pjsip_t38 when a stream is rejected and external_media_address is set.
The callback function for changing the media address in streams wrongly assumes that a connection line
will always be present. This is false as no line is present if a stream has been rejected.

(closes issue ASTERISK-22645)
Reported by: Rusty Newton


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/12@400360 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2013-10-03 14:51:41 +00:00
Mark Michelson
23cea9e44b Cache string values of formats on ast_format_cap() to save processing.
Channel snapshots have string representations of the channel's native formats.
Prior to this change, the format strings were re-created on ever channel snapshot
creation. Since channel native formats rarely change, this was very wasteful.
Now, string representations of formats may optionally be stored on the ast_format_cap
for cases where string representations may be requested frequently. When formats
are altered, the string cache is marked as invalid. When strings are requested, the
cache validity is checked. If the cache is valid, then the cached strings are copied.
If the cache is invalid, then the string cache is rebuilt and copied, and the cache
is marked as being valid again.

Review: https://reviewboard.asterisk.org/r/2879



git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/12@400356 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2013-10-02 22:34:05 +00:00
Mark Michelson
e8dd0da34b Remove svn:mergeinfo property.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/12@400319 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2013-10-02 22:10:54 +00:00
Mark Michelson
a38ba34d3d Remove unnecessary waits from stasis.
Since caches are updated on publisher threads, there is no need
to wait for the cache updates to occur after a stasis message
is published.

In the case of chan_pjsip device state changes, this set of
changes caused an improvement to performance.

Review: https://reviewboard.asterisk.org/r/2890



git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/12@400318 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2013-10-02 22:08:49 +00:00
Michael L. Young
f7416ca0af Cast Integer Argument To Unsigned Char
The member reg in the peercnt structure is an unsigned char and peercnt_modify()
is expecting an unsigned char argument which gets assigned to peercnt->reg.

This patch fixes that by casting the integer argument being passed to
peercnt_modify to unsigned char.
........

Merged revisions 400314 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........

Merged revisions 400315 from http://svn.asterisk.org/svn/asterisk/branches/11


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/12@400316 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2013-10-02 21:32:53 +00:00