summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-05-03cdr_mysql: run a full reconnect on log if not connectedcdr_mysql_emptyTzafrir Cohen
If the MySQL CDR backend is not connected at startup, it will try to reconnect (with a reloaded configuration) each time it needs to log a record. However it does not run the full connection startup sequence and thus fails to set up the columns to log. As a result all subsequent records will be empty. This commit makes the mysql backend run the same connection sequence in that case as it does on module load. ASTERISK-27572 #close Change-Id: I7603c7501dae7070fac35081cf35161579c47590
2018-05-03cdr_mysql: check early for missing configsTzafrir Cohen
ASTERISK-27572 Change-Id: Id5126f525fb255574bbf44878059a8d1890843fc
2018-05-03cdr_mysql: my_connect_db(): reduce indentationTzafrir Cohen
ASTERISK-27572 Change-Id: I00bd5363ac94c764c56d8626a5945ed7f3934fcb
2018-05-03cdr_mysql: split mysql init out of my_load_moduleTzafrir Cohen
Split out mysql connection parts to a separate my_connect_db(). ASTERISK-27572 Change-Id: If2ee676056067cc693ff08be68ee4944bf35b49f
2018-05-03Merge "Add the ability to read the media file type from HTTP header for ↵Jenkins2
playback"
2018-05-03Merge "res_rtp_asterisk: Always update SRTP on local SSRC change."Jenkins2
2018-05-03Merge "pjsip: Increase maximum number of usable ciphers & other cleanups"Jenkins2
2018-05-02pjsip: Increase maximum number of usable ciphers & other cleanupsSean Bright
* Increase maximum number of ciphers from 100 to 256 (or whatever PJ_SSL_SOCK_MAX_CIPHERS is #define'd to) * Simplify logic in cipher_name_to_id() * Make signed/unsigned comparison consistent Re: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=897412 Reported by: Ondřej Holas Change-Id: Iea620f03915a1b873e79743154255c3148a514e7
2018-05-01res_pjsip/pjsip_distributor.c: Pull some assignments out of if tests.Richard Mudgett
Change-Id: I3d30d638b53a4bbe9bf9aad853c649d583894112
2018-05-01res_rtp_asterisk: Always update SRTP on local SSRC change.Joshua Colp
When the local SSRC changes we need to update the SRTP information so that the proper key is used. This is commonly done as a result of bridging two channels together. Previously we only updated the SRTP information if media had already flowed, but in practice the channel driver may have already performed SRTP negotiation and set up the previous SSRC. We now always do it on a local SSRC change. ASTERISK-27795 ASTERISK-27800 Change-Id: Ia7c8e74c28841388b5244ac0b8fd6c1dc6ee4c10
2018-04-30Add the ability to read the media file type from HTTP header for playbackGaurav Khurana
How it works today: media_cache tries to parse out the extension of the media file to be played from the URI provided to Asterisk while caching the file. What's expected: Better will be to have Asterisk get extension from other ways too. One of the common ways is to get the type of content from the CONTENT-TYPE header in the HTTP response for fetching the media file using the URI provided. Steps to Reproduce: Provide a URL of the form: http://host/media/1234 to Asterisk for media playback. It fails to play and logs show the following error line: [Sep 15 15:48:05] WARNING [29148] [C-00000092] file.c: File http://host/media/1234 does not exist in any format Scenario this issue is blocking: In the case where the media files are stored in some cloud object store, following can block the media being played via Asterisk: Cloud storage generally needs authenticated access to the storage. The way to do that is by using signed URIs. With the signed URIs there's no way to preserve the name of the file. In most cases Cloud storage returns a key to access the object and preserving file name is also not a thing there ASTERISK-27286 Reporter: Gaurav Khurana Change-Id: I1b14692a49b2c1ac67688f58757184122e92ba89
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