pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/comms/asterisk19 comms/asterisk19: import asterisk-19.0.0
details: https://anonhg.NetBSD.org/pkgsrc/rev/0b32f45ba848
branches: trunk
changeset: 769375:0b32f45ba848
user: jnemeth <jnemeth%pkgsrc.org@localhost>
date: Sun Nov 14 02:30:21 2021 +0000
description:
comms/asterisk19: import asterisk-19.0.0
This is a standard release. As such, it only gets updates
for one year and security fixes for two years.
A variety of items have been deprecated. Some have been
removed in this release, and some are scheduled to be removed in
the next couple of releases. Please take note of those items in
the list below. Out of the box, several of the deprecated items
have been turned off by default (i.e. chan_sip), but I have turned
on everything that was turned on by default in previous versions.
If you are using any of the deprecated items, you should work on
moving away from them as soon as possible.
In ${PREFIX}/share/doc/asterisk, you will find UPGRAGE.txt
and asterisk-19.0.0-summary.txt. Be sure to read them for more
information on updating.
The Asterisk Development Team would like to announce the release
of Asterisk 19.0.0.
The release of Asterisk 19.0.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:
Deprecations made in this release:
-----------------------------------
* ASTERISK-29601 - moduleinfo: Add replacement module information
(Reported by N A)
* ASTERISK-29602 - res_monitor: Disable building by default.
(Reported by Joshua C. Colp)
* ASTERISK-29600 - muted: Remove deprecated application
(Reported by Joshua C. Colp)
* ASTERISK-29599 - conf2ael: Remove deprecated application
(Reported by Joshua C. Colp)
* ASTERISK-29598 - res_config_sqlite: Remove deprecated module
(Reported by Joshua C. Colp)
* ASTERISK-29597 - chan_vpb: Remove deprecated module
(Reported by Joshua C. Colp)
* ASTERISK-29596 - chan_misdn: Remove deprecated module
(Reported by Joshua C. Colp)
* ASTERISK-29595 - chan_nbs: Remove deprecated module
(Reported by Joshua C. Colp)
* ASTERISK-29594 - chan_phone: Remove deprecated module
(Reported by Joshua C. Colp)
* ASTERISK-29593 - chan_oss: Remove deprecated module
(Reported by Joshua C. Colp)
* ASTERISK-29592 - cdr_syslog: Remove deprecated module
(Reported by Joshua C. Colp)
* ASTERISK-29591 - app_dahdiras: Remove deprecated module
(Reported by Joshua C. Colp)
* ASTERISK-29590 - app_nbscat: Remove deprecated module
(Reported by Joshua C. Colp)
* ASTERISK-29589 - app_image: Remove deprecated module
(Reported by Joshua C. Colp)
* ASTERISK-29588 - app_url: Remove deprecated module
(Reported by Joshua C. Colp)
* ASTERISK-29587 - app_fax: Remove deprecated module
(Reported by Joshua C. Colp)
* ASTERISK-29586 - app_ices: Remove deprecated module
(Reported by Joshua C. Colp)
* ASTERISK-29585 - app_mysql: Remove deprecated module
(Reported by Joshua C. Colp)
* ASTERISK-29584 - cdr_mysql: Remove deprecated module
(Reported by Joshua C. Colp)
* ASTERISK-29548 - app_meetme: Deprecated in 19, to be removed in 21
(Reported by Joshua C. Colp)
* ASTERISK-29549 - app_osploop: Deprecated in 19, to be removed in 21
(Reported by Joshua C. Colp)
* ASTERISK-29550 - chan_alsa: Deprecated in 19, to be removed in 21
(Reported by Joshua C. Colp)
* ASTERISK-29551 - chan_mgcp: Deprecated in 19, to be removed in 21
(Reported by Joshua C. Colp)
* ASTERISK-29552 - chan_skinny: Deprecated in 19, to be removed in 21
(Reported by Joshua C. Colp)
* ASTERISK-29553 - res_pktccops: Deprecated in 19, to be removed in 21
(Reported by Joshua C. Colp)
* ASTERISK-29558 - app_macro: Deprecated in 16, to be removed in 21
(Reported by Joshua C. Colp)
* ASTERISK-29567 - chan_sip: Deprecated in 17, to be removed in 21
(Reported by Joshua C. Colp)
* ASTERISK-29572 - res_monitor: Deprecated in 16, to be removed in 21
(Reported by Joshua C. Colp)
Security bugs fixed in this release:
-----------------------------------
* ASTERISK-29381 - chan_pjsip: Remote denial of service by an
authenticated user
(Reported by Ivan Poddubny)
* ASTERISK-29415 - Crash in PJSIP TLS transport
(Reported by Andrew Yager)
* ASTERISK-29305 - ASTERISK-29203 / AST-2021-002 -- Another
scenario is causing a crash
(Reported by Gregory Massel)
* ASTERISK-29260 - sRTP Replay Protection ignored; even tears
down long calls
(Reported by Alexander Traud)
* ASTERISK-29227 - res_pjsip_diversion: sending multiple 181
responses causes memory corruption and crash
(Reported by Ivan Poddubny)
* ASTERISK-29219 - res_pjsip_diversion: Crash if Tel URI
contains History-Info
(Reported by Torrey Searle)
* ASTERISK-29057 - pjsip: Crash on call rejection during high load
(Reported by Sandro Gauci)
New Features made in this release:
-----------------------------------
* ASTERISK-29656 - Add CHANNEL_EXISTS function
(Reported by N A)
* ASTERISK-29496 - Add SendMF application
(Reported by N A)
* ASTERISK-29627 - Add STRBETWEEN function
(Reported by N A)
* ASTERISK-29628 - Add file and directory functions
(Reported by N A)
* ASTERISK-29531 - Add SAYFILES function
(Reported by N A)
* ASTERISK-29546 - Add tone detection module
(Reported by N A)
* ASTERISK-18454 - Option for Read to be able to accept #
(Reported by Sta Retji)
* ASTERISK-29542 - Add audio scrambler
(Reported by N A)
* ASTERISK-29478 - Function to drop frames in the TX or RX
directions
(Reported by N A)
* ASTERISK-29389 - Add PJSIP_HEADERS() and ability to read
header by pattern
(Reported by Igor Goncharovsky)
* ASTERISK-11 - AGI channel_status failure
(Reported by bbawkon)
* ASTERISK-29477 - Function to asynchronously store digits dialed
(Reported by N A)
* ASTERISK-29454 - New application to reload modules
(Reported by N A)
* ASTERISK-29444 - Add application to wait for condition
(Reported by N A)
* ASTERISK-29442 - app_dial: Expand A option to allow
announcement playback to caller
(Reported by N A)
* ASTERISK-29446 - app_confbridge: New ConfKick application
(Reported by N A)
* ASTERISK-29440 - app_confbridge: Allow ConfBridge answer to
be suppressed
(Reported by N A)
* ASTERISK-29431 - Minimum and maximum dialplan functions
(Reported by N A)
* ASTERISK-29439 - func_volume: Volume function can't be read
(Reported by N A)
* ASTERISK-27477 - Chan_pjsip does not support unauthenticated
OPTIONS ping
(Reported by Ross Beer)
* ASTERISK-29027 - Implement support for History-Info
(Reported by Torrey Searle)
Bugs fixed in this release:
-----------------------------------
* ASTERISK-20219 - [patch] - IAX2 Call Encryption Fails with
RSA authentication
(Reported by Michael Munger)
* ASTERISK-29402 - res_pjsip_t38: Socket is bound to IPv4/IPv6
but platform does not support it
(Reported by Matthew Kern)
* ASTERISK-29673 - app_read: Fix null pointer crash regression
(Reported by N A)
* ASTERISK-29671 - res_rtp_asterisk: memory leak
(Reported by Jean Aunis - Prescom)
* ASTERISK-29668 - ari: Listing bridges fails when dialing
bridge exists
(Reported by Joshua C. Colp)
* ASTERISK-29663 - messaging: AMI MessageSend does not support
same parameters as dialplan application
(Reported by Brian J. Murrell)
* ASTERISK-29578 - app_queue: Custom device state using
included hints do not update
(Reported by N A)
* ASTERISK-29660 - Build failure when disabling PJSIP support
(Reported by Guido Falsi)
* ASTERISK-29654 - pjproject includes trailing whitespace in
sdp format attributes
(Reported by George Joseph)
* ASTERISK-29635 - MP3Player don' t work with actual mpg123 versions
(Reported by Carlos Oliva)
* ASTERISK-29629 - ARI external media channel creation doesn't
set option data
(Reported by sungtae kim)
* ASTERISK-27176 - test_abstract_jb: frames leak
(Reported by Corey Farrell)
* ASTERISK-29634 - res_snmp: gcc 11 needs -fPIC to compile correctly
(Reported by George Joseph)
* ASTERISK-29630 - Asterisk is unable to read extended number
format terminfo files
(Reported by Sean Bright)
* ASTERISK-28004 - dns: Core ast_dns_get_nameservers does not
support configured IPv6 servers
(Reported by Isaac McDonald)
* ASTERISK-29618 - ConfBridge errors on creation conference room
(Reported by Alexander Zharov)
* ASTERISK-29622 - ARI: external media create doesn't use body parameter
(Reported by sungtae kim)
* ASTERISK-29614 - app_agent_pool: XML Doc: unterminated entity reference
(Reported by Alexander Traud)
* ASTERISK-29609 - Subsequent 'ael reload' will cause a lock up
(Reported by Mark Murawski)
* ASTERISK-28701 - app_queue: Core reload resets queue stats,
even when keepstats=yes
(Reported by Luke Escude)
* ASTERISK-29616 - res_rtp_asterisk: sqrt(.) requires the
header math.h.
(Reported by Alexander Traud)
* ASTERISK-29518 - sig_analog: FCG_CAMA fails to signal ANI
spill when using MF signaling
(Reported by Sarah Autumn)
* ASTERISK-29582 - res_pjproject: Can't map pjproject log
messages to Asterisk TRACE
(Reported by George Joseph)
* ASTERISK-29575 - app_milliwatt: Milliwatt application doesn't
use the proper timings
(Reported by N A)
* ASTERISK-20339 - chan_mgcp, resp_pktccops ast_debug support
(Reported by Tomas Maldonado)
* ASTERISK-29540 - aelparse: include of context with timings fails
(Reported by Alexander Traud)
* ASTERISK-29539 - Segmentation fault at ast_writestream() when
write handler not defined (happens with OGG/Speex)
(Reported by Ernani José Camargo Azevedo)
* ASTERISK-29494 - cdr_adaptive_odbc: Prevent throwing warnings
if CDR filtering is used
(Reported by N A)
* ASTERISK-29513 - statsd: Remove non-standard metric type Meter
(Reported by Rijnhard Hessel)
* ASTERISK-12 - app_voicemail2 became a bit silent, lately
(Reported by siggi)
* ASTERISK-29526 - G729 audio gets corrupted by Asterisk due to smoother
(Reported by under)
* ASTERISK-29392 - chan_iax2: Asterisk crashes when queueing
video with format
(Reported by Michael Welk)
* ASTERISK-27871 - Remote URL in playback must end with file extension
(Reported by Caesar)
* ASTERISK-29507 - STUN timeout is silently delaying calls
(Reported by Sébastien Duthil)
* ASTERISK-29514 - ari: Audiosocket segfault when no data specified
(Reported by Igor Goncharovsky)
* ASTERISK-29503 - Updated identify/match syntax not supported
by config wizard
(Reported by Sean Bright)
* ASTERISK-29480 - fixedjitterbuffer contains an un-wrappered
assert that triggers on a negative time slew
(Reported by Dan Cropp)
* ASTERISK-29485 - core: Inband generation of tones for Busy()
and Congestion() may not occur
(Reported by Joshua C. Colp)
* ASTERISK-29479 - [patch] Channels are not put on hold for
Session Progress with inactive audio
(Reported by Bernd Zobl)
* ASTERISK-29475 - SayNumber triggers WARNING if caller hangs
up during application execution
(Reported by N A)
* ASTERISK-29404 - Consolidate res_pjsip_messaging fixes for
domain name
(Reported by George Joseph)
* ASTERISK-29441 - Core reload making TCP endpoints go offline
(Reported by Luke Escude)
* ASTERISK-28237 - "FRACK!, Failed assertion bad magic number"
happens when unsubscribe an application from an event source
(Reported by Lucas Tardioli Silveira)
* ASTERISK-28393 - Multidomain support issue
(Reported by Andrea Sannucci)
* ASTERISK-29433 - res_rtp_asterisk: Server reflexive
candidates use incorrect raddr for RTCP
(Reported by Chris)
* ASTERISK-29397 - pjsip: Asterisk isn't tolerant of RFC8760 UASs
(Reported by George Joseph)
* ASTERISK-24601 - [patch]Missing RFC4235 tags and attributes
in PJSIP NOTIFY event: dialog XML body
(Reported by Marco Paland)
* ASTERISK-29372 - file.c switch does not account for flash events
(Reported by N A)
* ASTERISK-29370 - chan_sip does not recognize
application/hook-flash
(Reported by N A)
* ASTERISK-29377 - cpool_release_pool "double free or
corruption (out)"
(Reported by Robert Sutton)
* ASTERISK-29358 - chan_pjsip: Trace message for progress is
output even if frame is not queued
(Reported by Michael Maier)
* ASTERISK-29030 - res_rtp_asterisk: Additional RTP-frame (with
wrong SSRC) gets inserted when switching from progress to established
(Reported by Matthias Hensler)
* ASTERISK-29407 - chan_local: Filtering audio formats should
not occur on removed streams
(Reported by Joshua C. Colp)
* ASTERISK-29328 - translate.c: possible buffer overflow when upsampling
(Reported by Jean Aunis - Prescom)
* ASTERISK-29379 - Segfault - ast_channel_is_multistream
(chan=0x0) at channel_internal_api.c:1590
(Reported by Ross Beer)
* ASTERISK-29130 - prometheus: Crash when scraping bridge
(Reported by Francisco Correia)
* ASTERISK-29364 - res_rtp_asterisk: standard deviation
miscalculation
(Reported by Kevin Harwell)
* ASTERISK-29373 - res_rtp_asterisk: Flash events are duplicated
(Reported by N A)
* ASTERISK-28356 - app_queue: CLI set ringinuse for realtime
member not working
(Reported by Michael)
* ASTERISK-24434 - Fix differing usage of assignment operators
in modules.conf
(Reported by Rusty Newton)
* ASTERISK-26614 - app_queue: updatecdr option in queues.conf
does effectively nothing
(Reported by Alexander Gonchiy)
* ASTERISK-24631 - Incorrect description of option "context" in
queues.conf.sample
(Reported by Etienne Lessard)
* ASTERISK-25358 - dateformat not read from logger.conf by
remote console
(Reported by Igor Liferenko)
* ASTERISK-27542 - app_queue: When "queue show" CLI command is
executed a crash occurs
(Reported by Miguel Sanz)
* ASTERISK-29215 - res_pjsip_session: NULL active_media_state
topology caused asterisk crash
(Reported by sungtae kim)
* ASTERISK-29355 - app_queue: Queue member status message sent
even if status doesn't change
(Reported by Roman Pertsev)
* ASTERISK-29035 - chan_local: Multistream support breaks T.38 faxing
(Reported by Matthias Hensler)
* ASTERISK-29354 - res_pjsip: Allow partial reloading of transports
(Reported by Joshua C. Colp)
* ASTERISK-29348 - menuselect doesn't return errors in many cases
(Reported by George Joseph)
* ASTERISK-29352 - res_rtp_asterisk: Fix frame delivery time
when SSRC changes
(Reported by Joshua C. Colp)
* ASTERISK-29071 - app_confbridge: Memory rises when
jitterbuffer enabled and muting over AMI occurs
(Reported by Stefan Ruf)
* ASTERISK-29329 - app_dial: DTMF to 'D' option gets duplicated
if there are multiple progress events
(Reported by N A)
* ASTERISK-29306 - strings: Incorrect use of
__attribute__((pure)) in ast_str_to_lower definition
(Reported by Vitezslav Novy)
* ASTERISK-29300 - res_rtp_asterisk: When native local bridging
the remote SSRC becomes permanent
(Reported by Sebastian Damm)
* ASTERISK-29235 - res_pjsip_nat: Contact is rewritten on
REGISTER responses with external_signaling_address
(Reported by Brian Paboojian)
* ASTERISK-29266 - ICE Role conflict with an unauthorized session
(Reported by Salah Ahmed)
* ASTERISK-29105 - chan_pjsip: 180 Ringing with SDP not changed
into progress
(Reported by Sebastian Damm)
* ASTERISK-29297 - say: Y2021 problem â<80><93> Asterisk cannot say
year 2021 in Dutch
(Reported by Jacek Konieczny)
* ASTERISK-29315 - res_pjsip: re-registration gets stuck if
setting initial auth credentials fails
(Reported by Nick French)
* ASTERISK-29312 - res_fax: asterisk fails to publish the
Stasis and ReceiveFax status messages if the remote Station ID
contains invalid UTF-8 characters
(Reported by Alexei Gradinari)
* ASTERISK-16799 - Callee declined when 'beep' audio file does
not exist
(Reported by IAMJames_)
* ASTERISK-29313 - res_pjsip_refer: Segfault in progress notify
(Reported by George Joseph)
* ASTERISK-28452 - pjsip: <sess-version> of SDP is not
incremented though SDP may be changed on reinvite without SDP offer
(Reported by Michael Maier)
* ASTERISK-29311 - res_odbc_transaction sets forcecommit
default value based on isolation level instead of forcecommit
(Reported by Jaco Kroon)
* ASTERISK-29303 - pjsip: Re-invite occurs when it shouldn't
(Reported by Benjamin Keith Ford)
* ASTERISK-29293 - res_config_pgsql: Limit realtime_pgsql() to
return one (no more) record
(Reported by Boris P. Korzun)
* ASTERISK-28369 - app_queue: Member device state "invalid"
when second call is ringing and hint is used
(Reported by Boolah)
* ASTERISK-29287 - app.h: C++ compatibility broken
(Reported by Jean Aunis - Prescom)
* ASTERISK-29203 - res_pjsip_t38: Crash when changing state
(Reported by Gregory Massel)
* ASTERISK-29205 - res_rtp_asterisk: Asterisk crashes when
making hold/unhold from webrtc client
(Reported by Edvin Vidmar)
* ASTERISK-29196 - res_pjsip: Segmentation fault
(Reported by Mauri de Souza Meneguzzo (3CPlus))
* ASTERISK-29280 - chan_sip: Allow peers without audio (text+video).
(Reported by Alexander Traud)
* ASTERISK-29265 - chan_sip: Allow text+video media streams, again.
(Reported by Alexander Traud)
* ASTERISK-29259 - channel: Allow text+video media streams, again.
(Reported by Alexander Traud)
* ASTERISK-29261 - res_pjsip: user=phone validation fail for
isup numbers containing *#
(Reported by Mark Petersen)
* ASTERISK-29258 - chan_sip: Audio stream rejected, Other
stream present: Invalid SDP.
(Reported by Alexander Traud)
* ASTERISK-29248 - res_pjsip_session: res sometimes
uninitialized reported by compiler Clang.
(Reported by Alexander Traud)
* ASTERISK-29220 - After T38 reinvite response of 488 a
subsequent G711 reinvite is not processed correctly. Instead the
previous T38 session media is used
(Reported by Robert Cripps)
* ASTERISK-29229 - Stasis/messaging: text messages not
dispatched to all subscribers when using generic subscription
(Reported by Jean Aunis - Prescom)
* ASTERISK-29238 - chan_sip: SDP: Offers without any enabled
stream are accepted.
(Reported by Alexander Traud)
* ASTERISK-29237 - chan_sip: SDP: m=video is parsed even when disabled.
(Reported by Alexander Traud)
* ASTERISK-29222 - chan_sip: Hold/Resume an sRTP call on a
video enabled user-agent.
(Reported by Alexander Traud)
* ASTERISK-29240 - chan_pjsip: Incoming PJSIP calls set global
SIPDOMAIN instead of a channel variable
(Reported by Ivan Poddubny)
* ASTERISK-27902 - chan_pjsip isn't updating hangupcause on 4XX responses
(Reported by George Joseph)
* ASTERISK-28016 - PJSIP sends duplicate 183 Progress responses
(Reported by Alex Hermann)
* ASTERISK-28185 - chan_pjsip: Subsequent same responses are not stopped
(Reported by Julien)
* ASTERISK-29230 - pjsip: Asterisk goes crazy and massively
spams logfile if registration can't be send
(Reported by Michael Maier)
* ASTERISK-29231 - pjsip: SIGSEGV in CLI if no trunk is registered
(Reported by Michael Maier)
* ASTERISK-29217 - LOCK() can grant the same lock to multiple
channels spuriously
(Reported by Jaco Kroon)
* ASTERISK-28947 - Segmentation fault in mixmonitor_ds_destroy
(Reported by Robert Sutton)
* ASTERISK-29201 - Crash occurs when Transfer and execute
Hangup before the Transfer result
(Reported by Dan Cropp)
* ASTERISK-29168 - Asterisk crashes during call transfer
(Reported by Dalius Mockevicius)
* ASTERISK-29210 - res_pjsip: Crash when examining transport
(Reported by N GM )
* ASTERISK-29191 - tel: URI in Diversion header causes crash
(Reported by Mikhail Ivanov)
* ASTERISK-28883 - Spyee information ist missing in ChanSpyStop
AMI Event
(Reported by Hendrik Wedhorn)
* ASTERISK-29188 - null media causing the Asterisk crash
(Reported by sungtae kim)
* ASTERISK-29209 - Debug messages printed by scope trace might
be missing newlines
(Reported by Alexander Traud)
* ASTERISK-29024 - pjsip: Route Header in Cancel request
incorrectly set
(Reported by Flole Systems)
* ASTERISK-29211 - res_musiconhold: Segfault on realtime music
on hold without entries
(Reported by Nathan Bruning)
* ASTERISK-29022 - Crash when manipulating PJSIP invite dlg ref counts
(Reported by Sean Bright)
* ASTERISK-29173 - Media cache URL requests allow infinite redirects
(Reported by Sean Bright)
* ASTERISK-29175 - res_pjsip_stir_shaken: Fix module description
(Reported by Stanislav Abramenkov)
* ASTERISK-29148 - AST_MODULE_INFO no, MODULEINFO depend
(Reported by Alexander Traud)
* ASTERISK-29165 - res_pjsip: malformed header Accept-Encoding
in OPTIONS response
(Reported by Alexander Greiner-Baer)
* ASTERISK-28798 - [patch] chan_sip: TCP/TLS client without server.
(Reported by Alexander Traud)
* ASTERISK-29161 - Incorrect setup of recall channels
(Reported by Boris P. Korzun)
* ASTERISK-29155 - app_queue: Deadlock between queues container
and individual queues
(Reported by George Joseph)
* ASTERISK-28933 - res_pjsip.so fails to load when bundled
pjproject is compiled without libssl
(Reported by Walter Doekes)
* ASTERISK-28825 - Any curl response checks out as valid even
if 404 is returned.
(Reported by dovid)
* ASTERISK-29013 - res_pjsip: Asterisk doesn't stop sending
invites (with auth) on 407 replies
(Reported by Sebastian Damm)
* ASTERISK-29142 - sip_to_pjsip.py: doesn't read globbed includes
(Reported by Michael Newton)
* ASTERISK-29144 - GCC Warnings with OPTIMIZE=-Og make
(Reported by Alexander Traud)
* ASTERISK-29146 - GCC Warnings: %s> directive argument is null.
(Reported by Alexander Traud)
* ASTERISK-29145 - GCC Warnings with OPTIMIZE=-Os make
(Reported by Alexander Traud)
* ASTERISK-29124 - res_pjsip: flow transport broken for
outbound requests
(Reported by Nick French)
* ASTERISK-29136 - config: Sample features.conf incorrectly
includes " around sound files
(Reported by Benjamin M.)
* ASTERISK-29123 - logger.conf.sample missing comment mark on line 115
(Reported by Andrew Siplas)
* ASTERISK-29109 - res_pjsip_session: Asterisk 18 does not
progress calls due to codec negotiation after upgrading from
Asterisk 16
(Reported by Ross Beer)
* ASTERISK-28430 - res_rtp_asterisk.c: FRACK!, Failed assertion
errno != EBADF
(Reported by under)
* ASTERISK-29108 - resource_endpoints.c : Memory leak if
endpoint not found
(Reported by Jean Aunis - Prescom)
* ASTERISK-29097 - res_pjsip_config_wizard: Crash when freeing
string when failing to add extension
(Reported by Vieri)
* ASTERISK-26424 - app_voicemail: Undocumented behavior from VMSayName
(Reported by Eric Smith)
* ASTERISK-29051 - res_pjsip_sdp_rtp: Does not set correct
values on RTP instance when "auto" DTMF is used
(Reported by Sebastian Damm)
* ASTERISK-29099 - res_musiconhold: Realtime MOH only loads a
single entry
(Reported by laszlovl)
* ASTERISK-29091 - Crash when ast_translator_build_path fails
(Reported by Jasper van der Neut)
* ASTERISK-28311 - dsp: ast_dsp_silence_noise_with_energy wrong
judgment of frame format
(Reported by å<91>¨å®¶å»º)
* ASTERISK-29085 - func_curl: Segmentation fault when using
CURL after setting httpheader CURLOPT
(Reported by Péter
Juhász)
* ASTERISK-24329 - Music On Hold announcement cuts intro of
music the first time it is played
(Reported by Thomas Frederiksen)
* ASTERISK-29089 - RTP Ports not cleared after hangup
(Reported by Ross Beer)
* ASTERISK-29081 - res_stasis: Add compare function for bridges
moh container
(Reported by Hajek Michal)
* ASTERISK-28416 - Unable to get rtp codec payload code for slin
(Reported by Brian J. Murrell)
* ASTERISK-29014 - res_pjsip_session: Re-INVITE collisions
aren't handled correctly
(Reported by George Joseph)
* ASTERISK-25665 - Duplicate logging in queue log for EXITEMPTY events
(Reported by Ove Aursand)
* ASTERISK-29043 - app_queue: Leave empty sometimes not
recorded as abandoned
(Reported by Kfir Itzhak)
* ASTERISK-29042 - res_parking: Parker UUID is no longer copied
(Reported by Misha Vodsedalek)
* ASTERISK-28878 - chan_pjsip: PJSIP_MEDIA_OFFER Broken asterisk 16
(Reported by Joseph Ades)
* ASTERISK-29046 - pbx: Deadlock when doing a reload, while
simultaneously doing an ExtensionState on a pattern match hint
that ends up adding an extension
(Reported by Ramarajan)
* ASTERISK-29040 - res_speech: Assertion on format
(Reported by Nickolay V. Shmyrev)
* ASTERISK-29001 - chan_pjsip does not process or forward 181 responses
(Reported by Torrey Searle)
* ASTERISK-27273 - app_voicemail: When a voicemail is marked as
"Urgent", it is not sent by email/processed by the mailcmd command
(Reported by Leandro Dardini)
* ASTERISK-29034 - Lastpause of realtime members is reseting
(Reported by Evandro César Arruda)
* ASTERISK-29033 - res_pjsip_session: Aggressively terminates
session on failed re-INVITE
(Reported by Joshua C. Colp)
* ASTERISK-28974 - res_rtp_asterisk: T.140 messages have
appended RTP string to each message block. (Reported by
Thomas Johnson)
* ASTERISK-29011 - chan_sip: ToHost property not cleared on reload
(Reported by Dennis)
* ASTERISK-29021 - [patch] Fix VERSION(ASTERISK_VERSION_NUM) on
certified versions
(Reported by cmaj)
* ASTERISK-28927 - Asterisk crash in music on hold
(Reported by David Cunningham)
* ASTERISK-28973 - Malformed IP address in SDP of 2nd SIP timer
triggered INVITE when NAT is active (UDP transport with
external_media_address)
(Reported by Michael Neuhauser)
* ASTERISK-28995 - res_pjsip_registrar: Expires on statically
configured contacts is not correct
(Reported by tootai)
* ASTERISK-28987 - BridgeCreated ARI event shows wrong video_mode info
(Reported by sungtae kim)
* ASTERISK-28978 - acl: named_acl rule misconfiguration results
in segfault on reading rule from realtime
(Reported by Andrew Yager)
Improvements made in this release:
-----------------------------------
* ASTERISK-29637 - Add support for future dates in Say.c
(Reported by Shloime Rosenblum)
* ASTERISK-29525 - PJSIP remove_existing unavailable contacts
(Reported by Joseph Nadiv)
* ASTERISK-29661 - func_vmcount: Add support for multiple mailboxes
(Reported by N A)
* ASTERISK-29275 - Support of MIME-type for wav16
(Reported by Boris P. Korzun)
* ASTERISK-29529 - Add custom logging level
(Reported by N A)
* ASTERISK-29472 - res_pjsip: OLI/ANI2 support missing
(Reported by N A)
* ASTERISK-29626 - app_stack: Include calling location if
attempting to branch to nonexistent location
(Reported by N A)
* ASTERISK-29632 - Add option to Application_VoiceMail to
suppress instructions only when a custom greeting is present
(Reported by Charlie Smurthwaite)
* ASTERISK-29605 - chan_iax2: Add ANI2
(Reported by N A)
* ASTERISK-29508 - STUN server address refresh
(Reported by Sébastien Duthil)
* ASTERISK-29612 - bridge_basic: Don't throw warning if
attended transfer is cancelled
(Reported by N A)
* ASTERISK-29544 - Media Cache - Delayed remote sound file
retrieve delays all playbacks
(Reported by Andre Barbosa)
* ASTERISK-29495 - Return integer instead of float if response
is a whole number
(Reported by N A)
* ASTERISK-29541 - app_morsecode: Add American Morse code
(Reported by N A)
* ASTERISK-29543 - app_originate: Allow specifying codec(s) to use
(Reported by N A)
* ASTERISK-29528 - Add support for multiple files for agent announcements
(Reported by N A)
* ASTERISK-29527 - res_http_media_cache: Cleanup audio format
lookup in HTTP requests
(Reported by Sean Bright)
* ASTERISK-29501 - ARI - Stasis Playback doesn't hangup call
when processing a list of invalid files
(Reported by Andre Barbosa)
* ASTERISK-29464 - ARI - PlaybackFinish skip error events
(Reported by Andre Barbosa)
* ASTERISK-29450 - Allow setting channel variables using
Originate application
(Reported by N A)
* ASTERISK-29460 - Recognize application/hook-flash in PJSIP
(Reported by N A)
* ASTERISK-29459 - Missing configuration from PJSIP to SIP
conversion script
(Reported by N A)
* ASTERISK-29434 - Asterisk reveals pjproject version in STUN packets
(Reported by Jeremy Lainé)
* ASTERISK-29380 - Add Flash AMI event to handle flash events
(Reported by N A)
* ASTERISK-29349 - Silent voicemail option is not completely silent
(Reported by N A)
* ASTERISK-29339 - loader: Let's output warnings for deprecated modules!
(Reported by Joshua C. Colp)
* ASTERISK-29337 - menuselect: Add ability to set deprecated in
and removed in versions for modules
(Reported by Joshua C. Colp)
* ASTERISK-29335 - xml: Embed module information into core XML documentation.
(Reported by Joshua C. Colp)
* ASTERISK-29336 - documentation: Fix inconsistent support levels
(Reported by Joshua C. Colp)
* ASTERISK-29321 - sorcery: Add support for more intelligent reloading.
(Reported by Joshua C. Colp)
* ASTERISK-29325 - res_pjsip_registrar: Include source IP
address and port in log messages
(Reported by Joshua C. Colp)
* ASTERISK-29326 - asterisk: Update copyright/company
(Reported by Joshua C. Colp)
* ASTERISK-29244 - Add MixMonitorStart / Stop / Mute AMI events
(Reported by Sébastien Duthil)
* ASTERISK-29252 - TRANSFERSTATUSPROTOCOL variable to report
Transfer (REFER) failure SIP code
(Reported by Dan Cropp)
* ASTERISK-29262 - Support of various URL-schemes by MoH
(Reported by Boris P. Korzun)
* ASTERISK-28549 - Two repeated 183
(Reported by Gant Liu)
* ASTERISK-29216 - contrib: systemd asterisk service for
centos8 or other newer linux versions
(Reported by Mark Petersen)
* ASTERISK-29143 - res_http_media_cache: HTTP media cache
stored hardcoded in /tmp
(Reported by laszlovl)
* ASTERISK-29118 - VoiceMail() should have an option to play
greetings as Early Media
(Reported by Juan Carlos Castro y Castro)
* ASTERISK-29054 - Logger: Add debug logging categories
(Reported by Kevin Harwell)
* ASTERISK-29083 - Do not build chan_sip by default as it is
now deprecated
(Reported by Sean Bright)
* ASTERISK-29056 - Increase reg_server column size for
ps_contacts table realtime
(Reported by sungtae kim)
* ASTERISK-29055 - Create a Bridge with video_single mode
(Reported by sungtae kim)
For a full list of changes in this release, please see the ChangeLog:
https://downloads.asterisk.org/pub/telephony/asterisk/ChangeLog-19.0.0
Thank you for your continued support of Asterisk!
diffstat:
comms/asterisk19/DESCR | 15 +
comms/asterisk19/Makefile | 311 +
comms/asterisk19/PLIST | 2440 ++++++++++
comms/asterisk19/distinfo | 95 +
comms/asterisk19/files/asterisk.sh | 43 +
comms/asterisk19/files/smf/manifest.xml | 34 +
comms/asterisk19/options.mk | 122 +
comms/asterisk19/patches/patch-Makefile | 125 +
comms/asterisk19/patches/patch-addons_chan__ooh323.c | 13 +
comms/asterisk19/patches/patch-apps_app__adsiprog.c | 22 +
comms/asterisk19/patches/patch-apps_app__chanspy.c | 13 +
comms/asterisk19/patches/patch-apps_app__directory.c | 13 +
comms/asterisk19/patches/patch-apps_app__dumpchan.c | 22 +
comms/asterisk19/patches/patch-apps_app__followme.c | 22 +
comms/asterisk19/patches/patch-apps_app__minivm.c | 13 +
comms/asterisk19/patches/patch-apps_app__queue.c | 132 +
comms/asterisk19/patches/patch-apps_app__sms.c | 102 +
comms/asterisk19/patches/patch-apps_app__voicemail.c | 76 +
comms/asterisk19/patches/patch-build__tools_mkpkgconfig | 19 +
comms/asterisk19/patches/patch-cdr_cdr__pgsql.c | 31 +
comms/asterisk19/patches/patch-cel_cel__pgsql.c | 13 +
comms/asterisk19/patches/patch-channels_chan__pjsip.c | 32 +
comms/asterisk19/patches/patch-channels_chan__sip.c | 40 +
comms/asterisk19/patches/patch-channels_pjsip_cli__commands.c | 33 +
comms/asterisk19/patches/patch-channels_pjsip_dialplan__functions.c | 32 +
comms/asterisk19/patches/patch-configure | 222 +
comms/asterisk19/patches/patch-configure.ac | 34 +
comms/asterisk19/patches/patch-contrib_scripts_vmail.cgi | 181 +
comms/asterisk19/patches/patch-funcs_func__cdr.c | 13 +
comms/asterisk19/patches/patch-funcs_func__channel.c | 13 +
comms/asterisk19/patches/patch-funcs_func__env.c | 49 +
comms/asterisk19/patches/patch-funcs_func__pjsip__aor.c | 22 +
comms/asterisk19/patches/patch-funcs_func__pjsip__contact.c | 22 +
comms/asterisk19/patches/patch-funcs_func__pjsip__endpoint.c | 23 +
comms/asterisk19/patches/patch-funcs_func__strings.c | 40 +
comms/asterisk19/patches/patch-include_asterisk_autoconfig.h.in | 27 +
comms/asterisk19/patches/patch-include_asterisk_lock.h | 31 +
comms/asterisk19/patches/patch-include_asterisk_sha1.h | 131 +
comms/asterisk19/patches/patch-include_asterisk_strings.h | 40 +
comms/asterisk19/patches/patch-main_Makefile | 38 +
comms/asterisk19/patches/patch-main_acl.c | 40 +
comms/asterisk19/patches/patch-main_app.c | 13 +
comms/asterisk19/patches/patch-main_ast__expr2.c | 16 +
comms/asterisk19/patches/patch-main_ast__expr2.y | 16 +
comms/asterisk19/patches/patch-main_asterisk.c | 40 +
comms/asterisk19/patches/patch-main_astmm.c | 13 +
comms/asterisk19/patches/patch-main_bridge__basic.c | 13 +
comms/asterisk19/patches/patch-main_bridge__channel.c | 38 +
comms/asterisk19/patches/patch-main_callerid.c | 28 +
comms/asterisk19/patches/patch-main_cdr.c | 25 +
comms/asterisk19/patches/patch-main_cel.c | 13 +
comms/asterisk19/patches/patch-main_cli.c | 22 +
comms/asterisk19/patches/patch-main_conversions.c | 13 +
comms/asterisk19/patches/patch-main_dns__naptr.c | 40 +
comms/asterisk19/patches/patch-main_enum.c | 76 +
comms/asterisk19/patches/patch-main_features.c | 20 +
comms/asterisk19/patches/patch-main_http.c | 13 +
comms/asterisk19/patches/patch-main_indications.c | 13 +
comms/asterisk19/patches/patch-main_logger.c | 22 +
comms/asterisk19/patches/patch-main_manager.c | 83 +
comms/asterisk19/patches/patch-main_pbx.c | 13 +
comms/asterisk19/patches/patch-main_pbx__builtins.c | 33 +
comms/asterisk19/patches/patch-main_pbx__timing.c | 13 +
comms/asterisk19/patches/patch-main_sched.c | 27 +
comms/asterisk19/patches/patch-main_stdtime_localtime.c | 147 +
comms/asterisk19/patches/patch-main_taskprocessor.c | 38 +
comms/asterisk19/patches/patch-main_tdd.c | 13 +
comms/asterisk19/patches/patch-main_test.c | 13 +
comms/asterisk19/patches/patch-main_utils.c | 60 +
comms/asterisk19/patches/patch-menuselect_menuselect.c | 22 +
comms/asterisk19/patches/patch-pbx_pbx__config.c | 22 +
comms/asterisk19/patches/patch-pbx_pbx__dundi.c | 40 +
comms/asterisk19/patches/patch-res_ael_pval.c | 41 +
comms/asterisk19/patches/patch-res_res__calendar.c | 37 +
comms/asterisk19/patches/patch-res_res__calendar__caldav.c | 13 +
comms/asterisk19/patches/patch-res_res__calendar__icalendar.c | 13 +
comms/asterisk19/patches/patch-res_res__hep__pjsip.c | 23 +
comms/asterisk19/patches/patch-res_res__limit.c | 13 +
comms/asterisk19/patches/patch-res_res__musiconhold.c | 13 +
comms/asterisk19/patches/patch-res_res__pjproject.c | 31 +
comms/asterisk19/patches/patch-res_res__xmpp.c | 36 +
comms/asterisk19/patches/patch-sounds_Makefile | 25 +
comms/asterisk19/patches/patch-tests_test__locale.c | 13 +
comms/asterisk19/patches/patch-tests_test__voicemail__api.c | 13 +
comms/asterisk19/patches/patch-utils_Makefile | 13 +
comms/asterisk19/patches/patch-utils_db1-ast_include_db.h | 13 +
comms/asterisk19/patches/patch-utils_extconf.c | 67 +
comms/asterisk19/patches/patch-utils_smsq.c | 13 +
88 files changed, 6074 insertions(+), 0 deletions(-)
diffs (truncated from 6426 to 300 lines):
diff -r 25d241ebda0c -r 0b32f45ba848 comms/asterisk19/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/comms/asterisk19/DESCR Sun Nov 14 02:30:21 2021 +0000
@@ -0,0 +1,15 @@
+Asterisk is a complete PBX in software. It provides all of the
+features you would expect from a PBX and more. Asterisk does voice
+over IP in three protocols, and can interoperate with almost all
+standards-based telephony equipment using relatively inexpensive
+hardware.
+
+Asterisk provides Voicemail services with Directory, Call Conferencing,
+Interactive Voice Response, Call Queuing. It has support for
+three-way calling, caller ID services, ADSI, SIP and H.323 (as both
+client and gateway).
+
+This is a standard version. It is scheduled to go to security
+fixes only on November 2nd, 2022, and EOL on November 2nd, 2023.
+See here for more information about Asterisk versions:
+https://wiki.asterisk.org/wiki/display/AST/Asterisk+Versions
diff -r 25d241ebda0c -r 0b32f45ba848 comms/asterisk19/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/comms/asterisk19/Makefile Sun Nov 14 02:30:21 2021 +0000
@@ -0,0 +1,311 @@
+# $NetBSD: Makefile,v 1.1 2021/11/14 02:30:21 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
+# Also look in ${WRKSRC}/third-party/versions.mak for pjproject
+
+DISTNAME= asterisk-19.0.0
+#PKGREVISION= 24
+CATEGORIES= comms net audio
+MASTER_SITES= http://downloads.asterisk.org/pub/telephony/asterisk/
+MASTER_SITES+= http://downloads.asterisk.org/pub/telephony/asterisk/old-releases/
+MASTER_SITES+= http://downloads.asterisk.org/pub/telephony/sounds/releases/
+DIST_SUBDIR= ${PKGNAME_NOREV}
+DISTFILES= ${DEFAULT_DISTFILES}
+
+COMMENT= The Asterisk Software PBX
+LICENSE= gnu-gpl-v2
+
+EXTRACT_ONLY= ${DISTNAME}.tar.gz
+OWNER= jnemeth%NetBSD.org@localhost
+HOMEPAGE= https://www.asterisk.org/
+
+MAKE_JOBS_SAFE= NO
+
+# known to have issues on i386, block the package until the bug is fixed
+BROKEN_ON_PLATFORM= NetBSD-*-i386
+
+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/astversion
+REPLACE_BASH+= contrib/scripts/ast_coredumper
+REPLACE_BASH+= contrib/scripts/ast_logescalator
+REPLACE_BASH+= contrib/scripts/ast_loggrabber
+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
+REPLACE_PYTHON+= contrib/scripts/reflocks.py contrib/scripts/refstats.py
+
+CHECK_INTERPRETER_SKIP+= libdata/asterisk/scripts/refcounter.py
+
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS+= --datarootdir=${PREFIX}/libdata
+CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
+CONFIGURE_ARGS+= --without-gtk2
+# XXX remove when lang/lua gets builtin.mk
+CONFIGURE_ARGS+= --without-lua
+
+.if (${OPSYS} == "NetBSD" && \
+ (empty(OS_VERSION:M6.99.[4-9]?) && empty(OS_VERSION:M[7-9].*)))
+CONFIGURE_ARGS+= --without-srtp
+.else
+CONFIGURE_ARGS+= --with-srtp
+PLIST.srtp= YES
+.include "../../comms/srtp/buildlink3.mk"
+.endif
+
+INSTALL_TARGET= install samples
+INSTALLATION_DIRS+= lib/pkgconfig share/doc/${PKGBASE}
+INSTALLATION_DIRS+= share/examples/asterisk share/examples/rc.d
+INSTALLATION_DIRS+= ${ASTDATADIR}/sounds/en ${ASTDATADIR}/moh
+
+BUILD_DEFS+= VARBASE
+
+ASTERISK_USER?= asterisk
+ASTERISK_GROUP?= asterisk
+PKG_GROUPS= ${ASTERISK_GROUP}
+PKG_USERS= ${ASTERISK_USER}:${ASTERISK_GROUP}
+PKG_GECOS.${ASTERISK_USER}= Asterisk PBX
+PKG_GROUPS_VARS= ASTERISK_GROUP
+PKG_USERS_VARS= ASTERISK_USER
+FILES_SUBST+= ASTERISK_USER=${ASTERISK_USER}
+FILES_SUBST+= ASTERISK_GROUP=${ASTERISK_GROUP}
+MESSAGE_SUBST+= ASTERISK_USER=${ASTERISK_USER}
+MESSAGE_SUBST+= ASTERISK_GROUP=${ASTERISK_GROUP}
+
+# Various path settings for Asterisk
+PKG_SYSCONFSUBDIR= asterisk
+PKG_SYSCONFDIR_PERMS= ${ASTERISK_USER} ${ASTERISK_GROUP} 0755
+ASTETCDIR= ${PKG_SYSCONFDIR}
+ASTEXAMPLEDIR= ${PREFIX}/share/examples/asterisk
+ASTDBDIR= ${VARBASE}/db/asterisk
+ASTSPOOLDIR= ${VARBASE}/spool/asterisk
+ASTLOGDIR= ${VARBASE}/log/asterisk
+MESSAGE_SUBST+= ASTDBDIR=${ASTDBDIR}
+MESSAGE_SUBST+= ASTSPOOLDIR=${ASTSPOOLDIR}
+MESSAGE_SUBST+= ASTLOGDIR=${ASTLOGDIR}
+ASTVARRUNDIR= ${VARBASE}/run/asterisk
+FILES_SUBST+= ASTVARRUNDIR=${ASTVARRUNDIR}
+ASTDATADIR= ${PREFIX}/libdata/asterisk
+MAKE_FLAGS+= ASTLIBDIR=${PREFIX}/lib/asterisk
+MAKE_FLAGS+= ASTVARLIBDIR=${ASTDATADIR}
+MAKE_FLAGS+= ASTKEYDIR=${ASTDATADIR}
+MAKE_FLAGS+= ASTDATADIR=${ASTDATADIR}
+MAKE_FLAGS+= ASTSPOOLDIR=${ASTSPOOLDIR}
+MAKE_FLAGS+= ASTLOGDIR=${ASTLOGDIR}
+MAKE_FLAGS+= ASTHEADERDIR=${PREFIX}/include/asterisk
+MAKE_FLAGS+= ASTCONFPATH=${ASTETCDIR}/asterisk.conf
+MAKE_FLAGS+= ASTBINDIR=${PREFIX}/bin
+MAKE_FLAGS+= ASTSBINDIR=${PREFIX}/sbin
+MAKE_FLAGS+= ASTVARRUNDIR=${ASTVARRUNDIR}
+MAKE_FLAGS+= ASTMANDIR=${PREFIX}/${PKGMANDIR}
+MAKE_FLAGS+= ASTETCDIR=${ASTETCDIR}
+MAKE_FLAGS+= ASTDBDIR=${ASTDBDIR}
+MAKE_FLAGS+= AGI_DIR=${PREFIX}/libexec/agi-bin
+MAKE_FLAGS+= ASTEXAMPLEDIR=${ASTEXAMPLEDIR}
+MAKE_FLAGS+= WRKSRC=${WRKSRC}
+MAKE_FLAGS+= LDOPTS=${LDFLAGS:M*:Q}
+MAKE_FLAGS+= HTTP_DOCSDIR=${PREFIX}/share/httpd/htdocs
+MAKE_FLAGS+= HTTP_CGIDIR=${PREFIX}/libexec/cgi-bin
+MAKE_FLAGS+= OPTIMIZE=-O3
+
+.if !empty(MACHINE_PLATFORM:MSunOS-*-i386)
+BUILDLINK_TRANSFORM+= rm:-march=i386
+.endif
+
+PLIST_VARS+= kqueue
+.if exists(/usr/include/sys/event.h)
+PLIST.kqueue= yes
+.endif
+
+PLIST_VARS+= mgcp
+# NOSIGPIPE is a temp variable, since PLIST.mgcp MUST remain undefined
+# if the grep fails
+.for dir in ${COMPILER_INCLUDE_DIRS}
+. if (exists(${dir}/sys/socket.h))
+NOSIGPIPE!= ${GREP} SO_NOSIGPIPE ${dir}/sys/socket.h || echo ""
+. if ${NOSIGPIPE} != ""
+PLIST.mgcp= yes
+. endif
+. endif
+.endfor
+
+.if ${OPSYS} == "SunOS"
+PLIST.mgcp= yes
+.endif
+
+PLIST_VARS+= timerfd
+.if ${OPSYS} == "Linux"
+PLIST.timerfd= yes
+.endif
+
+PLIST_VARS+= unbound
+# unbound 1.5 or later is required.`
+.if exists(/usr/include/unbound.h) && !empty(OS_VERSION:M8.*)
+CONFIGURE_ARGS+= --without-unbound
+.else
+PLIST.unbound= yes
+.endif
+
+.include "options.mk"
+
+# check sounds/Makefile for current version when upgrading package
+DISTFILES+= asterisk-extra-sounds-en-gsm-1.5.2.tar.gz
+
+# pjproject
+PJPROJ_VERSION= 2.10
+SITES.pjproject-${PJPROJ_VERSION}.tar.bz2= \
+ -https://raw.githubusercontent.com/asterisk/third-party/master/pjproject/${PJPROJ_VERSION}/pjproject-${PJPROJ_VERSION}.tar.bz2
+SITES.pjproject-${PJPROJ_VERSION}.md5= \
+ -https://raw.githubusercontent.com/asterisk/third-party/master/pjproject/${PJPROJ_VERSION}/MD5SUM.TXT
+DISTFILES+= pjproject-${PJPROJ_VERSION}.tar.bz2 pjproject-${PJPROJ_VERSION}.md5
+ALL_ENV+= EXTERNALS_CACHE_DIR=${DISTDIR}/${DIST_SUBDIR}
+
+# Override default paths in config files
+SUBST_CLASSES+= configs
+SUBST_STAGE.configs= pre-configure
+SUBST_FILES.configs= configs/samples/cli_aliases.conf.sample
+SUBST_FILES.configs+= configs/samples/festival.conf.sample
+SUBST_FILES.configs+= configs/samples/http.conf.sample
+SUBST_FILES.configs+= configs/samples/iax.conf.sample
+SUBST_FILES.configs+= configs/samples/musiconhold.conf.sample
+SUBST_FILES.configs+= configs/samples/osp.conf.sample
+SUBST_FILES.configs+= configs/samples/phoneprov.conf.sample
+SUBST_FILES.configs+= configs/samples/sla.conf.sample
+SUBST_SED.configs+= -e 's|doc/|${PREFIX}/share/doc/${PKGBASE}/|'
+SUBST_SED.configs+= -e 's|/etc/asterisk|${ASTETCDIR}|'
+SUBST_SED.configs+= -e 's|/var/lib/asterisk|${ASTVARLIBDIR}|'
+SUBST_SED.configs+= -e "s|/usr/local/man|${ASTMANDIR}|"
+SUBST_SED.configs+= -e "s|/usr/local|${PREFIX}|"
+SUBST_SED.configs+= -e "s|/var|${VARBASE}|"
+
+# XXX gross hack, remove when item is fixed
+SUBST_CLASSES.NetBSD+= autoconfig
+SUBST_STAGE.autoconfig= post-configure
+SUBST_FILES.autoconfig= include/asterisk/autoconfig.h
+SUBST_SED.autoconfig= -e "s|^\#define HAVE_GCC_ATOMICS 1|\#undef HAVE_GCC_ATOMICS|"
+SUBST_SED.autoconfig+= -e "s|^\#define HAVE_GETHOSTBYNAME_R_6 1|\#undef HAVE_GETHOSTBYNAME_R_6|"
+
+# XXX gross hack, IP_PKTINFO in NetBSD isn't compatible with anything else
+SUBST_CLASSES.NetBSD+= pktinfo
+SUBST_STAGE.pktinfo= post-configure
+SUBST_FILES.pktinfo= include/asterisk/autoconfig.h
+SUBST_SED.pktinfo= -e "s|^\#define HAVE_PKTINFO 1|\#undef HAVE_PKTINFO|"
+
+# XXX gross hack, gethostbyname_r on NETBSD is for internal use only
+SUBST_CLASSES.NetBSD+= gethostbyname_r
+SUBST_STAGE.gethostbyname_r= post-configure
+SUBST_FILES.gethostbyname_r= include/asterisk/autoconfig.h
+SUBST_SED.gethostbyname_r= -e "s|^\#define HAVE_GETHOSTBYNAME_R_5 1|\#undef HAVE_GETHOSTBYNAME_R_5|"
+SUBST_SED.gethostbyname_r+= -e "s|^\#define HAVE_GETHOSTBYNAME_R_6 1|\#undef HAVE_GETHOSTBYNAME_R_6|"
+
+RCD_SCRIPTS= asterisk
+OWN_DIRS_PERMS+= ${ASTDBDIR} ${ASTERISK_USER} ${ASTERISK_GROUP} 0755
+OWN_DIRS_PERMS+= ${ASTSPOOLDIR} ${ASTERISK_USER} ${ASTERISK_GROUP} 0755
+OWN_DIRS_PERMS+= ${ASTSPOOLDIR}/dictate ${ASTERISK_USER} ${ASTERISK_GROUP} 0755
+OWN_DIRS_PERMS+= ${ASTSPOOLDIR}/meetme ${ASTERISK_USER} ${ASTERISK_GROUP} 0755
+OWN_DIRS_PERMS+= ${ASTSPOOLDIR}/monitor ${ASTERISK_USER} ${ASTERISK_GROUP} 0755
+OWN_DIRS_PERMS+= ${ASTSPOOLDIR}/outgoing ${ASTERISK_USER} ${ASTERISK_GROUP} 0755
+OWN_DIRS_PERMS+= ${ASTSPOOLDIR}/system ${ASTERISK_USER} ${ASTERISK_GROUP} 0755
+OWN_DIRS_PERMS+= ${ASTSPOOLDIR}/tmp ${ASTERISK_USER} ${ASTERISK_GROUP} 0755
+OWN_DIRS_PERMS+= ${ASTSPOOLDIR}/voicemail ${ASTERISK_USER} ${ASTERISK_GROUP} 0755
+OWN_DIRS_PERMS+= ${ASTSPOOLDIR}/voicemail/default ${ASTERISK_USER} ${ASTERISK_GROUP} 0755
+OWN_DIRS_PERMS+= ${ASTSPOOLDIR}/voicemail/default/1234 ${ASTERISK_USER} ${ASTERISK_GROUP} 0755
+OWN_DIRS_PERMS+= ${ASTSPOOLDIR}/voicemail/default/1234/INBOX ${ASTERISK_USER} ${ASTERISK_GROUP} 0755
+OWN_DIRS_PERMS+= ${ASTSPOOLDIR}/voicemail/default/1234/en ${ASTERISK_USER} ${ASTERISK_GROUP} 0755
+SPECIAL_PERMS+= ${ASTSPOOLDIR}/voicemail/default/1234/en/busy.gsm ${ASTERISK_USER} ${ASTERISK_GROUP} 0644
+SPECIAL_PERMS+= ${ASTSPOOLDIR}/voicemail/default/1234/en/unavail.gsm ${ASTERISK_USER} ${ASTERISK_GROUP} 0644
+OWN_DIRS_PERMS+= ${ASTSPOOLDIR}/voicemail/default/INBOX ${ASTERISK_USER} ${ASTERISK_GROUP} 0755
+OWN_DIRS_PERMS+= ${ASTSPOOLDIR}/voicemail/default/en ${ASTERISK_USER} ${ASTERISK_GROUP} 0755
+OWN_DIRS_PERMS+= ${ASTLOGDIR} ${ASTERISK_USER} ${ASTERISK_GROUP} 0755
+OWN_DIRS_PERMS+= ${ASTLOGDIR}/cdr-csv ${ASTERISK_USER} ${ASTERISK_GROUP} 0755
+OWN_DIRS_PERMS+= ${ASTLOGDIR}/cdr-custom ${ASTERISK_USER} ${ASTERISK_GROUP} 0755
+
+CONF_FILES_PERMS= # empty
+.for f in asterisk.conf extensions.conf
+CONF_FILES_PERMS+= ${ASTEXAMPLEDIR}/${f:Q} ${PKG_SYSCONFDIR}/${f:Q} ${ASTERISK_USER} ${ASTERISK_GROUP} 0644
+.endfor
+
+.if !empty(PKG_OPTIONS:Masterisk-config)
+# if we put all the files in $CONF_FILES, the message is _way_ too long.
+. for f in acl.conf adsi.conf aeap.conf agents.conf alarmreceiver.conf \
+ alsa.conf amd.conf app_mysql.conf app_skel.conf ari.conf \
+ ast_debug_tools.conf asterisk.adsi calendar.conf ccss.conf \
+ cdr.conf cdr_adaptive_odbc.conf cdr_custom.conf \
+ cdr_manager.conf cdr_odbc.conf cdr_pgsql.conf \
+ cdr_sqlite3_custom.conf cdr_tds.conf cel.conf \
+ cel_beanstalkd.conf cel_custom.conf cel_odbc.conf \
+ cel_pgsql.conf cel_sqlite3_custom.conf cel_tds.conf \
+ chan_dahdi.conf chan_mobile.conf cli.conf cli_aliases.conf \
+ cli_permissions.conf codecs.conf confbridge.conf \
+ config_test.conf console.conf dbsep.conf dnsmgr.conf dsp.conf \
+ dundi.conf enum.conf extconfig.conf extensions.ael \
+ extensions.conf extensions.lua extensions_minivm.conf \
+ features.conf festival.conf followme.conf func_odbc.conf \
+ hep.conf http.conf iax.conf iaxprov.conf indications.conf \
+ logger.conf manager.conf meetme.conf mgcp.conf minivm.conf \
+ modules.conf motif.conf musiconhold.conf muted.conf ooh323.conf \
+ osp.conf phoneprov.conf pjproject.conf pjsip.conf \
+ pjsip_notify.conf pjsip_wizard.conf prometheus.conf \
+ queuerules.conf queues.conf res_config_mysql.conf \
+ res_config_sqlite3.conf res_corosync.conf res_curl.conf \
+ res_fax.conf res_ldap.conf res_odbc.conf res_parking.conf \
+ res_pgsql.conf res_pktccops.conf res_snmp.conf \
+ res_stun_monitor.conf resolver_unbound.conf rtp.conf say.conf \
+ sip.conf sip_notify.conf skinny.conf sla.conf smdi.conf \
+ sorcery.conf ss7.timers stasis.conf statsd.conf \
+ stir_shaken.conf telcordia-1.adsi test_sorcery.conf udptl.conf \
+ unistim.conf users.conf voicemail.conf xmpp.conf
+CONF_FILES_PERMS+= ${ASTEXAMPLEDIR}/${f:Q} ${PKG_SYSCONFDIR}/${f:Q} ${ASTERISK_USER} ${ASTERISK_GROUP} 0644
+. endfor
+.endif
+
+PTHREAD_OPTS+= require native
+
+.if (${OPSYS} == "Darwin" && exists(/usr/include/sys/poll.h))
+post-patch:
+ ${ECHO} "#include <sys/poll.h>" > ${WRKSRC}/include/asterisk/poll-compat.h
+.endif
+
+post-install:
+# check sounds directory for current versions when upgrading package
+ ${TAR} xzf ${WRKSRC}/sounds/asterisk-core-sounds-en-gsm-1.6.1.tar.gz -C ${DESTDIR}${ASTDATADIR}/sounds/en
Home |
Main Index |
Thread Index |
Old Index