summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-04-30Merge "bridge_softmix: Fix sporadic incorrect video stream mapping."Jenkins2
2018-04-30Merge "BuildSystem: Add DragonFly BSD."George Joseph
2018-04-30Merge "translate: generic plc not filled in after translation"Jenkins2
2018-04-30Merge "app_sendtext: Enhance SendText to support Enhanced Messaging"George Joseph
2018-04-27Merge "bridge_softmix: Forward TEXT frames"Jenkins2
2018-04-26Merge "BuildSystem: Enable IMAP storage on FreeBSD and DragonFly BSD."Joshua Colp
2018-04-26Merge "chan_ooh323: introduce localras config parameter"Jenkins2
2018-04-25Merge "core: Remove unused/incomplete SDP modules."Jenkins2
2018-04-25Merge "install_prereq: Add DragonFly BSD."Jenkins2
2018-04-25core: Remove unused/incomplete SDP modules.Richard Mudgett
Change-Id: Icc28fbdc46f58e54a21554e6fe8b078f841b1f86
2018-04-25Merge "streams: Add string metadata capability"Joshua Colp
2018-04-25Merge "menuselect: Add DragonFly BSD."Jenkins2
2018-04-25Merge "chan_ooh323: fix ooManualProgress/ooManualRingback on ooh323 debuggin on"Richard Mudgett
2018-04-25Merge "Build System: Add missing ASTMM_LIBC to flex output."Jenkins2
2018-04-25Merge "format_pcm: Correct behavior of fseek and ftell for G.722"Jenkins2
2018-04-25Merge "bridge_softmix: Fix some REMB bugs."Joshua Colp
2018-04-24Merge "chan_ooh323: Fix cppcheck warnings"Joshua Colp
2018-04-24translate: generic plc not filled in after translationKevin Harwell
If during translation a codec could not handle a given frame the translation core would return NULL, thus not passing along the "missing" frame. Due to this there was no frame to apply generic plc to, thus rendering it useless. This patch makes it so the translation core produces an interpolated slin frame in the cases where an attempt was made to translate to slin, but failed. This interpolated frame is then passed along and can be used by the generic plc algorithms to fill in the frame. ASTERISK-27814 #close Change-Id: I133d084da87adef913bf2ecc9c9240e3eaf4f40a
2018-04-20bridge_softmix: Fix sporadic incorrect video stream mapping.Joshua Colp
When an externally initiated renegotiation occurred it was possible for video streams to be incorrectly remapped, resulting in no video flowing to some receivers. This change ensures that only the video source sets up mappings and also that removed streams do not have mappings set up. Change-Id: Iab05f2254df3606670774844bb0935f833d3a9b0
2018-04-20chan_ooh323: fix ooManualProgress/ooManualRingback on ooh323 debuggin onAlexander Anikin
Call ooManualProgress/Ringback outside of ast_debug function when ooh323 debugging is on ASTERISK-27812 #close ASTERISK-26893 #close Reported by: Dimos, Marco Giordani Change-Id: I5873762e4f05824e7b6e94a19dd4eb56adbbbb79
2018-04-20bridge_softmix: Fix some REMB bugs.Joshua Colp
This change fixes a bug where a REMB collector may be freed twice, and also tweaks REMB combining such that if there is no bitrate from anyone (or there are no sources) we report 0 instead of using an old bitrate. ASTERISK-27804 Change-Id: Ia9dc9c150043890ee7ff85e9cdec007f1a77fcfd
2018-04-20BuildSystem: Enable IMAP storage on FreeBSD and DragonFly BSD.Alexander Traud
ASTERISK-27639 Change-Id: I1347f3f2f3737010d0a80a5c30b5aaf71cf3ccb0
2018-04-20BuildSystem: Add DragonFly BSD.Alexander Traud
ASTERISK-27820 Change-Id: I310896143e94d65da1c2be3bb448204a8b86d557
2018-04-20menuselect: Add DragonFly BSD.Alexander Traud
In DragonFly BSD, added libraries from ports are placed into /usr/local. Therefore, this directory must be added for the preprocessor, compiler, and linker. Beside that, the script ./configure was updated: * OSARCH list was outdated and not used, removed. * AC_CANONICAL_BUILD was not used. * _REENTRANT, this feature test macro is obsolete. ASTERISK-27820 Change-Id: I186d88d99cfa4de6569888e12ac97bd2f441c422
2018-04-20install_prereq: Add DragonFly BSD.Alexander Traud
ASTERISK-27820 Change-Id: I718ddb000fe5184b1bdc7759da67a370a7520144
2018-04-19Merge ""confbridge show profile bridge" does not output "sfu" when ↵Jenkins2
video_mode is sfu"
2018-04-19Merge "chan_vpb: Avoid GNU old-style field designator extension."Jenkins2
2018-04-19Merge "Build System: Enable python3 compatibility."Jenkins2
2018-04-18Merge "stringfields: Collect extended stringfields into the stringfield ↵Jenkins2
section."
2018-04-18Merge "res_pjsip: Fix deadlock on reliable transport shutdown."Joshua Colp
2018-04-18"confbridge show profile bridge" does not output "sfu" when video_mode is sfuChris-Savinovich
Fixes a bug on the "confbridge show profile bridge" cli command that showed "video_mode=no video" when video_mode was set to "sfu" ASTERISK-27418 #close Change-Id: I481e3172c7f872664c7ac7809879d541c9f031e9
2018-04-18Build System: Add missing ASTMM_LIBC to flex output.Corey Farrell
Redirect libc allocation functions to use Asterisk functions for main/ast_expr2f.c and res/ael/ael_lex.c. This will resolve errors produced by astmm.h when these files are regenerated, though other issues still remain. ASTERISK~27813 Change-Id: I7263e9e4217a17bde4ffaa2087a8f8aeb2a8588c
2018-04-18Merge "bridge_softmix / app_confbridge: Add support for REMB combining."George Joseph
2018-04-18Merge "utils/pval: Add -lBlocksRuntime for compiler clang conditionally."Jenkins2
2018-04-18Merge "utils: Add ast_assert_return"Jenkins2
2018-04-18format_pcm: Correct behavior of fseek and ftell for G.722Sean Bright
There are twice as many samples in the same number of bytes, so redefine some of the G.722 format functions in terms of their PCM counterparts. Change-Id: I6a8c7352624b930a5f2d9e4857f75283fa5dd9f9
2018-04-18chan_ooh323: introduce localras config parameterAlexander Anikin
Introduce localras parameter that specify source IP for connecting to Gatekeeper. Useful for multihome configurations. ASTERISK-25129 #close Reported by: Dmitry Melekhov Tested by: Dmitry Melekhov Change-Id: I0b604b01793f3e02a776502659e07cd3fc7e3097
2018-04-18chan_ooh323: Fix cppcheck warningsAlexander Anikin
Fix cppcheck warnings about redundant conditions and possible null pointer usage ASTERISK-27793 #close Reported by: Ilya Shipitsin Tested by: Ilya Shipitsin Change-Id: I0b31933b062a23331dbac9a82b8bcfe345f406f6
2018-04-17bridge_softmix / app_confbridge: Add support for REMB combining.Joshua Colp
This change adds the ability for multiple REMB reports in bridge_softmix to be combined according to a configured behavior into a single report. This single report is sent back to the sender of video, which adjusts the encoding bitrate to be at or below the bitrate of the report. The available behaviors are: lowest, highest, and average. Lowest uses the lowest received bitrate. Highest uses the highest received bitrate. Average goes through the received bitrates adding them to the previous average and creates a new average. Other behaviors can be added in the future and the existing average one may be adjusted, but this provides the foundation to do so. Support for configuring which behavior to use has been added to app_confbridge. ASTERISK-27804 Change-Id: I9eafe4e7c1f72d67074a8d6acb26bfcf19322b66
2018-04-17Merge "res_musiconhold: Don't restart MOH from beginning after announcement."Jenkins2
2018-04-17streams: Add string metadata capabilityGeorge Joseph
Replaces the never used opaque data array. Updated stream tests to include get/set metadata and stream clone with metadata. Added stream metadata dump to "core show channel" Change-Id: Id7473aa4b374d7ab53046c20e321037ba9a56863
2018-04-17utils: Add ast_assert_returnGeorge Joseph
Similar to pjproject's PJ_ASSERT_RETURN macro, this one will do the following... If the assert passes... NoOp If the assert fails and AST_DEVMODE is defined, execute ast_assert() then, if DO_CRASH isn't set, return from the calling function with the supplied value. If the assert fails and AST_DEVMODE is not defined, return from the calling function with the supplied value. The macro will execute a return without a value if one isn't suppled. Change-Id: I0003844affeab550d5ff5bca7aa7cf8a559b873e
2018-04-17app_sendtext: Enhance SendText to support Enhanced MessagingGeorge Joseph
SendText now accepts new channel variables that can be used to override the To and From display names and set the Content-Type of a message. Since you can now set Content-Type, other text/* content types are now valid. Change-Id: I648b4574478119f95de09d9f08e9595831b02830
2018-04-17bridge_softmix: Forward TEXT framesGeorge Joseph
Core bridging and, more specifically, bridge_softmix have been enhanced to relay received frames of type TEXT or TEXT_DATA to all participants in a softmix bridge. res_pjsip_messaging and chan_pjsip have been enhanced to take advantage of this so when res_pjsip_messaging receives an in-dialog MESSAGE message from a user in a conference call, it's relayed to all other participants in the call. res_pjsip_messaging already queues TEXT frames to the channel when it receives an in-dialog MESSAGE from an endpoint and chan_pjsip will send an MESSAGE when it gets a TEXT frame. On a normal point-to-point call, the frames are forwarded between the two correctly. bridge_softmix was not though so messages weren't getting forwarded to conference bridge participants. Even if they were, the bridging code had no way to tell the participants who sent the message so it would look like it came from the bridge itself. * The TEXT frame type doesn't allow storage of any meta data, such as sender, on the frame so a new TEXT_DATA frame type was added that uses the new ast_msg_data structure as its payload. A channel driver can queue a frame of that type when it receives a message from outside. A channel driver can use it for sending messages by implementing the new send_text_data channel tech callback and setting the new AST_CHAN_TP_SEND_TEXT_DATA flag in its tech properties. If set, the bridging/channel core will use it instead of the original send_text callback and it will get the ast_msg_data structure. Channel drivers aren't required to implement this. Even if a TEXT_DATA enabled driver uses it for incoming messages, an outgoing channel driver that doesn't will still have it's send_text callback called with only the message text just as before. * res_pjsip_messaging now creates a TEXT_DATA frame for incoming in-dialog messages and sets the "from" to the display name in the "From" header, or if that's empty, the caller id name from the channel. This allows the chat client user to set a friendly name for the chat. * bridge_softmix now forwards TEXT and TEXT_DATA frames to all participants (except the sender). * A new function "ast_sendtext_data" was added to channel which takes an ast_msg_data structure and calls a channel's send_text_data callback, or if that's not defined, the original send_text callback. * bridge_channel now calls ast_sendtext_data for TEXT_DATA frame types and ast_sendtext for TEXT frame types. * chan_pjsip now uses the "from" name in the ast_msg_data structure (if it exists) to set the "From" header display name on outgoing text messages. Change-Id: Idacf5900bfd5f22ab8cd235aa56dfad090d18489
2018-04-17utils/pval: Add -lBlocksRuntime for compiler clang conditionally.Alexander Traud
ASTERISK-27809 Change-Id: I930b364a33d54cc08dedfcd5bb45f7e83242f134
2018-04-17chan_vpb: Avoid GNU old-style field designator extension.Alexander Traud
clang 6.0 warned about this. Beside that, this change removes the used variable 'desc'. ASTERISK-27808 Change-Id: Ia26bdcc0a562c058151814511cfcf70ecafa595b
2018-04-16res_rtp_asterisk: Add support for receiving and handling NACK requests.Ben Ford
Adds the ability to receive and handle incoming NACK requests if retransmissions are enabled. If retransmissions are enabled, a data buffer is allocated that stores packets being sent. If a NACK request is received, the packet requested for retransmission is sent if it is still in the buffer. In the same request, if any of the following 16 packets are marked as not received, those will be sent as well if available, as outlined in RFC4585. Also changes RTCP RR and SR to use media source SSRC instead of packet source SSRC when determining which instance to use for RTCP reports. For more information, refer to the wiki page: https://wiki.asterisk.org/wiki/display/AST/WebRTC+User+Experience+Improvements ASTERISK-27806 #close Change-Id: I7f7f124af3b9d5d2fd9cffc6ba8cb48a6fff06ec
2018-04-16stringfields: Collect extended stringfields into the stringfield section.Richard Mudgett
Use of extended stringfields is a temporary mechanism to avoid ABI breakage in released branches without resorting to more inconvienient methods. * Collect existing extended stringfields into the parent stringfield section of the struct. Change-Id: I8d46d037801b4518837c3ea4b6df95ceadc9436b
2018-04-16Merge "res_pjsip.c: Split ast_sip_push_task_synchronous() to fit expectations."George Joseph
2018-04-16Merge "pjsip_scheduler.c: Add ability to trace scheduled tasks."Jenkins2