Commit Graph

30255 Commits

Author SHA1 Message Date
Jenkins2 b69bfc637f Merge "CLI: Refactor ast_cli_display_match_list." 2017-11-27 13:23:52 -06:00
George Joseph 93dba6f396 Merge "CLI: Remove calls to ast_cli_generator." 2017-11-27 12:11:18 -06:00
Jenkins2 2e4a8f0036 Merge "add cmd connection creation on creation ooh323 call data structure" 2017-11-27 11:17:50 -06:00
George Joseph 710267013d Merge "pjsip: 183 without To tag does not negotiate media" 2017-11-27 10:52:02 -06:00
Joshua Colp 55b0072d09 Merge "Add defaultbranch to .gitreview." 2017-11-27 09:23:22 -06:00
Joshua Colp 16381e54e4 Merge "res_parking: Set load_pri more appropriately." 2017-11-23 12:06:32 -06:00
Joshua Colp 2a783b86d1 Merge "res_mwi_external_ami: Remove incorrect load priority." 2017-11-23 12:02:00 -06:00
Joshua Colp 509e713333 Merge "Loader: Remove unneeded load_pri declarations." 2017-11-23 11:15:19 -06:00
Joshua Colp 532f556347 Merge "README: Convert to README.md." 2017-11-23 10:30:11 -06:00
Joshua Colp 3b4bd94086 Merge "res_rtp_asterisk: ICE server-reflexive candidates (srflx) with Dual-Stack." 2017-11-23 09:49:46 -06:00
Joshua Colp 577d4e2aae Merge "chan_sip: ICE contained square brackets around IPv6 addresses." 2017-11-23 08:56:17 -06:00
Corey Farrell 4b1262c94b Add defaultbranch to .gitreview.
Although the default value of defaultbranch is master I'm adding it
anyways.  This way when new major branches are being created the value
can be updated instead of having to remember the name of the key.

Change-Id: I3db009217c5ae399fb84bee95076f4dbb7fa52d2
2017-11-22 20:04:07 -05:00
Alexander Anikin fcd9ba2b87 add cmd connection creation on creation ooh323 call data structure
ASTERISK-27353 #close

Reported by: Marco Giordani

Change-Id: I455096bd7da016b871afe09af86067c2c7c9f33f
2017-11-23 03:54:36 +03:00
Kevin Harwell db21f7f2e1 pjsip: 183 without To tag does not negotiate media
If a 183 with sdp response is receive without a To tag the sdp is not
negotiated. According to RFC 3261 section 12.1.2 while a To tag is required,
the client needs to still be able to handle the missing tag case for
backwards compatibility.

This patch, accepted by and applied to pjproject, makes it so if an incoming
180/183 with SDP comes in without a To tag it gets appropriately handled.

ASTERISK-27442 #close

Change-Id: Ic9d6b01e05e8f4874eebbd7adfe05d932025d203
2017-11-22 11:00:19 -06:00
Alexander Traud 1a349d832d res_rtp_asterisk: ICE server-reflexive candidates (srflx) with Dual-Stack.
Previously, Asterisk sent srflx only when configured exclusively for IPv4. Now,
srflx is gathered and sent via SDP, even when Asterisk is enabled for
Dual Stack (IPv4+IPv6) and an IPv4 interface is available/used.

ASTERISK-27437

Change-Id: Ie07d8e2bfa7b6fe06fcdc73d390a7a9a4d8c0bc1
2017-11-22 03:06:45 -06:00
Corey Farrell 8e1506154f res_parking: Set load_pri more appropriately.
res_parking had an inplicit load_pri of 0 meaning it was one of the very
first modules loaded after modules with global symbols.  Set it to
AST_MODPRI_DEVSTATE_PROVIDER as it provides device state for parking
lots.

Change-Id: I297b6fb3ff6993ec004e667b22a74f5925906259
2017-11-21 15:26:49 -05:00
Joshua Colp ac6b029fe4 Merge "aoc: Remove silly usage of RAII_VAR." 2017-11-21 11:46:49 -06:00
Joshua Colp 0434f6a255 Merge "abstract_jb: Remove silly usage of RAII_VAR." 2017-11-21 11:04:47 -06:00
Joshua Colp d8c6852bdc Merge "BuildSystem: pjsip_evsub_set_uas_timeout was not used." 2017-11-21 10:33:28 -06:00
Joshua Colp 11cb4f2715 Merge "app: Remove silly usage of RAII_VAR." 2017-11-21 09:42:11 -06:00
Joshua Colp 40c3114013 Merge "ccss: Remove silly usage of RAII_VAR." 2017-11-21 09:27:20 -06:00
Corey Farrell 90f9885f73 README: Convert to README.md.
Convert the README file to markdown format, remove the old README.  This
causes websites like github to display the README in a much nicer
format with live links.  The raw file is still very readable from
plain text editors and terminals.

Change-Id: I7d13131764a9a9026e5f8a6ddb245a01bbd788e7
2017-11-21 09:58:07 -05:00
Corey Farrell 9c0a2110f0 CLI: Refactor ast_cli_display_match_list.
* Stop estimating line count, just print until we run out of matches.
* Stop freeing entries, the caller does that anyways.
* Stop calculating / returning numoutput, it was ignored.

Change-Id: I7f92afa8bea92241a95227587367424c8c32a5cb
2017-11-21 09:48:36 -05:00
Corey Farrell a02cbc2ef3 CLI: Remove calls to ast_cli_generator.
The ability to add to localized storage cannot be supported by
ast_cli_generator.  The only calls to ast_cli_generator should be by
functions that need to proxy the CLI generator, for example 'cli check
permissions' or 'core show help'.

* ast_cli_generatornummatches now retrieves the vector of matches and
  reports the number of elements (not including 'best' match).
* test_substitution retrieves and iterates the vector.

Change-Id: I8cd6b93905363cf7a33a2d2b0e2a8f8446d9f248
2017-11-21 09:39:19 -05:00
Joshua Colp 3abf8dfeae Merge "cli: Remove silly usage of RAII_VAR." 2017-11-21 07:54:59 -06:00
Joshua Colp 146f6b92eb Merge "loader: Fix comments in struct ast_module." 2017-11-21 06:54:25 -06:00
Joshua Colp 86e894c074 Merge "menuselect: Remove ineffective weak attribute detection." 2017-11-21 06:50:56 -06:00
Joshua Colp f5b2746355 Merge "CLI: Create ast_cli_completion_vector." 2017-11-21 05:24:07 -06:00
Joshua Colp def556237a Merge "README: Send people to secure websites where available." 2017-11-21 05:23:47 -06:00
Joshua Colp 81041aacbd Merge "Build: Fix issues building without SSL." 2017-11-21 05:23:24 -06:00
Joshua Colp e49fd5c3cc Merge "Build: Fix OSX build issues." 2017-11-21 05:22:39 -06:00
Alexander Traud 491e2eba0d chan_sip: ICE contained square brackets around IPv6 addresses.
ASTERISK-27434

Change-Id: Iaeed89b4fa05d94c5f0ec2d3b7cd6e93d2d5a8f7
2017-11-21 10:52:10 +01:00
Corey Farrell 10b4b5d200 loader: Fix comments in struct ast_module.
Make the comments follow doxygen format, move comments to the line
before each field they describe.

Change-Id: Ic445468398b5e88f13910f7c2f70bd15aad33a27
2017-11-20 19:20:40 -05:00
Joshua Colp a2caade298 Merge "res_pjsip: Use sorcery prefix operation for contact lookup" 2017-11-20 16:48:23 -06:00
Joshua Colp 5db911bf7d Merge "acl: Fix allocation related issues." 2017-11-20 16:47:56 -06:00
Joshua Colp d415eba990 Merge "bridge_basic: Ignore answer from transfer target when they've timed out." 2017-11-20 14:54:48 -06:00
Corey Farrell 9ae805c900 cli: Remove silly usage of RAII_VAR.
Change-Id: I81aacfee7cd26e4fc5eef07bca582700c2975bd7
2017-11-20 14:32:46 -06:00
Joshua Colp 6b1fa96f25 Merge "doxygen: Remove obsolete contents." 2017-11-20 14:29:40 -06:00
Corey Farrell 89ccab95c2 ccss: Remove silly usage of RAII_VAR.
Change-Id: I5ce40035e0a940e4e56f6322c1dcd47fbd509b98
2017-11-20 14:26:11 -06:00
Corey Farrell 5e99c334d1 app: Remove silly usage of RAII_VAR.
Change-Id: Ideb594f7aae134974fb78d5477ba0853b97b8625
2017-11-20 14:21:32 -06:00
Corey Farrell abdd9fa1a8 aoc: Remove silly usage of RAII_VAR.
Change-Id: I07907f833b81aeb0128bc9442a2abb52679c7511
2017-11-20 14:05:25 -06:00
Corey Farrell 48e1b39b28 abstract_jb: Remove silly usage of RAII_VAR.
Change-Id: I9d56175369363d1dc735504cf78a3a5577069f49
2017-11-20 14:03:25 -06:00
Joshua Colp 7c3bf5af20 Merge "res_fax: Remove checks for unsigned values being >= 0." 2017-11-20 13:33:35 -06:00
Corey Farrell d6bbcec571 res_mwi_external_ami: Remove incorrect load priority.
res_mwi_external_ami specified AST_MODFLAG_LOAD_ORDER but didn't set
load_pri, resulting in an actual load priority of 0.  This module only
provides AMI actions so it has no reason to load early.

Change-Id: I82987fcf10d3ea42716b2f9df915b16687fd5839
2017-11-20 13:19:09 -06:00
Corey Farrell 58fa3885cc Loader: Remove unneeded load_pri declarations.
Instead of specifying AST_MODFLAG_LOAD_ORDER with load_pri
AST_MODPRI_DEFAULT just use AST_MODFLAG_DEFAULT.

Change-Id: I0123258eafce324249433a69df15a85cc16e509f
2017-11-20 13:17:55 -06:00
Joshua Colp c2d97a98b2 Merge "res_snmp: Declare RONLY if net-snmp headers do not." 2017-11-20 12:13:01 -06:00
Joshua Colp 8115ab79ac Merge "iostream: Fix ast_iostream_printf declaration." 2017-11-20 11:54:06 -06:00
Joshua Colp 0e6e1fcc4d Merge "tests: Fix warnings found on Mac." 2017-11-20 11:32:51 -06:00
Joshua Colp 56d85fd2c5 Merge "app_minivm: Fix possible uninitialized return value." 2017-11-20 10:39:16 -06:00
Alexander Traud 7397961b02 BuildSystem: pjsip_evsub_set_uas_timeout was not used.
ASTERISK-27435

Change-Id: Id318a7ae6d7d69b53f911d30bf3eece64852f15c
2017-11-20 16:49:04 +01:00