summaryrefslogtreecommitdiff
path: root/comms
diff options
context:
space:
mode:
authorjnemeth <jnemeth@pkgsrc.org>2018-01-23 08:26:08 +0000
committerjnemeth <jnemeth@pkgsrc.org>2018-01-23 08:26:08 +0000
commit0a0ca13288d2b49878e9de8ecf157f108bea4daf (patch)
treeb24fe9a002a5642ee0e8a9aa67271fadd266b1b8 /comms
parent0289e9755aa186aa511111f29a993d31394b0650 (diff)
downloadpkgsrc-0a0ca13288d2b49878e9de8ecf157f108bea4daf.tar.gz
update to Asterisk 13.19.0 -- this contains both security fixes
and general bug fixes, fixes AST-2017-005, AST-2017-006, AST-2017-007, AST-2017-008, AST-2017-009, AST-2017-10, AST-2017-11, AST-2017-12, AST-2017-13, and AST-2017-14 (note that a number of these only pertain to PJSIP which isn't used in pkgsrc) ----- 13.19.0 ----- The Asterisk Development Team would like to announce the release of Asterisk 13.19.0. The release of Asterisk 13.19.0 resolves several issues reported by the community and would have not been possible without your participation. Thank you! The following issues are resolved in this release: New Features made in this release: ----------------------------------- * ASTERISK-27478 - PJSIP: Add CHANNEL(pjsip,request_uri) to get incoming INVITE Request-URI. (Reported by Richard Mudgett) * ASTERISK-27413 - Add cache_media_frames debugging option. (Reported by Richard Mudgett) * ASTERISK-27206 - res_pjsip: No mechanism exists to limit endpoint identification to IP only (Reported by Ben Merrills) Bugs fixed in this release: ----------------------------------- * ASTERISK-27531 - Compiler optimizations can break module load sequence. (Reported by abelbeck) * ASTERISK-27480 - Security: Authenticated SUBSCRIBE without Contact crashes asterisk (Reported by Ross Beer) * ASTERISK-27299 - Asterisk Hangs with Bad file descriptor on read() (Reported by Abhay Gupta) * ASTERISK-25079 - AMI bridge of channels results in MOH not destroyed and robotic audio on one channel (Reported by Zane Conkle) * ASTERISK-27490 - chan_console: 'set active' fails to work (Reported by Tzafrir Cohen) * ASTERISK-24756 - ConfBridge sound_muted does not work from CLI or AMI (Reported by Thomas Frederiksen) * ASTERISK-25649 - Transfer application does not work with Local channels - documentation misleading (Reported by Ivan Ullmann) * ASTERISK-25869 - chan_sip: "rejected because extension not found" should be logged as a security event (Reported by Brian J. Murrell) * ASTERISK-27440 - Strictrtp has issues to qualify video rtp streams (Reported by Wim De Vlaminck) * ASTERISK-24329 - Music On Hold announcement cuts intro of music the first time it is played (Reported by Thomas Frederiksen) * ASTERISK-19657 - Coverity Report: Fix issues for error type CHAR_IO (Reported by Matt Jordan) * ASTERISK-27175 - iax.conf demo peer is invalid (Reported by Tzafrir Cohen) * ASTERISK-27430 - README refers to security documents that do not exist. (Reported by Corey Farrell) * ASTERISK-20281 - "core set verbose" behaves strangely, can't alias it, cli.conf example broken (Reported by Tim Ringenbach at Asteria Solutions Group) * ASTERISK-27382 - crash after an invalid rtcp packet from GT48 FXS gateway (Reported by Tzafrir Cohen) * ASTERISK-27429 - res_rtp_asterisk: Multiple reports in an RTCP packet will write past where it should (Reported by Vitezslav Novy) * ASTERISK-27408 - Identify causes and fix pjsip/resolver/srv/failover/in_dialog/transport_tcp (Reported by Corey Farrell) * ASTERISK-18411 - Queue members with hints for state_interface get stuck in "In Use" state. (Reported by Steven T. Wheeler) * ASTERISK-26131 - chan_sip: Crash Asterisk (in sip_request_call at chan_sip.c) by making a call to a single character in a dot pattern match (Reported by Dwayne Hubbard) * ASTERISK-27475 - codec_opus requires libcurl (Reported by Samuel For) * ASTERISK-27467 - pjsip_options: qualify_frequency sometimes not applied on reload (Reported by John Bigelow) * ASTERISK-27465 - CLI Completion Not Working (Reported by Ross Beer) * ASTERISK-27460 - CDR: Deadlock using AMI Originate with Variable CDR(amaflags)=... (Reported by Richard Mudgett) * ASTERISK-27453 - RTP: Blind transfer direct media scenario results in one way audio. (Reported by Richard Mudgett) * ASTERISK-20643 - SIP ICE support - remove hardcoded limitation on SDP size, make ICE support disabled by default in SIP, maybe provide a better warning message (Reported by Roy) * ASTERISK-26980 - pjsip: Clean up WebRTC disables (Reported by abelbeck) * ASTERISK-27452 - Security: chan_skinny: Memory exhaustion if flooded with unauthenticated requests (Reported by George Joseph) * ASTERISK-27454 - res_http_post: Don't require GMIME_MAJOR_VERSION (Reported by Joshua Colp) * ASTERISK-23735 - Transcoding makes bad choice in high-rate translations (Reported by Richard Kenner) * ASTERISK-27445 - ARI: Updating a bridge gives wrong error message. (Reported by Frank Durden) * ASTERISK-24662 - [patch] column and row headers for Signed Linear format variants in output of 'core show translation' are ambiguous (Reported by Rusty Newton) * ASTERISK-27353 - H323 audio starts with a delay of 2 seconds. (Reported by Marco Giordani) * ASTERISK-27442 - pjsip: 183 without To tag does not negotiate media (Reported by Kevin Harwell) * ASTERISK-27437 - [patch] ICE: server-reflexive candidates (srflx) with Dual-Stack. (Reported by Alexander Traud) * ASTERISK-27434 - [patch] chan_sip/ICE: Square brackets around IPv6 addresses. (Reported by Alexander Traud) * ASTERISK-27435 - [patch] configure: pjsip_evsub_set_uas_timeout not found. (Reported by Alexander Traud) * ASTERISK-27431 - Asterisk fails to build when openssl headers are not installed. (Reported by Corey Farrell) * ASTERISK-27332 - Asterisk fails to configure on MacOS Sierra (Reported by Ivan Larionov) * ASTERISK-27421 - RTP source learning not working with devices that have some clock issues (Reported by nappsoft) * ASTERISK-27361 - Attended transfer crashes in Asterisk 13.17.2 (Reported by Alessandro Pimenta) * ASTERISK-27238 - Bridging: Crash freeing a frame that's already been freed (Reported by Richard Kenner) * ASTERISK-27412 - core: Audiohook freeing interpolated frame when it shouldn't. (Reported by Mikhail) * ASTERISK-27423 - app_record: We set the RECORD_STATUS channel variable before closing the file (Reported by George Joseph) * ASTERISK-26758 - res_hep_pjsip: For WebRTC clients Asterisk insert same ip address in "source ip address" and "destination ip address" fields in HEP packets (Reported by Max Norba) * ASTERISK-27363 - res_http_websocket: Wrong LocalAddress (it is equal to RemoteAddress) (Reported by Vasilii Rogin) * ASTERISK-27415 - asterisk.conf: Setting astctl without setting astrundir is ineffective. (Reported by Corey Farrell) * ASTERISK-27411 - pjsip: TCP connections may not be destroyed (Reported by Joshua Colp) * ASTERISK-27345 - res_pjsip_session: RTP instances leak on 488 responses. (Reported by Corey Farrell) * ASTERISK-27337 - chan_sip: Security vulnerability with client code header (revisited) (Reported by Richard Mudgett) * ASTERISK-27319 - (Security) Function in PJSIP 2.7 miscalculates the length of an unsigned long variable in 64bit machines (Reported by Kim youngsung) * ASTERISK-27391 - Regression: Deadlock between AOR named lock and pjproject grp lock (Reported by shaurya jain) * ASTERISK-27393 - res_pjsip: Crash occurs when an empty contact read from astdb or database (Reported by Aaron An) * ASTERISK-27290 - res_pjsip: PIDF contact field has malformed/invalid XML (Reported by basildane) * ASTERISK-27032 - res_pjsip: TLS options do not handle empty values (Reported by seanchann.zhou) * ASTERISK-27394 - [patch] tcptls: Print notice when TLS is enabled but not configured. (Reported by Alexander Traud) * ASTERISK-26426 - format_ogg_opus: remove from source (Reported by Kevin Harwell) * ASTERISK-27378 - Modules: Fix issues with CLI completion. (Reported by Corey Farrell) * ASTERISK-27387 - Regression: pjsip 13.18.0 - from_user - "+" character isn't allowed any more (Reported by Michael Maier) * ASTERISK-27390 - Audit menuselect module dependencies (Reported by Corey Farrell) * ASTERISK-27389 - Optional API modules should not allow unload. (Reported by Corey Farrell) * ASTERISK-27369 - Bridge() dialplan application fails without setting BRIDGERESULT channel variable (Reported by James Terhune) * ASTERISK-27377 - Typo in CHANNEL(dtmf_features) usage documentation (Reported by Igor Goncharovsky) * ASTERISK-27181 - GCC 7 warning: app_voicemail.c: In function 'imap_delete_old_greeting' (Reported by Anthony Messina) * ASTERISK-27194 - jitterbuffer: Does not handle case where translator returns null frame. (Reported by Joshua Elson) * ASTERISK-26639 - core: Disabling xmldoc support does not work. Also results in abort during Asterisk startup. (Reported by Mr Dini) * ASTERISK-27372 - ARI: Node ARI client broken in latest versions of 13 and 14 (Reported by Benjamin Keith Ford) * ASTERISK-18140 - Expires handling in SUBSCRIBE confuses the absence of the Expires header field with an unsubscribe action. (Reported by Jonathan Cloots) * ASTERISK-25960 - The config_hook unit test causes Asterisk to crash if run a second time (Reported by George Joseph) * ASTERISK-27198 - res_pjsip: SDP contains IP4 instead of IP6 when rtp_ipv6 set to yes (Reported by Martin Cisárik) * ASTERISK-27346 - res_xmpp: Crash if OAuth 2.0 is used before curl is loaded (Reported by Ronald Raikes) * ASTERISK-27365 - [patch] chan_sip: Crypto attribute not last but first on SDP media level. (Reported by Alexander Traud) * ASTERISK-24483 - res_pjsip_pubsub.so, res_pjsip_refer.so: Assertion on un/re-load: mod.id == -1 (Reported by Tzafrir Cohen) * ASTERISK-23462 - Cannot disable SIP debugging via CLI after enabling with conf file option - also 'sip set debug off' reports debugging disabled, when it really isn't (Reported by Rusty Newton) * ASTERISK-27328 - Missing openssl dependencies in res_rtp_asterisk and tcptls (Reported by Tzafrir Cohen) * ASTERISK-27341 - [patch] res_pjsip_session: SIP/SDP origin (o=) contains local address. (Reported by Alexander Traud) * ASTERISK-27343 - Fails to build in FreeBSD due to sys/sysmacros.h not existing there (Reported by Guido Falsi) * ASTERISK-27340 - backtrace.c: Crash due to double-free. (Reported by Corey Farrell) * ASTERISK-27339 - [patch] Crash on ast_ssl_teardown when stopping. (Reported by Alexander Traud) * ASTERISK-27333 - sip_to_pjsip not correctly handling disallow=all directive (Reported by Torrey Searle) Improvements made in this release: ----------------------------------- * ASTERISK-24297 - cdr.c: Minor code optimizations. (Reported by Richard Mudgett) * ASTERISK-27449 - [PATCH] When failing to acquire target during attended transfer, display wanted extension (Reported by Niklas Larsson) * ASTERISK-27456 - app_voicemail: Add new object for VoicemailUserEntry (Reported by sungtae kim) * ASTERISK-27380 - ast_coredumper: allow pointing out the asterisk binary explicitly (Reported by Tzafrir Cohen) * ASTERISK-23556 - Compilation warning for invert.c (array subscript is above array bounds) (Reported by Marcello Ceschia) * ASTERISK-27355 - Upgrade bundled PJPROJECT to 2.7 (Reported by Richard Mudgett) * ASTERISK-27335 - CDR performance needs improvement. (Reported by Richard Mudgett) For a full list of changes in this release, please see the ChangeLog: http://downloads.asterisk.org/pub/telephony/asterisk/ChangeLog-13.19.0 Thank you for your continued support of Asterisk! ----- 13.18.5 ----- The Asterisk Development Team would like to announce security releases for Asterisk 13, 14 and 15, and Certified Asterisk 13.18. The available releases are released as versions 13.18.5, 14.7.5, 15.1.5 and 13.18-cert2. The following security vulnerabilities were resolved in these versions: * AST-2017-014: Crash in PJSIP resource when missing a contact header A select set of SIP messages create a dialog in Asterisk. Those SIP messages must contain a contact header. For those messages, if the header was not present and using the PJSIP channel driver, it would cause Asterisk to crash. The severity of this vulnerability is somewhat mitigated if authentication is enabled. If authentication is enabled a user would have to first be authorized before reaching the crash point. For a full list of changes in the current releases, please see the ChangeLogs: https://downloads.asterisk.org/pub/telephony/asterisk/releases/ChangeLog-13.18.5 The security advisory is available at: https://downloads.asterisk.org/pub/security/AST-2017-014.pdf Thank you for your continued support of Asterisk! ----- 13.18.4 ----- The Asterisk Development Team has announced security releases for Certified Asterisk 13.13 and Asterisk 13, 14 and 15. The available security releases are released as versions 13.13-cert9, 13.18.4, 14.7.4 and 15.1.4. The release of these versions resolves the following security vulnerabilities: * AST-2017-012: Remote Crash Vulnerability in RTCP Stack If a compound RTCP packet is received containing more than one report (for example a Receiver Report and a Sender Report) the RTCP stack will incorrectly store report information outside of allocated memory potentially causing a crash. For a full list of changes in the current releases, please see the ChangeLogs: http://downloads.asterisk.org/pub/telephony/asterisk/releases/ChangeLog-13.18.4 The security advisories are available at: http://downloads.asterisk.org/pub/security/AST-2017-012.html http://downloads.asterisk.org/pub/security/AST-2017-012.pdf Thank you for your continued support of Asterisk! ----- 13.18.3 ----- The Asterisk Development Team has announced security releases for Certified Asterisk 13.13 and Asterisk 13, 14 and 15. The available security releases are released as versions 13.13-cert8, 13.18.3, 14.7.3 and 15.1.3. The release of these versions resolves the following security vulnerabilities: * AST-2017-013: DOS Vulnerability in Asterisk chan_skinny If the chan_skinny (AKA SCCP protocol) channel driver is flooded with certain requests it can cause the asterisk process to use excessive amounts of virtual memory eventually causing asterisk to stop processing requests of any kind. For a full list of changes in the current releases, please see the ChangeLogs: http://downloads.asterisk.org/pub/telephony/asterisk/releases/ChangeLog-13.18.3 The security advisories are available at: http://downloads.asterisk.org/pub/security/AST-2017-013.pdf Thank you for your continued support of Asterisk! ----- 13.18.2 ----- The Asterisk Development Team would like to announce the release of Asterisk 13.18.2. The release of Asterisk 13.18.2 resolves several issues reported by the community and would have not been possible without your participation. Thank you! The following issues are resolved in this release: Bugs fixed in this release: ----------------------------------- * ASTERISK-27387 - Regression: pjsip 13.18.0 - from_user - "+" character isn't allowed any more (Reported by Michael Maier) * ASTERISK-27391 - Regression: Deadlock between AOR named lock and pjproject grp lock (Reported by shaurya jain) For a full list of changes in this release, please see the ChangeLog: http://downloads.asterisk.org/pub/telephony/asterisk/ChangeLog-13.18.2 Thank you for your continued support of Asterisk! ----- 13.18.0 ----- The Asterisk Development Team would like to announce the release of Asterisk 13.18.0. The release of Asterisk 13.18.0 resolves several issues reported by the community and would have not been possible without your participation. Thank you! The following issues are resolved in this release: Improvements made in this release: ----------------------------------- * ASTERISK-27278 - [patch] chan_sip: Provide access to read the full SIP Request-URI from INVITE (Reported by David J. Pryke) * ASTERISK-27255 - alembic: Add support for Microsoft SQL server (Reported by Florian Floimair) * ASTERISK-27253 - [patch] libsrtp-2.1.x support (Reported by Alexander Traud) * ASTERISK-27220 - Enable CHANNEL function to get from and to tag from SIP Headers (Reported by Andre Nazario) * ASTERISK-27169 - Google OAuth 2.0 support for XMPP / Motif (Reported by Andrey) * ASTERISK-27173 - Support for GMIME 3.0 (Reported by Tzafrir Cohen) * ASTERISK-27092 - [patch] app_queue: Add Priority to AMI QueueStatus (Reported by Niklas Larsson) * ASTERISK-27085 - [patch] chan_pjsip: Port SIPDtmfMode to chan_pjsip (Reported by Torrey Searle) Bugs fixed in this release: ----------------------------------- * ASTERISK-27346 - res_xmpp: Crash if OAuth 2.0 is used before curl is loaded (Reported by Ronald Raikes) * ASTERISK-27372 - ARI: Node ARI client broken in latest versions of 13 and 14 (Reported by Benjamin Keith Ford) * ASTERISK-27047 - res_pjsip: user=phone added to Anonymous caller-id when it shouldn't be. (Reported by dtryba) * ASTERISK-26988 - res_pjsip_session: user_eq_phone adds double user=phone parameters to URIs (Reported by dtryba) * ASTERISK-27270 - cdr_mysql: various crashes at second module reload if cdr_mysql.conf is configured (Reported by Tzafrir Cohen) * ASTERISK-27301 - [patch] app_queue: Music On Hold for real-time queues is not reset to default (Reported by Nathan Bruning) * ASTERISK-25266 - Application Originate returns SUCCESS to ORIGINATE_STATUS upon failure to originate (Reported by Allen Ford) * ASTERISK-27192 - res_pjsip: Loss of SIP registrations causing unavailable endpoints (Reported by Richard Mudgett) * ASTERISK-27305 - res_ari: Memory leaks in ARI when using Content-Type: application/json (Reported by David Hajek) * ASTERISK-26922 - chan_sip: tcpbind uses wrong source address (Reported by Ksenia) * ASTERISK-27324 - [patch] Dual-Stack server cannot be used as IPv4 client via TCP/TLS (Reported by Alexander Traud) * ASTERISK-27317 - vector: multiple evaluation of elem in AST_VECTOR_ADD_SORTED. (Reported by Corey Farrell) * ASTERISK-27318 - res_pjsip_mwi: uninitialized value from ast_strings_match (Reported by Corey Farrell) * ASTERISK-27296 - [patch] False positive busy checks when icalendar's recurrence-id mechanism is involved (Reported by Benoît Dereck-Tricot) * ASTERISK-27284 - Status of RFC 3323 and PJSIP (Reported by dtryba) * ASTERISK-27216 - app_queue: does its check-makeannouncement-logic twice each head-caller-loop (Reported by Stefan Engström) * ASTERISK-27295 - Contact is improperly translated after d178f497 (Reported by Sean Bright) * ASTERISK-27292 - Multiple RTP Stream Created Breaking RFC2833 (SSRC Changes) (Reported by Ross Beer) * ASTERISK-27289 - A codeblock that maintains a bug,but maybe the codeblock will never run (Reported by Huangyx) * ASTERISK-27283 - Realtime config fail with PostgreSQL version before 9.1 (Reported by Rodrigo Ramirez Norambuena) * ASTERISK-27257 - bridge_native_rtp: half-way direct media when using early bridging (Reported by Jean Aunis - Prescom) * ASTERISK-27279 - Crash in pubsub_on_rx_request NULL pointer - Possible PJSIP Vulnerability (Reported by Ross Beer) * ASTERISK-26606 - tcptls: Incorrect OpenSSL function call leads to misleading error report (Reported by Bob Ham) * ASTERISK-16898 - SRTP unprotect: authentication failure when RTP sequence number switches from 65535 -> 0 (Reported by Marcello Ceschia) * ASTERISK-27274 - RTCP needs better packet validation to resist port scans. (Reported by Richard Mudgett) * ASTERISK-27252 - RTP: One way audio with direct media and strictrtp=yes. (Reported by Richard Mudgett) * ASTERISK-25524 - module reload res_calendar.so does not reload everything in calendar.conf (Reported by Jesper) * ASTERISK-24588 - res_calendar does not process CalDAV from Owncloud [fix included] (Reported by Stefan Gofferje) * ASTERISK-25523 - res_calendar: Warning about invalid channel value (for notification) occurs even when event has no notification configured. (Reported by Jesper) * ASTERISK-21399 - RTP Multicast of L16 (type 10): Asterisk and wireshark disagree (Reported by Tzafrir Cohen) * ASTERISK-27248 - [patch]external_media_address and external_signaling_address don't always honor localnet (Reported by Walter Doekes) * ASTERISK-27165 - CDR: CDR(start,u) function won't work in cdr_custom config (Reported by Jacek Konieczny) * ASTERISK-27217 - chan_sip: Asterisk crashing when subscription doesn't get set (Reported by Bryan Walters) * ASTERISK-24066 - res_smdi: convert to astobj2 (Reported by Corey Farrell) * ASTERISK-17540 - SDP origin attribute modified when issuing re-INVITE because of directmedia=yes (Reported by saghul) * ASTERISK-27254 - alembic: prune_on_boot fix erroneous (Reported by Florian Floimair) * ASTERISK-27232 - When in queue on g722 with interruptions, music on hold can get stuck and no longer play (Reported by Jens T.) * ASTERISK-27024 - nat/external_media settings ignored in 14.4.1 (Reported by Christopher van de Sande) * ASTERISK-26879 - PJSIP external_media_address ignored if no local_net options are provided (Reported by Matt Jordan) * ASTERISK-27236 - Segfault ast_channel_name (chan=0x0) at channel_internal_api.c:478 during T.38 Fax Receive (Reported by Ross Beer) * ASTERISK-27225 - Crash when freeing dtls_cfg->cafile (Reported by Richard Kenner) * ASTERISK-27177 - ooh323c: misleading indentation in addons/ooh323c/src/ooSocket.c (Reported by Tzafrir Cohen) * ASTERISK-27241 - libc segfault upon entry into app_directory (Reported by David Moore) * ASTERISK-27152 - Sending a "tel" uri in a From or To header in an unauthenticated message causes asterisk to crash (Reported by Ross Beer) * ASTERISK-27103 - core: ast_safe_system command injection possible. (Reported by Corey Farrell) * ASTERISK-27013 - res_rtp_asterisk: Media can be hijacked even with strict RTP enabled (Reported by Joshua Colp) * ASTERISK-26994 - Confbridge: CBAnn channels intermittently become stuck when caller hangs up before recording name (Reported by James Terhune) * ASTERISK-20858 - app_minivm fails to clean up mkstemp files (Reported by Walter Doekes) * ASTERISK-16777 - several filename bugs in Record() application (Reported by klaus3000) * ASTERISK-27168 - alembic: PJSIP scripts are missing column dtls_fingerprint in ps_endpoints table (Reported by Florian Floimair) * ASTERISK-23608 - ControlPlayback fails to play files with names containing certain non-alpha characters (Reported by Jonathan White) * ASTERISK-19103 - When using realtime queues, function QUEUE_MEMBER_LIST() will return an error if no other app/function has loaded the queues first. This problem does not exist if queues.conf is used. (Reported by Jim Van Meggelen) * ASTERISK-21241 - When using voicemail as announce only (maxmsg=0), the star dtmf to enter the voicemail is not honored (Reported by Eelco Brolman) * ASTERISK-27204 - [patch] app_queue: Wrong queue stat calculation (Reported by sungtae kim) * ASTERISK-27209 - Incorrect SDP in 200 OK when PJSIP_DTMF_MODE is used (Reported by Torrey Searle) * ASTERISK-27207 - XMPP OAuth not working due to inverted logic (Reported by Michael Kuron) * ASTERISK-27174 - res_calendar_icalendar: Recurring events not being loaded from Google calendar using ical (Reported by Mark Thompson) * ASTERISK-27202 - If wget is not installed and "or" is not available, external components (excluding pjsip) are not installed (Reported by Seán C. McCord) * ASTERISK-27147 - Either asterisk or pjproject isn't re-using tcp connections (again) (Reported by George Joseph) * ASTERISK-27193 - IPv6 receive address in message doesn't include brackets (Reported by Scott Griepentrog) * ASTERISK-27158 - [patch] res_rtp_asterisk: RTCP statistics are not available when native bridge is used (Reported by Torrey Searle) * ASTERISK-27110 - RTP session is not fully destroyed on channel hangup (Reported by Matt Jordan) * ASTERISK-26745 - Asymmetric codecs when asymmetric_rtp_codec=no (Reported by Jesse Ross) * ASTERISK-27171 - Asterisk 15.0.0-Beta1 does not compile (Reported by Ira Emus) * ASTERISK-26659 - res_pjsip: PJSIP presence - missing braces around the status element in XML (Reported by Abraham Liebsch) * ASTERISK-27156 - Asterisk won't compile on Fedora 26 with devmode enabled. (Reported by Corey Farrell) * ASTERISK-27130 - Applications ARI: Unsubscribe action for deviceStates does not remove old subscriptions properly (Reported by Sergej Kasumovic) * ASTERISK-25810 - say.c calls for sounds in the subdir "digits" that don't exist (in Core). SayUnixTime or other Say... apps will fail out when they call these sounds. (Reported by Nicolas Riendeau) * ASTERISK-27142 - sounds: Conflict between files in asterisk-sounds-core-1.6 and asterisk-sounds-extra-1.5 (Reported by Corey Farrell) * ASTERISK-27124 - app_playback.c:say_date_generic use timezonename parameter (Reported by Holger Hans Peter Freyther) * ASTERISK-27133 - res_rtp_asterisk: RTCP does not use ICE when RTCP-MUX in use (Reported by Joshua Colp) * ASTERISK-27128 - [patch]res_stasis_snoop: When recording a snoop channel (using ARI) where no media is being received, no recording happens when theres no media (Reported by Dan Jenkins) * ASTERISK-27123 - confbridge: Name recordings are left on filesystem (Reported by Sergej Kasumovic) * ASTERISK-27122 - chan_iax2: On reload MWI taskprocessors keep adding up (Reported by Sergej Kasumovic) * ASTERISK-26807 - sounds: New 3-D Binaural audio features require new sound prompts (Reported by Rusty Newton) * ASTERISK-25816 - French conf-adminmenu, conf-usermenu prompts differ in content from the English files (Reported by Benoit Duverger) * ASTERISK-26274 - Resolve open sounds issues and then create a new sounds release (1.5.1? or 1.6?) (Reported by Rusty Newton) * ASTERISK-27127 - configs: Erroneous load directive in sample configuration results in "Error loading module 'res_pjsip_multihomed.so'" (Reported by HZMI8gkCvPpom0tM) * ASTERISK-27105 - [patch]core: when setting 'maxfiles' in asterisk.conf, a message is printed, even in rasterisk -x (Reported by Tzafrir Cohen) * ASTERISK-27036 - res_pjsip: Asterisk crashes when an extension tries to use PJSIP trunk with from_user containing '@' (Reported by Maxim Vasilev) * ASTERISK-27023 - res_rtp_asterisk: Deadlock when TURN session in use (Reported by Jatin Jain) * ASTERISK-27093 - ODBC deadlocks when app_directory tries to play back non-existent voicemail greeting (Reported by James Terhune) New Features made in this release: ----------------------------------- * ASTERISK-27215 - [patch]AMI : Add CancelAtxfer Action (Reported by Thomas Sevestre) * ASTERISK-27117 - core: Add support for timelen parsing to ast_parse_arg and ACO. (Reported by Corey Farrell) For a full list of changes in this release, please see the ChangeLog: http://downloads.asterisk.org/pub/telephony/asterisk/ChangeLog-13.18.0 Thank you for your continued support of Asterisk! ----- 13.17.0 ---- The Asterisk Development Team would like to announce the release of Asterisk 13.17.0. The release of Asterisk 13.17.0 resolves several issues reported by the community and would have not been possible without your participation. Thank you! The following issues are resolved in this release: Bugs fixed in this release: ----------------------------------- * ASTERISK-27108 - Crash using 'data get' CLI command (Reported by Sean Bright) * ASTERISK-27106 - [patch] autodomain (SIP Domain Support): Add only really different domain with TLS. (Reported by Alexander Traud) * ASTERISK-27100 - channel: ast_waitfordigit_full fails to clear flag in an error branch. (Reported by Corey Farrell) * ASTERISK-27090 - PJSIP: Deadlock using TCP transport (Reported by Richard Mudgett) * ASTERISK-25665 - Duplicate logging in queue log for EXITEMPTY events (Reported by Ove Aursand) * ASTERISK-27065 - call hangup after leaving app_queue (Reported by Marek Cervenka) * ASTERISK-26978 - rtp: Crash in ast_rtp_codecs_payload_code() (Reported by Ross Beer) * ASTERISK-27074 - core_local: local channel data not being properly unref'ed and unlocked (Reported by Kevin Harwell) * ASTERISK-27075 - bridge: stuck channel(s) after failed attended transfer (Reported by Kevin Harwell) * ASTERISK-24052 - app_voicemail reloads result in leaked IMAP sockets. (Reported by Louis Jocelyn Paquet) * ASTERISK-27060 - Comment typo format_g729.c (Reported by Matthew Fredrickson) * ASTERISK-27026 - res_ari: Crash when no ari.conf configuration file exists (Reported by Ronald Raikes) * ASTERISK-27041 - Core/PBX: [patch] Deadlock between dialplan execution and application unregistration (Reported by Frederic LE FOLL) * ASTERISK-27057 - Seg Fault in ast_sorcery_object_get_id at sorcery.c (Reported by Ryan Smith) * ASTERISK-27024 - nat/external_media settings ignored in 14.4.1 (Reported by Christopher van de Sande) * ASTERISK-27046 - res_pjsip_transport_websocket: segfault in get_write_timeout (Reported by Jørgen H) * ASTERISK-27022 - res_rtp_asterisk: Incorrect SSRC change for RTCP component (Reported by Michael Walton) * ASTERISK-26923 - bridging: T.38 request is lost when channels are added to bridge (Reported by Torrey Searle) * ASTERISK-27053 - res_pjsip_refer/session: Calls dropped during transfer (Reported by Kevin Harwell) * ASTERISK-27052 - Asterisk build process fails with flag --with-pjproject-bundled with curl download command and slow network (Reported by alex) * ASTERISK-27039 - chan_pjsip: Device state is idle when channel from endpoint is in early media (Reported by Joshua Colp) * ASTERISK-26996 - chan_pjsip: Flipping between codecs (Reported by Michael Maier) * ASTERISK-26281 - chan_pjsip would send INVITE to 'Unreachable' endpoints (Reported by Jacek Konieczny) * ASTERISK-26973 - bridge: Crash when freeing frame and snooping (Reported by Michel R. Vaillancourt) * ASTERISK-19291 - Background in realtime (Reported by Andrew Nowrot) * ASTERISK-27025 - channel / meetme: Fix missing parentheses (Reported by Joshua Colp) * ASTERISK-27021 - GET /recordings/stored returns 500 Internal Server Error (Reported by Tim Morgan) * ASTERISK-24858 - [patch]Asterisk 13 PJSIP sends RTP packets in wrong byte order on Intel platform when using slin codec (Reported by Frankie Chin) * ASTERISK-23951 - Asterisk attempts and fails to build format_mp3 even if mp3lib was not downloaded (Reported by Tzafrir Cohen) * ASTERISK-25294 - srtp's crypto_get_random deprecated (Reported by Tzafrir Cohen) * ASTERISK-23839 - AGI - RECORD FILE - documentation doesn't describe BEEP argument (Reported by Rusty Newton) * ASTERISK-22432 - Async AGI crashes Asterisk when issuing "set variable" command without args (Reported by Antoine Pitrou) * ASTERISK-25662 - Malformed AGI 520 Usage response (Reported by Tony Mountifield) * ASTERISK-25101 - DTLS configuration can not be specified in the general section - documentation (Reported by Ben Langfeld) * ASTERISK-27008 - res_format_attr_h264: SDP parse fails if fmtp optional parameters have a space (Reported by John Harris) * ASTERISK-26399 - app_queue: Agent not called when caller is parked (Reported by wushumasters) * ASTERISK-26400 - app_queue: Queue member stops being called after AMI "Redirect" action for queues with wrapuptime (Reported by Etienne Lessard) * ASTERISK-26715 - app_queue: Member will not receive any new calls after doing a transfer if wrapuptime = greater than 0 and using Local channel (Reported by David Brillert) * ASTERISK-26975 - app_queue: Non-zero wrapup time can cause agents not to receive queue calls after transfer queue call (Reported by Lorne Gaetz) * ASTERISK-27012 - app_confbridge: ConfBridge sometimes does not play user name recording while leaving (Reported by Robert Mordec) * ASTERISK-26979 - res_rtp_asterisk: SRTP unprotect failed with authentication failure 10 or 110 (Reported by Javier Riveros) * ASTERISK-26982 - chan_sip: rtcp_mux setting may cause ice completion failure/delay if client offers rtcp-mux as negotiable (Reported by Stefan Engström) * ASTERISK-26964 - res_pjsip_session: Wrong From on reinvite when request and To URI differ (Reported by Yasin CANER) * ASTERISK-26789 - Audit manipulation of channel flags without locks (Reported by Joshua Colp) * ASTERISK-26333 - Problems with Blind Transfer, PJSIP (Aastra 6869i) (Reported by Matthias Binder) Improvements made in this release: ----------------------------------- * ASTERISK-26230 - [patch] res_pjsip_mwi: unsolicited mwi could block PJSIP taskprocessor on startup (Reported by Alexei Gradinari) * ASTERISK-27043 - Core/BuildSystem: Add defines to fix build with LibreSSL (Reported by Guido Falsi) * ASTERISK-27042 - Unpatched asterisk sources fail to build on FreeBSD due to missing crypt.h file (Reported by Guido Falsi) * ASTERISK-26419 - audiohooks: Remove redundant codec translations when using audiohooks (Reported by Michael Walton) * ASTERISK-26976 - libsrtp-2.x.x support (Reported by Alex) * ASTERISK-26124 - res_agi: Set audio format for EAGI audio stream (Reported by John Fawcett) For a full list of changes in this release, please see the ChangeLog: http://downloads.asterisk.org/pub/telephony/asterisk/ChangeLog-13.17.0 Thank you for your continued support of Asterisk!
Diffstat (limited to 'comms')
-rw-r--r--comms/asterisk13/Makefile33
-rw-r--r--comms/asterisk13/PLIST26
-rw-r--r--comms/asterisk13/distinfo22
-rw-r--r--comms/asterisk13/patches/patch-Makefile30
-rw-r--r--comms/asterisk13/patches/patch-apps_app__queue.c55
5 files changed, 86 insertions, 80 deletions
diff --git a/comms/asterisk13/Makefile b/comms/asterisk13/Makefile
index 6f31e2fc691..53b784a56d1 100644
--- a/comms/asterisk13/Makefile
+++ b/comms/asterisk13/Makefile
@@ -1,12 +1,11 @@
-# $NetBSD: Makefile,v 1.32 2018/01/01 21:18:17 adam Exp $
+# $NetBSD: Makefile,v 1.33 2018/01/23 08:26:08 jnemeth Exp $
#
# NOTE: when updating this package, there are two places that sound
# tarballs need to be checked; look in ${WRKSRC}/sounds/Makefile
# to find out the current sound file versions
-DISTNAME= asterisk-13.16.0
+DISTNAME= asterisk-13.19.0
#PKGREVISION= 4
-PKGREVISION= 4
CATEGORIES= comms net audio
MASTER_SITES= http://downloads.asterisk.org/pub/telephony/asterisk/
MASTER_SITES+= http://downloads.asterisk.org/pub/telephony/asterisk/old-releases/
@@ -30,15 +29,15 @@ CONFLICTS+= asterisk-sounds-extra-[0-9]*
.include "../../mk/bsd.prefs.mk"
-USE_TOOLS+= bison gmake perl:run pkg-config tar bash:run
-USE_LANGUAGES= c c++
-REPLACE_BASH+= contrib/scripts/ast_coredumper
-REPLACE_BASH+= contrib/scripts/ast_logescalator
-REPLACE_BASH+= contrib/scripts/ast_loggrabber
-REPLACE_BASH+= contrib/scripts/astversion
-REPLACE_PERL+= agi/DialAnMp3.agi agi/agi-test.agi
-REPLACE_PERL+= agi/fastagi-test agi/jukebox.agi agi/numeralize
-REPLACE_PERL+= contrib/scripts/vmail.cgi
+USE_TOOLS+= bison gmake perl:run pkg-config tar bash:run
+USE_LANGUAGES= c c++
+REPLACE_BASH+= contrib/scripts/ast_coredumper
+REPLACE_BASH+= contrib/scripts/ast_logescalator
+REPLACE_BASH+= contrib/scripts/ast_loggrabber
+REPLACE_BASH+= contrib/scripts/astversion
+REPLACE_PERL+= agi/DialAnMp3.agi agi/agi-test.agi
+REPLACE_PERL+= agi/fastagi-test agi/jukebox.agi agi/numeralize
+REPLACE_PERL+= contrib/scripts/vmail.cgi
CHECK_INTERPRETER_SKIP+= libdata/asterisk/scripts/refcounter.py
GNU_CONFIGURE= yes
@@ -132,7 +131,7 @@ PLIST.mgcp= yes
.include "options.mk"
# check sounds/Makefile for current version when upgrading package
-DISTFILES+= asterisk-extra-sounds-en-gsm-1.5.tar.gz
+DISTFILES+= asterisk-extra-sounds-en-gsm-1.5.1.tar.gz
# Override default paths in config files
SUBST_CLASSES+= configs
@@ -241,17 +240,17 @@ post-patch:
post-install:
# check sounds directory for current versions when upgrading package
- ${TAR} xzf ${WRKSRC}/sounds/asterisk-core-sounds-en-gsm-1.5.tar.gz -C ${DESTDIR}${ASTDATADIR}/sounds/en
+ ${TAR} xzf ${WRKSRC}/sounds/asterisk-core-sounds-en-gsm-1.6.tar.gz -C ${DESTDIR}${ASTDATADIR}/sounds/en
${TAR} xzf ${WRKSRC}/sounds/asterisk-moh-opsound-wav-2.03.tar.gz -C ${DESTDIR}${ASTDATADIR}/moh
- ${TAR} xzf ${DISTDIR}/${DIST_SUBDIR}/asterisk-extra-sounds-en-gsm-1.5.tar.gz -C ${DESTDIR}${ASTDATADIR}/sounds/en
+ ${TAR} xzf ${DISTDIR}/${DIST_SUBDIR}/asterisk-extra-sounds-en-gsm-1.5.1.tar.gz -C ${DESTDIR}${ASTDATADIR}/sounds/en
${INSTALL_DATA} ${WRKSRC}/BUGS ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}
${INSTALL_DATA} ${WRKSRC}/CHANGES ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}
${INSTALL_DATA} ${WRKSRC}/COPYING ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}
${INSTALL_DATA} ${WRKSRC}/CREDITS ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}
${INSTALL_DATA} ${WRKSRC}/ChangeLog ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}
${INSTALL_DATA} ${WRKSRC}/LICENSE ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}
- ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}
- ${INSTALL_DATA} ${WRKSRC}/README-SERIOUSLY.bestpractices.txt ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}
+ ${INSTALL_DATA} ${WRKSRC}/README.md ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}
+ ${INSTALL_DATA} ${WRKSRC}/README-SERIOUSLY.bestpractices.md ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}
${INSTALL_DATA} ${WRKSRC}/UPGRADE-1.2.txt ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}
${INSTALL_DATA} ${WRKSRC}/UPGRADE-1.4.txt ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}
${INSTALL_DATA} ${WRKSRC}/UPGRADE-1.6.txt ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}
diff --git a/comms/asterisk13/PLIST b/comms/asterisk13/PLIST
index 6adf2b02086..7316210aea9 100644
--- a/comms/asterisk13/PLIST
+++ b/comms/asterisk13/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.10 2017/06/04 07:51:27 jnemeth Exp $
+@comment $NetBSD: PLIST,v 1.11 2018/01/23 08:26:08 jnemeth Exp $
include/asterisk.h
include/asterisk/_private.h
include/asterisk/abstract_jb.h
@@ -64,11 +64,7 @@ include/asterisk/dlinkedlists.h
include/asterisk/dns.h
include/asterisk/dnsmgr.h
include/asterisk/doxygen/architecture.h
-include/asterisk/doxygen/asterisk-git-howto.h
-include/asterisk/doxygen/commits.h
include/asterisk/doxygen/licensing.h
-include/asterisk/doxygen/releases.h
-include/asterisk/doxygen/reviewboard.h
include/asterisk/doxyref.h
include/asterisk/dsp.h
include/asterisk/dundi.h
@@ -501,15 +497,15 @@ libdata/asterisk/scripts/ast_coredumper
libdata/asterisk/scripts/ast_logescalator
libdata/asterisk/scripts/ast_loggrabber
libdata/asterisk/scripts/refcounter.py
-libdata/asterisk/sounds/en/.asterisk-core-sounds-en-gsm-1.5
+libdata/asterisk/sounds/en/.asterisk-core-sounds-en-gsm-1.6
libdata/asterisk/sounds/en/1-for-am-2-for-pm.gsm
libdata/asterisk/sounds/en/1-yes-2-no.gsm
-libdata/asterisk/sounds/en/CHANGES-asterisk-core-en-1.5
-libdata/asterisk/sounds/en/CHANGES-asterisk-extra-en-1.5
-libdata/asterisk/sounds/en/CREDITS-asterisk-core-en-1.5
-libdata/asterisk/sounds/en/CREDITS-asterisk-extra-en-1.5
-libdata/asterisk/sounds/en/LICENSE-asterisk-core-en-1.5
-libdata/asterisk/sounds/en/LICENSE-asterisk-extra-en-1.5
+libdata/asterisk/sounds/en/CHANGES-asterisk-core-en-1.6
+libdata/asterisk/sounds/en/CHANGES-asterisk-extra-en-1.5.1
+libdata/asterisk/sounds/en/CREDITS-asterisk-core-en-1.6
+libdata/asterisk/sounds/en/CREDITS-asterisk-extra-en-1.5.1
+libdata/asterisk/sounds/en/LICENSE-asterisk-core-en-1.6
+libdata/asterisk/sounds/en/LICENSE-asterisk-extra-en-1.5.1
libdata/asterisk/sounds/en/OfficeSpace.gsm
libdata/asterisk/sounds/en/Randulo-allison.gsm
libdata/asterisk/sounds/en/SIP_Test_Failure.gsm
@@ -775,6 +771,8 @@ libdata/asterisk/sounds/en/confbridge-begin-glorious-a.gsm
libdata/asterisk/sounds/en/confbridge-begin-glorious-b.gsm
libdata/asterisk/sounds/en/confbridge-begin-glorious-c.gsm
libdata/asterisk/sounds/en/confbridge-begin-leader.gsm
+libdata/asterisk/sounds/en/confbridge-binaural-off.gsm
+libdata/asterisk/sounds/en/confbridge-binaural-on.gsm
libdata/asterisk/sounds/en/confbridge-conf-begin.gsm
libdata/asterisk/sounds/en/confbridge-conf-end.gsm
libdata/asterisk/sounds/en/confbridge-dec-list-vol-in.gsm
@@ -3221,8 +3219,8 @@ share/doc/asterisk/ChangeLog
share/doc/asterisk/IAX2-security.pdf
share/doc/asterisk/IAX2-security.txt
share/doc/asterisk/LICENSE
-share/doc/asterisk/README
-share/doc/asterisk/README-SERIOUSLY.bestpractices.txt
+share/doc/asterisk/README-SERIOUSLY.bestpractices.md
+share/doc/asterisk/README.md
share/doc/asterisk/README.txt
share/doc/asterisk/UPGRADE-1.2.txt
share/doc/asterisk/UPGRADE-1.4.txt
diff --git a/comms/asterisk13/distinfo b/comms/asterisk13/distinfo
index c0c2340d2a3..0125f809607 100644
--- a/comms/asterisk13/distinfo
+++ b/comms/asterisk13/distinfo
@@ -1,18 +1,18 @@
-$NetBSD: distinfo,v 1.14 2017/06/04 07:51:27 jnemeth Exp $
+$NetBSD: distinfo,v 1.15 2018/01/23 08:26:08 jnemeth Exp $
-SHA1 (asterisk-13.16.0/asterisk-13.16.0.tar.gz) = ab0db5bd3779ebbe5b37aaa6c00e72c702b6d55a
-RMD160 (asterisk-13.16.0/asterisk-13.16.0.tar.gz) = beebb78e85dd6735c8943f00f416efe0eed42afc
-SHA512 (asterisk-13.16.0/asterisk-13.16.0.tar.gz) = 287a89bf00685287efcdb0a8142e6369e9752548688626a5e01b23f4ed4585dbca8cf12b0344b20ce9a8b5e903b63895cc596a52ec39c3a88719b6029f63221d
-Size (asterisk-13.16.0/asterisk-13.16.0.tar.gz) = 32886977 bytes
-SHA1 (asterisk-13.16.0/asterisk-extra-sounds-en-gsm-1.5.tar.gz) = 831ae6442e23cbef1e7d1c84798778ad0b0524d1
-RMD160 (asterisk-13.16.0/asterisk-extra-sounds-en-gsm-1.5.tar.gz) = d52df795201c53fc4cd7d99ed41516e312f6f0f3
-SHA512 (asterisk-13.16.0/asterisk-extra-sounds-en-gsm-1.5.tar.gz) = c7d3c3fd2c854e6776801312d34bf69bbed78a443c16121637f508c5275f18b1d415cbb6e4f6f8c5aa3769cbbfa1a11485b9972053777f3ac39256c2c81729f1
-Size (asterisk-13.16.0/asterisk-extra-sounds-en-gsm-1.5.tar.gz) = 4256538 bytes
-SHA1 (patch-Makefile) = 4e8452e810533624464ab24e65ef3969e896ebd3
+SHA1 (asterisk-13.19.0/asterisk-13.19.0.tar.gz) = b519e16016a8e07230a16159d88aa06280d70ddb
+RMD160 (asterisk-13.19.0/asterisk-13.19.0.tar.gz) = 2d448476e2a9a52e8aa30361c5091e72f06bf58d
+SHA512 (asterisk-13.19.0/asterisk-13.19.0.tar.gz) = 5404080a42e2d6d76b8fa8629c9570ae55c943676c51901a34552dc69c35f82001a1738e2da3adedf1de254bc8d1821ea7708f844685462ecdd1fd4e979e0e7f
+Size (asterisk-13.19.0/asterisk-13.19.0.tar.gz) = 33027887 bytes
+SHA1 (asterisk-13.19.0/asterisk-extra-sounds-en-gsm-1.5.1.tar.gz) = 8bd05d42d45454b642f1d2e598e00e2189747846
+RMD160 (asterisk-13.19.0/asterisk-extra-sounds-en-gsm-1.5.1.tar.gz) = 2320f0c9b884c1d7e80003668fbae03cf4495842
+SHA512 (asterisk-13.19.0/asterisk-extra-sounds-en-gsm-1.5.1.tar.gz) = 6da96ecf9fb2051fd7efc1c5f9b346f6ec7b31d06b7008e0612c869984a3212141ec981132ddd55215339e04c6c27b48d8b3737bd1fa974bffd628a0505212b4
+Size (asterisk-13.19.0/asterisk-extra-sounds-en-gsm-1.5.1.tar.gz) = 4254022 bytes
+SHA1 (patch-Makefile) = b7715e8cc51ed95abfc58fa8a89b55805020b613
SHA1 (patch-addons_chan__ooh323.c) = 9cba619ced6a4449604faebeac33d91a23519c48
SHA1 (patch-apps_app__dumpchan.c) = 127ac02bdc180ad2334cd095aa6e646feb6fba10
SHA1 (patch-apps_app__followme.c) = c6a5790b5e9b34d07dbfdd66a58e2854c8c72695
-SHA1 (patch-apps_app__queue.c) = 6dbcbdf0a23b1e7b57a82203375f16e872612c9d
+SHA1 (patch-apps_app__queue.c) = 0dfb6e92061bcc1342b144ee4b29f132f4fa7b50
SHA1 (patch-apps_app__sms.c) = ae81daf6ccf8c8fdf2251dba305e137bb9ab6b05
SHA1 (patch-apps_app__voicemail.c) = ee46ffd64a15ef79fc568edd3d5eb68cd86865f7
SHA1 (patch-build__tools_mkpkgconfig) = 7fab8fcf46d9f8a3b98455674fec6307ec472b23
diff --git a/comms/asterisk13/patches/patch-Makefile b/comms/asterisk13/patches/patch-Makefile
index 344917edd1c..29aeea0591a 100644
--- a/comms/asterisk13/patches/patch-Makefile
+++ b/comms/asterisk13/patches/patch-Makefile
@@ -1,8 +1,8 @@
-$NetBSD: patch-Makefile,v 1.4 2017/06/04 07:51:27 jnemeth Exp $
+$NetBSD: patch-Makefile,v 1.5 2018/01/23 08:26:08 jnemeth Exp $
---- Makefile.orig 2017-05-30 17:44:16.000000000 +0000
+--- Makefile.orig 2018-01-11 16:44:54.000000000 +0000
+++ Makefile
-@@ -139,7 +139,7 @@ DEBUG=-g3
+@@ -142,7 +142,7 @@ DEBUG=-g3
# Asterisk.conf is located in ASTETCDIR or by using the -C flag
# when starting Asterisk
@@ -11,7 +11,7 @@ $NetBSD: patch-Makefile,v 1.4 2017/06/04 07:51:27 jnemeth Exp $
AGI_DIR=$(ASTDATADIR)/agi-bin
# If you use Apache, you may determine by a grep 'DocumentRoot' of your httpd.conf file
-@@ -176,6 +176,9 @@ DAHDI_UDEV_HOOK_DIR = /usr/share/dahdi/s
+@@ -179,6 +179,9 @@ DAHDI_UDEV_HOOK_DIR = /usr/share/dahdi/s
# supported run:
# menuselect/menuselect --help
@@ -21,8 +21,8 @@ $NetBSD: patch-Makefile,v 1.4 2017/06/04 07:51:27 jnemeth Exp $
MOD_SUBDIR_CFLAGS="-I$(ASTTOPDIR)/include"
OTHER_SUBDIR_CFLAGS="-I$(ASTTOPDIR)/include"
-@@ -210,10 +213,6 @@ ifeq ($(AST_DEVMODE),yes)
- ADDL_TARGETS+=validate-docs
+@@ -215,10 +218,6 @@ ifeq ($(AST_DEVMODE),yes)
+ endif
endif
-ifneq ($(findstring BSD,$(OSARCH)),)
@@ -32,7 +32,7 @@ $NetBSD: patch-Makefile,v 1.4 2017/06/04 07:51:27 jnemeth Exp $
ifeq ($(OSARCH),FreeBSD)
# -V is understood by BSD Make, not by GNU make.
BSDVERSION=$(shell make -V OSVERSION -f /usr/share/mk/bsd.port.subdir.mk)
-@@ -336,10 +335,10 @@ makeopts: configure
+@@ -349,10 +348,10 @@ makeopts: configure
@echo "****"
@exit 1
@@ -45,7 +45,7 @@ $NetBSD: patch-Makefile,v 1.4 2017/06/04 07:51:27 jnemeth Exp $
endif
$(MOD_SUBDIRS_MENUSELECT_TREE):
-@@ -412,7 +411,6 @@ dist-clean: distclean
+@@ -425,7 +424,6 @@ dist-clean: distclean
distclean: $(SUBDIRS_DIST_CLEAN) _clean
@$(MAKE) -C menuselect dist-clean
@@ -53,7 +53,7 @@ $NetBSD: patch-Makefile,v 1.4 2017/06/04 07:51:27 jnemeth Exp $
rm -f menuselect.makeopts makeopts menuselect-tree menuselect.makedeps
rm -f config.log config.status config.cache
rm -rf autom4te.cache
-@@ -527,7 +525,7 @@ update:
+@@ -542,7 +540,7 @@ update:
NEWHEADERS=$(notdir $(wildcard include/asterisk/*.h))
OLDHEADERS=$(filter-out $(NEWHEADERS) $(notdir $(DESTDIR)$(ASTHEADERDIR)),$(notdir $(wildcard $(DESTDIR)$(ASTHEADERDIR)/*.h)))
@@ -62,7 +62,7 @@ $NetBSD: patch-Makefile,v 1.4 2017/06/04 07:51:27 jnemeth Exp $
"$(ASTSPOOLDIR)" "$(ASTSPOOLDIR)/dictate" "$(ASTSPOOLDIR)/meetme" \
"$(ASTSPOOLDIR)/monitor" "$(ASTSPOOLDIR)/system" "$(ASTSPOOLDIR)/tmp" \
"$(ASTSPOOLDIR)/voicemail" "$(ASTSPOOLDIR)/recording" \
-@@ -731,7 +729,7 @@ upgrade: bininstall
+@@ -748,7 +746,7 @@ upgrade: bininstall
# (2) the extension to strip off
define INSTALL_CONFIGS
@for x in configs/$(1)/*$(2); do \
@@ -71,7 +71,7 @@ $NetBSD: patch-Makefile,v 1.4 2017/06/04 07:51:27 jnemeth Exp $
if [ -f "$${dst}" ]; then \
if [ "$(OVERWRITE)" = "y" ]; then \
if cmp -s "$${dst}" "$$x" ; then \
-@@ -760,24 +758,24 @@ define INSTALL_CONFIGS
+@@ -777,24 +775,24 @@ define INSTALL_CONFIGS
-e 's|^astrundir.*$$|astrundir => $(ASTVARRUNDIR)|' \
-e 's|^astlogdir.*$$|astlogdir => $(ASTLOGDIR)|' \
-e 's|^astsbindir.*$$|astsbindir => $(ASTSBINDIR)|' \
@@ -102,7 +102,7 @@ $NetBSD: patch-Makefile,v 1.4 2017/06/04 07:51:27 jnemeth Exp $
done
samples: adsi
-@@ -810,7 +808,7 @@ basic-pbx:
+@@ -827,7 +825,7 @@ basic-pbx:
webvmail:
@[ -d "$(DESTDIR)$(HTTP_DOCSDIR)/" ] || ( printf "http docs directory not found.\nUpdate assignment of variable HTTP_DOCSDIR in Makefile!\n" && exit 1 )
@[ -d "$(DESTDIR)$(HTTP_CGIDIR)" ] || ( printf "cgi-bin directory not found.\nUpdate assignment of variable HTTP_CGIDIR in Makefile!\n" && exit 1 )
@@ -111,7 +111,7 @@ $NetBSD: patch-Makefile,v 1.4 2017/06/04 07:51:27 jnemeth Exp $
$(INSTALL) -d "$(DESTDIR)$(HTTP_DOCSDIR)/_asterisk"
for x in images/*.gif; do \
$(INSTALL) -m 644 $$x "$(DESTDIR)$(HTTP_DOCSDIR)/_asterisk/"; \
-@@ -860,11 +858,11 @@ endif
+@@ -877,11 +875,11 @@ endif
endif
install-logrotate:
@@ -126,7 +126,7 @@ $NetBSD: patch-Makefile,v 1.4 2017/06/04 07:51:27 jnemeth Exp $
rm -f contrib/scripts/asterisk.logrotate.tmp
config:
-@@ -976,7 +974,7 @@ uninstall-all: _uninstall
+@@ -993,7 +991,7 @@ uninstall-all: _uninstall
rm -rf "$(DESTDIR)$(ASTVARLIBDIR)"
rm -rf "$(DESTDIR)$(ASTDATADIR)"
rm -rf "$(DESTDIR)$(ASTSPOOLDIR)"
@@ -135,7 +135,7 @@ $NetBSD: patch-Makefile,v 1.4 2017/06/04 07:51:27 jnemeth Exp $
rm -rf "$(DESTDIR)$(ASTLOGDIR)"
menuconfig: menuselect
-@@ -1064,6 +1062,7 @@ check-alembic: makeopts
+@@ -1081,6 +1079,7 @@ check-alembic: makeopts
@ALEMBIC=$(ALEMBIC) build_tools/make_check_alembic config cdr voicemail >&2
.PHONY: menuselect
diff --git a/comms/asterisk13/patches/patch-apps_app__queue.c b/comms/asterisk13/patches/patch-apps_app__queue.c
index 218b86cd65a..a29ce5c801c 100644
--- a/comms/asterisk13/patches/patch-apps_app__queue.c
+++ b/comms/asterisk13/patches/patch-apps_app__queue.c
@@ -1,8 +1,8 @@
-$NetBSD: patch-apps_app__queue.c,v 1.2 2017/06/04 07:51:27 jnemeth Exp $
+$NetBSD: patch-apps_app__queue.c,v 1.3 2018/01/23 08:26:08 jnemeth Exp $
---- apps/app_queue.c.orig 2017-05-30 17:44:16.000000000 +0000
+--- apps/app_queue.c.orig 2018-01-11 16:44:54.000000000 +0000
+++ apps/app_queue.c
-@@ -5418,7 +5418,7 @@ static int wait_our_turn(struct queue_en
+@@ -5425,7 +5425,7 @@ static int wait_our_turn(struct queue_en
if ((status = get_member_status(qe->parent, qe->max_penalty, qe->min_penalty, qe->parent->leavewhenempty, 0))) {
*reason = QUEUE_LEAVEEMPTY;
@@ -11,29 +11,29 @@ $NetBSD: patch-apps_app__queue.c,v 1.2 2017/06/04 07:51:27 jnemeth Exp $
res = -1;
qe->handled = -1;
break;
-@@ -6795,8 +6795,8 @@ static int try_calling(struct queue_ent
+@@ -6805,8 +6805,8 @@ static int try_calling(struct queue_ent
/* if setinterfacevar is defined, make member variables available to the channel */
/* use pbx_builtin_setvar to set a load of variables with one call */
- if (qe->parent->setinterfacevar) {
-- snprintf(interfacevar, sizeof(interfacevar), "MEMBERINTERFACE=%s,MEMBERNAME=%s,MEMBERCALLS=%d,MEMBERLASTCALL=%ld,MEMBERPENALTY=%d,MEMBERDYNAMIC=%d,MEMBERREALTIME=%d",
+ if (qe->parent->setinterfacevar && interfacevar) {
+- ast_str_set(&interfacevar, 0, "MEMBERINTERFACE=%s,MEMBERNAME=%s,MEMBERCALLS=%d,MEMBERLASTCALL=%ld,MEMBERPENALTY=%d,MEMBERDYNAMIC=%d,MEMBERREALTIME=%d",
- member->interface, member->membername, member->calls, (long)member->lastcall, member->penalty, member->dynamic, member->realtime);
-+ snprintf(interfacevar, sizeof(interfacevar), "MEMBERINTERFACE=%s,MEMBERNAME=%s,MEMBERCALLS=%d,MEMBERLASTCALL=%jd,MEMBERPENALTY=%d,MEMBERDYNAMIC=%d,MEMBERREALTIME=%d",
++ ast_str_set(&interfacevar, 0, "MEMBERINTERFACE=%s,MEMBERNAME=%s,MEMBERCALLS=%d,MEMBERLASTCALL=%jd,MEMBERPENALTY=%d,MEMBERDYNAMIC=%d,MEMBERREALTIME=%d",
+ member->interface, member->membername, member->calls, (intmax_t)member->lastcall, member->penalty, member->dynamic, member->realtime);
- pbx_builtin_setvar_multiple(qe->chan, interfacevar);
- pbx_builtin_setvar_multiple(peer, interfacevar);
+ pbx_builtin_setvar_multiple(qe->chan, ast_str_buffer(interfacevar));
+ pbx_builtin_setvar_multiple(peer, ast_str_buffer(interfacevar));
}
-@@ -6804,8 +6804,8 @@ static int try_calling(struct queue_ent
+@@ -6814,8 +6814,8 @@ static int try_calling(struct queue_ent
/* if setqueueentryvar is defined, make queue entry (i.e. the caller) variables available to the channel */
/* use pbx_builtin_setvar to set a load of variables with one call */
- if (qe->parent->setqueueentryvar) {
-- snprintf(interfacevar, sizeof(interfacevar), "QEHOLDTIME=%ld,QEORIGINALPOS=%d",
+ if (qe->parent->setqueueentryvar && interfacevar) {
+- ast_str_set(&interfacevar, 0, "QEHOLDTIME=%ld,QEORIGINALPOS=%d",
- (long) (time(NULL) - qe->start), qe->opos);
-+ snprintf(interfacevar, sizeof(interfacevar), "QEHOLDTIME=%jd,QEORIGINALPOS=%d",
++ ast_str_set(&interfacevar, 0, "QEHOLDTIME=%jd,QEORIGINALPOS=%d",
+ (intmax_t) (time(NULL) - qe->start), qe->opos);
- pbx_builtin_setvar_multiple(qe->chan, interfacevar);
- pbx_builtin_setvar_multiple(peer, interfacevar);
+ pbx_builtin_setvar_multiple(qe->chan, ast_str_buffer(interfacevar));
+ pbx_builtin_setvar_multiple(peer, ast_str_buffer(interfacevar));
}
-@@ -8024,8 +8024,8 @@ static int queue_exec(struct ast_channel
+@@ -8019,8 +8019,8 @@ static int queue_exec(struct ast_channel
}
}
@@ -44,7 +44,7 @@ $NetBSD: patch-apps_app__queue.c,v 1.2 2017/06/04 07:51:27 jnemeth Exp $
qe.chan = chan;
qe.prio = prio;
-@@ -8075,8 +8075,8 @@ check_turns:
+@@ -8070,8 +8070,8 @@ check_turns:
record_abandoned(&qe);
reason = QUEUE_TIMEOUT;
res = 0;
@@ -55,7 +55,7 @@ $NetBSD: patch-apps_app__queue.c,v 1.2 2017/06/04 07:51:27 jnemeth Exp $
break;
}
-@@ -8121,7 +8121,7 @@ check_turns:
+@@ -8118,7 +8118,7 @@ check_turns:
if ((status = get_member_status(qe.parent, qe.max_penalty, qe.min_penalty, qe.parent->leavewhenempty, 0))) {
record_abandoned(&qe);
reason = QUEUE_LEAVEEMPTY;
@@ -64,7 +64,7 @@ $NetBSD: patch-apps_app__queue.c,v 1.2 2017/06/04 07:51:27 jnemeth Exp $
res = 0;
break;
}
-@@ -8144,7 +8144,7 @@ check_turns:
+@@ -8141,7 +8141,7 @@ check_turns:
record_abandoned(&qe);
reason = QUEUE_TIMEOUT;
res = 0;
@@ -73,7 +73,7 @@ $NetBSD: patch-apps_app__queue.c,v 1.2 2017/06/04 07:51:27 jnemeth Exp $
break;
}
-@@ -8172,8 +8172,8 @@ stop:
+@@ -8169,8 +8169,8 @@ stop:
if (!qe.handled) {
record_abandoned(&qe);
ast_queue_log(args.queuename, ast_channel_uniqueid(chan), "NONE", "ABANDON",
@@ -93,7 +93,7 @@ $NetBSD: patch-apps_app__queue.c,v 1.2 2017/06/04 07:51:27 jnemeth Exp $
}
}
-@@ -9332,9 +9332,9 @@ static char *__queues_show(struct manses
+@@ -9327,9 +9327,9 @@ static char *__queues_show(struct manses
do_print(s, fd, " Callers: ");
for (qe = q->head; qe; qe = qe->next) {
@@ -106,12 +106,21 @@ $NetBSD: patch-apps_app__queue.c,v 1.2 2017/06/04 07:51:27 jnemeth Exp $
do_print(s, fd, ast_str_buffer(out));
}
}
-@@ -9703,7 +9703,7 @@ static int manager_queues_status(struct
+@@ -9698,7 +9698,7 @@ static int manager_queues_status(struct
"CallerIDName: %s\r\n"
"ConnectedLineNum: %s\r\n"
"ConnectedLineName: %s\r\n"
- "Wait: %ld\r\n"
+ "Wait: %jd\r\n"
+ "Priority: %d\r\n"
"%s"
"\r\n",
- q->name, pos++, ast_channel_name(qe->chan), ast_channel_uniqueid(qe->chan),
+@@ -9707,7 +9707,7 @@ static int manager_queues_status(struct
+ S_COR(ast_channel_caller(qe->chan)->id.name.valid, ast_channel_caller(qe->chan)->id.name.str, "unknown"),
+ S_COR(ast_channel_connected(qe->chan)->id.number.valid, ast_channel_connected(qe->chan)->id.number.str, "unknown"),
+ S_COR(ast_channel_connected(qe->chan)->id.name.valid, ast_channel_connected(qe->chan)->id.name.str, "unknown"),
+- (long) (now - qe->start), qe->prio, idText);
++ (intmax_t) (now - qe->start), qe->prio, idText);
+ ++q_items;
+ }
+ }