Up to [cvs.NetBSD.org] / pkgsrc / comms / asterisk18
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
asterisk18: Update to Asterisk 18.26.4. pkgsrc change: - fix PR pkg/59478 ## Change Log for Release asterisk-18.26.4 ### Links: - [Full ChangeLog](https://downloads.asterisk.org/pub/telephony/asterisk/releases/ChangeLog-18.26.4.html) ### Summary: - Commits: 1 - Commit Authors: 1 - Issues Resolved: 0 - Security Advisories Resolved: 1 - [GHSA-557q-795j-wfx2](https://github.com/asterisk/asterisk/security/advisories/GHSA-557q-795j-wfx2): Resource exhaustion (DoS) vulnerability: remotely exploitable leak of RTP UDP ports and internal resources ### Commit Authors: - George Joseph: (1) ## Issue and Commit Detail: ### Closed Issues: - !GHSA-557q-795j-wfx2: Resource exhaustion (DoS) vulnerability: remotely exploitable leak of RTP UDP ports and internal resources ### Commits By Author: - #### George Joseph (1): - pjproject: Update bundled to 2.15.1. ### Commit List: - pjproject: Update bundled to 2.15.1. ### Commit Details: #### pjproject: Update bundled to 2.15.1. Author: George Joseph Date: 2025-08-25 This resolves a security issue where RTP ports weren't being released causing possible resource exhaustion issues. Resolves: #GHSA-557q-795j-wfx2
Update to Asterisk 18.26.3. This is a security update. ## Change Log for Release asterisk-18.26.3 ### Links: - [Full ChangeLog](https://downloads.asterisk.org/pub/telephony/asterisk/releases/ChangeLog-18.26.3.html) ### Summary: - Commits: 2 - Commit Authors: 2 - Issues Resolved: 0 - Security Advisories Resolved: 2 - [GHSA-mrq5-74j5-f5cr](https://github.com/asterisk/asterisk/security/advisories/GHSA-mrq5-74j5-f5cr): Remote DoS and possible RCE in asterisk/res/res_stir_shaken/verification.c - [GHSA-v9q8-9j8m-5xwp](https://github.com/asterisk/asterisk/security/advisories/GHSA-v9q8-9j8m-5xwp): Uncontrolled Search-Path Element in safe_asterisk script may allow local privilege escalation. ### User Notes: ### Upgrade Notes: - #### safe_asterisk: Add ownership checks for /etc/asterisk/startup.d and its files. The safe_asterisk script now checks that, if it was run by the root user, the /etc/asterisk/startup.d directory and all the files it contains are owned by root. If the checks fail, safe_asterisk will exit with an error and Asterisk will not be started. Additionally, the default logging destination is now stderr instead of tty "9" which probably won't exist in modern systems. ### Developer Notes: ### Commit Authors: - George Joseph: (1) - ThatTotallyRealMyth: (1) ## Issue and Commit Detail: ### Closed Issues: - !GHSA-mrq5-74j5-f5cr: Remote DoS and possible RCE in asterisk/res/res_stir_shaken/verification.c - !GHSA-v9q8-9j8m-5xwp: Uncontrolled Search-Path Element in safe_asterisk script may allow local privilege escalation. ### Commits By Author: - #### George Joseph (1): - res_stir_shaken: Test for missing semicolon in Identity header. - #### ThatTotallyRealMyth (1): - safe_asterisk: Add ownership checks for /etc/asterisk/startup.d and its files. ### Commit List: - safe_asterisk: Add ownership checks for /etc/asterisk/startup.d and its files. - res_stir_shaken: Test for missing semicolon in Identity header. ### Commit Details: #### safe_asterisk: Add ownership checks for /etc/asterisk/startup.d and its files. Author: ThatTotallyRealMyth Date: 2025-06-10 UpgradeNote: The safe_asterisk script now checks that, if it was run by the root user, the /etc/asterisk/startup.d directory and all the files it contains are owned by root. If the checks fail, safe_asterisk will exit with an error and Asterisk will not be started. Additionally, the default logging destination is now stderr instead of tty "9" which probably won't exist in modern systems. Resolves: #GHSA-v9q8-9j8m-5xwp #### res_stir_shaken: Test for missing semicolon in Identity header. Author: George Joseph Date: 2025-07-31 ast_stir_shaken_vs_verify() now makes sure there's a semicolon in the Identity header to prevent a possible segfault. Resolves: #GHSA-mrq5-74j5-f5cr
Update to Asterisk 18.26.2: pkgsrc changes - add gsed to USE_TOOLS - appease pkglint somewhat ## Change Log for Release asterisk-18.26.2 ### Links: - [Full ChangeLog](https://downloads.asterisk.org/pub/telephony/asterisk/releases/ChangeLog-18.26.2.html) - [GitHub Diff](https://github.com/asterisk/asterisk/compare/18.26.1...18.26.2) ### Summary: - Commits: 2 - Commit Authors: 1 - Issues Resolved: 0 - Security Advisories Resolved: 2 - [GHSA-2grh-7mhv-fcfw](https://github.com/asterisk/asterisk/security/advisories/GHSA-2grh-7mhv-fcfw): Using malformed From header can forge identity with ";" or NULL in name portion - [GHSA-c7p6-7mvq-8jq2](https://github.com/asterisk/asterisk/security/advisories/GHSA-c7p6-7mvq-8jq2): cli_permissions.conf: deny option does not work for disallowing shell commands ### User Notes: - #### asterisk.c: Add option to restrict shell access from remote consoles. A new asterisk.conf option 'disable_remote_console_shell' has been added that, when set, will prevent remote consoles from executing shell commands using the '!' prefix. Resolves: #GHSA-c7p6-7mvq-8jq2 ## Issue and Commit Detail: ### Closed Issues: - !GHSA-2grh-7mhv-fcfw: Using malformed From header can forge identity with ";" or NULL in name portion - !GHSA-c7p6-7mvq-8jq2: cli_permissions.conf: deny option does not work for disallowing shell commands
Update to Asterisk 18.26.1 ## Change Log for Release asterisk-18.26.1 ### Links: - [Full ChangeLog](https://downloads.asterisk.org/pub/telephony/asterisk/releases/ChangeLog-18.26.1.md) - [GitHub Diff](https://github.com/asterisk/asterisk/compare/18.26.0...18.26.1) ### Summary: - Commits: 1 - Commit Authors: 1 - Issues Resolved: 0 - Security Advisories Resolved: 1 - [GHSA-33x6-fj46-6rfh](https://github.com/asterisk/asterisk/security/advisories/GHSA-33x6-fj46-6rfh): Path traversal via AMI ListCategories allows access to outside files ### User Notes: - #### manager.c: Restrict ListCategories to the configuration directory. The ListCategories AMI action now restricts files to the configured configuration directory. ### Commit List: - manager.c: Restrict ListCategories to the configuration directory. ### Commit Details: #### manager.c: Restrict ListCategories to the configuration directory. Author: Ben Ford Date: 2024-12-17 When using the ListCategories AMI action, it was possible to traverse upwards through the directories to files outside of the configured configuration directory. This action is now restricted to the configured directory and an error will now be returned if the specified file is outside of this limitation. Resolves: #GHSA-33x6-fj46-6rfh UserNote: The ListCategories AMI action now restricts files to the configured configuration directory. ## Change Log for Release asterisk-18.26.0 ### Links: - [Full ChangeLog](https://downloads.asterisk.org/pub/telephony/asterisk/releases/ChangeLog-18.26.0.md) - [GitHub Diff](https://github.com/asterisk/asterisk/compare/18.25.0...18.26.0) ### Summary: - Commits: 28 - Commit Authors: 7 - Issues Resolved: 13 - Security Advisories Resolved: 0 ### User Notes: - #### manager.c: Restrict ModuleLoad to the configured modules directory. The ModuleLoad AMI action now restricts modules to the configured modules directory. - #### manager: Enhance event filtering for performance You can now perform more granular filtering on events in manager.conf using expressions like `eventfilter(name(Newchannel),header(Channel),method(starts_with)) = PJSIP/` This is much more efficient than `eventfilter = Event: Newchannel.*Channel: PJSIP/` Full syntax guide is in configs/samples/manager.conf.sample. - #### db.c: Remove limit on family/key length The `ast_db_*()` APIs have had the 253 byte limit on "/family/key" removed and will now accept families and keys with a total length of up to SQLITE_MAX_LENGTH (currently 1e9!). This affects the `DB*` dialplan applications, dialplan functions, manager actions and `databse` CLI commands. Since the media_cache also uses the `ast_db_*()` APIs, you can now store resources with URIs longer than 253 bytes. ### Upgrade Notes: ## Issue and Commit Detail: ### Closed Issues: - 487: [bug]: Segfault possibly in ast_rtp_stop - 821: [bug]: app_dial: The progress timeout doesn't cause Dial to exit - 881: [bug]: Long URLs are being rejected by the media cache because of an astdb key length limit - 882: [bug]: Value CHANNEL(userfield) is lost by BRIDGE_ENTER - 897: [improvement]: Restrict ModuleLoad AMI action to the modules directory - 900: [bug]: astfd.c: NULL pointer passed to fclose with nonnull attribute causes compilation failure - 902: [bug]: app_voicemail: Pager emails are ill-formatted when custom subject is used - 916: [bug]: Compilation errors on FreeBSD - 924: [bug]: dnsmgr.c: dnsmgr_refresh() should not flag change if IP address order changes - 928: [bug]: chan_dahdi: MWI while off-hook when hung up on after recall ring - 937: [bug]: Wrong format for sample config file 'geolocation.conf.sample' - 938: [bug]: memory leak - CBAnn leaks a small amount format_cap related memory for every confbridge ### Commit List: - app_dial: Fix progress timeout calculation with no answer timeout. - pjproject_bundled: Tweaks to support out-of-tree development - chan_sip.c: Fix __sip_reliable_xmit build error - core_unreal.c: Fix memory leak in ast_unreal_new_channels() - dnsmgr.c: dnsmgr_refresh() incorrectly flags change with DNS round-robin - geolocation.sample.conf: Fix comment marker at end of file - func_base64.c: Ensure we set aside enough room for base64 encoded data. - app_dial: Fix progress timeout. - chan_dahdi: Never send MWI while off-hook. - manager.c: Add unit test for Originate app and appdata permissions - alembic: Drop redundant voicemail_messages index. - res_agi.c: Ensure SIGCHLD handler functions are properly balanced. - main, res, tests: Fix compilation errors on FreeBSD. - res_rtp_asterisk: Fix dtls timer issues causing FRACKs and SEGVs - manager.c: Restrict ModuleLoad to the configured modules directory. - res_agi.c: Prevent possible double free during `SPEECH RECOGNIZE` - cdr_custom: Allow absolute filenames. - astfd.c: Avoid calling fclose with NULL argument. - channel: Preserve CHANNEL(userfield) on masquerade. - cel_custom: Allow absolute filenames. - app_voicemail: Fix ill-formatted pager emails with custom subject. - res_pjsip_pubsub: Persist subscription 'generator_data' in sorcery - Fix application references to Background - manager.conf.sample: Fix mathcing typo - manager: Enhance event filtering for performance - manager.c: Split XML documentation to manager_doc.xml - db.c: Remove limit on family/key length
Upgrade to Asterisk 18.25.0.
## Change Log for Release asterisk-18.25.0
### Links:
- [Full ChangeLog](https://downloads.asterisk.org/pub/telephony/asterisk/releases/ChangeLog-18.25.0.md)
- [GitHub Diff](https://github.com/asterisk/asterisk/compare/18.24.3...18.25.0)
- [Tarball](https://downloads.asterisk.org/pub/telephony/asterisk/asterisk-18.25.0.tar.gz)
- [Downloads](https://downloads.asterisk.org/pub/telephony/asterisk)
### Summary:
- Commits: 24
- Commit Authors: 9
- Issues Resolved: 18
- Security Advisories Resolved: 0
### User Notes:
- #### res_pjsip_notify: add dialplan application
A new dialplan application PJSIPNotify is now available
which can send SIP NOTIFY requests from the dialplan.
The pjsip send notify CLI command has also been enhanced to allow
sending NOTIFY messages to a specific channel. Syntax:
pjsip send notify <option> channel <channel>
- #### channel: Add multi-tenant identifier.
tenantid has been added to channels. It can be read in
dialplan via CHANNEL(tenantid), and it can be set using
Set(CHANNEL(tenantid)=My tenant ID). In pjsip.conf, it is recommended to
use the new tenantid option for pjsip endpoints (e.g., tenantid=My
tenant ID) so that it will show up in Newchannel events. You can set it
like any other channel variable using set_var in pjsip.conf as well, but
note that this will NOT show up in Newchannel events. Tenant ID is also
available in CDR and can be accessed with CDR(tenantid). The peer tenant
ID can also be accessed with CDR(peertenantid). CEL includes tenant ID
as well if it has been set.
- #### res_pjsip_config_wizard.c: Refactor load process
The res_pjsip_config_wizard.so module can now be reloaded.
### Upgrade Notes:
- #### channel: Add multi-tenant identifier.
A new versioned struct (ast_channel_initializers) has been
added that gets passed to __ast_channel_alloc_ap. The new function
ast_channel_alloc_with_initializers should be used when creating
channels that require the use of this struct. Currently the only value
in the struct is for tenantid, but now more fields can be added to the
struct as necessary rather than the __ast_channel_alloc_ap function. A
new option (tenantid) has been added to endpoints in pjsip.conf as well.
CEL has had its version bumped to include tenant ID.
### Commit Authors:
- Alexei Gradinari: (2)
- Ben Ford: (1)
- Cade Parker: (1)
- George Joseph: (10)
- Jaco Kroon: (1)
- Jean-Denis Girard: (1)
- Mike Bradeen: (3)
- Sean Bright: (2)
- Tinet-Mucw: (3)
## Issue and Commit Detail:
### Closed Issues:
- 740: [new-feature]: Add multi-tenant identifier to chan_pjsip
- 763: [bug]: autoservice thread stuck in an endless sleep
- 780: [bug]: Infinite loop of "Indicated Video Update", max CPU usage
- 799: [improvement]: Add PJSIPNOTIFY dialplan application
- 801: [bug]: res_stasis: Occasional 200ms delay adding channel to a bridge
- 809: [bug]: CLI stir_shaken show verification kills asterisk
- 816: [bug]: res_pjsip_config_wizard doesn't load properly if res_pjsip is loaded first
- 831: [bug]: app_voicemail ODBC
- 845: [bug]: Buffer overflow in handling of security mechanisms in res_pjsip
- 847: [bug]: Asterisk not using negotiated fall-back 8K digits
- 854: [bug]: wrong properties in stir_shaken.conf.sample
- 856: [bug]: res_pjsip_sdp_rtp leaks astobj2 ast_format
- 861: [bug]: ChanSpy unable to read audiohook read direction frame when no packet lost on both side of the call
- 876: [bug]: ChanSpy unable to write whisper_audiohook when set flag OPTION_READONLY
- 879: [bug]: res_stir_shaken/verification.c: Getting verification errors when global_disable=yes
- 884: [bug]: A ':' at the top of in stir_shaken.conf make Asterisk producing a core file when starting
- 889: [bug]: res_stir_shaken/verification.c has a stale include for jansson.h that can cause compilation to fail
- 904: [bug]: stir_shaken: attest_level isn't being propagated correctly from attestation to profile to tn
### Commits By Author:
- #### Alexei Gradinari (2):
- res_pjsip_sdp_rtp fix leaking astobj2 ast_format
- autoservice: Do not sleep if autoservice_stop is called within autoservice thr..
- #### Ben Ford (1):
- channel: Add multi-tenant identifier.
- #### Cade Parker (1):
- chan_mobile: decrease CHANNEL_FRAME_SIZE to prevent delay
- #### George Joseph (10):
- bridge_softmix: Fix queueing VIDUPDATE control frames
- res_pjsip_config_wizard.c: Refactor load process
- stir_shaken: CRL fixes and a new CLI command
- manager.c: Fix FRACK when doing CoreShowChannelMap in DEVMODE
- stir_shaken.conf.sample: Fix bad references to private_key_path
- security_agreements.c: Refactor the to_str functions and fix a few other bugs
- res_stir_shaken: Check for disabled before param validation
- res_stir_shaken.c: Fix crash when stir_shaken.conf is invalid
- res_stir_shaken: Remove stale include for jansson.h in verification.c
- stir_shaken: Fix propagation of attest_level and a few other values
- #### Jaco Kroon (1):
- configure: Use . file rather than source file.
- #### Jean-Denis Girard (1):
- app_voicemail: Fix sql insert mismatch caused by cherry-pick
- #### Mike Bradeen (3):
- res_stasis: fix intermittent delays on adding channel to bridge
- res_pjsip_notify: add dialplan application
- res_pjsip_sdp_rtp: Use negotiated DTMF Payload types on bitrate mismatch
- #### Sean Bright (2):
- alembic: Make 'revises' header comment match reality.
- res_pjsip_logger.c: Fix 'OPTIONS' tab completion.
- #### Tinet-mucw (3):
- res_pjsip_sdp_rtp.c: Fix DTMF Handling in Re-INVITE with dtmf_mode set to auto
- app_chanspy.c: resolving the issue with audiohook direction read
- app_chanspy.c: resolving the issue writing frame to whisper audiohook.
### Commit List:
- stir_shaken: Fix propagation of attest_level and a few other values
- res_stir_shaken: Remove stale include for jansson.h in verification.c
- res_stir_shaken.c: Fix crash when stir_shaken.conf is invalid
- res_stir_shaken: Check for disabled before param validation
- app_chanspy.c: resolving the issue writing frame to whisper audiohook.
- app_voicemail: Fix sql insert mismatch caused by cherry-pick
- res_pjsip_sdp_rtp: Use negotiated DTMF Payload types on bitrate mismatch
- app_chanspy.c: resolving the issue with audiohook direction read
- security_agreements.c: Refactor the to_str functions and fix a few other bugs
- res_pjsip_sdp_rtp fix leaking astobj2 ast_format
- stir_shaken.conf.sample: Fix bad references to private_key_path
- res_pjsip_logger.c: Fix 'OPTIONS' tab completion.
- alembic: Make 'revises' header comment match reality.
- chan_mobile: decrease CHANNEL_FRAME_SIZE to prevent delay
- res_pjsip_notify: add dialplan application
- manager.c: Fix FRACK when doing CoreShowChannelMap in DEVMODE
- channel: Add multi-tenant identifier.
- configure: Use . file rather than source file.
- res_stasis: fix intermittent delays on adding channel to bridge
- res_pjsip_sdp_rtp.c: Fix DTMF Handling in Re-INVITE with dtmf_mode set to auto
- stir_shaken: CRL fixes and a new CLI command
- res_pjsip_config_wizard.c: Refactor load process
- bridge_softmix: Fix queueing VIDUPDATE control frames
### Commit Details:
#### stir_shaken: Fix propagation of attest_level and a few other values
Author: George Joseph
Date: 2024-09-24
attest_level, send_mky and check_tn_cert_public_url weren't
propagating correctly from the attestation object to the profile
and tn.
* In the case of attest_level, the enum needed to be changed
so the "0" value (the default) was "NOT_SET" instead of "A". This
now allows the merging of the attestation object, profile and tn
to detect when a value isn't set and use the higher level value.
* For send_mky and check_tn_cert_public_url, the tn default was
forced to "NO" which always overrode the profile and attestation
objects. Their defaults are now "NOT_SET" so the propagation
happens correctly.
* Just to remove some redundant code in tn_config.c, a bunch of calls to
generate_sorcery_enum_from_str() and generate_sorcery_enum_to_str() were
replaced with a single call to generate_acfg_common_sorcery_handlers().
Resolves: #904
#### res_stir_shaken: Remove stale include for jansson.h in verification.c
Author: George Joseph
Date: 2024-09-17
verification.c had an include for jansson.h left over from previous
versions of the module. Since res_stir_shaken no longer has a
dependency on jansson, the bundled version wasn't added to GCC's
include path so if you didn't also have a jansson development package
installed, the compile would fail. Removing the stale include
was the only thing needed.
Resolves: #889
#### res_stir_shaken.c: Fix crash when stir_shaken.conf is invalid
Author: George Joseph
Date: 2024-09-13
* If the call to ast_config_load() returns CONFIG_STATUS_FILEINVALID,
check_for_old_config() now returns LOAD_DECLINE instead of continuing
on with a bad pointer.
* If CONFIG_STATUS_FILEMISSING is returned, check_for_old_config()
assumes the config is being loaded from realtime and now returns
LOAD_SUCCESS. If it's actually not being loaded from realtime,
sorcery will catch that later on.
* Also refactored the error handling in load_module() a bit.
Resolves: #884
#### res_stir_shaken: Check for disabled before param validation
Author: George Joseph
Date: 2024-09-11
For both attestation and verification, we now check whether they've
been disabled either globally or by the profile before validating
things like callerid, orig_tn, dest_tn, etc. This prevents useless
error messages.
Resolves: #879
#### app_chanspy.c: resolving the issue writing frame to whisper audiohook.
Author: Tinet-mucw
Date: 2024-09-10
ChanSpy(${channel}, qEoSw): because flags set o, ast_audiohook_set_frame_feed_direction(audiohook, AST_AUDIOHOOK_DIRECTION_READ); this will effect whisper audiohook and spy audiohook, this makes writing frame to whisper audiohook impossible. So add function start_whispering to starting whisper audiohook.
Resolves: #876
#### autoservice: Do not sleep if autoservice_stop is called within autoservice thr..
Author: Alexei Gradinari
Date: 2024-09-04
It's possible that ast_autoservice_stop is called within the autoservice thread.
In this case the autoservice thread is stuck in an endless sleep.
To avoid endless sleep ast_autoservice_stop must check that it's not called
within the autoservice thread.
Fixes: #763
#### app_voicemail: Fix sql insert mismatch caused by cherry-pick
Author: Jean-Denis Girard
Date: 2024-08-07
When commit e8c9cb80 was cherry-picked in from master, the
fact that the 20 and 18 branches still had the old "macrocontext"
column wasn't taken into account so the number of named parameters
didn't match the number of '?' placeholders. They do now.
We also now use ast_asprintf to create the full mailbox query SQL
statement instead of trying to calculate the proper length ourselves.
Resolves: #831
#### res_pjsip_sdp_rtp: Use negotiated DTMF Payload types on bitrate mismatch
Author: Mike Bradeen
Date: 2024-08-21
When Asterisk sends an offer to Bob that includes 48K and 8K codecs with
matching 4733 offers, Bob may want to use the 48K audio codec but can not
accept 48K digits and so negotiates for a mixed set.
Asterisk will now check Bob's offer to make sure Bob has indicated this is
acceptible and if not, will use Bob's preference.
Fixes: #847
#### app_chanspy.c: resolving the issue with audiohook direction read
Author: Tinet-mucw
Date: 2024-08-30
ChanSpy(${channel}, qEoS): When chanspy spy the direction read, reading frame is often failed when reading direction read audiohook. because chanspy only read audiohook direction read; write_factory_ms will greater than 100ms soon, then ast_slinfactory_flush will being called, then direction read will fail.
Resolves: #861
#### security_agreements.c: Refactor the to_str functions and fix a few other bugs
Author: George Joseph
Date: 2024-08-17
* A static array of security mechanism type names was created.
* ast_sip_str_to_security_mechanism_type() was refactored to do
a lookup in the new array instead of using fixed "if/else if"
statments.
* security_mechanism_to_str() and ast_sip_security_mechanisms_to_str()
were refactored to use ast_str instead of a fixed length buffer
to store the result.
* ast_sip_security_mechanism_type_to_str was removed in favor of
just referencing the new type name array. Despite starting with
"ast_sip_", it was a static function so removing it doesn't affect
ABI.
* Speaking of "ast_sip_", several other static functions that
started with "ast_sip_" were renamed to avoid confusion about
their public availability.
* A few VECTOR free loops were replaced with AST_VECTOR_RESET().
* Fixed a meomry leak in pjsip_configuration.c endpoint_destructor
caused by not calling ast_sip_security_mechanisms_vector_destroy().
* Fixed a memory leak in res_pjsip_outbound_registration.c
add_security_headers() caused by not specifying OBJ_NODATA in
an ao2_callback.
* Fixed a few ao2_callback return code misuses.
Resolves: #845
#### res_pjsip_sdp_rtp fix leaking astobj2 ast_format
Author: Alexei Gradinari
Date: 2024-08-23
PR #700 added a preferred_format for the struct ast_rtp_codecs,
but when set the preferred_format it leaks an astobj2 ast_format.
In the next code
ast_rtp_codecs_set_preferred_format(&codecs, ast_format_cap_get_format(joint, 0));
both functions ast_rtp_codecs_set_preferred_format
and ast_format_cap_get_format increases the ao2 reference count.
Fixes: #856
#### stir_shaken.conf.sample: Fix bad references to private_key_path
Author: George Joseph
Date: 2024-08-22
They should be private_key_file.
Resolves: #854
#### res_pjsip_logger.c: Fix 'OPTIONS' tab completion.
Author: Sean Bright
Date: 2024-08-19
Fixes #843
#### alembic: Make 'revises' header comment match reality.
Author: Sean Bright
Date: 2024-08-17
#### chan_mobile: decrease CHANNEL_FRAME_SIZE to prevent delay
Author: Cade Parker
Date: 2024-08-07
On modern Bluetooth devices or lower-powered asterisk servers, decreasing the channel frame size significantly improves latency and delay on outbound calls with only a mild sacrifice to the quality of the call (the frame size before was massive overkill to begin with)
#### res_pjsip_notify: add dialplan application
Author: Mike Bradeen
Date: 2024-07-09
Add dialplan application PJSIPNOTIFY to send either pre-configured
NOTIFY messages from pjsip_notify.conf or with headers defined in
dialplan.
Also adds the ability to send pre-configured NOTIFY commands to a
channel via the CLI.
Resolves: #799
UserNote: A new dialplan application PJSIPNotify is now available
which can send SIP NOTIFY requests from the dialplan.
The pjsip send notify CLI command has also been enhanced to allow
sending NOTIFY messages to a specific channel. Syntax:
pjsip send notify <option> channel <channel>
#### manager.c: Fix FRACK when doing CoreShowChannelMap in DEVMODE
Author: George Joseph
Date: 2024-08-08
If you run an AMI CoreShowChannelMap on a channel that isn't in a
bridge and you're in DEVMODE, you can get a FRACK because the
bridge id is empty. We now simply return an empty list for that
request.
#### channel: Add multi-tenant identifier.
Author: Ben Ford
Date: 2024-05-21
This patch introduces a new identifier for channels: tenantid. It's
a stringfield on the channel that can be used for general purposes. It
will be inherited by other channels the same way that linkedid is.
You can set tenantid in a few ways. The first is to set it in the
dialplan with the Set and CHANNEL functions:
exten => example,1,Set(CHANNEL(tenantid)=My tenant ID)
It can also be accessed via CHANNEL:
exten => example,2,NoOp(CHANNEL(tenantid))
Another method is to use the new tenantid option for pjsip endpoints in
pjsip.conf:
[my_endpoint]
type=endpoint
tenantid=My tenant ID
This is considered the best approach since you will be able to see the
tenant ID as early as the Newchannel event.
It can also be set using set_var in pjsip.conf on the endpoint like
setting other channel variable:
set_var=CHANNEL(tenantid)=My tenant ID
Note that set_var will not show tenant ID on the Newchannel event,
however.
Tenant ID has also been added to CDR. It's read-only and can be accessed
via CDR(tenantid). You can also get the tenant ID of the last channel
communicated with via CDR(peertenantid).
Tenant ID will also show up in CEL records if it has been set, and the
version number has been bumped accordingly.
Fixes: #740
UserNote: tenantid has been added to channels. It can be read in
dialplan via CHANNEL(tenantid), and it can be set using
Set(CHANNEL(tenantid)=My tenant ID). In pjsip.conf, it is recommended to
use the new tenantid option for pjsip endpoints (e.g., tenantid=My
tenant ID) so that it will show up in Newchannel events. You can set it
like any other channel variable using set_var in pjsip.conf as well, but
note that this will NOT show up in Newchannel events. Tenant ID is also
available in CDR and can be accessed with CDR(tenantid). The peer tenant
ID can also be accessed with CDR(peertenantid). CEL includes tenant ID
as well if it has been set.
UpgradeNote: A new versioned struct (ast_channel_initializers) has been
added that gets passed to __ast_channel_alloc_ap. The new function
ast_channel_alloc_with_initializers should be used when creating
channels that require the use of this struct. Currently the only value
in the struct is for tenantid, but now more fields can be added to the
struct as necessary rather than the __ast_channel_alloc_ap function. A
new option (tenantid) has been added to endpoints in pjsip.conf as well.
CEL has had its version bumped to include tenant ID.
#### configure: Use . file rather than source file.
Author: Jaco Kroon
Date: 2024-08-05
source is a bash concept, so when /bin/sh points to another shell the
existing construct won't work.
Reference: https://bugs.gentoo.org/927055
Signed-off-by: Jaco Kroon <jaco@uls.co.za>
#### res_stasis: fix intermittent delays on adding channel to bridge
Author: Mike Bradeen
Date: 2024-07-10
Previously, on command execution, the control thread was awoken by
sending a SIGURG. It was found that this still resulted in some
instances where the thread was not immediately awoken.
This change instead sends a null frame to awaken the control thread,
which awakens the thread more consistently.
Resolves: #801
#### res_pjsip_sdp_rtp.c: Fix DTMF Handling in Re-INVITE with dtmf_mode set to auto
Author: Tinet-mucw
Date: 2024-08-02
When the endpoint dtmf_mode is set to auto, a SIP request is sent to the UAC, and the SIP SDP from the UAC does not include the telephone-event. Later, the UAC sends an INVITE, and the SIP SDP includes the telephone-event. In this case, DTMF should be sent by RFC2833 rather than using inband signaling.
Resolves: asterisk#826
#### stir_shaken: CRL fixes and a new CLI command
Author: George Joseph
Date: 2024-07-19
* Fixed a bug in crypto_show_cli_store that was causing asterisk
to crash if there were certificate revocation lists in the
verification certificate store. We're also now prefixing
certificates with "Cert:" and CRLs with "CRL:" to distinguish them
in the list.
* Added 'untrusted_cert_file' and 'untrusted_cert_path' options
to both verification and profile objects. If you have CRLs that
are signed by a different CA than the incoming X5U certificate
(indirect CRL), you'll need to provide the certificate of the
CRL signer here. Thse will show up as 'Untrusted" when showing
the verification or profile objects.
* Fixed loading of crl_path. The OpenSSL API we were using to
load CRLs won't actually load them from a directory, only a file.
We now scan the directory ourselves and load the files one-by-one.
* Fixed the verification flags being set on the certificate store.
- Removed the CRL_CHECK_ALL flag as this was causing all certificates
to be checked for CRL extensions and failing to verify the cert if
there was none. This basically caused all certs to fail when a CRL
was provided via crl_file or crl_path.
- Added the EXTENDED_CRL_SUPPORT flag as it is required to handle
indirect CRLs.
* Added a new CLI command...
`stir_shaken verify certificate_file <certificate_file> [ <profile> ]`
which will assist troubleshooting certificate problems by allowing
the user to manually verify a certificate file against either the
global verification certificate store or the store for a specific
profile.
* Updated the XML documentation and the sample config file.
Resolves: #809
#### res_pjsip_config_wizard.c: Refactor load process
Author: George Joseph
Date: 2024-07-23
The way we have been initializing the config wizard prevented it
from registering its objects if res_pjsip happened to load
before it.
* We now use the object_type_registered sorcery observer to kick
things off instead of the wizard_mapped observer.
* The load_module function now checks if res_pjsip has been loaded
already and if it was it fires the proper observers so the objects
load correctly.
Resolves: #816
UserNote: The res_pjsip_config_wizard.so module can now be reloaded.
#### bridge_softmix: Fix queueing VIDUPDATE control frames
Author: George Joseph
Date: 2024-07-17
softmix_bridge_write_control() now calls ast_bridge_queue_everyone_else()
with the bridge_channel so the VIDUPDATE control frame isn't echoed back.
softmix_bridge_write_control() was setting bridge_channel to NULL
when calling ast_bridge_queue_everyone_else() for VIDUPDATE control
frames. This was causing the frame to be echoed back to the
channel it came from. In certain cases, like when two channels or
bridges are being recorded, this can cause a ping-pong effect that
floods the system with VIDUPDATE control frames.
Resolves: #780
## Change Log for Release asterisk-18.24.3
### Links:
- [Full ChangeLog](https://downloads.asterisk.org/pub/telephony/asterisk/releases/ChangeLog-18.24.3.md)
- [GitHub Diff](https://github.com/asterisk/asterisk/compare/18.24.2...18.24.3)
- [Tarball](https://downloads.asterisk.org/pub/telephony/asterisk/asterisk-18.24.3.tar.gz)
- [Downloads](https://downloads.asterisk.org/pub/telephony/asterisk)
### Summary:
- Commits: 1
- Commit Authors: 1
- Issues Resolved: 0
- Security Advisories Resolved: 1
- [GHSA-v428-g3cw-7hv9](https://github.com/asterisk/asterisk/security/advisories/GHSA-v428-g3cw-7hv9): A malformed Contact or Record-Route URI in an incoming SIP request can cause Asterisk to crash when res_resolver_unbound is used
### User Notes:
### Upgrade Notes:
### Commit Authors:
- George Joseph: (1)
## Issue and Commit Detail:
### Closed Issues:
- !GHSA-v428-g3cw-7hv9: A malformed Contact or Record-Route URI in an incoming SIP request can cause Asterisk to crash when res_resolver_unbound is used
### Commits By Author:
- #### George Joseph (1):
- res_resolver_unbound: Test for NULL ub_result in unbound_resolver_callback
### Commit List:
- res_resolver_unbound: Test for NULL ub_result in unbound_resolver_callback
### Commit Details:
#### res_resolver_unbound: Test for NULL ub_result in unbound_resolver_callback
Author: George Joseph
Date: 2024-08-12
The ub_result pointer passed to unbound_resolver_callback by
libunbound can be NULL if the query was for something malformed
like `.1` or `[.1]`. If it is, we now set a 'ns_r_formerr' result
and return instead of crashing with a SEGV. This causes pjproject
to simply cancel the transaction with a "No answer record in the DNS
response" error. The existing "off nominal" unit test was also
updated to check this condition.
Although not necessary for this fix, we also made
ast_dns_resolver_completed() tolerant of a NULL result.
Resolves: GHSA-v428-g3cw-7hv9
## Change Log for Release asterisk-18.24.2
### Links:
- [Full ChangeLog](https://downloads.asterisk.org/pub/telephony/asterisk/releases/ChangeLog-18.24.2.md)
- [GitHub Diff](https://github.com/asterisk/asterisk/compare/18.24.1...18.24.2)
- [Tarball](https://downloads.asterisk.org/pub/telephony/asterisk/asterisk-18.24.2.tar.gz)
- [Downloads](https://downloads.asterisk.org/pub/telephony/asterisk)
### Summary:
- Commits: 1
- Commit Authors: 1
- Issues Resolved: 0
- Security Advisories Resolved: 1
- [GHSA-c4cg-9275-6w44](https://github.com/asterisk/asterisk/security/advisories/GHSA-c4cg-9275-6w44): Write=originate, is sufficient permissions for code execution / System() dialplan
### User Notes:
### Upgrade Notes:
### Commit Authors:
- George Joseph: (1)
## Issue and Commit Detail:
### Closed Issues:
- !GHSA-c4cg-9275-6w44: Write=originate, is sufficient permissions for code execution / System() dialplan
### Commits By Author:
- #### George Joseph (1):
- manager.c: Add entries to Originate blacklist
### Commit List:
- manager.c: Add entries to Originate blacklist
### Commit Details:
#### manager.c: Add entries to Originate blacklist
Author: George Joseph
Date: 2024-07-22
Added Reload and DBdeltree to the list of dialplan application that
can't be executed via the Originate manager action without also
having write SYSTEM permissions.
Added CURL, DB*, FILE, ODBC and REALTIME* to the list of dialplan
functions that can't be executed via the Originate manager action
without also having write SYSTEM permissions.
If the Queue application is attempted to be run by the Originate
manager action and an AGI parameter is specified in the app data,
it'll be rejected unless the manager user has either the AGI or
SYSTEM permissions.
Resolves: #GHSA-c4cg-9275-6w44
## Change Log for Release asterisk-18.24.1
### Links:
- [Full ChangeLog](https://downloads.asterisk.org/pub/telephony/asterisk/releases/ChangeLog-18.24.1.md)
- [GitHub Diff](https://github.com/asterisk/asterisk/compare/18.24.0...18.24.1)
- [Tarball](https://downloads.asterisk.org/pub/telephony/asterisk/asterisk-18.24.1.tar.gz)
- [Downloads](https://downloads.asterisk.org/pub/telephony/asterisk)
### Summary:
- Commits: 2
- Commit Authors: 1
- Issues Resolved: 2
- Security Advisories Resolved: 0
### User Notes:
### Upgrade Notes:
### Commit Authors:
- George Joseph: (2)
## Issue and Commit Detail:
### Closed Issues:
- 819: [bug]: Typo in voicemail.conf.sample that stops it from loading when using "make samples"
- 822: [bug]: segfault in main/rtp_engine.c:1489 after updating 20.8.1 -> 20.9.0
### Commits By Author:
- #### George Joseph (2):
- voicemail.conf.sample: Fix ':' comment typo
- rtp_engine.c: Prevent segfault in ast_rtp_codecs_payloads_unset()
### Commit List:
- rtp_engine.c: Prevent segfault in ast_rtp_codecs_payloads_unset()
- voicemail.conf.sample: Fix ':' comment typo
### Commit Details:
#### rtp_engine.c: Prevent segfault in ast_rtp_codecs_payloads_unset()
Author: George Joseph
Date: 2024-07-25
There can be empty slots in payload_mapping_tx corresponding to
dynamic payload types that haven't been seen before so we now
check for NULL before attempting to use 'type' in the call to
ast_format_cmp.
Note: Currently only chan_sip calls ast_rtp_codecs_payloads_unset()
Resolves: #822
#### voicemail.conf.sample: Fix ':' comment typo
Author: George Joseph
Date: 2024-07-24
...and removed an errant trailing space.
Resolves: #819
## Change Log for Release asterisk-18.24.0
### Links:
- [Full ChangeLog](https://downloads.asterisk.org/pub/telephony/asterisk/releases/ChangeLog-18.24.0.md)
- [GitHub Diff](https://github.com/asterisk/asterisk/compare/18.23.1...18.24.0)
- [Tarball](https://downloads.asterisk.org/pub/telephony/asterisk/asterisk-18.24.0.tar.gz)
- [Downloads](https://downloads.asterisk.org/pub/telephony/asterisk)
### Summary:
- Commits: 19
- Commit Authors: 8
- Issues Resolved: 8
- Security Advisories Resolved: 0
### User Notes:
- #### app_voicemail_odbc: Allow audio to be kept on disk
This commit adds a new voicemail.conf option
'odbc_audio_on_disk' which when set causes the ODBC variant of
app_voicemail_odbc to leave the message and greeting audio files
on disk and only store the message metadata in the database.
Much more information can be found in the voicemail.conf.sample
file.
- #### app_queue: Add option to not log Restricted Caller ID to queue_log
Add a Queue option log-restricted-caller-id to control whether the Restricted Caller ID
will be stored in the queue log.
If log-restricted-caller-id=no then the Caller ID will be stripped if the Caller ID is restricted.
- #### pbx.c: expand fields width of "core show hints"
The fields width of "core show hints" were increased.
The width of "extension" field to 30 characters and
the width of the "device state id" field to 60 characters.
- #### rtp_engine: add support for multirate RFC2833 digits
No change in configuration is required in order to enable this
feature. Endpoints configured to use RFC2833 will automatically have this
enabled. If the endpoint does not support this, it should not include it in
the SDP offer/response.
Resolves: #699
### Upgrade Notes:
- #### app_queue: Add option to not log Restricted Caller ID to queue_log
Add a new column to the queues table:
queue_log_option_log_restricted ENUM('0','1','off','on','false','true','no','yes')
to control whether the Restricted Caller ID will be stored in the queue log.
### Commit Authors:
- Alexei Gradinari: (2)
- Chrsmj: (1)
- George Joseph: (4)
- Igor Goncharovsky: (1)
- Mike Bradeen: (2)
- Sean Bright: (7)
- Tinet-Mucw: (1)
- Walter Doekes: (1)
## Issue and Commit Detail:
### Closed Issues:
- 699: [improvement]: Add support for multi-rate DTMF
- 736: [bug]: Seg fault on CLI after PostgreSQL CDR module fails to load for a second time
- 765: [improvement]: Add option to not log Restricted Caller ID to queue_log
- 770: [improvement]: pbx.c: expand fields width of "core show hints"
- 776: [bug] DTMF broken after rtp_engine: add support for multirate RFC2833 digits commit
- 783: [bug]: Under certain circumstances a channel snapshot can get orphaned in the cache
- 789: [bug]: Mediasec headers aren't sent on outgoing INVITEs
- 797: [bug]:
### Commits By Author:
- ### Alexei Gradinari (2):
- pbx.c: expand fields width of "core show hints"
- app_queue: Add option to not log Restricted Caller ID to queue_log
- ### George Joseph (4):
- app_voicemail_odbc: Allow audio to be kept on disk
- stasis_channels: Use uniqueid and name to delete old snapshots
- security_agreement.c: Always add the Require and Proxy-Require headers
- ast-db-manage: Remove duplicate enum creation
- ### Igor Goncharovsky (1):
- res_pjsip_path.c: Fix path when dialing using PJSIP_DIAL_CONTACTS()
- ### Mike Bradeen (2):
- rtp_engine: add support for multirate RFC2833 digits
- res_pjsip_sdp_rtp: Add support for default/mismatched 8K RFC 4733/2833 digits
- ### Sean Bright (7):
- file.h: Rename function argument to avoid C++ keyword clash.
- bundled_pjproject: Disable UPnP support.
- asterisk.c: Don't log an error if .asterisk_history does not exist.
- xml.c: Update deprecated libxml2 API usage.
- manager.c: Properly terminate `CoreShowChannelMap` event.
- pjsip: Add PJSIP_PARSE_URI_FROM dialplan function.
- logger.h: Include SCOPE_CALL_WITH_INT_RESULT() in non-dev-mode builds.
- ### Tinet-mucw (1):
- bridge_basic.c: Make sure that ast_bridge_channel is not destroyed while itera..
- ### Walter Doekes (1):
- chan_ooh323: Fix R/0 typo in docs
- ### chrsmj (1):
- cdr_pgsql: Fix crash when the module fails to load multiple times.
### Commit List:
- res_pjsip_path.c: Fix path when dialing using PJSIP_DIAL_CONTACTS()
- res_pjsip_sdp_rtp: Add support for default/mismatched 8K RFC 4733/2833 digits
- ast-db-manage: Remove duplicate enum creation
- security_agreement.c: Always add the Require and Proxy-Require headers
- logger.h: Include SCOPE_CALL_WITH_INT_RESULT() in non-dev-mode builds.
- stasis_channels: Use uniqueid and name to delete old snapshots
- app_voicemail_odbc: Allow audio to be kept on disk
- app_queue: Add option to not log Restricted Caller ID to queue_log
- pbx.c: expand fields width of "core show hints"
- pjsip: Add PJSIP_PARSE_URI_FROM dialplan function.
- manager.c: Properly terminate `CoreShowChannelMap` event.
- xml.c: Update deprecated libxml2 API usage.
- cdr_pgsql: Fix crash when the module fails to load multiple times.
- asterisk.c: Don't log an error if .asterisk_history does not exist.
- chan_ooh323: Fix R/0 typo in docs
- bundled_pjproject: Disable UPnP support.
- file.h: Rename function argument to avoid C++ keyword clash.
- rtp_engine: add support for multirate RFC2833 digits
### Commit Details:
#### res_pjsip_path.c: Fix path when dialing using PJSIP_DIAL_CONTACTS()
Author: Igor Goncharovsky
Date: 2024-05-12
When using the PJSIP_DIAL_CONTACTS() function for use in the Dial()
command, the contacts are returned in text form, so the input to
the path_outgoing_request() function is a contact value of NULL.
The issue was reported in ASTERISK-28211, but was not actually fixed
in ASTERISK-30100. This fix brings back the code that was previously
removed and adds code to search for a contact to extract the path
value from it.
#### res_pjsip_sdp_rtp: Add support for default/mismatched 8K RFC 4733/2833 digits
Author: Mike Bradeen
Date: 2024-06-21
After change made in 624f509 to add support for non 8K RFC 4733/2833 digits,
Asterisk would only accept RFC 4733/2833 offers that matched the sample rate of
the negotiated codec(s).
This change allows Asterisk to accept 8K RFC 4733/2833 offers if the UAC
offfers 8K RFC 4733/2833 but negotiates for a non 8K bitrate codec.
A number of corresponding tests in tests/channels/pjsip/dtmf_sdp also needed to
be re-written to allow for these scenarios.
Fixes: #776
#### ast-db-manage: Remove duplicate enum creation
Author: George Joseph
Date: 2024-07-08
Remove duplicate creation of ast_bool_values from
2b7c507d7d12_add_queue_log_option_log_restricted_.py. This was
causing alembic upgrades to fail since the enum was already created
in fe6592859b85_fix_mwi_subscribe_replaces_.py back in 2018.
Resolves: #797
#### security_agreement.c: Always add the Require and Proxy-Require headers
Author: George Joseph
Date: 2024-07-03
The `Require: mediasec` and `Proxy-Require: mediasec` headers need
to be sent whenever we send `Security-Client` or `Security-Verify`
headers but the logic to do that was only in add_security_headers()
in res_pjsip_outbound_register. So while we were sending them on
REGISTER requests, we weren't sending them on INVITE requests.
This commit moves the logic to send the two headers out of
res_pjsip_outbound_register:add_security_headers() and into
security_agreement:ast_sip_add_security_headers(). This way
they're always sent when we send `Security-Client` or
`Security-Verify`.
Resolves: #789
#### logger.h: Include SCOPE_CALL_WITH_INT_RESULT() in non-dev-mode builds.
Author: Sean Bright
Date: 2024-06-29
Fixes #785
#### stasis_channels: Use uniqueid and name to delete old snapshots
Author: George Joseph
Date: 2024-05-08
Whenver a new channel snapshot is created or when a channel is
destroyed, we need to delete any existing channel snapshot from
the snapshot cache. Historically, we used the channel->snapshot
pointer to delete any existing snapshots but this has two issues.
First, if something (possibly ast_channel_internal_swap_snapshots)
sets channel->snapshot to NULL while there's still a snapshot in
the cache, we wouldn't be able to delete it and it would be orphaned
when the channel is destroyed. Since we use the cache to list
channels from the CLI, AMI and ARI, it would appear as though the
channel was still there when it wasn't.
Second, since there are actually two caches, one indexed by the
channel's uniqueid, and another indexed by the channel's name,
deleting from the caches by pointer requires a sequential search of
all of the hash table buckets in BOTH caches to find the matching
snapshots. Not very efficient.
So, we now delete from the caches using the channel's uniqueid
and name. This solves both issues.
This doesn't address how channel->snapshot might have been set
to NULL in the first place because although we have concrete
evidence that it's happening, we haven't been able to reproduce it.
Resolves: #783
#### app_voicemail_odbc: Allow audio to be kept on disk
Author: George Joseph
Date: 2024-04-09
This commit adds a new voicemail.conf option 'odbc_audio_on_disk'
which when set causes the ODBC variant of app_voicemail to leave
the message and greeting audio files on disk and only store the
message metadata in the database. This option came from a concern
that the database could grow to large and cause remote access
and/or replication to become slow. In a clustering situation
with this option, all asterisk instances would share the same
database for the metadata and either use a shared filesystem
or other filesystem replication service much more suitable
for synchronizing files.
The changes to app_voicemail to implement this feature were actually
quite small but due to the complexity of the module, the actual
source code changes were greater. They fall into the following
categories:
* Tracing. The module is so complex that it was impossible to
figure out the path taken for various scenarios without the addition
of many SCOPE_ENTER, SCOPE_EXIT and ast_trace statements, even in
code that's not related to the functional change. Making this worse
was the fact that many "if" statements in this module didn't use
braces. Since the tracing macros add multiple statements, many "if"
statements had to be converted to use braces.
* Excessive use of PATH_MAX. Previous maintainers of this module
used PATH_MAX to allocate character arrays for filesystem paths
and SQL statements as though they cost nothing. In fact, PATH_MAX
is defined as 4096 bytes! Some functions had (and still have)
multiples of these. One function has 7. Given that the vast
majority of installations use the default spool directory path
`/var/spool/asterisk/voicemail`, the actual path length is usually
less than 80 bytes. That's over 4000 bytes wasted. It was the
same for SQL statement buffers. A 4K buffer for statement that
only needed 60 bytes. All of these PATH_MAX allocations in the
ODBC related code were changed to dynamically allocated buffers.
The rest will have to be addressed separately.
* Bug fixes. During the development of this feature, several
pre-existing ODBC related bugs were discovered and fixed. They
had to do with leaving orphaned files on disk, not preserving
original message ids when moving messages between folders,
not honoring the "formats" config parameter in certain circumstances,
etc.
UserNote: This commit adds a new voicemail.conf option
'odbc_audio_on_disk' which when set causes the ODBC variant of
app_voicemail_odbc to leave the message and greeting audio files
on disk and only store the message metadata in the database.
Much more information can be found in the voicemail.conf.sample
file.
#### bridge_basic.c: Make sure that ast_bridge_channel is not destroyed while itera..
Author: Tinet-mucw
Date: 2024-06-13
Resolves: https://github.com/asterisk/asterisk/issues/768
#### app_queue: Add option to not log Restricted Caller ID to queue_log
Author: Alexei Gradinari
Date: 2024-06-12
Add a queue option log-restricted-caller-id to strip the Caller ID when storing the ENTERQUEUE event
in the queue log if the Caller ID is restricted.
Resolves: #765
UpgradeNote: Add a new column to the queues table:
queue_log_option_log_restricted ENUM('0','1','off','on','false','true','no','yes')
to control whether the Restricted Caller ID will be stored in the queue log.
UserNote: Add a Queue option log-restricted-caller-id to control whether the Restricted Caller ID
will be stored in the queue log.
If log-restricted-caller-id=no then the Caller ID will be stripped if the Caller ID is restricted.
#### pbx.c: expand fields width of "core show hints"
Author: Alexei Gradinari
Date: 2024-06-13
The current width for "extension" is 20 and "device state id" is 20, which is too small.
The "extension" field contains "ext"@"context", so 20 characters is not enough.
The "device state id" field, for example for Queue pause state contains Queue:"queue_name"_pause_PSJIP/"endpoint", so the 20 characters is not enough.
Increase the width of "extension" field to 30 characters and the width of the "device state id" field to 60 characters.
Resolves: #770
UserNote: The fields width of "core show hints" were increased.
The width of "extension" field to 30 characters and
the width of the "device state id" field to 60 characters.
#### pjsip: Add PJSIP_PARSE_URI_FROM dialplan function.
Author: Sean Bright
Date: 2024-06-02
Various SIP headers permit a URI to be prefaced with a `display-name`
production that can include characters (like commas and parentheses)
that are problematic for Asterisk's dialplan parser and, specifically
in the case of this patch, the PJSIP_PARSE_URI function.
This patch introduces a new function - `PJSIP_PARSE_URI_FROM` - that
behaves identically to `PJSIP_PARSE_URI` except that the first
argument is now a variable name and not a literal URI.
Fixes #756
#### manager.c: Properly terminate `CoreShowChannelMap` event.
Author: Sean Bright
Date: 2024-06-10
Fixes #761
#### xml.c: Update deprecated libxml2 API usage.
Author: Sean Bright
Date: 2024-05-23
Two functions are deprecated as of libxml2 2.12:
* xmlSubstituteEntitiesDefault
* xmlParseMemory
So we update those with supported API.
Additionally, `res_calendar_caldav` has been updated to use libxml2's
xmlreader API instead of the SAX2 API which has always felt a little
hacky (see deleted comment block in `res_calendar_caldav.c`).
The xmlreader API has been around since libxml2 2.5.0 which was
released in 2003.
Fixes #725
#### cdr_pgsql: Fix crash when the module fails to load multiple times.
Author: chrsmj
Date: 2024-05-16
Missing or corrupt cdr_pgsql.conf configuration file can cause the
second attempt to load the PostgreSQL CDR module to crash Asterisk via
the Command Line Interface because a null CLI command is registered on
the first failed attempt to load the module.
Resolves: #736
#### asterisk.c: Don't log an error if .asterisk_history does not exist.
Author: Sean Bright
Date: 2024-05-27
Fixes #751
#### chan_ooh323: Fix R/0 typo in docs
Author: Walter Doekes
Date: 2024-05-27
#### bundled_pjproject: Disable UPnP support.
Author: Sean Bright
Date: 2024-05-24
Fixes #747
#### file.h: Rename function argument to avoid C++ keyword clash.
Author: Sean Bright
Date: 2024-05-24
Fixes #744
#### rtp_engine: add support for multirate RFC2833 digits
Author: Mike Bradeen
Date: 2024-04-08
Add RFC2833 DTMF support for 16K, 24K, and 32K bitrate codecs.
Asterisk currently treats RFC2833 Digits as a single rtp payload type
with a fixed bitrate of 8K. This change would expand that to 8, 16,
24 and 32K.
This requires checking the offered rtp types for any of these bitrates
and then adding an offer for each (if configured for RFC2833.) DTMF
generation must also be changed in order to look at the current outbound
codec in order to generate appropriately timed rtp.
For cases where no outgoing audio has yet been sent prior to digit
generation, Asterisk now has a concept of a 'preferred' codec based on
offer order.
On inbound calls Asterisk will mimic the payload types of the RFC2833
digits.
On outbound calls Asterisk will choose the next free payload types starting
with 101.
UserNote: No change in configuration is required in order to enable this
feature. Endpoints configured to use RFC2833 will automatically have this
enabled. If the endpoint does not support this, it should not include it in
the SDP offer/response.
Resolves: #699
Update to Asterisk 18.23.1.
## Change Log for Release asterisk-18.23.1
### Summary:
- Commits: 1
- Commit Authors: 1
- Issues Resolved: 0
- Security Advisories Resolved: 1
- [GHSA-qqxj-v78h-hrf9](https://github.com/asterisk/asterisk/security/advisories/GHSA-qqxj-v78h-hrf9): res_pjsip_endpoint_identifier_ip: wrongly matches ALL unauthorized SIP requests
### Closed Issues:
- !GHSA-qqxj-v78h-hrf9: res_pjsip_endpoint_identifier_ip: wrongly matches ALL unauthorized SIP requests
### Commits By Author:
- ### George Joseph (1):
- Revert "res_pjsip_endpoint_identifier_ip: Add endpoint identifier transport ad..
-----
## Change Log for Release asterisk-18.23.0
### Summary:
- Commits: 44
- Commit Authors: 15
- Issues Resolved: 26
- Security Advisories Resolved: 0
### User Notes:
- #### res_pjsip_logger: Preserve logging state on reloads.
Issuing "pjsip reload" will no longer disable
logging if it was previously enabled from the CLI.
- #### loader.c: Allow dependent modules to be unloaded recursively.
In certain circumstances, modules with dependency relations
can have their dependents automatically recursively unloaded and loaded
again using the "module refresh" CLI command or the ModuleLoad AMI command.
- #### tcptls/iostream: Add support for setting SNI on client TLS connections
Secure websocket client connections now send SNI in
the TLS client hello.
- #### res_pjsip_endpoint_identifier_ip: Add endpoint identifier transport address.
set identify_by=transport for the pjsip endpoint. Then
use the existing 'match' option and the new 'transport' option of
the identify.
Fixes: #672
- #### res_pjsip_endpoint_identifier_ip: Endpoint identifier request URI
this new feature let users match endpoints based on the
indound SIP requests' URI. To do so, add 'request_uri' to the
endpoint's 'identify_by' option. The 'match_request_uri' option of
the identify can be an exact match for the entire request uri, or a
regular expression (between slashes). It's quite similar to the
header identifer.
Fixes: #599
- #### res_pjsip_refer.c: Allow GET_TRANSFERRER_DATA
the GET_TRANSFERRER_DATA dialplan variable can now be used also in pjsip.
- #### manager.c: Add new parameter 'PreDialGoSub' to Originate AMI action
When using the Originate AMI Action, we now can pass the PreDialGoSub
parameter, instructing the asterisk to perform an subrouting at
channel before call start. With this parameter an call initiated
by AMI can request the channel to start the call automaticaly,
adding a SIP header to using GoSUB, instructing to autoanswer
the channel, and proceeding the outbuound extension executing.
Exemple of an context to perform the previus indication:
[addautoanswer]
exten => _s,1,Set(PJSIP_HEADER(add,Call-Info)=answer-after=0)
exten => _s,n,Set(PJSIP_HEADER(add,Alert-Info)=answer-after=0)
exten => _s,n,Return()
- #### manager.c: Add CLI command to kick AMI sessions.
The "manager kick session" CLI command now
allows kicking a specified AMI session.
- #### chan_dahdi: Allow specifying waitfordialtone per call.
"waitfordialtone" may now be specified for DAHDI
trunk channels on a per-call basis using the CHANNEL function.
- #### Upgrade bundled pjproject to 2.14.1
Bundled pjproject has been upgraded to 2.14.1. For more
information visit pjproject Github page: https://github.com/pjsip/pjproject/releases/tag/2.14.1
### Upgrade Notes:
- #### pbx_variables.c: Prevent SEGV due to stack overflow.
The maximum amount of dialplan recursion
using variable substitution (such as by using EVAL_EXTEN)
is capped at 15.
## Issue and Commit Detail:
### Closed Issues:
- 246: [bug]: res_pjsip_logger: Reload disables logging
- 472: [new-feature]: chan_dahdi: Allow waitfordialtone to be specified per call
- 474: [new-feature]: loader.c: Allow dependent modules to be unloaded automatically
- 480: [improvement]: pbx_variables.c: Prevent infinite recursion and stack overflow with variable expansion
- 485: [new-feature]: manager.c: Allow kicking specific manager sessions
- 525: [bug]: say.c: Money announcements off by one cent due to floating point rounding
- 579: [improvement]: Allow GET_TRANSFERRER_DATA for pjsip
- 599: [improvement]: Endpoint identifier request line
- 611: [bug]: res_pjsip_session: Polling on non-existing file descriptors when stream is removed
- 624: [bug]: Park() application does not continue execution if lot is full
- 642: [bug]: Prometheus bridge metrics contains duplicate entries and help
- 666: [improvement]: ARI debug should contain endpoint and method
- 669: [bug]: chan_dahdi: Tens or hundreds of thousands of channel opens attempted during restart
- 672: [improvement]: Endpoint identifier transport
- 673: [new-feature]: chan_dahdi: Add AMI action to show spans
- 676: [bug]: res_stir_shaken implicit declaration of function errors/warnings
- 681: [new-feature]: callerid.c: Parse all received parameters
- 683: [improvement]: func_callerid: Warn if invalid redirecting reason is set
- 689: [bug] Document the `Events` argument of the `Login` AMI action
- 696: [bug]: Unexpected control subclass '14'
- 713: [bug]: SNI isn't being set on websocket client connections
- 716: [bug]: Memory leak in res_stir_shaken tn_config, plus a few other issues
- 719: [bug]: segfault on start if compiled with DETECT_DEADLOCKS
- 721: [improvement]: logger: Add unique verbose prefixes for higher verbose levels
- 729: [bug]: Build failure with uclibc-ng
- ASTERISK-29912: res_pjsip: module reload disables logging
### Commits By Author:
- ### Fabrice Fontaine (1):
- res/stasis/control.c: include signal.h
- ### George Joseph (8):
- Fix incorrect application and function documentation references
- res_stir_shaken: Fix compilation for CentOS7 (openssl 1.0.2)
- manager.c: Add missing parameters to Login documentation
- rtp_engine and stun: call ast_register_atexit instead of ast_register_cleanup
- logger.h: Add SCOPE_CALL and SCOPE_CALL_WITH_RESULT
- make_buildopts_h: Always include DETECT_DEADLOCKS
- stir_shaken: Fix memory leak, typo in config, tn canonicalization
- tcptls/iostream: Add support for setting SNI on client TLS connections
- ### Henrik Liljedahl (1):
- res_pjsip_sdp_rtp.c: Initial RTP inactivity check must consider the rtp_timeou..
- ### Holger Hans Peter Freyther (1):
- res_prometheus: Fix duplicate output of metric and help text
- ### Ivan Poddubny (2):
- asterisk.c: Fix sending incorrect messages to systemd notify
- configs: Fix a misleading IPv6 ACL example in Named ACLs
- ### Joshua Elson (1):
- Implement Configurable TCP Keepalive Settings in PJSIP Transports
- ### Martin Nystroem (1):
- res_ari.c: Add additional output to ARI requests when debug is enabled
- ### Martin Tomec (1):
- res_pjsip_refer.c: Allow GET_TRANSFERRER_DATA
- ### Maximilian Fridrich (1):
- res_pjsip_session: Reset pending_media_state->read_callbacks
- ### Naveen Albert (14):
- res_parking: Fail gracefully if parking lot is full.
- chan_dahdi: Allow specifying waitfordialtone per call.
- manager.c: Add CLI command to kick AMI sessions.
- pbx_variables.c: Prevent SEGV due to stack overflow.
- menuselect: Minor cosmetic fixes.
- chan_dahdi: Don't retry opening nonexistent channels on restart.
- chan_dahdi: Add DAHDIShowStatus AMI action.
- func_callerid: Emit warning if invalid redirecting reason set.
- file.c, channel.c: Don't emit warnings if progress received.
- callerid.c: Parse previously ignored Caller ID parameters.
- loader.c: Allow dependent modules to be unloaded recursively.
- say.c: Fix cents off-by-one due to floating point rounding.
- logger: Add unique verbose prefixes for levels 5-10.
- res_pjsip_logger: Preserve logging state on reloads.
- ### Sean Bright (8):
- res_monitor.c: Don't emit a warning about 'X' being unrecognized.
- alembic: Quote new MySQL keyword 'qualify.'
- res_pjsip: Fix alembic downgrade for boolean columns.
- res_config_mysql.c: Support hostnames up to 255 bytes.
- alembic: Fix compatibility with SQLAlchemy 2.0+.
- cli.c: `core show channels concise` is not really deprecated.
- alembic: Correct NULLability of PJSIP id columns.
- app_queue.c: Properly handle invalid strategies from realtime.
- ### Sperl Viktor (2):
- res_pjsip_endpoint_identifier_ip: Endpoint identifier request URI
- res_pjsip_endpoint_identifier_ip: Add endpoint identifier transport address.
- ### Spiridonov Dmitry (1):
- sorcery.c: Fixed crash error when executing "module reload"
- ### Stanislav Abramenkov (1):
- Upgrade bundled pjproject to 2.14.1
- ### jonatascalebe (1):
- manager.c: Add new parameter 'PreDialGoSub' to Originate AMI action
### Commit List:
- configs: Fix a misleading IPv6 ACL example in Named ACLs
- asterisk.c: Fix sending incorrect messages to systemd notify
- res/stasis/control.c: include signal.h
- res_pjsip_logger: Preserve logging state on reloads.
- logger: Add unique verbose prefixes for levels 5-10.
- say.c: Fix cents off-by-one due to floating point rounding.
- loader.c: Allow dependent modules to be unloaded recursively.
- tcptls/iostream: Add support for setting SNI on client TLS connections
- stir_shaken: Fix memory leak, typo in config, tn canonicalization
- make_buildopts_h: Always include DETECT_DEADLOCKS
- sorcery.c: Fixed crash error when executing "module reload"
- callerid.c: Parse previously ignored Caller ID parameters.
- logger.h: Add SCOPE_CALL and SCOPE_CALL_WITH_RESULT
- app_queue.c: Properly handle invalid strategies from realtime.
- file.c, channel.c: Don't emit warnings if progress received.
- alembic: Correct NULLability of PJSIP id columns.
- rtp_engine and stun: call ast_register_atexit instead of ast_register_cleanup
- manager.c: Add missing parameters to Login documentation
- func_callerid: Emit warning if invalid redirecting reason set.
- chan_dahdi: Add DAHDIShowStatus AMI action.
- res_pjsip_endpoint_identifier_ip: Add endpoint identifier transport address.
- res_stir_shaken: Fix compilation for CentOS7 (openssl 1.0.2)
- Fix incorrect application and function documentation references
- cli.c: `core show channels concise` is not really deprecated.
- res_pjsip_endpoint_identifier_ip: Endpoint identifier request URI
- Implement Configurable TCP Keepalive Settings in PJSIP Transports
- chan_dahdi: Don't retry opening nonexistent channels on restart.
- res_pjsip_refer.c: Allow GET_TRANSFERRER_DATA
- res_ari.c: Add additional output to ARI requests when debug is enabled
- alembic: Fix compatibility with SQLAlchemy 2.0+.
- manager.c: Add new parameter 'PreDialGoSub' to Originate AMI action
- menuselect: Minor cosmetic fixes.
- pbx_variables.c: Prevent SEGV due to stack overflow.
- res_prometheus: Fix duplicate output of metric and help text
- manager.c: Add CLI command to kick AMI sessions.
- chan_dahdi: Allow specifying waitfordialtone per call.
- res_parking: Fail gracefully if parking lot is full.
- res_config_mysql.c: Support hostnames up to 255 bytes.
- res_pjsip: Fix alembic downgrade for boolean columns.
- Upgrade bundled pjproject to 2.14.1
- alembic: Quote new MySQL keyword 'qualify.'
- res_pjsip_session: Reset pending_media_state->read_callbacks
- res_monitor.c: Don't emit a warning about 'X' being unrecognized.
### Commit Details:
#### configs: Fix a misleading IPv6 ACL example in Named ACLs
Author: Ivan Poddubny
Date: 2024-05-05
"deny=::" is equivalent to "::/128".
In order to mean "deny everything by default" it must be "::/0".
#### asterisk.c: Fix sending incorrect messages to systemd notify
Author: Ivan Poddubny
Date: 2024-05-05
Send "RELOADING=1" instead of "RELOAD=1" to follow the format
expected by systemd (see sd_notify(3) man page).
Do not send STOPPING=1 in remote console mode:
attempting to execute "asterisk -rx" by the main process leads to
a warning if NotifyAccess=main (the default) or to a forced termination
if NotifyAccess=all.
#### res/stasis/control.c: include signal.h
Author: Fabrice Fontaine
Date: 2024-05-01
Include signal.h to avoid the following build failure with uclibc-ng
raised since
https://github.com/asterisk/asterisk/commit/2694792e13c7f3ab1911c4a69fba0df32c544177:
stasis/control.c: In function 'exec_command_on_condition':
stasis/control.c:313:3: warning: implicit declaration of function 'pthread_kill'; did you mean 'pthread_yield'? [-Wimplicit-function-declaration]
313 | pthread_kill(control->control_thread, SIGURG);
| ^~~~~~~~~~~~
| pthread_yield
stasis/control.c:313:41: error: 'SIGURG' undeclared (first use in this function)
313 | pthread_kill(control->control_thread, SIGURG);
| ^~~~~~
cherry-pick-to: 18
cherry-pick-to: 20
cherry-pick-to: 21
Fixes: #729
#### res_pjsip_logger: Preserve logging state on reloads.
Author: Naveen Albert
Date: 2023-08-09
Currently, reloading res_pjsip will cause logging
to be disabled. This is because logging can also
be controlled via the debug option in pjsip.conf
and this defaults to "no".
To improve this, logging is no longer disabled on
reloads if logging had not been previously
enabled using the debug option from the config.
This ensures that logging enabled from the CLI
will persist through a reload.
ASTERISK-29912 #close
Resolves: #246
UserNote: Issuing "pjsip reload" will no longer disable
logging if it was previously enabled from the CLI.
#### logger: Add unique verbose prefixes for levels 5-10.
Author: Naveen Albert
Date: 2024-04-27
Add unique verbose prefixes for levels higher than 4, so
that these can be visually differentiated from each other.
Resolves: #721
#### say.c: Fix cents off-by-one due to floating point rounding.
Author: Naveen Albert
Date: 2024-01-10
Some of the money announcements can be off by one cent,
due to the use of floating point in the money calculations,
which is bad for obvious reasons.
This replaces floating point with simple string parsing
to ensure the cents value is converted accurately.
Resolves: #525
#### loader.c: Allow dependent modules to be unloaded recursively.
Author: Naveen Albert
Date: 2023-12-02
Because of the (often recursive) nature of module dependencies in
Asterisk, hot swapping a module on the fly is cumbersome if a module
is depended on by other modules. Currently, dependencies must be
popped manually by unloading dependents, unloading the module of
interest, and then loading modules again in reverse order.
To make this easier, the ability to do this recursively in certain
circumstances has been added, as an optional extension to the
"module refresh" command. If requested, Asterisk will check if a module
that has a positive usecount could be unloaded safely if anything
recursively dependent on it were unloaded. If so, it will go ahead
and unload all these modules and load them back again. This makes
hot swapping modules that provide dependencies much easier.
Resolves: #474
UserNote: In certain circumstances, modules with dependency relations
can have their dependents automatically recursively unloaded and loaded
again using the "module refresh" CLI command or the ModuleLoad AMI command.
#### res_pjsip_sdp_rtp.c: Initial RTP inactivity check must consider the rtp_timeou..
Author: Henrik Liljedahl
Date: 2024-04-11
First rtp activity check was performed after 500ms regardless of the rtp_timeout setting. Having a call in ringing state for more than rtp_timeout and the first rtp package is received more than 500ms after sdp negotiation and before the rtp_timeout, erronously caused the call to be hungup. Changed to perform the first rtp inactivity check after the timeout setting preventing calls to be disconnected before the rtp_timeout has elapsed since sdp negotiation.
Fixes #710
#### tcptls/iostream: Add support for setting SNI on client TLS connections
Author: George Joseph
Date: 2024-04-23
If the hostname field of the ast_tcptls_session_args structure is
set (which it is for websocket client connections), that hostname
will now automatically be used in an SNI TLS extension in the client
hello.
Resolves: #713
UserNote: Secure websocket client connections now send SNI in
the TLS client hello.
#### stir_shaken: Fix memory leak, typo in config, tn canonicalization
Author: George Joseph
Date: 2024-04-25
* Fixed possible memory leak in tn_config:tn_get_etn() where we
weren't releasing etn if tn or eprofile were null.
* We now canonicalize TNs before using them for lookups or adding
them to Identity headers.
* Fixed a typo in stir_shaken.conf.sample.
Resolves: #716
#### make_buildopts_h: Always include DETECT_DEADLOCKS
Author: George Joseph
Date: 2024-04-27
Since DETECT_DEADLOCKS is now split from DEBUG_THREADS, it must
always be included in buildopts.h instead of only when
ADD_CFLAGS_TO_BUILDOPTS_H is defined. A SEGV will result otherwise.
Resolves: #719
#### sorcery.c: Fixed crash error when executing "module reload"
Author: Spiridonov Dmitry
Date: 2024-04-14
Fixed crash error when cli "module reload". The error appears when
compiling with res_prometheus and using the sorcery memory cache for
registrations
#### callerid.c: Parse previously ignored Caller ID parameters.
Author: Naveen Albert
Date: 2024-04-01
Commit f2f397c1a8cc48913434ebb297f0ff50d96993db previously
made it possible to send Caller ID parameters to FXS stations
which, prior to that, could not be sent.
This change is complementary in that we now handle receiving
all these parameters on FXO lines and provide these up to
the dialplan, via chan_dahdi. In particular:
* If a redirecting reason is provided, the channel's redirecting
reason is set. No redirecting number is set, since there is
no parameter for this in the Caller ID protocol, but the reason
can be checked to determine if and why a call was forwarded.
* If the Call Qualifier parameter is received, the Call Qualifier
variable is set.
* Some comments have been added to explain why some of the code
is the way it is, to assist other people looking at it.
With this change, Asterisk's Caller ID implementation is now
reasonably complete for both FXS and FXO operation.
Resolves: #681
#### logger.h: Add SCOPE_CALL and SCOPE_CALL_WITH_RESULT
Author: George Joseph
Date: 2024-04-09
If you're tracing a large function that may call another function
multiple times in different circumstances, it can be difficult to
see from the trace output exactly which location that function
was called from. There's no good way to automatically determine
the calling location. SCOPE_CALL and SCOPE_CALL_WITH_RESULT
simply print out a trace line before and after the call.
The difference between SCOPE_CALL and SCOPE_CALL_WITH_RESULT is
that SCOPE_CALL ignores the function's return value (if any) where
SCOPE_CALL_WITH_RESULT allows you to specify the type of the
function's return value so it can be assigned to a variable.
SCOPE_CALL_WITH_INT_RESULT is just a wrapper for SCOPE_CALL_WITH_RESULT
and the "int" return type.
#### app_queue.c: Properly handle invalid strategies from realtime.
Author: Sean Bright
Date: 2024-04-13
The existing code sets the queue strategy to `ringall` but it is then
immediately overwritten with an invalid one.
Fixes #707
#### file.c, channel.c: Don't emit warnings if progress received.
Author: Naveen Albert
Date: 2024-04-09
Silently ignore AST_CONTROL_PROGRESS where appropriate,
as most control frames already are.
Resolves: #696
#### alembic: Correct NULLability of PJSIP id columns.
Author: Sean Bright
Date: 2024-04-06
Fixes #695
#### rtp_engine and stun: call ast_register_atexit instead of ast_register_cleanup
Author: George Joseph
Date: 2024-04-02
rtp_engine.c and stun.c were calling ast_register_cleanup which
is skipped if any loadable module can't be cleanly unloaded
when asterisk shuts down. Since this will always be the case,
their cleanup functions never get run. In a practical sense
this makes no difference since asterisk is shutting down but if
you're in development mode and trying to use the leak sanitizer,
the leaks from both of those modules clutter up the output.
#### manager.c: Add missing parameters to Login documentation
Author: George Joseph
Date: 2024-04-03
* Added the AuthType and Key parameters for MD5 authentication.
* Added the Events parameter.
Resolves: #689
#### func_callerid: Emit warning if invalid redirecting reason set.
Author: Naveen Albert
Date: 2024-04-01
Emit a warning if REDIRECTING(reason) is set to an invalid
reason, consistent with what happens when
REDIRECTING(orig-reason) is set to an invalid reason.
Resolves: #683
#### chan_dahdi: Add DAHDIShowStatus AMI action.
Author: Naveen Albert
Date: 2024-03-29
* Add an AMI action to correspond to the "dahdi show status"
command, allowing span information to be retrieved via AMI.
* Show span number and sig type in "dahdi show channels".
Resolves: #673
#### res_pjsip_endpoint_identifier_ip: Add endpoint identifier transport address.
Author: Sperl Viktor
Date: 2024-03-28
Add a new identify_by option to res_pjsip_endpoint_identifier_ip
called 'transport' this matches endpoints based on the bound
ip address (local) instead of the 'ip' option, which matches on
the source ip address (remote).
UserNote: set identify_by=transport for the pjsip endpoint. Then
use the existing 'match' option and the new 'transport' option of
the identify.
Fixes: #672
#### res_stir_shaken: Fix compilation for CentOS7 (openssl 1.0.2)
Author: George Joseph
Date: 2024-04-01
* OpenSSL 1.0.2 doesn't support X509_get0_pubkey so we now use
X509_get_pubkey. The difference is that X509_get_pubkey requires
the caller to free the EVP_PKEY themselves so we now let
RAII_VAR do that.
* OpenSSL 1.0.2 doesn't support upreffing an X509_STORE so we now
wrap it in an ao2 object.
* OpenSSL 1.0.2 doesn't support X509_STORE_get0_objects to get all
the certs from an X509_STORE and there's no easy way to polyfill
it so the CLI commands that list profiles will show a "not
supported" message instead of listing the certs in a store.
Resolves: #676
#### Fix incorrect application and function documentation references
Author: George Joseph
Date: 2024-04-01
There were a few references in the embedded documentation XML
where the case didn't match or where the referenced app or function
simply didn't exist any more. These were causing 404 responses
in docs.asterisk.org.
#### cli.c: `core show channels concise` is not really deprecated.
Author: Sean Bright
Date: 2024-04-01
Fixes #675
#### res_pjsip_endpoint_identifier_ip: Endpoint identifier request URI
Author: Sperl Viktor
Date: 2024-03-28
Add ability to match against PJSIP request URI.
UserNote: this new feature let users match endpoints based on the
indound SIP requests' URI. To do so, add 'request_uri' to the
endpoint's 'identify_by' option. The 'match_request_uri' option of
the identify can be an exact match for the entire request uri, or a
regular expression (between slashes). It's quite similar to the
header identifer.
Fixes: #599
#### Implement Configurable TCP Keepalive Settings in PJSIP Transports
Author: Joshua Elson
Date: 2024-03-18
This commit introduces configurable TCP keepalive settings for
both TCP and TLS transports. The changes allow for finer control
over TCP connection keepalives, enhancing stability and reliability
in environments prone to connection timeouts or where intermediate
devices may prematurely close idle connections. This has proven
necessary and has already been tested in production in several
specialized environments where access to the underlying transport
is unreliable in ways invisible to the operating system directly,
so these keepalive and timeout mechanisms are necessary.
Fixes #657
#### chan_dahdi: Don't retry opening nonexistent channels on restart.
Author: Naveen Albert
Date: 2024-03-26
Commit 729cb1d390b136ccc696430aa5c68d60ea4028be added logic to retry
opening DAHDI channels on "dahdi restart" if they failed initially,
up to 1,000 times in a loop, to address cases where the channel was
still in use. However, this retry loop does not use the actual error,
which means chan_dahdi will also retry opening nonexistent channels
1,000 times per channel, causing a flood of unnecessary warning logs
for an operation that will never succeed, with tens or hundreds of
thousands of open attempts being made.
The original patch would have been more targeted if it only retried
on the specific relevant error (likely EBUSY, although it's hard to
say since the original issue is no longer available).
To avoid the problem above while avoiding the possibility of breakage,
this skips the retry logic if the error is ENXIO (No such device or
address), since this will never succeed.
Resolves: #669
#### res_pjsip_refer.c: Allow GET_TRANSFERRER_DATA
Author: Martin Tomec
Date: 2024-02-06
There was functionality in chan_sip to get REFER headers, with
GET_TRANSFERRER_DATA variable. This commit implements the same
functionality in pjsip, to ease transfer from chan_sip to pjsip.
Fixes: #579
UserNote: the GET_TRANSFERRER_DATA dialplan variable can now be used also in pjsip.
#### res_ari.c: Add additional output to ARI requests when debug is enabled
Author: Martin Nystroem
Date: 2024-03-22
When ARI debug is enabled the logs will now output http method and the uri.
Fixes: #666
#### alembic: Fix compatibility with SQLAlchemy 2.0+.
Author: Sean Bright
Date: 2024-03-20
SQLAlchemy 2.0 changed the way that commits/rollbacks are handled
causing the final `UPDATE` to our `alembic_version_<whatever>` tables
to be rolled back instead of committed.
We now use one connection to determine which
`alembic_version_<whatever>` table to use and another to run the
actual migrations. This prevents the erroneous rollback.
This change is compatible with both SQLAlchemy 1.4 and 2.0.
#### manager.c: Add new parameter 'PreDialGoSub' to Originate AMI action
Author: jonatascalebe
Date: 2024-03-14
manager.c: Add new parameter 'PreDialGoSub' to Originate AMI action
The action originate does not has the ability to run an subroutine
at initial channel, like the Aplication Originate. This update
give this ability for de action originate too.
For example, we can run a routine via Gosub on the channel to
request an automatic answer, so the caller does not need to accept
the call when using the originate command via manager, making
the operation more efficient.
UserNote: When using the Originate AMI Action, we now can pass
the PreDialGoSub parameter, instructing the asterisk to perform
an subrouting at channel before call start. With this parameter
an call initiated by AMI can request the channel to start the
call automaticaly, adding a SIP header to using GoSUB, instructing
to autoanswer the channel, and proceeding the outbuound extension
executing. Exemple of an context to perform the previus indication:
[addautoanswer]
exten => _s,1,Set(PJSIP_HEADER(add,Call-Info)=answer-after=0)
exten => _s,n,Set(PJSIP_HEADER(add,Alert-Info)=answer-after=0)
exten => _s,n,Return()
#### menuselect: Minor cosmetic fixes.
Author: Naveen Albert
Date: 2024-03-21
Improve some of the formatting from
dd3f17c699e320d6d30c94298d8db49573ba28da
(#521).
#### pbx_variables.c: Prevent SEGV due to stack overflow.
Author: Naveen Albert
Date: 2024-03-21
It is possible for dialplan to result in an infinite
recursion of variable substitution, which eventually
leads to stack overflow. If we detect this, abort
substitution and log an error for the user to fix
the broken dialplan.
Resolves: #480
UpgradeNote: The maximum amount of dialplan recursion
using variable substitution (such as by using EVAL_EXTEN)
is capped at 15.
#### res_prometheus: Fix duplicate output of metric and help text
Author: Holger Hans Peter Freyther
Date: 2024-02-24
The prometheus exposition format requires each line to be unique[1].
This is handled by struct prometheus_metric having a list of children
that is managed when registering a metric. In case the scrape callback
is used, it is the responsibility of the implementation to handle this
correctly.
Originally the bridge callback didn't handle NULL snapshots, the crash
fix lead to NULL metrics, and fixing that lead to duplicates.
The original code assumed that snapshots are not NULL and then relied on
"if (i > 0)" to establish the parent/children relationship between
metrics of the same class. This is not workerable as the first bridge
might be invisible/lacks a snapshot.
Fix this by keeping a separate array of the first metric by class.
Instead of relying on the index of the bridge, check whether the array
has an entry. Use that array for the output.
Add a test case that verifies that the help text is not duplicated.
Resolves: #642
[1] https://prometheus.io/docs/instrumenting/exposition_formats/#grouping-and-sorting
#### manager.c: Add CLI command to kick AMI sessions.
Author: Naveen Albert
Date: 2023-12-06
This adds a CLI command that can be used to manually
kick specific AMI sessions.
Resolves: #485
UserNote: The "manager kick session" CLI command now
allows kicking a specified AMI session.
#### chan_dahdi: Allow specifying waitfordialtone per call.
Author: Naveen Albert
Date: 2023-12-02
The existing "waitfordialtone" setting in chan_dahdi.conf
applies permanently to a specific channel, regardless of
how it is being used. This rather restrictively prevents
a system from simultaneously being able to pick free lines
for outgoing calls while also allowing barge-in to a trunk
by some other arrangement.
This allows specifying "waitfordialtone" using the CHANNEL
function for only the next call that will be placed, allowing
significantly more flexibility in the use of trunk interfaces.
Resolves: #472
UserNote: "waitfordialtone" may now be specified for DAHDI
trunk channels on a per-call basis using the CHANNEL function.
#### res_parking: Fail gracefully if parking lot is full.
Author: Naveen Albert
Date: 2024-03-03
Currently, if a parking lot is full, bridge setup returns -1,
causing dialplan execution to terminate without TryExec.
However, such failures should be handled more gracefully,
the same way they are on other paths, as indicated by the
module's author, here:
http://lists.digium.com/pipermail/asterisk-dev/2018-December/077144.html
Now, callers will hear the parking failure announcement, and dialplan
will continue, which is consistent with existing failure modes.
Resolves: #624
#### res_config_mysql.c: Support hostnames up to 255 bytes.
Author: Sean Bright
Date: 2024-03-18
Fixes #654
#### res_pjsip: Fix alembic downgrade for boolean columns.
Author: Sean Bright
Date: 2024-03-18
When downgrading, ensure that we don't touch columns that didn't
actually change during upgrade.
#### Upgrade bundled pjproject to 2.14.1
Author: Stanislav Abramenkov
Date: 2024-03-12
Fixes: asterisk#648
UserNote: Bundled pjproject has been upgraded to 2.14.1. For more
information visit pjproject Github page: https://github.com/pjsip/pjproject/releases/tag/2.14.1
#### alembic: Quote new MySQL keyword 'qualify.'
Author: Sean Bright
Date: 2024-03-15
Fixes #651
#### res_pjsip_session: Reset pending_media_state->read_callbacks
Author: Maximilian Fridrich
Date: 2024-02-15
In handle_negotiated_sdp the pending_media_state->read_callbacks must be
reset before they are added in the SDP handlers in
handle_negotiated_sdp_session_media. Otherwise, old callbacks for
removed streams and file descriptors could be added to the channel and
Asterisk would poll on non-existing file descriptors.
Resolves: #611
#### res_monitor.c: Don't emit a warning about 'X' being unrecognized.
Author: Sean Bright
Date: 2024-03-07
Code was added in 030f7d41 to warn if an unrecognized option was
passed to an application, but code in Monitor was taking advantage of
the fact that the application would silently accept an invalid option.
We now recognize the invalid option but we don't do anything if it's
set.
Fixes #639
Update to Asterisk 18.21.0
pkgsrc changes:
- adapt to various upstream changes
- update for newer version of pjproject
- add unconditional depeendency on SDL
- remove pktccops and mgcp option (has to do with supporting cable headends)
- remove various 64-bit time_t fixes as upstream is finally doing these
[asterisk-announce] asterisk release 18.21.0
The Asterisk Development Team would like to announce
the release of asterisk-18.21.0.
This release resolves issues reported by the community
and would have not been possible without your participation.
Thank You!
Change Log for Release asterisk-18.21.0
========================================
Summary:
----------------------------------------
- logger: Fix linking regression.
- Revert "core & res_pjsip: Improve topology change handling."
- menuselect: Use more specific error message.
- res_pjsip_nat: Fix potential use of uninitialized transport details
- app_if: Fix faulty EndIf branching.
- manager.c: Fix regression due to using wrong free function.
- config_options.c: Fix truncation of option descriptions.
- manager.c: Improve clarity of "manager show connected".
- make_xml_documentation: Really collect LOCAL_MOD_SUBDIRS documentation.
- general: Fix broken links.
- MergeApproved.yml: Remove unneeded concurrency
- app_dial: Add option "j" to preserve initial stream topology of caller
- ast_coredumper: Increase reliability
- logger.c: Move LOG_GROUP documentation to dedicated XML file.
- res_odbc.c: Allow concurrent access to request odbc connections
- res_pjsip_header_funcs.c: Check URI parameter length before copying.
- config.c: Log #exec include failures.
- make_xml_documentation: Properly handle absolute LOCAL_MOD_SUBDIRS.
- app_voicemail.c: Completely resequence mailbox folders.
- sig_analog: Fix channel leak when mwimonitor is enabled.
- res_rtp_asterisk.c: Update for OpenSSL 3+.
- alembic: Update list of TLS methods available on ps_transports.
- func_channel: Expose previously unsettable options.
- app.c: Allow ampersands in playback lists to be escaped.
- uri.c: Simplify ast_uri_make_host_with_port()
- func_curl.c: Remove CURLOPT() plaintext documentation.
- res_http_websocket.c: Set hostname on client for certificate validation.
- live_ast: Add astcachedir to generated asterisk.conf.
- SECURITY.md: Update with correct documentation URL
- func_lock: Add missing see-also refs to documentation.
- app_followme.c: Grab reference on nativeformats before using it
- configs: Improve documentation for bandwidth in iax.conf.
- logger: Add channel-based filtering.
- chan_iax2.c: Don't send unsanitized data to the logger.
- codec_ilbc: Disable system ilbc if version >= 3.0.0
- resource_channels.c: Explicit codec request when creating UnicastRTP.
- doc: Update IP Quality of Service links.
- chan_pjsip: Add PJSIPHangup dialplan app and manager action
- chan_iax2.c: Ensure all IEs are displayed when dumping frame contents.
- chan_dahdi: Warn if nonexistent cadence is requested.
- stasis: Update the snapshot after setting the redirect
- ari: Provide the caller ID RDNIS for the channels
- main/utils: Implement ast_get_tid() for OpenBSD
- res_rtp_asterisk.c: Fix runtime issue with LibreSSL
- app_directory: Add ADSI support to Directory.
- core_local: Fix local channel parsing with slashes.
- Remove files that are no longer updated
- app_voicemail: Add AMI event for mailbox PIN changes.
- app_queue.c: Emit unpause reason with PauseQueueMember event.
- bridge_simple: Suppress unchanged topology change requests
- res_pjsip: Include cipher limit in config error message.
- res_speech: allow speech to translate input channel
- res_rtp_asterisk.c: Fix memory leak in ephemeral certificate creation.
- res_pjsip_dtmf_info.c: Add 'INFO' to Allow header.
- api.wiki.mustache: Fix indentation in generated markdown
- pjsip_configuration.c: Disable DTLS renegotiation if WebRTC is enabled.
- configs: Fix typo in pjsip.conf.sample.
- res_pjsip_exten_state,res_pjsip_mwi: Allow unload on shutdown
- res_pjsip: Expanding PJSIP endpoint ID and relevant resource length to 255 characters
- .github: PRSubmitActions: Fix adding reviewers to PR
- .github: New PR Submit workflows
- .github: New PR Submit workflows
- res_stasis: signal when new command is queued
- ari/stasis: Indicate progress before playback on a bridge
- func_curl.c: Ensure channel is locked when manipulating datastores.
- .github: Fix job prereqs in PROpenedUpdated
- .github: Block PR tests until approved
- logger.h: Add ability to change the prefix on SCOPE_TRACE output
- Add libjwt to third-party
- res_pjsip: update qualify_timeout documentation with DNS note
- chan_dahdi: Clarify scope of callgroup/pickupgroup.
- func_json: Fix crashes for some types
- res_speech_aeap: add aeap error handling
- app_voicemail: Disable ADSI if unavailable.
- codec_builtin: Use multiples of 20 for maximum_ms
- lock.c: Separate DETECT_DEADLOCKS from DEBUG_THREADS
- asterisk.c: Use the euid's home directory to read/write cli history
- res_pjsip_transport_websocket: Prevent transport from being destroyed before message finishes.
- cel: add publish user event helper
- chan_console: Fix deadlock caused by unclean thread exit.
- file.c: Add ability to search custom dir for sounds
- chan_iax2: Improve authentication debugging.
- res_rtp_asterisk: fix wrong counter management in ioqueue objects
- make_buildopts_h, et. al. Allow adding all cflags to buildopts.h
- func_periodic_hook: Add hangup step to avoid timeout
- res_stasis_recording.c: Save recording state when unmuted.
- res_speech_aeap: check for null format on response
- func_periodic_hook: Don't truncate channel name
- safe_asterisk: Change directory permissions to 755
- chan_rtp: Implement RTP glue for UnicastRTP channels
- app_queue: periodic announcement configurable start time.
- variables: Add additional variable dialplan functions.
- Restore CHANGES and UPGRADE.txt to allow cherry-picks to work
User Notes:
----------------------------------------
- ### app_dial: Add option "j" to preserve initial stream topology of caller
The option "j" is now available for the Dial application which
uses the initial stream topology of the caller to create the outgoing
channels.
- ### logger: Add channel-based filtering.
The console log can now be filtered by
channels or groups of channels, using the
logger filter CLI commands.
- ### chan_pjsip: Add PJSIPHangup dialplan app and manager action
A new dialplan app PJSIPHangup and AMI action allows you
to hang up an unanswered incoming PJSIP call with a specific SIP
response code in the 400 -> 699 range.
- ### app_voicemail: Add AMI event for mailbox PIN changes.
The VoicemailPasswordChange event is
now emitted whenever a mailbox password is updated,
containing the mailbox information and the new
password.
Resolves: #398
- ### res_speech: allow speech to translate input channel
res_speech now supports translation of an input channel
to a format supported by the speech provider, provided a translation
path is available between the source format and provider capabilites.
- ### res_pjsip: Expanding PJSIP endpoint ID and relevant resource length to 255 characters
With this update, the PJSIP realm lengths have been extended
to support up to 255 characters.
- ### res_stasis: signal when new command is queued
Call setup times should be significantly improved
when using ARI.
- ### lock.c: Separate DETECT_DEADLOCKS from DEBUG_THREADS
You no longer need to select DEBUG_THREADS to use
DETECT_DEADLOCKS. This removes a significant amount of overhead
if you just want to detect possible deadlocks vs needing full
lock tracing.
- ### file.c: Add ability to search custom dir for sounds
A new option "sounds_search_custom_dir" has been added to
asterisk.conf that allows asterisk to search
AST_DATA_DIR/sounds/custom for sounds files before searching the
standard AST_DATA_DIR/sounds/<lang> directory.
- ### make_buildopts_h, et. al. Allow adding all cflags to buildopts.h
The "Build Options" entry in the "core show settings"
CLI command has been renamed to "ABI related Build Options" and
a new entry named "All Build Options" has been added that shows
both breaking and non-breaking options.
- ### chan_rtp: Implement RTP glue for UnicastRTP channels
The dial string option 'g' was added to the UnicastRTP channel
which enables RTP glue and therefore native RTP bridges with those
channels.
- ### app_queue: periodic announcement configurable start time.
Introduce a new queue configuration option called
'periodic-announce-startdelay' which will vary the normal (historic)
behavior of starting the periodic announcement cycle at
periodic-announce-frequency seconds after entering the queue to start
the periodic announcement cycle at period-announce-startdelay seconds
after joining the queue. The default behavior if this config option is
not set remains unchanged.
Signed-off-by: Jaco Kroon <jaco at uls.co.za>
- ### variables: Add additional variable dialplan functions.
Four new dialplan functions have been added.
GLOBAL_DELETE and DELETE have been added which allows
the deletion of global and channel variables.
GLOBAL_EXISTS and VARIABLE_EXISTS have been added
which checks whether a global or channel variable has
been set.
Upgrade Notes:
----------------------------------------
- ### app.c: Allow ampersands in playback lists to be escaped.
Ampersands in URLs passed to the `Playback()`,
`Background()`, `SpeechBackground()`, `Read()`, `Authenticate()`, or
`Queue()` applications as filename arguments can now be escaped by
single quoting the filename. Additionally, this is also possible when
using the `CONFBRIDGE` dialplan function, or configuring various
features in `confbridge.conf` and `queues.conf`.
- ### pjsip_configuration.c: Disable DTLS renegotiation if WebRTC is enabled.
The dtls_rekey will be disabled if webrtc support is
requested on an endpoint. A warning will also be emitted.
- ### res_pjsip: Expanding PJSIP endpoint ID and relevant resource length to 255 characters
As part of this update, the maximum allowable length
for PJSIP endpoints and relevant resources has been increased from
40 to 255 characters. To take advantage of this enhancement, it is
recommended to run the necessary procedures (e.g., Alembic) to
update your schemas.
[asterisk-announce] asterisk release 18.20.2
The Asterisk Development Team would like to announce
the release of asterisk-18.20.2.
This release resolves issues reported by the community
and would have not been possible without your participation.
Thank You!
Change Log for Release asterisk-18.20.2
========================================
Summary:
----------------------------------------
- res_rtp_asterisk: Fix regression issues with DTLS client check
[asterisk-announce] asterisk release 18.20.1
The Asterisk Development Team would like to announce security release
Asterisk 18.20.1.
The following security advisories were resolved in this release:
- [Path traversal via AMI GetConfig allows access to outside files](https://github.com/asterisk/asterisk/s
ecurity/advisories/GHSA-8857-hfmw-vg8f)
- [Asterisk susceptible to Denial of Service via DTLS Hello packets during call initiation](https://github
.com/asterisk/asterisk/security/advisories/GHSA-hxj9-xwr8-w8pq)
- [PJSIP logging allows attacker to inject fake Asterisk log entries ](https://github.com/asterisk/asteris
k/security/advisories/GHSA-5743-x3p5-3rg7)
- [PJSIP_HEADER dialplan function can overwrite memory/cause crash when using 'update'](https://github.com
/asterisk/asterisk/security/advisories/GHSA-98rc-4j27-74hh)
Change Log for Release asterisk-18.20.1
========================================
Summary:
----------------------------------------
- res_pjsip_header_funcs: Duplicate new header value, don't copy.
- res_pjsip: disable raw bad packet logging
- res_rtp_asterisk.c: Check DTLS packets against ICE candidate list
- manager.c: Prevent path traversal with GetConfig.
[asterisk-announce] asterisk release 18.20.0
The Asterisk Development Team would like to announce
the release of asterisk-18.20.0.
This release resolves issues reported by the community
and would have not been possible without your participation.
Thank You!
Change Log for Release asterisk-18.20.0
========================================
Summary:
----------------------------------------
- ari-stubs: Fix more local anchor references
- ari-stubs: Fix more local anchor references
- ari-stubs: Fix broken documentation anchors
- res_pjsip_session: Send Session Interval too small response
- .github: Update workflow-application-token-action to v2
- app_dial: Fix infinite loop when sending digits.
- app_voicemail: Fix for loop declarations
- alembic: Fix quoting of the 100rel column
- pbx.c: Fix gcc 12 compiler warning.
- app_audiosocket: Fixed timeout with -1 to avoid busy loop.
- download_externals: Fix a few version related issues
- main/refer.c: Fix double free in refer_data_destructor + potential leak
- sig_analog: Add Called Subscriber Held capability.
- app_macro: Fix locking around datastore access
- Revert "app_stack: Print proper exit location for PBXless channels."
- .github: Use generic releaser
- install_prereq: Fix dependency install on aarch64.
- res_pjsip.c: Set contact_user on incoming call local Contact header
- extconfig: Allow explicit DB result set ordering to be disabled.
- rest-api: Run make ari-stubs
- res_pjsip_header_funcs: Make prefix argument optional.
- pjproject_bundled: Increase PJSIP_MAX_MODULE to 38
- manager: Tolerate stasis messages with no channel snapshot.
- core/ari/pjsip: Add refer mechanism
- chan_dahdi: Allow autoreoriginating after hangup.
- audiohook: Unlock channel in mute if no audiohooks present.
- sig_analog: Allow three-way flash to time out to silence.
- res_prometheus: Do not generate broken metrics
- res_pjsip: Enable TLS v1.3 if present.
- func_cut: Add example to documentation.
- extensions.conf.sample: Remove reference to missing context.
- func_export: Use correct function argument as variable name.
- app_queue: Add support for applying caller priority change immediately.
- .github: Fix cherry-pick reminder issues
- chan_iax2.c: Avoid crash with IAX2 switch support.
- res_geolocation: Ensure required 'location_info' is present.
- Adds manager actions to allow move/remove/forward individual
messages in a particular mailbox folder. The forward command can
be used to copy a message within a mailbox or to another mailbox.
Also adds a VoicemailBoxSummarry, required to retrieve message ID's.
- app_voicemail: add CLI commands for message manipulation
- res_rtp_asterisk: Move ast_rtp_rtcp_report_alloc using
`rtp->themssrc_valid` into the scope of the rtp_i nstance lock.
- .github: Minor tweak to Asterisk Releaser
- .github: Suppress cherry-pick reminder for some situations
- sig_analog: Allow immediate fake ring to be suppressed.
User Notes:
----------------------------------------
- ### sig_analog: Add Called Subscriber Held capability.
Called Subscriber Held is now supported for analog
FXS channels, using the calledsubscriberheld option. This allows
a station user to go on hook when receiving an incoming call
and resume from another phone on the same line by going on hook,
without disconnecting the call.
- ### res_pjsip_header_funcs: Make prefix argument optional.
The prefix argument to PJSIP_HEADERS is now
optional. If not specified, all header names will be
returned.
- ### core/ari/pjsip: Add refer mechanism
There is a new ARI endpoint `/endpoints/refer` for referring
an endpoint to some URI or endpoint.
- ### chan_dahdi: Allow autoreoriginating after hangup.
The autoreoriginate setting now allows for kewlstart FXS
channels to automatically reoriginate and provide dial tone to the
user again after all calls on the line have cleared. This saves users
from having to manually hang up and pick up the receiver again before
making another call.
- ### sig_analog: Allow three-way flash to time out to silence.
The threewaysilenthold option now allows the three-way
dial tone to time out to silence, rather than continuing forever.
- ### res_pjsip: Enable TLS v1.3 if present.
res_pjsip now allows TLS v1.3 to be enabled if supported by
the underlying PJSIP library. The bundled version of PJSIP supports
TLS v1.3.
- ### app_queue: Add support for applying caller priority change immediately.
The 'queue priority caller' CLI command and
'QueueChangePriorityCaller' AMI action now have an 'immediate'
argument which allows the caller priority change to be reflected
immediately, causing the position of a caller to move within the
queue depending on the priorities of the other callers.
- ### Adds manager actions to allow move/remove/forward individual
messages in a particular mailbox folder. The forward command
can be used to copy a message within a mailbox or to another
mailbox. Also adds a Vo icemailBoxSummarry, required to retrieve
message ID's.
The following manager actions have been added
VoicemailBoxSummary - Generate message list for a given mailbox
VoicemailRemove - Remove a message from a mailbox folder
VoicemailMove - Move a message from one folder to another within a mailbox
VoicemailForward - Copy a message from one folder in one mailbox
to another folder in another or the same mailbox.
- ### app_voicemail: add CLI commands for message manipulation
The following CLI commands have been added to app_voicemail
voicemail show mailbox <mailbox> <context>
Show contents of mailbox <mailbox>@<context>
voicemail remove <mailbox> <context> <from_folder> <messageid>
Remove message <messageid> from <from_folder> in mailbox <mailbox>@<context>
voicemail move <mailbox> <context> <from_folder> <messageid> <to_folder>
Move message <messageid> in mailbox <mailbox>&<context> from <from_folder> to <to_folder>
voicemail forward <from_mailbox> <from_context> <from_folder>
<messageid> <to_mailbox> <to_context> <to_ folder>
Forward message <messageid> in mailbox <mailbox>@<context> <from_folder> to
mailbox <mailbox>@<context> <to_folder>
- ### sig_analog: Allow immediate fake ring to be suppressed.
The immediatering option can now be set to no to suppress
the fake audible ringback provided when immediate=yes on FXS channels.
[asterisk-announce] Asterisk Release 18.19.0
The Asterisk Development Team would like to announce
the release of Asterisk 18.19.0.
This release resolves issues reported by the community
and would have not been possible without your participation.
Thank You!
Change Log for Release 18.19.0
========================================
Summary:
----------------------------------------
- app.h: Move declaration of ast_getdata_result before its first use
- doc: Remove obsolete CHANGES-staging and UPGRADE-staging
- .github: Updates for AsteriskReleaser
- app_voicemail: fix imap compilation errors
- res_musiconhold: avoid moh state access on unlocked chan
- utils: add lock timestamps for DEBUG_THREADS
- .github: Back out triggering PROpenedOrUpdated by label
- .github: Move publish docs to new file CreateDocs.yml
- rest-api: Updates for new documentation site
- .github: Remove result check from PROpenUpdateGateTests
- .github: Fix use of 'contains'
- .github: Add recheck label test to additional jobs
- .github: Fix recheck label typos
- .github: Fix recheck label manipulation
- .github: Allow PR submit checks to be re-run by label
- app_voicemail_imap: Fix message count when IMAP server is unavailable
- res_pjsip_rfc3326: Prefer Q.850 cause code over SIP.
- res_pjsip_session: Added new function calls to avoid ABI issues.
- app_queue: Add force_longest_waiting_caller option.
- pjsip_transport_events.c: Use %zu printf specifier for size_t.
- res_crypto.c: Gracefully handle potential key filename truncation.
- configure: Remove obsolete and deprecated constructs.
- res_fax_spandsp.c: Clean up a spaces/tabs issue
- ast-db-manage: Synchronize revisions between comments and code.
- test_statis_endpoints: Fix channel_messages test again
- res_crypto.c: Avoid using the non-portable ALLPERMS macro.
- tcptls: when disabling a server port, we should set the accept_fd to -1.
- AMI: Add parking position parameter to Park action
- test_stasis_endpoints.c: Make channel_messages more stable
- build: Fix a few gcc 13 issues
- .github: Rework for merge approval
- ast-db-manage: Fix alembic branching error caused by #122.
- app_followme: fix issue with enable_callee_prompt=no (#88)
- sounds: Update download URL to use HTTPS.
- configure: Makefile downloader enable follow redirects.
- res_musiconhold: Add option to loop last file.
- chan_dahdi: Fix Caller ID presentation for FXO ports.
- AMI: Add CoreShowChannelMap action.
- sig_analog: Add fuller Caller ID support.
- res_stasis.c: Add new type 'sdp_label' for bridge creation.
- app_queue: Preserve reason for realtime queues
- .github: Fix issues with cherry-pick-reminder
- indications: logging changes
- .github Ignore error when adding reviewrs to PR
- .github: Update field descriptions for AsteriskReleaser
- callerid: Allow specifying timezone for date/time.
- chan_pjsip: Allow topology/session refreshes in early media state
- chan_dahdi: Fix broken hidecallerid setting.
- .github: Change title of AsteriskReleaser job
- asterisk.c: Fix option warning for remote console.
- .github: Don't add cherry-pick reminder if it's already present
- .github: Fix quoting in PROpenedOrUpdated
- .github: Add cherry-pick reminder to new PRs
- configure: fix test code to match gethostbyname_r prototype.
- res_pjsip_pubsub.c: Use pjsip version for pending NOTIFY check. (#76)
- res_sorcery_memory_cache.c: Fix memory leak
- xml.c: Process XML Inclusions recursively.
- .github: Tweak improvement issue type language.
- .github: Tweak new feature language, and move feature requests elsewhere.
- .github: Fix staleness check to only run on certain labels.
User Notes:
----------------------------------------
- ### AMI: Add parking position parameter to Park action
New ParkingSpace parameter has been added to AMI action Park.
- ### res_musiconhold: Add option to loop last file.
The loop_last option in musiconhold.conf now
allows the last file in the directory to be looped once reached.
- ### AMI: Add CoreShowChannelMap action.
New AMI action CoreShowChannelMap has been added.
- ### sig_analog: Add fuller Caller ID support.
Additional Caller ID properties are now supported on
incoming calls to FXS stations, namely the
redirecting reason and call qualifier.
- ### res_stasis.c: Add new type 'sdp_label' for bridge creation.
When creating a bridge using the ARI the 'type' argument now
accepts a new value 'sdp_label' which will configure the bridge to add
labels for each stream in the SDP with the corresponding channel id.
- ### app_queue: Preserve reason for realtime queues
Make paused reason in realtime queues persist an
Asterisk restart. This was fixed for non-realtime
queues in ASTERISK_25732.
Upgrade Notes:
----------------------------------------
- ### app_queue: Preserve reason for realtime queues
Add a new column to the queue_member table:
reason_paused VARCHAR(80) so the reason can be preserved.
Closed Issues:
----------------------------------------
- #45: [bug]: Non-bundled PJSIP check for evsub pending NOTIFY check is insufficient/ineffective
- #55: [bug]: res_sorcery_memory_cache: Memory leak when calling sorcery_memory_cache_open
- #64: [bug]: app_voicemail_imap wrong behavior when losing IMAP connection
- #65: [bug]: heap overflow by default at startup
- #66: [improvement]: Fix preserve reason of pause when Asterisk is restared for realtime queues
- #73: [new-feature]: pjsip: Allow topology/session refreshes in early media state
- #87: [bug]: app_followme: Setting enable_callee_prompt=no breaks timeout
- #89: [improvement]: indications: logging changes
- #91: [improvement]: Add parameter on ARI bridge create to allow it to send SDP labels
- #94: [new-feature]: sig_analog: Add full Caller ID support for incoming calls
- #98: [new-feature]: callerid: Allow timezone to be specified at runtime
- #100: [bug]: sig_analog: hidecallerid setting is broken
- #102: [bug]: Strange warning - 'T' option is not compatible with remote console mode and has no effect
.
- #104: [improvement]: Add AMI action to get a list of connected channels
- #108: [new-feature]: fair handling of calls in multi-queue scenarios
- #110: [improvement]: utils - add lock timing information with DEBUG_THREADS
- #116: [bug]: SIP Reason: "Call completed elsewhere" no longer propagating
- #120: [bug]: chan_dahdi: Fix broken presentation for FXO caller ID
- #122: [new-feature]: res_musiconhold: Add looplast option
- #133: [bug]: unlock channel after moh state access
- #136: [bug]: Makefile downloader does not follow redirects.
- #145: [bug]: ABI issue with pjproject and pjsip_inv_session
- #155: [bug]: GCC 13 is catching a few new trivial issues
- #158: [bug]: test_stasis_endpoints.c: Unit test channel_messages is unstable
- #174: [bug]: app_voicemail imap compile errors
- #200: [bug]: Regression: In app.h an enum is used before its declaration.
[asterisk-announce] Asterisk Release 18.18.1
The Asterisk Development Team would like to announce security release
Asterisk 18.18.1.
The following security advisories were resolved in this release:
https://github.com/asterisk/asterisk/security/advisories/GHSA-4xjp-22g4-9fxm
Change Log for Release 18.18.1
========================================
Summary:
----------------------------------------
- apply_patches: Use globbing instead of file/sort.
- apply_patches: Sort patch list before applying
- pjsip: Upgrade bundled version to pjproject 2.13.1
User Notes:
----------------------------------------
- ### res_http_media_cache: Introduce options and customize
The res_http_media_cache module now attempts to load
configuration from the res_http_media_cache.conf file.
The following options were added:
* timeout_secs
* user_agent
* follow_location
* max_redirects
* protocols
* redirect_protocols
* dns_cache_timeout_secs
- ### format_sln: add .slin as supported file extension
format_sln now recognizes '.slin' as a valid
file extension in addition to the existing
'.sln' and '.raw'.
- ### bridge_builtin_features: add beep via touch variable
Add optional touch variable : TOUCH_MIXMONITOR_BEEP(interval)
Setting TOUCH_MIXMONITOR_BEEP/TOUCH_MONITOR_BEEP to a valid
interval in seconds will result in a periodic beep being
played to the monitored channel upon MixMontior/Monitor
feature start.
If an interval less than 5 seconds is specified, the interval
will default to 5 seconds. If the value is set to an invalid
interval, the default of 15 seconds will be used.
- ### app_senddtmf: Add SendFlash AMI action.
The SendFlash AMI action now allows sending
a hook flash event on a channel.
- ### res_mixmonitor: MixMonitorMute by MixMonitor ID
It is now possible to specify the MixMonitorID when calling
the manager action: MixMonitorMute. This will allow an
individual MixMonitor instance to be muted via ID.
The MixMonitorID can be stored as a channel variable using
the 'i' MixMonitor option and is returned upon creation if
this option is used.
As part of this change, if no MixMonitorID is specified in
the manager action MixMonitorMute, Asterisk will set the mute
flag on all MixMonitor audiohooks on the channel. Previous
behavior would set the flag on the first MixMonitor audiohook
found.
- ### pbx_dundi: Add PJSIP support.
DUNDi now supports chan_pjsip. Outgoing calls using
PJSIP require the pjsip_outgoing_endpoint option
to be set in dundi.conf.
- ### test.c: Fix counting of tests and add 2 new tests
The "tests" attribute of the "testsuite" element in the
output XML now reflects only the tests actually requested
to be executed instead of all the tests registered.
The "failures" attribute was added to the "testsuite"
element.
Also added two new unit tests that just pass and fail
to be used for testing CI itself.
- ### cli: increase channel column width
This change increases the display width on 'core show channels'
amd 'core show channels verbose'
For 'core show channels', the Channel name field is increased to
64 characters and the Location name field is increased to 32
characters.
For 'core show channels verbose', the Channel name field is
increased to 80 characters, the Context is increased to 24
characters and the Extension is increased to 24 characters.
Upgrade Notes:
----------------------------------------
Closed Issues:
----------------------------------------
- #193: [bug]: third-party/apply-patches doesn't sort the patch file list before applying
[asterisk-announce] Asterisk Release 18.18.0
The Asterisk Development Team would like to announce
the release of Asterisk 18.18.0.
This release resolves issues reported by the community
and would have not been possible without your participation.
Thank You!
Change Log for Release 18.18.0
========================================
Summary:
----------------------------------------
- Set up new ChangeLogs directory
- .github: Add AsteriskReleaser
- chan_pjsip: also return all codecs on empty re-INVITE for late offers
- cel: add local optimization begin event
- core: Cleanup gerrit and JIRA references. (#40)
- .github: Fix CherryPickTest to only run when it should
- .github: Fix reference to CHERRY_PICK_TESTING_IN_PROGRESS
- .github: Remove separate set labels step from new PR
- .github: Refactor CP progress and add new PR test progress
- res_pjsip: mediasec: Add Security-Client headers after 401
- .github: Add cherry-pick test progress labels
- LICENSE: Update link to trademark policy.
- chan_dahdi: Add dialmode option for FXS lines. (#36)
- .github: Update issue templates
- .github: Remove unnecessary parameter in CherryPickTest
- Initial GitHub PRs
- Initial GitHub Issue Templates
- pbx_dundi: Fix PJSIP endpoint configuration check.
- Revert "app_queue: periodic announcement configurable start time."
- pbx_dundi: Add PJSIP support.
- res_pjsip_stir_shaken: Fix JSON field ordering and disallowed TN characters.
- install_prereq: Add Linux Mint support.
- chan_pjsip: fix music on hold continues after INVITE with replaces
- voicemail.conf: Fix incorrect comment about #include.
- app_queue: Fix minor xmldoc duplication and vagueness.
- test.c: Fix counting of tests and add 2 new tests
- loader.c: Minor module key check simplification.
- ael: Regenerate lexers and parsers.
- res_calendar: output busy state as part of show calendar.
- bridge_builtin_features: add beep via touch variable
- res_mixmonitor: MixMonitorMute by MixMonitor ID
- format_sln: add .slin as supported file extension
- app_queue: periodic announcement configurable start time.
- func_json: Fix JSON parsing issues.
- app_dial: Fix DTMF not relayed to caller on unanswered calls.
- make_version: Strip svn stuff and suppress ref HEAD errors
- configure: fix detection of re-entrant resolver functions
- cli: increase channel column width
- res_agi: RECORD FILE plays 2 beeps.
- app_senddtmf: Add SendFlash AMI action.
- contrib: rc.archlinux.asterisk uses invalid redirect.
- main/iostream.c: fix build with libressl
- res_http_media_cache: Introduce options and customize
User Notes:
----------------------------------------
- ### cel: add local optimization begin event
The new AST_CEL_LOCAL_OPTIMIZE_BEGIN can be used
by itself or in conert with the existing
AST_CEL_LOCAL_OPTIMIZE to book-end local channel optimizaion.
- ### chan_dahdi: Add dialmode option for FXS lines. (#36)
A "dialmode" option has been added which allows
specifying, on a per-channel basis, what methods of
subscriber dialing (pulse and/or tone) are permitted.
Additionally, this can be changed on a channel
at any point during a call using the CHANNEL
function.
- ### pbx_dundi: Add PJSIP support.
DUNDi now supports chan_pjsip. Outgoing calls using
PJSIP require the pjsip_outgoing_endpoint option
to be set in dundi.conf.
- ### cli: increase channel column width
This change increases the display width on 'core show channels'
amd 'core show channels verbose'
For 'core show channels', the Channel name field is increased to
64 characters and the Location name field is increased to 32
characters.
For 'core show channels verbose', the Channel name field is
increased to 80 characters, the Context is increased to 24
characters and the Extension is increased to 24 characters.
- ### app_senddtmf: Add SendFlash AMI action.
The SendFlash AMI action now allows sending
a hook flash event on a channel.
- ### res_http_media_cache: Introduce options and customize
The res_http_media_cache module now attempts to load
configuration from the res_http_media_cache.conf file.
The following options were added:
* timeout_secs
* user_agent
* follow_location
* max_redirects
* protocols
* redirect_protocols
* dns_cache_timeout_secs
- ### test.c: Fix counting of tests and add 2 new tests
The "tests" attribute of the "testsuite" element in the
output XML now reflects only the tests actually requested
to be executed instead of all the tests registered.
The "failures" attribute was added to the "testsuite"
element.
Also added two new unit tests that just pass and fail
to be used for testing CI itself.
- ### res_mixmonitor: MixMonitorMute by MixMonitor ID
It is now possible to specify the MixMonitorID when calling
the manager action: MixMonitorMute. This will allow an
individual MixMonitor instance to be muted via ID.
The MixMonitorID can be stored as a channel variable using
the 'i' MixMonitor option and is returned upon creation if
this option is used.
As part of this change, if no MixMonitorID is specified in
the manager action MixMonitorMute, Asterisk will set the mute
flag on all MixMonitor audiohooks on the channel. Previous
behavior would set the flag on the first MixMonitor audiohook
found.
- ### bridge_builtin_features: add beep via touch variable
Add optional touch variable : TOUCH_MIXMONITOR_BEEP(interval)
Setting TOUCH_MIXMONITOR_BEEP/TOUCH_MONITOR_BEEP to a valid
interval in seconds will result in a periodic beep being
played to the monitored channel upon MixMontior/Monitor
feature start.
If an interval less than 5 seconds is specified, the interval
will default to 5 seconds. If the value is set to an invalid
interval, the default of 15 seconds will be used.
- ### format_sln: add .slin as supported file extension
format_sln now recognizes '.slin' as a valid
file extension in addition to the existing
'.sln' and '.raw'.
Upgrade Notes:
----------------------------------------
- ### cel: add local optimization begin event
The existing AST_CEL_LOCAL_OPTIMIZE can continue
to be used as-is and the AST_CEL_LOCAL_OPTIMIZE_BEGIN event
can be ignored if desired.
Closed Issues:
----------------------------------------
- #35: [New Feature]: chan_dahdi: Allow disabling pulse or tone dialing
- #39: [Bug]: Remove .gitreview from repository.
- #43: [Bug]: Link to trademark policy is no longer correct
- #48: [bug]: res_pjsip: Mediasec requires different headers on 401 response
- #52: [improvement]: Add local optimization begin cel event
### For more details, see:
https://downloads.asterisk.org/pub/telephony/asterisk/releases/ChangeLog-18.18.0.md
[asterisk-announce] Asterisk 18.17.1 Now Available
The Asterisk Development Team would like to announce the release of Asterisk 18.17.1.
The release of Asterisk 18.17.1 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-30469 - res_pjsip_pubsub: Regression for
subscription shutdowns
(Reported by N A)
* ASTERISK-30472 - pbx_ael: Literal usage for variables broken
(Reported by isrl)
For a full list of changes in this release, please see the ChangeLog:
https://downloads.asterisk.org/pub/telephony/asterisk/ChangeLog-18.17.1
Thank you for your continued support of Asterisk!
[asterisk-announce] Asterisk 18.17.0 Now Available
The Asterisk Development Team would like to announce the release of Asterisk 18.17.0.
The release of Asterisk 18.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:
New Features made in this release:
-----------------------------------
* ASTERISK-29810 - app_signal: Add channel signaling
applications
(Reported by N A)
* ASTERISK-30262 - res_pjsip_session: Allow a context to be
specified for overlap dialing
(Reported by N A)
* ASTERISK-30319 - Add BYE Reason support for SIP
(Reported by Igor Goncharovsky)
* ASTERISK-30180 - app_broadcast: Add a channel audio
multicasting application
(Reported by N A)
Bugs fixed in this release:
-----------------------------------
* ASTERISK-27830 - Asterisk crashes on Invalid UTF-8 string
(Reported by AvayaXAsterisk)
* ASTERISK-30354 - chan_iax2: Lack of formats prior to
receiving voice frames causes jitterbuffer to stall
(Reported by N A)
* ASTERISK-30162 - when chan_iax is used to relay calls, no
ringing indication is played
(Reported by Jaco Kroon)
* ASTERISK-30424 - pjproject_bundled: cross-compilation broken
when ssl autodetected
(Reported by Nick French)
* ASTERISK-30388 - res_phoneprov: Stale SERVER variable when
multi-homed
(Reported by cmaj)
* ASTERISK-30419 - pjsip: Crash when sending NOTIFY in PJSIP 2.13
(Reported by Ross Beer)
* ASTERISK-30417 - Copy/Paste error in UnpauseQueueMember
(Reported by Sean Bright)
* ASTERISK-30406 - pbx_ael: Global variables are not expanded.
(Reported by Sean Bright)
* ASTERISK-29604 - ari: Segfault with lots of calls
(Reported by Danila Evgrafov)
* ASTERISK-30391 - res_rtp_asterisk: Issue with transcoding
g722 after MES changes
(Reported by George Joseph)
* ASTERISK-30345 - loader.c: Modules that decline to load
cannot be reloaded
(Reported by N A)
* ASTERISK-30379 - http: fix NULL pointer dereference while
enable_status on TLS-only
(Reported by Boris P. Korzun)
* ASTERISK-30375 - res_http_media_cache: Crash when URL has no
path component.
(Reported by Sean Bright)
* ASTERISK-30351 - manager: Originate variables are not added
when setvar used in manager.conf
(Reported by Sebastian
Gutierrez)
* ASTERISK-30369 - res_pjsip: Websockets from same IP shut down
when they shouldn't be
(Reported by Joshua C. Colp)
* ASTERISK-30367 - pbx: Fix outdated channel snapshots with pbx_exec
(Reported by N A)
* ASTERISK-28767 - chan_pjsip: Caller ID not used when checking
for extension, callerid supplement executed too late
(Reported by Oleg)
* ASTERISK-30350 - res_pjsip_sdp_rtp: rtp_timeout_hold is not
used when moh_passthrough has call on hold
(Reported by Benjamin Keith Ford)
* ASTERISK-30240 - app voicemail odbc build error with gcc 11.1
(Reported by Michael Bradeen)
* ASTERISK-30100 - res_pjsip: Path is ignored on INVITE to endpoint
(Reported by Yury Kirsanov)
* ASTERISK-30198 - Error `Too many open files` occurs after
about ~8000 calls when using mixmonitor
(Reported by Julien Alie)
Improvements made in this release:
-----------------------------------
* ASTERISK-30411 - app_read: add option to include terminating
digit on empty, terminated strings
(Reported by Michael Bradeen)
* ASTERISK-30405 - app_directory: Add 's' option to skip
channel call
(Reported by Michael Bradeen)
* ASTERISK-30422 - app_senddtmf: add the option for senddtmf to answer
(Reported by Michael Bradeen)
* ASTERISK-30325 - Upgrade Asterisk to bundled pjproject 2.13
(Reported by Stanislav Abramenkov)
* ASTERISK-30404 - app_directory: Add reading directory
configuration from custom file
(Reported by Michael Bradeen)
* ASTERISK-29913 - func_json: Adds multi-level and array
parsing to JSON_DECODE
(Reported by N A)
* ASTERISK-30353 - func_frame_trace: Print text for text frames
(Reported by N A)
* ASTERISK-30361 - json.h: Add missing
ast_json_object_real_get
(Reported by N A)
* ASTERISK-30280 - Create capability to assign a Media
Experience Score to RTP streams
(Reported by George Joseph)
* ASTERISK-30332 - func_callerid: Warn if invalid redirecting
reason provided
(Reported by N A)
For a full list of changes in this release, please see the ChangeLog:
https://downloads.asterisk.org/pub/telephony/asterisk/ChangeLog-18.17.0
Thank you for your continued support of Asterisk!
[asterisk-announce] Asterisk 16.29.1, 18.15.1, 19.7.1, 20.0.1 Now Available
The Asterisk Development Team would like to announce the release of
Asterisk 16.29.1, 18.15.1, 19.7.1, and 20.0.1.
The release of Asterisk 16.29.1, 18.15.1, 19.7.1, and 20.0.1 resolves issues reported by the
community and would have not been possible without your participation.Thank you!
The following issue is resolved in this release:
Bugs fixed in this release:
-----------------------
[ASTERISK-30103 <https://issues.asterisk.org/jira/browse/ASTERISK-30103>]
chan_ooh323 vulnerability in calling/called party IE (Reported By: Michael
Bradeen)
[ASTERISK-30176 <https://issues.asterisk.org/jira/browse/ASTERISK-30176>]
GetConfig can read files outside of Asterisk (Reported By: shawty)
[ASTERISK-30244 <https://issues.asterisk.org/jira/browse/ASTERISK-30244>]
Occasional crash when TCP/TLS connection terminated and subscription
persistence is removed (Reported By: nappsoft)
[ASTERISK-30338 <https://issues.asterisk.org/jira/browse/ASTERISK-30338>]
Backport 2.13 security fixes from pjproject
[asterisk-announce] Asterisk 18.15.0 Now Available
The Asterisk Development Team would like to announce the release of Asterisk 18.15.0.
The release of Asterisk 18.15.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-30037 - Add test support to calling external processes
(Reported by Philip Prindeville)
* ASTERISK-30161 - locks: add AMI event for deadlock
(Reported by N A)
* ASTERISK-30211 - app_confbridge: Add end_marked_any option
(Reported by N A)
* ASTERISK-30186 - res_pjsip: Add support for reloading TLS
certificate and key information
(Reported by Joshua C. Colp)
* ASTERISK-29899 - features: Add advanced transfer initiation options
(Reported by N A)
Bugs fixed in this release:
-----------------------------------
* ASTERISK-30235 - res_crypto and tests: Memory issues and and
uninitialized variable error
(Reported by George Joseph)
* ASTERISK-30234 - res_geolocation: ...may be used
uninitialized error in geoloc_config.c
(Reported by George Joseph)
* ASTERISK-30215 - Inbound SIP INVITE with Geo Location causing
a Segmentation Fault
(Reported by Dan Cropp)
* ASTERISK-30135 - [res_musiconhold] Allows the moh only for
the answered call
(Reported by sungtae kim)
* ASTERISK-26894 - pjsip should support tel uri scheme
(Reported by Gergely D½½ms½½di)
* ASTERISK-30210 - func_frame_trace: Channel masquerade
triggers assertion
(Reported by N A)
* ASTERISK-30190 - res_geolocation: GEOLOC_PROFILE isn't
returning correct values on incoming channel
(Reported by George Joseph)
* ASTERISK-29185 - chan_pjsip: Endpoint: allow = all is broken.
(Reported by Alexander Traud)
* ASTERISK-30192 - res_tonedetect: fix typo for frametype
(Reported by N A)
* ASTERISK-29453 - alembic: incoming_call_offer_pref and
outgoing_call_offer_pref missing in "ps_endpoints" table
(Reported by Daniel Th½½men)
* ASTERISK-26826 - testsuite: Add support for Python 3
(Reported by Joshua C. Colp)
* ASTERISK-30167 - res_geolocation: Refactor for issues found
by users
(Reported by George Joseph)
* ASTERISK-28422 - Memory Leak in Confbridge menu
(Reported by Ted G)
* ASTERISK-29917 - ami: FilterList action doesn't exist
(Reported by N A)
* ASTERISK-30018 - app_meetme: MeetmeList AMI event not documented
(Reported by Michael Cargile)
* ASTERISK-30020 - ConfbridgeListRooms Event Not Documented
(Reported by Michael Cargile)
* ASTERISK-30151 - Documentation doesn't include info about
"field", a 3rd required parameter.
(Reported by Chris Young)
Improvements made in this release:
-----------------------------------
* ASTERISK-30241 - res_pjsip_gelocation: Downgrade some NOTICE
scope trace debugs to DEBUG level
(Reported by N A)
* ASTERISK-30178 - extend user_eq_phone behavior to local uri's
(Reported by Michael Bradeen)
* ASTERISK-30046 - Reimplement res/res_crypto.c internals with
EVP_PKEY interface to Openssl API's
(Reported by Philip Prindeville)
* ASTERISK-30045 - Add test coverage to res/res_crypto.c functionality
(Reported by Philip Prindeville)
* ASTERISK-30185 - res_geolocation: Allow location parameters
to be specified in profiles
(Reported by George Joseph)
* ASTERISK-30177 - res_geolocation: Add option to suppress
empty elements
(Reported by George Joseph)
* ASTERISK-30182 - res_geolocation: Add built-in profiles to
use in fully dynamic configurations
(Reported by George Joseph)
* ASTERISK-29906 - [patch] update RLS to reflect the changes to
the lists
(Reported by Alexei Gradinari)
* ASTERISK-30163 - general: fix minor formatting issues
(Reported by N A)
* ASTERISK-30164 - chan_iax2: Add missing option documentation
(Reported by N A)
* ASTERISK-30153 - logger: Improve log levels
(Reported by N A)
* ASTERISK-30160 - cdr.conf: Remove obsolete app_mysql reference
(Reported by N A)
* ASTERISK-30159 - general: Remove obsolete SVN references
(Reported by N A)
[asterisk-announce] Asterisk 18.14.0 Now Available
The Asterisk Development Team would like to announce the release of Asterisk 18.14.0.
The release of Asterisk 18.14.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-30128 - Create PJSIP interface module for Geolocation
(Reported by George Joseph)
* ASTERISK-30127 - Create core Geolocation capability for Asterisk
(Reported by George Joseph)
* ASTERISK-30089 - general: fix typos
(Reported by N A)
* ASTERISK-30050 - Upgrade Asterisk to bundled pjproject 2.12.1
(Reported by Stanislav Abramenkov)
Bugs fixed in this release:
-----------------------------------
* ASTERISK-30167 - res_geolocation: Refactor for issues found
by users
(Reported by George Joseph)
* ASTERISK-29966 - pbx_variables: ast_str_strlen can be wrong
(Reported by N A)
* ASTERISK-29905 - OSX: bininstall launchd issue on
cross-platfrom build
(Reported by Sergey V. Lobanov)
* ASTERISK-30137 - manager: Global disabled event filtered is incomplete
(Reported by N A)
* ASTERISK-30109 - res_pjsip: no contact-status AMI event on
register of prune-on-boot contact that uses the same URI as
before Asterisk restart
(Reported by Michael Neuhauser)
* ASTERISK-29991 - chan_dahdi, callerid: Caller ID does not
honor presentation
(Reported by N A)
* ASTERISK-30126 - Spelling mistake in
configs/samples/queues.conf.sample
(Reported by Sam Banks)
* ASTERISK-30029 - build: Git security vulnerability fix is sad
with our accessing git as root during "make install"
(Reported by Joshua C. Colp)
* ASTERISK-29907 - res_pjsip, app_confbridge: Video call
through ConfBridge with normal endpoints causes infinite
loop/crash
(Reported by N A)
* ASTERISK-30138 - Compile failure in
res_geolocation/geoloc_eprofile.c when optimization is enabled
(Reported by George Joseph)
* ASTERISK-30096 - cel_odbc: Column type 9 (field
'cdr:cel:eventtime') is unsupported at this time
(Reported by Morvai Szabolcs)
* ASTERISK-30083 - chan_iax2: Optional dependency on
openssl/res_crypto is now mandatory
(Reported by Dmitry Melekhov)
* ASTERISK-30099 - test_aeap_transport: transport_connect_fail
sporadically causes failure
(Reported by Kevin Harwell)
* ASTERISK-30123 - features: Update automixmon documentation to
reflect reality
(Reported by Trevor Peirce)
* ASTERISK-30117 - pbx_lua: Remove compiler warnings
(Reported by Boris P. Korzun)
* ASTERISK-30101 - res_prometheus: Optional load
res_pjsip_outbound_registration.so
(Reported by Boris P. Korzun)
* ASTERISK-29989 - app_dial, chan_dahdi: DIALSTATUS is
inconsistent for busy
(Reported by N A)
* ASTERISK-30001 - db: Removing nonexistent entries shows
"Database entry removed"
(Reported by N A)
* ASTERISK-30115 - app_dial: Allow hook flashes to propogate on
outbound dials
(Reported by N A)
* ASTERISK-30106 - res_calendar_icalendar: Microsoft online ICS
calendars no longer work
(Reported by N A)
* ASTERISK-29822 - cli: Typing \? freezes the CLI permanently
with remote console
(Reported by N A)
* ASTERISK-30072 - res_pjsip: allow TLS verification of
wildcard cert-bearing servers
(Reported by Kevin Harwell)
* ASTERISK-30075 - say: Abort if channel hangs up during playback
(Reported by N A)
New Features made in this release:
-----------------------------------
* ASTERISK-30136 - db: Add AMI action to retrieve all keys
beginning with a prefix
(Reported by N A)
* ASTERISK-30000 - chan_dahdi: Add POLARITY function
(Reported by N A)
* ASTERISK-30062 - cli: Add CLI command to execute a dialplan app
(Reported by N A)
* ASTERISK-29999 - pjsip: Get information from 200 OK INVITE
reply headers
(Reported by Jos½½ Lopes)
* ASTERISK-30061 - pbx: Add pbx helper application
(Reported by N A)
[asterisk-announce] Asterisk 18.13.0 Now Available
The Asterisk Development Team would like to announce the release of Asterisk 18.13.0.
The release of Asterisk 18.13.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-29906 - [patch] update RLS to reflect the changes to the lists
(Reported by Alexei Gradinari)
* ASTERISK-29891 - [patch] provide a display name for RLS subscriptions
(Reported by Alexei Gradinari)
* ASTERISK-30090 - xmldocs: Use example tags for examples
(Reported by N A)
* ASTERISK-30086 - res_parking: Warn when invalid parking space requested
(Reported by N A)
* ASTERISK-30058 - Evaluate dialplan functions and variables in agi exec
(Reported by Shloime Rosenblum)
* ASTERISK-30027 - ari: expose channel driver's unique id (i.e.
Call-ID for chan_sip/chan_pjsip) in ARI channel resource
(Reported by Moritz Fain)
* ASTERISK-29845 - res_pjsip_outbound_registration: Show time
remaining until registration lapses
(Reported by N A)
Bugs fixed in this release:
-----------------------------------
* ASTERISK-30097 - console: Recent documentation changes for
connecting to remote console are inconsistent
(Reported by Matthias Hensler)
* ASTERISK-30043 - Wrong party is disconnected when
hook-flashing on 3-way bridge
(Reported by Josh Alberts)
* ASTERISK-29603 - res_pjsip: UPDATE/re-INVITE not sent when
"timers=always" is specified in pjsip.conf
(Reported by Ray Crumrine)
* ASTERISK-30092 - DateTime application: wrong inflection for
one o'clock in German
(Reported by Christof Efkemann)
* ASTERISK-30064 - pbx: iax2 switch causes crash due to
deadlock and assertion
(Reported by N A)
* ASTERISK-29981 - res_calendar: Asterisk crashes when
starting, and will not run
(Reported by N A)
* ASTERISK-30039 - cli: Targeted debug on startup deadlocks and
creates unstable system
(Reported by N A)
* ASTERISK-30051 - res_pjsip: No video after un-hold with
moh_passthrough=yes
(Reported by Maximilian Fridrich)
* ASTERISK-24601 - [patch]Missing RFC4235 tags and attributes
in PJSIP NOTIFY event: dialog XML body
(Reported by Marco Paland)
* ASTERISK-30059 - menuselect: libxml include fails under Gentoo
(Reported by waltermoeller)
* ASTERISK-30060 - loader: format warnings in dev mode
(Reported by N A)
* ASTERISK-30065 - pjsip: Open Websocket connection is not
reused for outgoing requests
(Reported by LA)
* ASTERISK-30042 - res_pjsip_transport_websocket: Registration
over websocket returns a rewritten contact
(Reported by Thomas Guebels)
* ASTERISK-29993 - chan_dahdi: Operator control option borks
both lines involved on callee disconnect
(Reported by N A)
* ASTERISK-30044 - GCC 12 issues
(Reported by George Joseph)
New Features made in this release:
-----------------------------------
* ASTERISK-30063 - app_voicemail: Add option to prevent
deletion of messages
(Reported by N A)
* ASTERISK-29965 - res_pjsip_outbound_registration: Make max
registration delay configurable
(Reported by N A)
* ASTERISK-30087 - res_parking: Add music on hold override option
(Reported by N A)
* ASTERISK-30036 - app_confbridge: Add CONFBRIDGE_CHANNELS function
(Reported by N A)
Thank you for your continued support of Asterisk!
[asterisk-announce] Asterisk 18.12.1 Now Available
The Asterisk Development Team would like to announce the release of Asterisk 18.12.1.
The release of Asterisk 18.12.1 resolves an issue reported by the
community and would have not been possible without your participation.
Thank you!
The following issue is resolved in this release:
Bugs fixed in this release:
-----------------------------------
* ASTERISK-30065 - pjsip: Open Websocket connection is not
reused for outgoing requests
(Reported by LA)
[asterisk-announce] Asterisk 18.12.0 Now Available
The Asterisk Development Team would like to announce the release of Asterisk 18.12.0.
The release of Asterisk 18.12.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:
Security bugs fixed in this release:
-----------------------------------
* ASTERISK-29476 - res_stir_shaken: Blind SSRF vulnerabilities
(Reported by Clint Ruoho)
* ASTERISK-29838 - ${SQL_ESC()} not correctly escaping a terminating \
(Reported by Leandro Dardini)
* ASTERISK-29872 - res_stir_shaken: Resource exhaustion with large files
(Reported by Benjamin Keith Ford)
New Features made in this release:
-----------------------------------
* ASTERISK-29931 - Option to allow a user to not hear the join
sound on enter but everyone else can
(Reported by Michael Cargile)
* ASTERISK-29968 - func_db: Add a function to return
cardinality of keys at prefix
(Reported by N A)
* ASTERISK-29486 - Hint-like extension value lookup function
without device state
(Reported by N A)
* ASTERISK-29941 - chan_pjsip: Add ability to send flash events
(Reported by N A)
* ASTERISK-29820 - cli: Add command to evaluate a function
(Reported by N A)
* ASTERISK-29876 - app_queue: Add music on hold option
(Reported by N A)
Bugs fixed in this release:
-----------------------------------
* ASTERISK-29655 - res_pjsip_session: No video to caller if no
camera available
(Reported by Michael Auracher)
* ASTERISK-29638 - res_pjsip_session: No video after early media
(Reported by Michael Auracher)
* ASTERISK-28518 - chan_dahdi: Caller ID FSK Erroneously Sent
when Picking Up Dahdi Call On Hold
(Reported by Josh Alberts)
* ASTERISK-29990 - chan_dahdi: adding ring cadences is not
idempotent on dahdi restart
(Reported by N A)
* ASTERISK-30007 - chan_iax2: Prevent crashes due to attempted
encryption with missing secrets
(Reported by N A)
* ASTERISK-29728 - menuselect: Disabled by default modules that
are enabled are always recompiled
(Reported by N A)
* ASTERISK-30002 - app_meetme: Don't erroneously set global
variables when channel is NULL
(Reported by N A)
* ASTERISK-29994 - chan_dahdi: Round robin array size is too
small for max number of groups
(Reported by N A)
* ASTERISK-22246 - Asterisk's "T" flag is ignored when used
with "r" or "R" flags. (documentation bug)
(Reported by Rusty Newton)
* ASTERISK-26582 - Asterisk seems to ignore the "n" parameter
for "disable console colorization"
(Reported by Sebastian Gutierrez)
* ASTERISK-29843 - Session timers get removed on UPDATE
(Reported by Mark Petersen)
* ASTERISK-29943 - file.c: seeking to negative file offset is
not prevented
(Reported by N A)
* ASTERISK-29955 - chan_sip: SIP route header is missing on UPDATE
(Reported by Mark Petersen)
* ASTERISK-29842 - Do not change 180 Ringing to 183 Progress
even if early_media already enabled
(Reported by Mark Petersen)
* ASTERISK-29948 - iostream: Infinite TCP timeout writing data
(Reported by N A)
* ASTERISK-29253 - Incorrect bridging on transfer
(Reported by Yury Kirsanov)
* ASTERISK-30006 - res_pjsip: UDP transport does not work when
async_operations is greater than 1
(Reported by Ross Beer)
* ASTERISK-30024 - Failed to sign STIR/SHAKEN payload with
functionality not enabled
(Reported by Claude Diderich)
* ASTERISK-30021 - ast_variable_list_replace_variable uses
variable with new keyword
(Reported by Jasper Hafkenscheid)
* ASTERISK-30023 - cdr_adaptive_odbc: does not support DATETIME
database columns
(Reported by Gregory Massel)
* ASTERISK-30015 - pjsip / WebRTC: Chrome creating large number
of SDP attributes
(Reported by Josh Hogan)
* ASTERISK-26689 - res_pjsip_sdp_rtp: 183 Session in Progress.
Disconnecting channel for lack of RTP activity
(Reported by Dmitriy Serov)
* ASTERISK-29929 - res_pjsip_sdp_rtp: Disconnecting channel for
lack of RTP activity in one way sessions
(Reported by Boris P. Korzun)
* ASTERISK-29411 - Crash in pjsip_msg_find_hdr_by_name
(Reported by LA)
* ASTERISK-29535 - Segmentation fault in libasteriskpj.so.2
(Reported by Daniel Bonazzi)
* ASTERISK-26719 - pbx: Only up to 127 includes in a dialplan
context (AST_PBX_MAX_STACK - 1)
(Reported by Tzafrir Cohen)
* ASTERISK-29986 - build: Asterisk 18.11.0 doesn't compile when
wget isn't available
(Reported by Stefan Ruijsenaars)
* ASTERISK-29988 - REGRESSION: The build process is requiring
xmllint or xmlstarlet ro be installed when it shouldn't
(Reported by George Joseph)
* ASTERISK-29895 - chan_iax2: Fix misaligned spacing in iax2
show netstats printout
(Reported by N A)
* ASTERISK-29939 - agi: Fix xmldoc bug with set music
(Reported by N A)
* ASTERISK-28891 - documentation: AGICommand_set+music
documentation arguments displayed incorreclty
(Reported by Jonathan Harris)
* ASTERISK-29048 - chan_iax2: "iax2 show registry" shows host
for perceived
(Reported by David Herselman)
* ASTERISK-29674 - Adjust for 64bit time_t
(Reported by Andre Heider)
* ASTERISK-29961 - RLS: domain part of 'uri' list attribute
mismatch with SUBSCRIBE request
(Reported by Alexei Gradinari)
* ASTERISK-29928 - logging messages truncated when using MUSL runtime
(Reported by Philip Prindeville)
* ASTERISK-29960 - ari: Retrieving stored recording can returns
wrong file
(Reported by Arix)
* ASTERISK-29950 - SayNumber can handle '01' to '07', but not
'08' or '09'
(Reported by Jim Van Meggelen)
Improvements made in this release:
-----------------------------------
* ASTERISK-24827 - Missing documentation for chan_dahdi dial
string ring cadences
(Reported by Scott Griepentrog)
* ASTERISK-29940 - general: Add since tags to xmldocs
(Reported by N A)
* ASTERISK-29726 - Add Asterisk External Application Protocol
(AEAP) implementation
(Reported by Kevin Harwell)
* ASTERISK-29951 - app_mf, app_sf: Return -1 on hangup
(Reported by N A)
* ASTERISK-29954 - app_meetme: Emit warning if conference not found
(Reported by N A)
* ASTERISK-29351 - Qualify pjproject 2.12 for Asterisk
(Reported by George Joseph)
* ASTERISK-29976 - Should Readme include information about
install_prereq script?
(Reported by Marcel Wagner)
* ASTERISK-29970 - Use pkg-config to find libxml2 headers and libraries
(Reported by Hugh McMaster)
* ASTERISK-29980 - build: External binary modules don't use https
(Reported by INVADE International Ltd.)
* ASTERISK-25716 - Documentation: Document explanations and
examples for possible values of DIALSTATUS
(Reported by Rusty Newton)
* ASTERISK-29967 - pbx_builtins: Add missing documentation
(Reported by N A)
[asterisk-announce] Asterisk 18.11.3 Now Available
Asterisk Development Team asteriskteam at digium.com
Tue Apr 26 12:09:50 CDT 2022
The Asterisk Development Team would like to announce the release of Asterisk 18.11.3.
The release of Asterisk 18.11.3 resolves an issue reported by the
community and would have not been possible without your participation.
Thank you!
The following issue is resolved in this release:
Bugs fixed in this release:
-----------------------------------
* ASTERISK-30024 - Failed to sign STIR/SHAKEN payload with
functionality not enabled
(Reported by Claude Diderich)
[asterisk-announce] Asterisk 16.25.2, 18.11.2, 19.3.2 and 16.8-cert14 Now Available (Security)
The Asterisk Development Team would like to announce security releases for
Asterisk 16, 18 and 19, and Certified Asterisk 16.8. The available releases are
released as versions 16.25.2, 18.11.2, 19.3.2 and 16.8-cert14.
The following security vulnerabilities were resolved in these versions:
* AST-2022-001: res_stir_shaken: resource exhaustion with large files
When using STIR/SHAKEN, it½½½s possible to download files that are not
certificates. These files could be much larger than what you would expect to
download.
* AST-2022-002: res_stir_shaken: SSRF vulnerability with Identity header
When using STIR/SHAKEN, it½½½s possible to send arbitrary requests like GET to
interfaces such as localhost using the Identity header.
* AST-2022-003: func_odbc: Possible SQL Injection
Some databases can use backslashes to escape certain characters, such as
backticks. If input is provided to func_odbc which includes backslashes it is
possible for func_odbc to construct a broken SQL query and the SQL query to
fail.
[asterisk-announce] Asterisk 18.11.1 Now Available
Asterisk Development Team asteriskteam at digium.com
Tue Mar 29 19:15:43 CDT 2022
The Asterisk Development Team would like to announce the release of Asterisk 18.11.1.
The release of Asterisk 18.11.1 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-29986 - build: Asterisk 18.11.0 doesn't compile when
wget isn't available
(Reported by Stefan Ruijsenaars)
* ASTERISK-29988 - REGRESSION: The build process is requiring
xmllint or xmlstarlet ro be installed when it shouldn't
(Reported by George Joseph)
[asterisk-announce] Asterisk 18.11.0 Now Available
Asterisk Development Team asteriskteam at digium.com
Thu Mar 24 09:06:03 CDT 2022
The Asterisk Development Team would like to announce the release of Asterisk 18.11.0.
The release of Asterisk 18.11.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:
Security bugs fixed in this release:
-----------------------------------
* ASTERISK-29945 - pjproject: Security fixes for things
(Reported by Kevin Harwell)
New Features made in this release:
-----------------------------------
* ASTERISK-29853 - ami: Allow events to be globally disabled
(Reported by N A)
* ASTERISK-29840 - func_channel: Add LASTCONTEXT and LASTEXTEN fields
(Reported by N A)
Bugs fixed in this release:
-----------------------------------
* ASTERISK-29924 - res_config_pgsql: omit "unsupported column
type 'text'" error
(Reported by Boris P. Korzun)
* ASTERISK-29923 - docs, LICENSE: pbx.digium.com no longer exists
(Reported by N A)
* ASTERISK-29904 - RLS: Batched Notifications stop working
(Reported by Alexei Gradinari)
* ASTERISK-29365 - taskprocessor: Can cause assert at shutdown
(Reported by Joshua C. Colp)
* ASTERISK-29873 - [patch] Queue Realtime load
(Reported by Alexei Gradinari)
* ASTERISK-18416 - [patch] Realtime queue agents unavailable
via AMI before a call event.
(Reported by kwk)
* ASTERISK-27597 - AMI Queuestatus not working (with realtime queue)
(Reported by cagdas kopuz)
* ASTERISK-29871 - res_prometheus: Failure to load causes FRACKs
(Reported by Mark Petersen)
* ASTERISK-29886 - Asterisk AMI sends not-valid XML
(Reported by Napadailo Yaroslav)
Improvements made in this release:
-----------------------------------
* ASTERISK-29909 - app_queue: Add support for withdrawing a call
(Reported by Kfir Itzhak)
* ASTERISK-29906 - [patch] update RLS to reflect the changes to
the lists
(Reported by Alexei Gradinari)
* ASTERISK-29353 - Qualify jansson 2.14 for asterisk
(Reported by George Joseph)
* ASTERISK-29897 - channels: Increase core debug levels for
chatty debugs
(Reported by N A)
* ASTERISK-29896 - xmldocs: Add since tag
(Reported by N A)
* ASTERISK-29861 - asterisk.h: add macro for curl user agent
(Reported by N A)
* ASTERISK-29809 - curl, stir_shaken: refactor curl code
(Reported by N A)
* ASTERISK-29920 - app_voicemail: Warn if trying to manage
nonexistent mailbox
(Reported by N A)
* ASTERISK-29925 - func_db: Warn about malformed key names
(Reported by N A)
* ASTERISK-29891 - [patch] provide a display name for RLS subscriptions
(Reported by Alexei Gradinari)
* ASTERISK-29866 - cli: add core dump information to core show settings
(Reported by N A)
* ASTERISK-29898 - documentation: Add default attributes to documentation
(Reported by N A)
* ASTERISK-29900 - app_mp3: Document and warn about https incompatibility
(Reported by N A)
* ASTERISK-29877 - app_mf: Allow reading a maximum number of digits
(Reported by N A)
For a full list of changes in this release, please see the ChangeLog:
https://downloads.asterisk.org/pub/telephony/asterisk/ChangeLog-18.11.0
[asterisk-announce] Asterisk 16.24.1, 18.10.1, 19.2.1 and 16.8-cert13 Now Available (Security)
Asterisk Development Team asteriskteam at digium.com
Fri Mar 4 14:01:59 CST 2022
The Asterisk Development Team would like to announce security releases for
Asterisk 16, 18 and 19, and Certified Asterisk 16.8. The available releases are
released as versions 16.24.1, 18.10.1, 19.2.1 and 16.8-cert13.
The following security vulnerabilities were resolved in these versions:
* AST-2022-004: pjproject: integer underflow on STUN message
The header length on incoming STUN messages that contain an ERROR-CODE
attribute is not properly checked. This can result in an integer underflow.
Note, this requires ICE or WebRTC support to be in use with a malicious remote
party.
* AST-2022-005: pjproject: undefined behavior after freeing a dialog set
When acting as a UAC, and when placing an outgoing call to a target that then
forks Asterisk may experience undefined behavior (crashes, hangs, etc½½½)
after a dialog set is prematurely freed.
* AST-2022-006: pjproject: unconstrained malformed multipart SIP message
If an incoming SIP message contains a malformed multi-part body an out of
bounds read access may occur, which can result in undefined behavior. Note,
it½½½s currently uncertain if there is any externally exploitable vector
within Asterisk for this issue, but providing this as a security issue out of
caution.
The security advisories are available at:
https://downloads.asterisk.org/pub/security/AST-2022-004.pdf
https://downloads.asterisk.org/pub/security/AST-2022-005.pdf
https://downloads.asterisk.org/pub/security/AST-2022-006.pdf
[asterisk-announce] Asterisk 18.10.0 Now Available
Asterisk Development Team asteriskteam at digium.com
Thu Feb 10 06:58:17 CST 2022
The Asterisk Development Team would like to announce the release of Asterisk 18.10.0.
The release of Asterisk 18.10.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-29808 - cdr: allow disabling CDR by default
(Reported by N A)
* ASTERISK-29830 - ami: Add AMI event for Wink
(Reported by N A)
* ASTERISK-29802 - app_sf: Add full tech-agnostic SF support
(Reported by N A)
* ASTERISK-29759 - app_sendtext: Add ReceiveText application
(Reported by N A)
* ASTERISK-29706 - func_json: Add JSON parsing function
(Reported by N A)
Bugs fixed in this release:
-----------------------------------
* ASTERISK-29888 - res_pjsip_outbound_authenticator_digest:
ABRT attempting to clean up auth_sess
(Reported by George Joseph)
* ASTERISK-29857 - res_tonedetect: fix logic errors in code
(Reported by N A)
* ASTERISK-29854 - func_frame_drop: fix buffer usage typo
(Reported by N A)
* ASTERISK-29869 - rtp sequence number can skip after DTMF
under certain bridges
(Reported by Torrey Searle)
* ASTERISK-29817 - gethostbyname_r is misdetected on NetBSD and
causes a build failure
(Reported by Micha½½ G½½rny)
* ASTERISK-29698 - Segfault if sorcery object_lifetime_maximum
and qualify_frequency the same value
(Reported by Alexei Gradinari)
* ASTERISK-29851 - rdtsc is not enabled (stubbed out) on NetBSD
(Reported by Micha½½ G½½rny)
* ASTERISK-29852 - make_version uses GNU-ism that break
git-svn-id parsing on NetBSD
(Reported by Micha½½ G½½rny)
* ASTERISK-29850 - ast_get_tid() not implemented for NetBSD
(Reported by Micha½½ G½½rny)
* ASTERISK-29818 - Build failure on NetBSD due to hmac function collision
(Reported by Micha½½ G½½rny)
* ASTERISK-29856 - res_rtp_asterisk: Invalid comparison creates
unreachable code
(Reported by N A)
* ASTERISK-29867 - configure fails if libsrtp dev files are not installed
(Reported by Sean Bright)
* ASTERISK-29813 - res_pjsip_session doesn't support multipart
message bodies
(Reported by George Joseph)
* ASTERISK-29858 - Regression: Using external pjproject not
working after "hack" commit
(Reported by George Joseph)
* ASTERISK-29859 - VoiceMailMain() fails when encountering
non-numeric CALLERID(num)
(Reported by Mark Murawski)
* ASTERISK-29847 - pbx_variables: ASTSBINDIR is missing
(Reported by N A)
* ASTERISK-29824 - It's hard to make changes to bundled pjproject
(Reported by George Joseph)
* ASTERISK-29695 - SAY.CONF wrong logic when converting 24hour
time to say 12 hour am/pm
(Reported by Vincent Dubois)
* ASTERISK-29664 - PJSIP processing token with % incorrectly
(Reported by Dan Cropp)
* ASTERISK-29827 - Support for Nordic language syntax in Queues
(Reported by Mark Petersen)
* ASTERISK-29515 - app_queue: QueueSummary and QueueStatus
events don't exist in documentation
(Reported by Luke Escude)
* ASTERISK-29746 - tcptls.c: TCP client connect fails due to interrupt
(Reported by Kevin Harwell)
* ASTERISK-29806 - app_queue: extension state incorrect
(Reported by Steve Davies)
* ASTERISK-29816 - SAY_DTMF_INTERRUPT channel variable is not honored
(Reported by Sean Bright)
* ASTERISK-28863 - The ast_rtp_codecs_payloads functions don't
preserve order
(Reported by George Joseph)
* ASTERISK-29320 - res_pjsip_sdp_rtp: Codec preference order of
remote is not correct on unhold
(Reported by Ross Beer)
* ASTERISK-29821 - Deadlock in bridge_channel_internal_join()
on local channels.
(Reported by Krzysztof Trempala)
* ASTERISK-29722 - test_timezone_watch breaks during DST to ST transition
(Reported by Josh Soref)
* ASTERISK-29804 - bundled_pjproject: sip_inv is missing
multipart support in some cases
(Reported by George Joseph)
* ASTERISK-29794 - ast_coredumper does not delete results when
requested and a specific output dir is set
(Reported by Frederic Van Espen)
* ASTERISK-29803 - pbx_variables: cp4 variables is used uninitialized
(Reported by N A)
* ASTERISK-29766 - pbx_variables: MSet truncates sets after 24 variables
(Reported by N A)
* ASTERISK-29772 - chan_sip: ${CHANNEL(ruri)} in Dial/Queue
b(test,s,1) cause a coredump
(Reported by Mark Petersen)
* ASTERISK-29790 - xmldoc: Dump invalid to XML DTD: XSLT
(Reported by Alexander Traud)
* ASTERISK-29791 - xmldoc: Dump invalid to XML DTD: ACO Matchfield
(Reported by Alexander Traud)
* ASTERISK-26991 - documentation: Doxygen site is no longer
being updated
(Reported by Joshua C. Colp)
* ASTERISK-20259 - [patch] Update Doxygen Configuration for
make progdocs
(Reported by Andrew Latham)
* ASTERISK-29785 - res_pjsip_sdp_rtp: Warns on every offered
crypto suite
(Reported by Alexander Traud)
* ASTERISK-27406 - Infinite loop when out of ports and rtpstart
value is odd
(Reported by Thomas Guebels)
* ASTERISK-28053 - chan_pjsip: Wrong or missing Q.850 reason in CANCEL
(Reported by Simone Lazzaris)
* ASTERISK-29761 - res: Fix for Doxygen
(Reported by Alexander Traud)
* ASTERISK-29763 - main: Fix for Doxygen
(Reported by Alexander Traud)
Improvements made in this release:
-----------------------------------
* ASTERISK-29832 - Enable pickup on channel after having
received 183 Progress
(Reported by Mark Petersen)
* ASTERISK-28890 - res_pjsip_sdp_rtp: Keepalive not supported
for video streams
(Reported by Luke Escude)
* ASTERISK-29831 - Queue don't play "thank-you" when here is no
hold time announcements
(Reported by Mark Petersen)
* ASTERISK-29855 - frame.h: fix CNG documentation typo
(Reported by N A)
* ASTERISK-29848 - documentation: Document special system and
channel variables
(Reported by N A)
* ASTERISK-29819 - utils.c: Remove all usages of
ast_gethostbyname()
(Reported by Sean Bright)
* ASTERISK-29815 - dsp: Define magic number as macro
(Reported by N A)
* ASTERISK-29807 - cli: add module refresh command
(Reported by N A)
* ASTERISK-29829 - app_mp3: Throw warning if attempting to play
a nonexistent stream
(Reported by N A)
* ASTERISK-24427 - Documentation is missing for a few AMI
Events - Including CDR and events triggered after the
QueueStatus action
(Reported by Dafi Ni)
* ASTERISK-29795 - DIALEDPEERNUMBER not set on destination
channel for Queue calls
(Reported by Mark Petersen)
* ASTERISK-29801 - app.c: Throw warnings for nonexistent options
(Reported by N A)
* ASTERISK-29797 - Support for Danish language syntax in VM
(Reported by Mark Petersen)
* ASTERISK-29800 - strings: Fix misusage in comment examples
(Reported by N A)
* ASTERISK-29758 - configs: Minor updates to sample configs
(Reported by N A)
* ASTERISK-29745 - pbx: Add public API for more elegant
variable substitution with extensions
(Reported by N A)
* ASTERISK-29729 - Incompatibility with newer spandsp releases (3.0.0+)
(Reported by Dustin Marquess)
Update asterisk to 18.7.0:
The Asterisk Development Team would like to announce the release
of Asterisk 18.7.0.
The release of Asterisk 18.7.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-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-29554 - cdr_mysql: Deprecated in 1.8, to be removed in 19
(Reported by Joshua C. Colp)
* ASTERISK-29555 - app_mysql: Deprecated in 1.8, to be removed in 19
(Reported by Joshua C. Colp)
* ASTERISK-29557 - app_ices: Deprecated in 16, to be removed in 19
(Reported by Joshua C. Colp)
* ASTERISK-29558 - app_macro: Deprecated in 16, to be removed in 21
(Reported by Joshua C. Colp)
* ASTERISK-29559 - app_fax: Deprecated in 16, to be removed in 19
(Reported by Joshua C. Colp)
* ASTERISK-29560 - app_url: Deprecated in 16, to be removed in 19
(Reported by Joshua C. Colp)
* ASTERISK-29561 - app_image: Deprecated in 16, to be removed in 19
(Reported by Joshua C. Colp)
* ASTERISK-29562 - app_nbscat: Deprecated in 16, to be removed in 19
(Reported by Joshua C. Colp)
* ASTERISK-29563 - app_dahdiras: Deprecated in 16, to be removed in 19
(Reported by Joshua C. Colp)
* ASTERISK-29564 - cdr_syslog: Deprecated in 16, to be removed in 19
(Reported by Joshua C. Colp)
* ASTERISK-29565 - chan_oss: Deprecated in 16, to be removed in 19
(Reported by Joshua C. Colp)
* ASTERISK-29566 - chan_phone: Deprecated in 16, to be removed in 19
(Reported by Joshua C. Colp)
* ASTERISK-29567 - chan_sip: Deprecated in 17, to be removed in 21
(Reported by Joshua C. Colp)
* ASTERISK-29568 - chan_nbs: Deprecated in 16, to be removed in 19
(Reported by Joshua C. Colp)
* ASTERISK-29569 - chan_misdn: Deprecated in 16, to be removed in 19
(Reported by Joshua C. Colp)
* ASTERISK-29570 - chan_vpb: Deprecated in 16, to be removed in 19
(Reported by Joshua C. Colp)
* ASTERISK-29571 - res_config_sqlite: Deprecated in 16, to be removed in 19
(Reported by Joshua C. Colp)
* ASTERISK-29572 - res_monitor: Deprecated in 16, to be removed in 21
(Reported by Joshua C. Colp)
* ASTERISK-29573 - conf2ael: Deprecated in 16, to be removed in 19
(Reported by Joshua C. Colp)
* ASTERISK-29574 - muted: Deprecated in 16, to be removed in 19
(Reported by Joshua C. Colp)
New Features made in this release:
-----------------------------------
* 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)
Bugs fixed in this release:
-----------------------------------
* ASTERISK-29673 - app_read: Fix null pointer crash regression
(Reported by N A)
* ASTERISK-29660 - Build failure when disabling PJSIP support
(Reported by Guido Falsi)
* ASTERISK-29635 - MP3Player don't work with actual mpg123 versions
(Reported by Carlos Oliva)
* ASTERISK-29654 - pjproject includes trailing whitespace in
sdp format attributes
(Reported by George Joseph)
* 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, res_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)
Improvements made in this release:
-----------------------------------
* 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)
For a full list of changes in this release, please see the ChangeLog:
https://downloads.asterisk.org/pub/telephony/asterisk/ChangeLog-18.7.0
Thank you for your continued support of Asterisk!
Update to Asterisk 18.6.0.
The Asterisk Development Team would like to announce the release
of Asterisk 18.6.0.
This release is available for immediate download at
https://downloads.asterisk.org/pub/telephony/asterisk
The release of Asterisk 18.6.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:
Security bugs fixed in this release:
-----------------------------------
* ASTERISK-29415 - Crash in PJSIP TLS transport
(Reported by Andrew Yager)
* ASTERISK-29381 - chan_pjsip: Remote denial of service by an
authenticated user
(Reported by Ivan Poddubny)
New Features made in this release:
-----------------------------------
* ASTERISK-29389 - Add PJSIP_HEADERS() and ability to read
header by pattern
(Reported by Igor Goncharovsky)
* 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)
Bugs fixed in this release:
-----------------------------------
* 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-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-29507 - STUN timeout is silently delaying calls
(Reported by S??bastien Duthil)
* ASTERISK-27871 - Remote URL in playback must end with file extension
(Reported by Caesar)
* 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)
Improvements made in this release:
-----------------------------------
* ASTERISK-29528 - Add support for multiple files for agent announcements
(Reported by N A)
* 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)
For a full list of changes in this release, please see the ChangeLog:
https://downloads.asterisk.org/pub/telephony/asterisk/ChangeLog-18.6.0
Thank you for your continued support of Asterisk!
resolve merge conflicts
Import Asterisk 18.x as comms/asterisk18.
This is a long term support version. It is scheduled to go to
security fixes only on October 20th, 2024, and EOL on October 20th,
2025.
------------------------------------------------------------------------------
--- Functionality changes from Asterisk 18.3.0 to Asterisk 18.4.0 ------------
------------------------------------------------------------------------------
logger
------------------
* The dateformat option in logger.conf will now control the remote
console (asterisk -r -T) timestamp format. Previously, dateformat
only controlled the formatting of the timestamp going to log
files and the main console (asterisk -c) but only for non-verbose
messages.
Internally, Asterisk does not send the logging timestamp with
verbose messages to console clients. It's up to the Asterisk
remote consoles to format verbose messages. Asterisk remote
consoles previously did not load dateformat from logger.conf.
Previously there was a non-configurable and hard-coded "%b %e
%T" dateformat that would be used no matter what on all verbose
console messages printed on remote consoles.
Example:
logger.conf
dateformat=%F %T.%3q
# asterisk -rvvv -T
[2021-03-19 09:54:19.760-0400] Loading res_stasis_answer.so.
[Mar 19 09:55:43] -- Goto (dialExten,s,1)
Given the following example configuration in logger.conf, Asterisk
log files and the console, will log verbose messages using the
given timestamp. Now ensuring that all remote console messages
are logged with the same dateformat as other log streams.
---
[general]
dateformat=%F %T.%3q
[logfiles]
console => notice,warning,error,verbose
full => notice,warning,error,debug,verbose
---
Now we have a globally-defined dateformat that will be used
consistently across the Asterisk main console, remote consoles,
and log files.
Now we have consistent logging:
# asterisk -rvvv -T
[2021-03-19 09:54:19.760-0400] Loading res_stasis_answer.so.
[2021-03-19 09:55:43.920-0400] -- Goto (dialExten,s,1)
res_pjsip
------------------
* PJSIP transports can now be partially reloaded safely. This
allows the local_net and external_* options to be updated without
restarting Asterisk.
* PJSIP endpoints can now be configured to skip authentication
when handling OPTIONS requests by setting the
allow_unauthenticated_options configuration property to 'yes.'
------------------------------------------------------------------------------
--- Functionality changes from Asterisk 18.2.2 to Asterisk 18.3.0 ------------
------------------------------------------------------------------------------
app_mixmonitor
------------------
* app_mixmonitor now sends manager events MixMonitorStart,
MixMonitorStop and MixMonitorMute when the channel monitoring
is started, stopped and muted (or unmuted) respectively.
chan_iax2
------------------
* You can now specify a default "auth" method in the [general]
section of iax.conf
chan_pjsip, app_transfer
------------------
* Added TRANSFERSTATUSPROTOCOL variable. When transfer is performed,
transfers can pass a protocol specific error code. Example, in
SIP 3xx-6xx represent any SIP specific error received when
performing a REFER.
func_odbc
------------------
* Introduce an ARGC variable for func_odbc functions, along with
a minargs per-function configuration option.
minargs enables enforcing of minimum count of arguments to pass
to func_odbc, so if you're unconditionally using ARG1 through
ARG4 then this should be set to 4. func_odbc will generate an
error in this case, so for example
[FOO]
minargs = 4
and ODBC_FOO(a,b,c) in dialplan will now error out instead of
using a potentially leaked ARG4 from Gosub().
ARGC is needed if you're using optional argument, to verify
whether or not an argument has been passed, else it's possible
to use a leaked ARGn from Gosub (app_stack). So now you can
safely do ${IF($[${ARGC}>3]?${ARGV}:default value)} kind of
thing.
res_srtp
------------------
* SRTP replay protection has been added to res_srtp and
a new configuration option "srtpreplayprotection" has been added
to the rtp.conf config file. For security reasons, the default
setting is "yes". Buggy clients may not handle this correctly
which could result in no, or one way, audio and Asterisk error
messages like "replay check failed".
------------------------------------------------------------------------------
--- Functionality changes from Asterisk 18.1.0 to Asterisk 18.2.0 ------------
------------------------------------------------------------------------------
Core
------------------
* The location where the media cache stores its temporary files
is no longer hardcoded to /tmp but can now be configured separately
via the astcachedir config variable in asterisk.conf. To retain
backwards compatibility, the default location remains /tmp.
app_voicemail
------------------
* The VoiceMail application can now be configured to send greetings
and instructions via early media and only answering the channel
when it is time for the caller to record their message. This
behavior can be activated by passing the new 'e' option to
VoiceMail.
------------------------------------------------------------------------------
--- Functionality changes from Asterisk 18.0.0 to Asterisk 18.1.0 ------------
------------------------------------------------------------------------------
Core
------------------
* Added debug logging categories that allow a user to output debug
information based on a specified category. This lets the user
limit, and filter debug output to data relevant to a particular
context, or topic. For instance the following categories are
now available for debug logging purposes:
dtls, dtls_packet, ice, rtcp, rtcp_packet, rtp, rtp_packet, stun, stun_packet
These debug categories can be enable/disable via an Asterisk
CLI command:
core set debug category <category>[:<sublevel>] [category[:<sublevel] ...]
core set debug category off [<category> [<category>] ...]
If no sub-level is associated all debug statements for a given
category are output. If a sub-level is given then only those
statements assigned a value at or below the associated sub-level
are output.
app_confbridge
------------------
* app_confbridge now has the ability to force the estimated bitrate
on an SFU bridge. To use it, set a bridge profile's remb_behavior
to "force" and set remb_estimated_bitrate to a rate in bits per
second. The remb_estimated_bitrate parameter is ignored if
remb_behavior is something other than "force".
------------------------------------------------------------------------------
--- Functionality changes from Asterisk 17.0.0 to Asterisk 18.0.0 ------------
------------------------------------------------------------------------------
chan_pjsip
------------------
* The PJSIP_SEND_SESSION_REFRESH dialplan function now issues a
warning, and returns unsuccessful if it's used on a channel
prior to answering.
logger
------------------
* Added a new log formatter called "plain" that always prints
file, function and line number if available (even for verbose
messages) and never prints color control characters. Most
suitable for file output but can be used for other channels as
well.
You use it in logger.conf like so:
debug => [plain]debug
console => [plain]error,warning,debug,notice,pjsip_history
messages => [plain]warning,error,verbose
------------------------------------------------------------------------------
--- New functionality introduced in Asterisk 18.0.0 --------------------------
------------------------------------------------------------------------------
Core
------------------
* The Streams API becomes the home for the core ACN capabilities.
These include...
* Parsing and formatting of codec negotation preferences.
* Resolving pending streams and topologies with those configured
using configured preferences.
* Utility functions for creating string representations of
streams, topologies, and negotiation preferences.
For codec negotiation preferences:
* Added ast_stream_codec_prefs_parse() which takes a string
representation of codec negotiation preferences, which may
come from a pjsip endpoint for example, and populates a
ast_stream_codec_negotiation_prefs structure.
* Added ast_stream_codec_prefs_to_str() which does the reverse.
* Added many functions to parse individual parameter name
and value strings to their respectrive enum values, and the
reverse.
For streams:
* Added ast_stream_create_resolved() which takes a "live" stream
and resolves it with a configured stream and the negotiation
preferences to create a new stream.
* Added ast_stream_to_str() which create a string representation
of a stream suitable for debug or display purposes.
For topology:
* Added ast_stream_topology_create_resolved() which takes a
"live" topology and resolves it, stream by stream, with a
configured topology stream and the negotiation preferences
to create a new topology.
* Added ast_stream_topology_to_str() which create a string
representation of a topology suitable for debug or display
purposes.
* Renamed ast_format_caps_from_topology() to
ast_stream_topology_get_formats() to be more consistent with
the existing ast_stream_get_formats().
Additional changes:
* A new function ast_format_cap_append_names() appends the
results to the ast_str buffer instead of replacing buffer
contents.
app_bridgeaddchan
------------------
* The BridgeAdd application now behaves more like the Bridge
application. The application now sets the BRIDGERESULT channel
variable to indicate what happened when the channel resumes in
dialplan. This is instead of hanging up the channel on failure
conditions.
res_pjsip
------------------
* Two new options, incoming_call_offer_pref and outgoing_call_offer_pref
have been added to res_pjsip endpoints that specify the preferred
order of codecs to use between those received/sent in an SDP
offer and those set in the endpoint configuration.
------------------------------------------------------------------------------
--- Functionality changes from Asterisk 17.0.0 to Asterisk 18.0.0 ------------
------------------------------------------------------------------------------
AMI
------------------
* You can now specify an optional 'Content-Type' as an argument
for the Asterisk SendText manager action.
ARI
------------------
* A new parameter 'inhibitConnectedLineUpdates' is now available
in the 'bridges.addChannel' call. This prevents the identity of
the newly connected channel from being presented to other bridge
members.
ARI Channels
------------------
* The Channel resource has a new sub-resource "externalMedia".
This allows an application to create a channel for the sole
purpose of exchanging media with an external server. Once
created, this channel could be placed into a bridge with existing
channels to allow the external server to inject audio into the
bridge or receive audio from the bridge. See
https://wiki.asterisk.org/wiki/display/AST/External+Media+and+ARI
for more information.
Core
------------------
* H.265/HEVC is now a supported video codec and it can be used by
specifying "h265" in the allow line. Please note however, that
handling of the additional SDP parameters described in RFC 7798
section 7.2 is not yet supported.
Features
------------------
* Adds support for AudioSocket, a very simple bidirectional audio
streaming protocol. There are both channel and application
interfaces.
A description of the protocol can be found on the referenced
wiki page. A short talk about the reasons and implementation
can be found on YouTube at the link provided.
ARI support has also been added via the existing "externalMedia"
ARI functionality. The UUID is specified using the arbitrary
"data" field.
Wiki: https://wiki.asterisk.org/wiki/display/AST/AudioSocket
YouTube: https://www.youtube.com/watch?v=tjduXbZZEgI
Messaging
------------------
* In order to reduce the amount of AMI and ARI events generated,
the global "Message/ast_msg_queue" channel can be set to suppress
it's normal channel housekeeping events such as "Newexten",
"VarSet", etc. This can greatly reduce load on the manager and
ARI applications when the Digium Phone Module for Asterisk is
in use. To enable, set "hide_messaging_ami_events" in asterisk.conf
to "yes" In Asterisk versions <18, the default is "no" preserving
existing behavior. Beginning with Asterisk 18, the option will
default to "yes".
STIR/SHAKEN
------------------
* STIR/SHAKEN support has been added to Asterisk. Configuration
is done in stir_shaken.conf. There is a sample configuration
file to help you get started
(asterisk/configs/samples/stir_shaken.conf.sample). Once that's
set up, you can enable STIR/SHAKEN on any endpoint by setting
stir_shaken to yes on the endpoint configuration object. This
will add an Identity header on outgoing INVITEs, and check for
an Identity header on incoming INVITEs. This option has been
added to Alembic as well.
The information received on an incoming INVITE can be checked
using the STIR_SHAKEN dialplan function. There are two variations:
STIR_SHAKEN(count)
STIR_SHAKEN(0, verify_result)
The first variation will tell you how many STIR/SHAKEN results
are on the channel. The second fetches information for a specific
result. The first parameter is the index, followed by what
information you want to retrieve. The available options are
'verify_result', 'identity', and 'attestation'.
app_chanisavail
------------------
* The ChanIsAvail application now tolerates empty positions in
the supplied device list. Dialplan can now be simplified by
not having to check for empty positions in the device list.
app_confbridge
------------------
* A new bridge profile option, maximum_sample_rate, has been added
which sets a maximum sample rate that the bridge will be mixed
at. This allows the bridge to move below the maximum sample rate
as needed but caps it at the maximum.
* A new option, "text_messaging", has been added to the user
profile which allows control over whether text messaging is
enabled or disabled for a user. If enabled (the default) text
messages will be sent to the user. If disabled no text messages
will be sent to the user.
app_dial
------------------
* The Dial application now tolerates empty positions in the supplied
destination list. Dialplan can now be simplified by not having
to check for empty positions in the destination list. If there
are no endpoints to dial then DIALSTATUS is set to CHANUNAVAIL.
app_mixmonitor
------------------
* An option 'S' has been added to MixMonitor. If used in combination
with the r() and/or t() options, if a frame is available to
write to one of those files but not the other, a frame of silence
if written to the file that does not have an audio frame. This
should prevent the two files from "drifting" when mixed after
the fact.
* If the 'filename' argument to MixMonitor() ended with '.wav49,'
Asterisk would silently convert the extension to '.WAV' when
opening the file for writing. This caused the MIXMONITOR_FILENAME
variable to reference the wrong file. The MIXMONITOR_FILENAME
variable will now reflect the name of the file that Asterisk
actually used instead of the filename that was passed to the
application.
app_page
------------------
* The Page application now tolerates empty positions in the supplied
destination list. Dialplan can now be simplified by not having
to check for empty positions in the destination list.
app_voicemail
------------------
* A feature was added in Asterisk 13.27.0 and 16.4.0 that removed
lock files from the Asterisk voicemail directory on startup.
Some users that store their voicemails on network storage devices
experienced slow startup times due to the relative expense of
traversing the voicemail directory structure looking for orphaned
lock files. This feature has now been removed.
Users who require the lock files to be removed at startup should
modify their startup scripts to do so before starting the asterisk
process.
chan_pjsip
------------------
* A new dialplan function, PJSIP_MOH_PASSTRHOUGH, has been added
to chan_pjsip. This allows the behaviour of the moh_passthrough
endpoint option to be read or changed in the dialplan. This
allows control on a per-call basis.
chan_rtp
------------------
* The UnicastRTP channel driver provided by chan_rtp now accepts
"<hostname>:<port>" as an alternative to "<ip_address>:<port>"
in the destination. The first AAAA (preferred) or A record
resolved will be used as the destination. The lookup is
synchronous so beware of possible dialplan delays if you specify
a hostname.
func_curl
------------------
* A new parameter, httpheader, has been added to CURLOPT function.
This parameter allows to set custom http headers for subsequent
calls of CURL function. Any setting of headers will replace
the default curl headers (e.g. "Content-type:
application/x-www-form-urlencoded")
* A new option, followlocation, can now be enabled with the
CURLOPT() dialplan function. Setting this will instruct cURL to
follow 3xx redirects, which it does not by default.
func_jitterbuffer
------------------
* The JITTERBUFFER dialplan function now has an option to enable
video synchronization support. When enabled and used with a
compatible channel driver (chan_sip, chan_pjsip) the video is
buffered according to the size of the audio jitterbuffer and is
synchronized to the audio.
func_volume
------------------
* Accept decimal number as argument.
http
------------------
* You can now disable the /httpstatus page served by Asterisk's
built-in HTTP server by setting 'enable_status' to 'no' in
http.conf.
minmemfree
------------------
* The 'minmemfree' configuration option now counts memory allocated
to the filesystem cache as "free" because it is memory that is
available to the process.
res_ari_channels
------------------
* When creating a channel in ARI using the create call
you can now specify dialplan variables to be set as part of the
same operation.
res_musiconhold
------------------
* This fix allows a realtime moh class to be unregistered from
the command line. This is useful when the contents of a directory
referenced by a realtime moh class have changed. The realtime
moh class is then reloaded on the next request and uses the new
directory contents.
* A new mode - playlist - has been added to res_musiconhold. This
mode allows the user to specify the files (or URLs) to play
explicitly by putting them directly in musiconhold.conf.
res_pjsip
------------------
* Added a new PJSIP system setting called disable_rport.
Default is no to keep support working as before.
If it is false (default) it adds the 'rport' parameter in the
outgoing request message. If it is true it does not add the
'rport' parameter in the outgoing request message.
This is a system option, but working as a global option.
res_pjsip_endpoint_identifier_ip
------------------
* In 'type = identify' sections, the addresses specified for the
'match' clause can now include a port number. For IP addresses,
the port is provided by including a colon after the address,
followed by the desired port number. If supplied, the netmask
should follow the port number. To specify a port for IPv6
addresses, the address itself must be enclosed in brackets to
be parsed correctly.
res_pjsip_logger
------------------
* The PJSIP packet logger now has the following CLI commands:
pjsip set logger pcap <filename>
When used this will create a pcap file containing the incoming
and outgoing SIP packets, in unencrypted form.
pjsip set logger console <on / off>
This allows you to toggle logging to console on and off.
pjsip set logger host <IP/subnet mask> add
This allows you to add an additional IP address or subnet mask
to logging, allowing you to log multiple instead of just a single
IP address or all traffic.
The normal "pjsip set logger host" CLI command has also been
expanded to allow subnet masks as well.
res_pjsip_session
------------------
* When placing an outgoing call to a PJSIP endpoint the intent
of any requested formats will now be respected. If only an audio
format is requested (such as ulaw) but the underlying endpoint
does not support the format the resulting SDP will still only
contain an audio stream, and not any additional streams such as
video.
* Two new options, incoming_call_offer_pref and outgoing_call_offer_pref
have been added to res_pjsip endpoints that specify the preferred
order of codecs to use between those received/sent in an SDP
offer and those set in the endpoint configuration.
res_rtp_asterisk
------------------
* This change include a new cli command 'rtp show settings'
The command display by general settings of rtp configuration.
For this point is added the fields: rtpstart, rtpend, dtmftimeout,
rtpchecksum, strictrtp, learning_min_sequential and icesupport.
* The blacklist mechanism in res_rtp_asterisk for ICE and STUN
was converted to an ACL mechanism.
As such six new options are now available:
ice_deny
ice_permit
ice_acl
stun_deny
stun_permit
stun_acl
These options have their obvious meanings as used elsewhere.
Backwards compatibility was maintained by adding {stun,ice}_blacklist
as aliases for {stun,ice}_deny.
res_sorcery_memory_cache
------------------
* The SorceryMemoryCacheExpireObject AMI action and CLI
command allow expiring of a specific object within the sorcery
memory cache. This is done by removing the object from the cache
with the expectation that the cache will then re-populate the
object when it is next needed.
For full backend caching this does not occur. The cache won't
repopulate until an entire refresh is done resulting in the
possibility that objects are missing until that time.
The AMI action and CLI command will now not allow expiring of
an object if the cache is configured as a full backend cache.
Instead you must use either the SorceryMemoryCacheExpire or
SorceryMemoryCachePopulate AMI actions or their associated CLI
commands.
taskprocessor.c
------------------
* Added two new CLI commands to reset stats for taskprocessors.
You can reset stats for a single, specific taskprocessor ('core
reset taskprocessor <taskprocessor>'), or you can reset all
taskprocessors ('core reset taskprocessors'). These commands
will reset the counter for the number of tasks processed as well
as the max queue size.
* Added "like" support for 'core show taskprocessors'. Now you
can specify a specific set of taskprocessors (or just one) by
adding the keyword "like" to the above command, followed by your
search criteria.
Deleting comms/asterisk18 (Asterisk 1.8.*) as mentioned on pkgsrc-users@ a few weeks ago. This package is ancient and has been EOL for a couple of years. It likely has numerous security issues. Also, the PKGNAME will conflict with the upcoming Asterisk 18.* in a couple of years times. There were no objections.
Pullup ticket #4566 - requested by jnemeth
comms/asterisk:: security update
comms/asterisk18: security update
Revisions pulled up:
- comms/asterisk/Makefile 1.113-1.115
- comms/asterisk/PLIST 1.9
- comms/asterisk/distinfo 1.67-1.69
- comms/asterisk/patches/patch-contrib_scripts_autosupport deleted
- comms/asterisk18/Makefile 1.88-1.90
- comms/asterisk18/PLIST 1.25
- comms/asterisk18/distinfo 1.56-1.58
---
Module Name: pkgsrc
Committed By: jnemeth
Date: Tue Oct 14 03:35:05 UTC 2014
Modified Files:
pkgsrc/comms/asterisk18: Makefile PLIST distinfo
Log Message:
Update Asterisk to 1.8.31.0. This is mostly a bugfix release:
The Asterisk Development Team has announced the release of Asterisk 1.8.31.0.
The release of Asterisk 1.8.31.0 resolves several issues reported by the
community and would have not been possible without your participation.
Thank you!
The following are the issues resolved in this release:
Bugs fixed in this release:
-----------------------------------
* ASTERISK-24032 - Gentoo compilation emits warning:
"_FORTIFY_SOURCE" redefined (Reported by Kilburn)
* ASTERISK-24225 - Dial option z is broken (Reported by
dimitripietro)
* ASTERISK-24178 - [patch]fromdomainport used even if not set
(Reported by Elazar Broad)
* ASTERISK-24019 - When a Music On Hold stream starts it restarts
at beginning of file. (Reported by Jason Richards)
* ASTERISK-24211 - testsuite: Fix the dial_LS_options test
(Reported by Matt Jordan)
* ASTERISK-24249 - SIP debugs do not stop (Reported by Avinash
Mohod)
Improvements made in this release:
-----------------------------------
* ASTERISK-24171 - [patch] Provide a manpage for the aelparse
utility (Reported by Jeremy Lainé)
For a full list of changes in this release, please see the ChangeLog:
http://downloads.asterisk.org/pub/telephony/asterisk/ChangeLog-1.8.31.0
Thank you for your continued support of Asterisk!
---
Module Name: pkgsrc
Committed By: jnemeth
Date: Tue Oct 14 03:36:40 UTC 2014
Modified Files:
pkgsrc/comms/asterisk: Makefile PLIST distinfo
Log Message:
Update Asterisk to 11.13.0. This is mostly a bugfix release:
The Asterisk Development Team has announced the release of Asterisk 11.13.0.
The release of Asterisk 11.13.0 resolves several issues reported by the
community and would have not been possible without your participation.
Thank you!
The following are the issues resolved in this release:
Bugs fixed in this release:
-----------------------------------
* ASTERISK-24032 - Gentoo compilation emits warning:
"_FORTIFY_SOURCE" redefined (Reported by Kilburn)
* ASTERISK-24225 - Dial option z is broken (Reported by
dimitripietro)
* ASTERISK-24178 - [patch]fromdomainport used even if not set
(Reported by Elazar Broad)
* ASTERISK-22252 - res_musiconhold cleanup - REF_DEBUG reload
warnings and ref leaks (Reported by Walter Doekes)
* ASTERISK-23997 - chan_sip: port incorrectly incremented for RTCP
ICE candidates in SDP answer (Reported by Badalian Vyacheslav)
* ASTERISK-24019 - When a Music On Hold stream starts it restarts
at beginning of file. (Reported by Jason Richards)
* ASTERISK-23767 - [patch] Dynamic IAX2 registration stops trying
if ever not able to resolve (Reported by David Herselman)
* ASTERISK-24211 - testsuite: Fix the dial_LS_options test
(Reported by Matt Jordan)
* ASTERISK-24249 - SIP debugs do not stop (Reported by Avinash
Mohod)
* ASTERISK-23577 - res_rtp_asterisk: Crash in
ast_rtp_on_turn_rtp_state when RTP instance is NULL (Reported by
Jay Jideliov)
* ASTERISK-23634 - With TURN Asterisk crashes on multiple (7-10)
concurrent WebRTC (avpg/encryption/icesupport) calls (Reported
by Roman Skvirsky)
* ASTERISK-24301 - Security: Out of call MESSAGE requests
processed via Message channel driver can crash Asterisk
(Reported by Matt Jordan)
Improvements made in this release:
-----------------------------------
* ASTERISK-24171 - [patch] Provide a manpage for the aelparse
utility (Reported by Jeremy Lainé)
For a full list of changes in this release, please see the ChangeLog:
http://downloads.asterisk.org/pub/telephony/asterisk/ChangeLog-11.13.0
Thank you for your continued support of Asterisk!
---
Module Name: pkgsrc
Committed By: jnemeth
Date: Wed Nov 19 08:30:57 UTC 2014
Modified Files:
pkgsrc/comms/asterisk18: Makefile distinfo
Log Message:
Update to Asterisk 1.8.32.0: this is mostly a bug fix release.
The Asterisk Development Team has announced the release of Asterisk 1.8.32.0.
The release of Asterisk 1.8.32.0 resolves several issues reported by the
community and would have not been possible without your participation.
Thank you!
The following are the issues resolved in this release:
Bugs fixed in this release:
-----------------------------------
* ASTERISK-24348 - Built-in editline tab complete segfault with
MALLOC_DEBUG (Reported by Walter Doekes)
* ASTERISK-24335 - [PATCH] Asterisk incorrectly responds 503 to
INVITE retransmissions of rejected calls (Reported by Torrey
Searle)
* ASTERISK-23768 - [patch] Asterisk man page contains a (new)
unquoted minus sign (Reported by Jeremy Lainé)
* ASTERISK-24357 - [fax] Out of bounds error in update_modem_bits
(Reported by Jeremy Lainé)
* ASTERISK-22945 - [patch] Memory leaks in chan_sip.c with
realtime peers (Reported by ibercom)
* ASTERISK-24390 - astobj2: REF_DEBUG reports false leaks with
ao2_callback with OBJ_MULTIPLE (Reported by Corey Farrell)
* ASTERISK-24011 - [patch]safe_asterisk tries to set ulimit -n too
high on linux systems with lots of RAM (Reported by Michael
Myles)
* ASTERISK-20784 - Failure to receive an ACK to a SIP Re-INVITE
results in a SIP channel leak (Reported by NITESH BANSAL)
* ASTERISK-15879 - [patch] Failure to receive an ACK to a SIP
Re-INVITE results in a SIP channel leak (Reported by Torrey
Searle)
* ASTERISK-24406 - Some caller ID strings are parsed differently
since 11.13.0 (Reported by Etienne Lessard)
* ASTERISK-24325 - res_calendar_ews: cannot be used with neon 0.30
(Reported by Tzafrir Cohen)
* ASTERISK-13797 - [patch] relax badshell tilde test (Reported by
Tzafrir Cohen)
* ASTERISK-22791 - asterisk sends Re-INVITE after receiving a BYE
(Reported by Paolo Compagnini)
* ASTERISK-18923 - res_fax_spandsp usage counter is wrong
(Reported by Grigoriy Puzankin)
* ASTERISK-24393 - rtptimeout=0 doesn't disable rtptimeout
(Reported by Dmitry Melekhov)
* ASTERISK-24063 - [patch]Asterisk does not respect outbound proxy
when sending qualify requests (Reported by Damian Ivereigh)
* ASTERISK-24425 - [patch] jabber/xmpp to use TLS instead of
SSLv3, security fix POODLE (CVE-2014-3566) (Reported by
abelbeck)
* ASTERISK-24436 - Missing header in res/res_srtp.c when compiling
against libsrtp-1.5.0 (Reported by Patrick Laimbock)
* ASTERISK-21721 - SIP Failed to parse multiple Supported: headers
(Reported by Olle Johansson)
* ASTERISK-24190 - IMAP voicemail causes segfault (Reported by
Nick Adams)
* ASTERISK-24432 - Install refcounter.py when REF_DEBUG is enabled
(Reported by Corey Farrell)
* ASTERISK-24476 - main/app.c / app_voicemail: ast_writestream
leaks (Reported by Corey Farrell)
* ASTERISK-24307 - Unintentional memory retention in stringfields
(Reported by Etienne Lessard)
For a full list of changes in this release, please see the ChangeLog:
http://downloads.asterisk.org/pub/telephony/asterisk/ChangeLog-1.8.32.0
Thank you for your continued support of Asterisk!
---
Module Name: pkgsrc
Committed By: jnemeth
Date: Wed Nov 19 08:32:48 UTC 2014
Modified Files:
pkgsrc/comms/asterisk: Makefile distinfo
Removed Files:
pkgsrc/comms/asterisk/patches: patch-contrib_scripts_autosupport
Log Message:
Update to Asterisk 11.14.0: this is mostly a bugfix release.
The Asterisk Development Team has announced the release of Asterisk 11.14.0.
The release of Asterisk 11.14.0 resolves several issues reported by the
community and would have not been possible without your participation.
Thank you!
The following are the issues resolved in this release:
Bugs fixed in this release:
-----------------------------------
* ASTERISK-24348 - Built-in editline tab complete segfault with
MALLOC_DEBUG (Reported by Walter Doekes)
* ASTERISK-24335 - [PATCH] Asterisk incorrectly responds 503 to
INVITE retransmissions of rejected calls (Reported by Torrey
Searle)
* ASTERISK-23768 - [patch] Asterisk man page contains a (new)
unquoted minus sign (Reported by Jeremy Lainé)
* ASTERISK-24357 - [fax] Out of bounds error in update_modem_bits
(Reported by Jeremy Lainé)
* ASTERISK-20567 - bashism in autosupport (Reported by Tzafrir
Cohen)
* ASTERISK-22945 - [patch] Memory leaks in chan_sip.c with
realtime peers (Reported by ibercom)
* ASTERISK-24384 - chan_motif: format capabilities leak on module
load error (Reported by Corey Farrell)
* ASTERISK-24385 - chan_sip: process_sdp leaks on an error path
(Reported by Corey Farrell)
* ASTERISK-24378 - Release AMI connections on shutdown (Reported
by Corey Farrell)
* ASTERISK-24354 - AMI sendMessage closes AMI connection on error
(Reported by Peter Katzmann)
* ASTERISK-24390 - astobj2: REF_DEBUG reports false leaks with
ao2_callback with OBJ_MULTIPLE (Reported by Corey Farrell)
* ASTERISK-24326 - res_rtp_asterisk: ICE-TCP candidates are
incorrectly attempted (Reported by Joshua Colp)
* ASTERISK-24011 - [patch]safe_asterisk tries to set ulimit -n too
high on linux systems with lots of RAM (Reported by Michael
Myles)
* ASTERISK-24383 - res_rtp_asterisk: Crash if no candidates
received for component (Reported by Kevin Harwell)
* ASTERISK-20784 - Failure to receive an ACK to a SIP Re-INVITE
results in a SIP channel leak (Reported by NITESH BANSAL)
* ASTERISK-15879 - [patch] Failure to receive an ACK to a SIP
Re-INVITE results in a SIP channel leak (Reported by Torrey
Searle)
* ASTERISK-24406 - Some caller ID strings are parsed differently
since 11.13.0 (Reported by Etienne Lessard)
* ASTERISK-24325 - res_calendar_ews: cannot be used with neon 0.30
(Reported by Tzafrir Cohen)
* ASTERISK-13797 - [patch] relax badshell tilde test (Reported by
Tzafrir Cohen)
* ASTERISK-22791 - asterisk sends Re-INVITE after receiving a BYE
(Reported by Paolo Compagnini)
* ASTERISK-18923 - res_fax_spandsp usage counter is wrong
(Reported by Grigoriy Puzankin)
* ASTERISK-24392 - res_fax: fax gateway sessions leak (Reported by
Corey Farrell)
* ASTERISK-24393 - rtptimeout=0 doesn't disable rtptimeout
(Reported by Dmitry Melekhov)
* ASTERISK-23846 - Unistim multilines. Loss of voice after second
call drops (on a second line). (Reported by Rustam Khankishyiev)
* ASTERISK-24063 - [patch]Asterisk does not respect outbound proxy
when sending qualify requests (Reported by Damian Ivereigh)
* ASTERISK-24425 - [patch] jabber/xmpp to use TLS instead of
SSLv3, security fix POODLE (CVE-2014-3566) (Reported by
abelbeck)
* ASTERISK-24436 - Missing header in res/res_srtp.c when compiling
against libsrtp-1.5.0 (Reported by Patrick Laimbock)
* ASTERISK-24454 - app_queue: ao2_iterator not destroyed, causing
leak (Reported by Corey Farrell)
* ASTERISK-24430 - missing letter "p" in word response in
OriginateResponse event documentation (Reported by Dafi Ni)
* ASTERISK-24457 - res_fax: fax gateway frames leak (Reported by
Corey Farrell)
* ASTERISK-21721 - SIP Failed to parse multiple Supported: headers
(Reported by Olle Johansson)
* ASTERISK-24304 - asterisk crashing randomly because of unistim
channel (Reported by dhanapathy sathya)
* ASTERISK-24190 - IMAP voicemail causes segfault (Reported by
Nick Adams)
* ASTERISK-24466 - app_queue: fix a couple leaks to struct
call_queue (Reported by Corey Farrell)
* ASTERISK-24432 - Install refcounter.py when REF_DEBUG is enabled
(Reported by Corey Farrell)
* ASTERISK-24476 - main/app.c / app_voicemail: ast_writestream
leaks (Reported by Corey Farrell)
* ASTERISK-24307 - Unintentional memory retention in stringfields
(Reported by Etienne Lessard)
For a full list of changes in this release, please see the ChangeLog:
http://downloads.asterisk.org/pub/telephony/asterisk/ChangeLog-11.14.0
Thank you for your continued support of Asterisk!
---
Module Name: pkgsrc
Committed By: jnemeth
Date: Wed Dec 3 01:00:23 UTC 2014
Modified Files:
pkgsrc/comms/asterisk18: Makefile distinfo
Log Message:
Update to Asterisk 1.8.32.1: this is a security fix release.
The Asterisk Development Team has announced security releases for Certified
Asterisk 1.8.28 and 11.6 and Asterisk 1.8, 11, 12, and 13. The available
security releases are released as versions 1.8.28-cert3, 11.6-cert8, 1.8.32.1,
11.14.1, 12.7.1, and 13.0.1.
The release of these versions resolves the following security vulnerabilities:
* AST-2014-012: Unauthorized access in the presence of ACLs with mixed IP
address families
Many modules in Asterisk that service incoming IP traffic have ACL options
("permit" and "deny") that can be used to whitelist or blacklist address
ranges. A bug has been discovered where the address family of incoming
packets is only compared to the IP address family of the first entry in the
list of access control rules. If the source IP address for an incoming
packet is not of the same address as the first ACL entry, that packet
bypasses all ACL rules.
* AST-2014-018: Permission Escalation through DB dialplan function
The DB dialplan function when executed from an external protocol, such as AMI,
could result in a privilege escalation. Users with a lower class authorization
in AMI can access the internal Asterisk database without the required SYSTEM
class authorization.
For more information about the details of these vulnerabilities, please read
security advisories AST-2014-012, AST-2014-013, AST-2014-014, AST-2014-015,
AST-2014-016, AST-2014-017, and AST-2014-018, which were released at the same
time as this announcement.
For a full list of changes in the current releases, please see the ChangeLogs:
http://downloads.asterisk.org/pub/telephony/asterisk/releases/ChangeLog-1.8.32.1
The security advisories are available at:
* http://downloads.asterisk.org/pub/security/AST-2014-012.pdf
* http://downloads.asterisk.org/pub/security/AST-2014-018.pdf
Thank you for your continued support of Asterisk!
---
Module Name: pkgsrc
Committed By: jnemeth
Date: Wed Dec 3 01:57:37 UTC 2014
Modified Files:
pkgsrc/comms/asterisk: Makefile distinfo
Log Message:
Update to Asterisk 11.14.1: this is a security fix release.
The Asterisk Development Team has announced security releases for Certified
Asterisk 1.8.28 and 11.6 and Asterisk 1.8, 11, 12, and 13. The available
security releases are released as versions 1.8.28-cert3, 11.6-cert8, 1.8.32.1,
11.14.1, 12.7.1, and 13.0.1.
The release of these versions resolves the following security vulnerabilities:
* AST-2014-012: Unauthorized access in the presence of ACLs with mixed IP
address families
Many modules in Asterisk that service incoming IP traffic have ACL options
("permit" and "deny") that can be used to whitelist or blacklist address
ranges. A bug has been discovered where the address family of incoming
packets is only compared to the IP address family of the first entry in the
list of access control rules. If the source IP address for an incoming
packet is not of the same address as the first ACL entry, that packet
bypasses all ACL rules.
* AST-2014-018: Permission Escalation through DB dialplan function
The DB dialplan function when executed from an external protocol, such as AMI,
could result in a privilege escalation. Users with a lower class authorization
in AMI can access the internal Asterisk database without the required SYSTEM
class authorization.
In addition, the release of 11.6-cert8 and 11.14.1 resolves the following
security vulnerability:
* AST-2014-014: High call load with ConfBridge can result in resource exhaustion
The ConfBridge application uses an internal bridging API to implement
conference bridges. This internal API uses a state model for channels within
the conference bridge and transitions between states as different things
occur. Unload load it is possible for some state transitions to be delayed
causing the channel to transition from being hung up to waiting for media. As
the channel has been hung up remotely no further media will arrive and the
channel will stay within ConfBridge indefinitely.
In addition, the release of 11.6-cert8, 11.14.1, 12.7.1, and 13.0.1 resolves
the following security vulnerability:
* AST-2014-017: Permission Escalation via ConfBridge dialplan function and
AMI ConfbridgeStartRecord Action
The CONFBRIDGE dialplan function when executed from an external protocol (such
as AMI) can result in a privilege escalation as certain options within that
function can affect the underlying system. Additionally, the AMI
ConfbridgeStartRecord action has options that would allow modification of the
underlying system, and does not require SYSTEM class authorization in AMI.
For a full list of changes in the current releases, please see the ChangeLogs:
http://downloads.asterisk.org/pub/telephony/asterisk/releases/ChangeLog-11.14.1
The security advisories are available at:
* http://downloads.asterisk.org/pub/security/AST-2014-012.pdf
* http://downloads.asterisk.org/pub/security/AST-2014-014.pdf
* http://downloads.asterisk.org/pub/security/AST-2014-017.pdf
* http://downloads.asterisk.org/pub/security/AST-2014-018.pdf
Thank you for your continued support of Asterisk!
Update Asterisk to 1.8.31.0. This is mostly a bugfix release:
The Asterisk Development Team has announced the release of Asterisk 1.8.31.0.
The release of Asterisk 1.8.31.0 resolves several issues reported by the
community and would have not been possible without your participation.
Thank you!
The following are the issues resolved in this release:
Bugs fixed in this release:
-----------------------------------
* ASTERISK-24032 - Gentoo compilation emits warning:
"_FORTIFY_SOURCE" redefined (Reported by Kilburn)
* ASTERISK-24225 - Dial option z is broken (Reported by
dimitripietro)
* ASTERISK-24178 - [patch]fromdomainport used even if not set
(Reported by Elazar Broad)
* ASTERISK-24019 - When a Music On Hold stream starts it restarts
at beginning of file. (Reported by Jason Richards)
* ASTERISK-24211 - testsuite: Fix the dial_LS_options test
(Reported by Matt Jordan)
* ASTERISK-24249 - SIP debugs do not stop (Reported by Avinash
Mohod)
Improvements made in this release:
-----------------------------------
* ASTERISK-24171 - [patch] Provide a manpage for the aelparse
utility (Reported by Jeremy Lainé)
For a full list of changes in this release, please see the ChangeLog:
http://downloads.asterisk.org/pub/telephony/asterisk/ChangeLog-1.8.31.0
Thank you for your continued support of Asterisk!
Update to Asterisk 1.8.28.2: this fixes multiple vulnerabilities and
numerous general bugs. The vulnerabilities fixed are: AST-2014-001,
AST-2014-002, and AST-2014-007.
-----
The Asterisk Development Team has announced security releases for
Certified Asterisk 1.8.15, 11.6, and Asterisk 1.8, 11, and 12. The
available security releases are released as versions 1.8.15-cert7,
11.6-cert4, 1.8.28.2, 11.10.2, and 12.3.2.
These releases resolve security vulnerabilities that were previously
fixed in 1.8.15-cert6, 11.6-cert3, 1.8.28.1, 11.10.1, and 12.3.1.
Unfortunately, the fix for AST-2014-007 inadvertently introduced
a regression in Asterisk's TCP and TLS handling that prevented
Asterisk from sending data over these transports. This regression
and the security vulnerabilities have been fixed in the versions
specified in this release announcement.
The security patches for AST-2014-007 have been updated with the
fix for the regression, and are available at
http://downloads.asterisk.org/pub/security
Please note that the release of these versions resolves the following security
vulnerabilities:
* AST-2014-007: Denial of Service via Exhaustion of Allowed Concurrent HTTP
Connections
For more information about the details of these vulnerabilities,
please read security advisories AST-2014-005, AST-2014-006,
AST-2014-007, and AST-2014-008, which were released with the previous
versions that addressed these vulnerabilities.
For a full list of changes in the current releases, please see the ChangeLogs:
http://downloads.asterisk.org/pub/telephony/asterisk/releases/ChangeLog-1.8.28.2
The security advisories are available at:
* http://downloads.asterisk.org/pub/security/AST-2014-007.pdf
Thank you for your continued support of Asterisk!
-----
The Asterisk Development Team has announced security releases for
Certified Asterisk 1.8.15, 11.6, and Asterisk 1.8, 11, and 12. The
available security releases are released as versions 1.8.15-cert6,
11.6-cert3, 1.8.28.1, 11.10.1, and 12.3.1.
These releases are available for immediate download at
http://downloads.asterisk.org/pub/telephony/asterisk/releases
The release of these versions resolves the following issue:
* AST-2014-007: Denial of Service via Exhaustion of Allowed Concurrent HTTP
Connections
Establishing a TCP or TLS connection to the configured HTTP or
HTTPS port respectively in http.conf and then not sending or
completing a HTTP request will tie up a HTTP session. By doing
this repeatedly until the maximum number of open HTTP sessions
is reached, legitimate requests are blocked.
These issues and their resolutions are described in the security advisories.
For more information about the details of these vulnerabilities,
please read security advisories AST-2014-005, AST-2014-006,
AST-2014-007, and AST-2014-008, which were released at the same
time as this announcement.
For a full list of changes in the current releases, please see the ChangeLogs:
http://downloads.asterisk.org/pub/telephony/asterisk/releases/ChangeLog-1.8.28.1
The security advisories are available at:
* http://downloads.asterisk.org/pub/security/AST-2014-007.pdf
Thank you for your continued support of Asterisk!
-----
The Asterisk Development Team has announced the release of Asterisk 1.8.28.0.
The release of Asterisk 1.8.28.0 resolves several issues reported
by the community and would have not been possible without your
participation. Thank you!
The following are the issues resolved in this release:
Bugs fixed in this release:
-----------------------------------
* ASTERISK-23547 - [patch] app_queue removing callers from queue
when reloading (Reported by Italo Rossi)
* ASTERISK-22846 - testsuite: masquerade super test fails on all
branches (still) (Reported by Matt Jordan)
* ASTERISK-23546 - CB_ADD_LEN does not do what you'd think
(Reported by Walter Doekes)
* ASTERISK-23620 - Code path in app_stack fails to unlock list
(Reported by Bradley Watkins)
* ASTERISK-18331 - app_sms failure (Reported by David Woodhouse)
* ASTERISK-19465 - P-Asserted-Identity Privacy (Reported by
Krzysztof Chmielewski)
* ASTERISK-23707 - Realtime Contacts: Apparent mismatch between
PGSQL database state and Asterisk state (Reported by Mark
Michelson)
* ASTERISK-23665 - Wrong mime type for codec H263-1998 (h263+)
(Reported by Guillaume Maudoux)
* ASTERISK-22977 - chan_sip+CEL: missing ANSWER and PICKUP event
for INVITE/w/replaces pickup (Reported by Walter Doekes)
* ASTERISK-23709 - Regression in Dahdi/Analog/waitfordialtone
(Reported by Steve Davies)
* ASTERISK-23650 - Intermittent segfault in string functions
(Reported by Roel van Meer)
Improvements made in this release:
-----------------------------------
* ASTERISK-23754 - [patch] Use var/lib directory for log file
configured in asterisk.conf (Reported by Igor Goncharovsky)
For a full list of changes in this release, please see the ChangeLog:
http://downloads.asterisk.org/pub/telephony/asterisk/ChangeLog-1.8.28.0
Thank you for your continued support of Asterisk!
-----
The Asterisk Development Team has announced the release of Asterisk 1.8.27.0.
The release of Asterisk 1.8.27.0 resolves several issues reported
by the community and would have not been possible without your
participation. Thank you!
The following are the issues resolved in this release:
Bugs fixed in this release:
-----------------------------------
* ASTERISK-22790 - check_modem_rate() may return incorrect rate
for V.27 (Reported by Paolo Compagnini)
* ASTERISK-23061 - [Patch] 'textsupport' setting not mentioned in
sip.conf.sample (Reported by Eugene)
* ASTERISK-23028 - [patch] Asterisk man pages contains unquoted
minus signs (Reported by Jeremy Lainé)
* ASTERISK-23046 - Custom CDR fields set during a GoSUB called
from app_queue are not inserted (Reported by Denis Pantsyrev)
* ASTERISK-23027 - [patch] Spelling typo "transfered" instead of
"transferred" (Reported by Jeremy Lainé)
* ASTERISK-23008 - Local channels loose CALLERID name when DAHDI
channel connects (Reported by Michael Cargile)
* ASTERISK-23100 - [patch] In chan_mgcp the ident in transmitted
request and request queue may differ - fix for locking (Reported
by adomjan)
* ASTERISK-22988 - [patch]T38 , SIP 488 after Rejecting image
media offer due to invalid or unsupported syntax (Reported by
adomjan)
* ASTERISK-22861 - [patch]Specifying a null time as parameter to
GotoIfTime or ExecIfTime causes segmentation fault (Reported by
Sebastian Murray-Roberts)
* ASTERISK-17837 - extconfig.conf - Maximum Include level (1)
exceeded (Reported by pz)
* ASTERISK-22662 - Documentation fix? - queues.conf says
persistentmembers defaults to yes, it appears to lie (Reported
by Rusty Newton)
* ASTERISK-23134 - [patch] res_rtp_asterisk port selection cannot
handle selinux port restrictions (Reported by Corey Farrell)
* ASTERISK-23220 - STACK_PEEK function with no arguments causes
crash/core dump (Reported by James Sharp)
* ASTERISK-19773 - Asterisk crash on issuing Asterisk-CLI 'reload'
command multiple times on cli_aliases (Reported by Joel Vandal)
* ASTERISK-22757 - segfault in res_clialiases.so on reload when
mapping "module reload" command (Reported by Gareth Blades)
* ASTERISK-17727 - [patch] TLS doesn't get all certificate chain
(Reported by LN)
* ASTERISK-23178 - devicestate.h: device state setting functions
are documented with the wrong return values (Reported by
Jonathan Rose)
* ASTERISK-23297 - Asterisk 12, pbx_config.so segfaults if
res_parking.so is not loaded, or if res_parking.conf has no
configuration (Reported by CJ Oster)
* ASTERISK-23069 - Custom CDR variable not recorded when set in
macro called from app_queue (Reported by Bryan Anderson)
* ASTERISK-19499 - ConfBridge MOH is not working for transferee
after attended transfer (Reported by Timo Teräs)
* ASTERISK-23261 - [patch]Output mixup in
${CHANNEL(rtpqos,audio,all)} (Reported by rsw686)
* ASTERISK-23260 - [patch]ForkCDR v option does not keep CDR
variables for subsequent records (Reported by zvision)
* ASTERISK-23141 - Asterisk crashes on Dial(), in
pbx_find_extension at pbx.c (Reported by Maxim)
* ASTERISK-23231 - Since 405693 If we have res_fax.conf file set
to minrate=2400, then res_fax refuse to load (Reported by David
Brillert)
* ASTERISK-23135 - Crash - segfault in ast_channel_hangupcause_set
- probably introduced in 11.7.0 (Reported by OK)
* ASTERISK-23323 - [patch]chan_sip: missing p->owner checks in
handle_response_invite (Reported by Walter Doekes)
* ASTERISK-23382 - [patch]Build System: make -qp can corrupt
menuselect-tree and related files (Reported by Corey Farrell)
* ASTERISK-23406 - [patch]Fix typo in "sip show peer" (Reported by
ibercom)
* ASTERISK-23310 - bridged channel crashes in bridge_p2p_rtp_write
(Reported by Jeremy Lainé)
* ASTERISK-23104 - Specifying the SetVar AMI without a Channel
cause Asterisk to crash (Reported by Joel Vandal)
* ASTERISK-23383 - Wrong sense test on stat return code causes
unchanged config check to break with include files. (Reported by
David Woolley)
* ASTERISK-17523 - Qualify for static realtime peers does not work
(Reported by Maciej Krajewski)
* ASTERISK-21406 - [patch] chan_sip deadlock on monlock between
unload_module and do_monitor (Reported by Corey Farrell)
* ASTERISK-23373 - [patch]Security: Open FD exhaustion with
chan_sip Session-Timers (Reported by Corey Farrell)
* ASTERISK-23340 - Security Vulnerability: stack allocation of
cookie headers in loop allows for unauthenticated remote denial
of service attack (Reported by Matt Jordan)
* ASTERISK-23488 - Logic error in callerid checksum processing
(Reported by Russ Meyerriecks)
* ASTERISK-20841 - fromdomain not honored on outbound INVITE
request (Reported by Kelly Goedert)
* ASTERISK-22079 - Segfault: INTERNAL_OBJ (user_data=0x6374652f)
at astobj2.c:120 (Reported by Jamuel Starkey)
* ASTERISK-23509 - [patch]SayNumber for Polish language tries to
play empty files for numbers divisible by 100 (Reported by
zvision)
* ASTERISK-23391 - Audit dialplan function usage of channel
variable (Reported by Corey Farrell)
* ASTERISK-23548 - POST to ARI sometimes returns no body on
success (Reported by Scott Griepentrog)
Improvements made in this release:
-----------------------------------
* ASTERISK-22980 - [patch]Allow building cdr_radius and cel_radius
against libfreeradius-client (Reported by Jeremy Lainé)
* ASTERISK-22661 - Unable to exit ChanSpy if spied channel does
not have a call in progress (Reported by Chris Hillman)
For a full list of changes in this release, please see the ChangeLog:
http://downloads.asterisk.org/pub/telephony/asterisk/ChangeLog-1.8.27.0
Thank you for your continued support of Asterisk!
-----
The Asterisk Development Team has announced security releases for
Certified Asterisk 1.8.15, 11.6, and Asterisk 1.8, 11, and 12. The
available security releases are released as versions 1.8.15-cert5,
11.6-cert2, 1.8.26.1, 11.8.1, and 12.1.1.
The release of these versions resolve the following issues:
* AST-2014-001: Stack overflow in HTTP processing of Cookie headers.
Sending a HTTP request that is handled by Asterisk with a large number of
Cookie headers could overflow the stack.
Another vulnerability along similar lines is any HTTP request with a
ridiculous number of headers in the request could exhaust system memory.
* AST-2014-002: chan_sip: Exit early on bad session timers request
This change allows chan_sip to avoid creation of the channel and
consumption of associated file descriptors altogether if the inbound
request is going to be rejected anyway.
These issues and their resolutions are described in the security advisories.
For more information about the details of these vulnerabilities,
please read security advisories AST-2014-001, AST-2014-002,
AST-2014-003, and AST-2014-004, which were released at the same
time as this announcement.
For a full list of changes in the current releases, please see the ChangeLogs:
http://downloads.asterisk.org/pub/telephony/asterisk/releases/ChangeLog-1.8.26.1
The security advisories are available at:
* http://downloads.asterisk.org/pub/security/AST-2014-001.pdf
* http://downloads.asterisk.org/pub/security/AST-2014-002.pdf
Thank you for your continued support of Asterisk!
-----
The Asterisk Development Team has announced the release of Asterisk 1.8.26.0.
This release is available for immediate download at
http://downloads.asterisk.org/pub/telephony/asterisk
The release of Asterisk 1.8.26.0 resolves several issues reported by the
community and would have not been possible without your participation.
Thank you!
The following are the issues resolved in this release:
Bugs fixed in this release:
-----------------------------------
* ASTERISK-22544 - Italian prompt vm-options has advertisement in
it (Reported by Rusty Newton)
* ASTERISK-12117 - chan_sip creates a new local tag (from-tag) for
every register message (Reported by Pawel Pierscionek)
* ASTERISK-20862 - Asterisk min and max member penalties not
honored when set with 0 (Reported by Schmooze Com)
* ASTERISK-22746 - [patch]Crash in chan_dahdi during caller id
read (Reported by Michael Walton)
* ASTERISK-22788 - [patch] main/translate.c: access to variable f
after free in ast_translate() (Reported by Corey Farrell)
* ASTERISK-21242 - Segfault when T.38 re-invite retransmission
receives 200 OK (Reported by Ashley Winters)
* ASTERISK-22590 - BufferOverflow in unpacksms16() when receiving
16 bit multipart SMS with app_sms (Reported by Jan Juergens)
* ASTERISK-22905 - Prevent Asterisk functions that are 'dangerous'
from being executed from external interfaces (Reported by Matt
Jordan)
* ASTERISK-23021 - Typos in code : "avaliable" instead of
"available" (Reported by Jeremy Lainé)
* ASTERISK-22970 - [patch]Documentation fix for QUOTE() (Reported
by Gareth Palmer)
* ASTERISK-22856 - [patch]SayUnixTime in polish reads minutes
instead of seconds (Reported by Robert Mordec)
* ASTERISK-22854 - [patch] - Deadlock between cel_pgsql unload and
core_event_dispatcher taskprocessor thread (Reported by Etienne
Lessard)
* ASTERISK-22910 - [patch] - REPLACE() calls strcpy on overlapping
memory when <replace-char> is empty (Reported by Gareth Palmer)
* ASTERISK-22871 - cel_pgsql module not loading after "reload" or
"reload cel_pgsql.so" command (Reported by Matteo)
* ASTERISK-23084 - [patch]rasterisk needlessly prints the
AST-2013-007 warning (Reported by Tzafrir Cohen)
* ASTERISK-17138 - [patch] Asterisk not re-registering after it
receives "Forbidden - wrong password on authentication"
(Reported by Rudi)
* ASTERISK-23011 - [patch]configure.ac and pbx_lua don't support
lua 5.2 (Reported by George Joseph)
* ASTERISK-22834 - Parking by blind transfer when lot full orphans
channels (Reported by rsw686)
* ASTERISK-23047 - Orphaned (stuck) channel occurs during a failed
SIP transfer to parking space (Reported by Tommy Thompson)
* ASTERISK-22946 - Local From tag regression with sipgate.de
(Reported by Stephan Eisvogel)
* ASTERISK-23010 - No BYE message sent when sip INVITE is received
(Reported by Ryan Tilton)
Improvements made in this release:
-----------------------------------
* ASTERISK-22659 - Make a new core and extra sounds release
(Reported by Rusty Newton)
* ASTERISK-22918 - dahdi show channels slices PRI channel dnid on
output (Reported by outtolunc)
For a full list of changes in this release, please see the ChangeLog:
http://downloads.asterisk.org/pub/telephony/asterisk/ChangeLog-1.8.26.0
Thank you for your continued support of Asterisk!
Remove example rc.d scripts from PLISTs. These are now handled dynamically if INIT_SYSTEM is set to "rc.d", or ignored otherwise.
Update to Asterisk 1.8.23.0: this is a bugfix release
pkgsrc changes:
- add work around for NetBSD's incompatible implementation of IP_PKTINFO
- core sounds package was updated to 1.4.24
The Asterisk Development Team has announced the release of Asterisk 1.8.23.0.
The release of Asterisk 1.8.23.0 resolves several issues reported by the
community and would have not been possible without your participation.
Thank you!
The following is a sample of the issues resolved in this release:
* --- Fix a memory copying bug in slinfactory which was causing
mixmonitor issues.
* --- IAX2: fix race condition with nativebridge transfers.
* --- Fix crash in chan_sip when a core initiated op occurs at the
same time as a BYE
* --- Fix The Payload Being Set On CN Packets And Do Not Set Marker
Bit
* --- chan_sip: Session-Expires: Set timer to correctly expire at
(~2/3) of the interval when not the refresher
For a full list of changes in this release, please see the ChangeLog:
http://downloads.asterisk.org/pub/telephony/asterisk/ChangeLog-1.8.23.0
Thank you for your continued support of Asterisk!
Update to Asterisk 1.8.21.0: this is a bug fix update
The Asterisk Development Team has announced the release of Asterisk 1.8.21.0.
The release of Asterisk 1.8.21.0 resolves several issues reported by the
community and would have not been possible without your participation.
Thank you!
The following is a sample of the issues resolved in this release:
* --- Fix issue where chan_mobile fails to bind to first available port
* --- Fix station ringback; trunk hangup issues in SLA
* --- Fix Queue Log Reporting Every Call COMPLETECALLER With "h"
Extension Present
* --- Fix Record-Route parsing for large headers.
* --- Fix AMI redirect action with two channels failing to redirect
both channels.
For a full list of changes in this release, please see the ChangeLog:
http://downloads.asterisk.org/pub/telephony/asterisk/ChangeLog-1.8.21.0
Thank you for your continued support of Asterisk!
Build fix: This is the second attempt to fix the build problem that some people have seen (I have received inconsistent reports). This should force chan_mgcp to build on systems where it can. It was tested on NetBSD 5.0, thus ensuring that it doesn't break previously working systems; and NetBSD 6.99.7, where I finally saw the problem that some people were reporting.
Fix the build issue where some people were seeing chan_mgcp.so being built and others weren't by detecting the situation when it would be built and adjusting the PLIST accordingly.
- revert previous
- this package is marked OWNER= for a reason!
- need to figure out why chan_mgcp is built only in some situations
instead of adding gross hacks
- upgrade to Asterisk 1.8.14.1: this is a bugfix release
The release of Asterisk 1.8.14.1 resolves an issue reported by the
community and would have not been possible without your participation.
Thank you!
The following is the issue resolved in this release:
* --- Remove a superfluous and dangerous freeing of an SSL_CTX.
For a full list of changes in this release, please see the ChangeLog:
http://downloads.asterisk.org/pub/telephony/asterisk/ChangeLog-1.8.14.1
Thank you for your continued support of Asterisk!
comms/asterisk18: PLIST+= chan_mgcp.so (DragonFly Only) Defined new PLIST.mgcp variable for new file: lib/asterisks/modules/chan_mgcp.so
Update to 1.8.13.0:
The Asterisk Development Team has announced the release of Asterisk
1.8.13.0.
The release of Asterisk 1.8.13.0 resolves several issues reported
by the community and would have not been possible without your
participation. Thank you!
The following is a sample of the issues resolved in this release:
* --- Turn off warning message when bind address is set to any.
* --- Prevent overflow in calculation in ast_tvdiff_ms on 32-bit
machines
* --- Make DAHDISendCallreroutingFacility wait 5 seconds for a reply
before disconnecting the call.
* --- Fix recalled party B feature flags for a failed DTMF atxfer.
* --- Fix DTMF atxfer running h exten after the wrong bridge ends.
For a full list of changes in this release, please see the ChangeLog:
http://downloads.asterisk.org/pub/telephony/asterisk/ChangeLog-1.8.13.0
Thank you for your continued support of Asterisk!
Pullup ticket #3715 - requested by dholland
comms/asterisk10 and comms/asterisk18 update/build fixes.
Revisions pulled up:
- comms/asterisk10/Makefile 1.11
- comms/asterisk10/PLIST 1.5
- comms/asterisk10/distinfo 1.8
- comms/asterisk10/options.mk 1.4
- comms/asterisk10/patches/patch-configure 1.3
- comms/asterisk10/patches/patch-main_features.c 1.2
- comms/asterisk18/Makefile 1.29
- comms/asterisk18/PLIST 1.15
- comms/asterisk18/distinfo 1.24
- comms/asterisk18/options.mk 1.10
- comms/asterisk18/patches/patch-aq 1.9
- comms/asterisk18/patches/patch-ay 1.4
---
Module Name: pkgsrc
Committed By: jnemeth
Date: Sat Apr 7 20:05:57 UTC 2012
Modified Files:
pkgsrc/comms/asterisk10: Makefile PLIST distinfo options.mk
pkgsrc/comms/asterisk10/patches: patch-configure patch-main_features.c
Log Message:
Update to Asterisk 10.3.0:
pkgsrc change: eliminate ilbc option now that iLBC codec is always built
The Asterisk Development Team has announced the release of Asterisk 10.3.0.
The release of Asterisk 10.3.0 resolves several issues reported by the
community and would have not been possible without your participation.
Thank you!
The following are the issues resolved in this release:
* --- Fix potential buffer overrun and memory leak when executing "sip
show peers"
* --- Fix ACK routing for non-2xx responses.
* --- Remove possible segfaults from res_odbc by adding locks around
usage of odbc handle
* --- Fix blind transfer parking issues if the dialed extension is not
recognized as a parking extension.
* --- Copy CDR variables when set during a bridge
* --- push 'outgoing' flag from sig_XXX up to chan_dahdi
For a full list of changes in this release, please see the ChangeLog:
http://downloads.asterisk.org/pub/telephony/asterisk/ChangeLog-10.3.0
Thank you for your continued support of Asterisk!
---
Module Name: pkgsrc
Committed By: jnemeth
Date: Sat Apr 7 20:10:45 UTC 2012
Modified Files:
pkgsrc/comms/asterisk18: Makefile PLIST distinfo options.mk
pkgsrc/comms/asterisk18/patches: patch-aq patch-ay
Log Message:
Update to Asterisk 1.8.11.0:
pkgsrc change: eliminate ilbc option now that the iLBC codec is always built
The Asterisk Development Team has announced the release of Asterisk 1.8.11.0.
The release of Asterisk 1.8.11.0 resolves several issues reported by the
community and would have not been possible without your participation.
Thank you!
The following are the issues resolved in this release:
* --- Fix potential buffer overrun and memory leak when executing "sip
show peers"
* --- Fix ACK routing for non-2xx responses.
* --- Remove possible segfaults from res_odbc by adding locks around
usage of odbc handle
* --- Fix blind transfer parking issues if the dialed extension is not
recognized as a parking extension.
* --- Copy CDR variables when set during a bridge
* --- push 'outgoing' flag from sig_XXX up to chan_dahdi
For a full list of changes in this release, please see the ChangeLog:
http://downloads.asterisk.org/pub/telephony/asterisk/ChangeLog-1.8.11.0
Thank you for your continued support of Asterisk!
Update to Asterisk 1.8.11.0:
pkgsrc change: eliminate ilbc option now that the iLBC codec is always built
The Asterisk Development Team has announced the release of Asterisk 1.8.11.0.
The release of Asterisk 1.8.11.0 resolves several issues reported by the
community and would have not been possible without your participation.
Thank you!
The following are the issues resolved in this release:
* --- Fix potential buffer overrun and memory leak when executing "sip
show peers"
* --- Fix ACK routing for non-2xx responses.
* --- Remove possible segfaults from res_odbc by adding locks around
usage of odbc handle
* --- Fix blind transfer parking issues if the dialed extension is not
recognized as a parking extension.
* --- Copy CDR variables when set during a bridge
* --- push 'outgoing' flag from sig_XXX up to chan_dahdi
For a full list of changes in this release, please see the ChangeLog:
http://downloads.asterisk.org/pub/telephony/asterisk/ChangeLog-1.8.11.0
Thank you for your continued support of Asterisk!
Update to 1.8.10.1: this fixes AST-2012-002 and AST-2012-003. pkgsrc changes: adapt to having iLBC coded included in the asterisk tarball and newer version of sounds tarball. ----- 1.8.10.0 ----- The Asterisk Development Team has announced the release of Asterisk 1.8.10.0. The release of Asterisk 1.8.10.0 resolves several issues reported by the community and would have not been possible without your participation. Thank you! The following is a sample of the issues resolved in this release: * --- Prevent outbound SIP NOTIFY packets from displaying a port of 0 --- * --- Include iLBC source code for distribution with Asterisk --- * --- Fix callerid of originated calls --- * --- Fix outbound DTMF for inband mode of chan_ooh323 --- * --- Create and initialize udptl only when dialog requests image media --- * --- Don't prematurely stop SIP session timer --- For a full list of changes in this release, please see the ChangeLog: http://downloads.asterisk.org/pub/telephony/asterisk/ChangeLog-1.8.10.0 Thank you for your continued support of Asterisk! ----- 1.8.10.1 ----- The Asterisk Development Team has announced security releases for Asterisk 1.4, 1.6.2, 1.8, and 10. The available security releases are released as versions 1.4.44, 1.6.2.23, 1.8.10.1, and 10.2.1. The release of Asterisk 1.8.10.1 and 10.2.1 resolve two issues. First, they resolve the issue in app_milliwatt, wherein a buffer can potentially be overrun on the stack, but no remote code execution is possible. Second, they resolve an issue in HTTP AMI where digest authentication information can be used to overrun a buffer on the stack, allowing for code injection and execution. These issues and their resolution are described in the security advisory. For more information about the details of these vulnerabilities, please read the security advisories AST-2012-002 and AST-2012-003, which were released at the same time as this announcement. For a full list of changes in the current releases, please see the ChangeLogs: http://downloads.asterisk.org/pub/telephony/asterisk/releases/ChangeLog-1.8.10.1 The security advisories are available at: * http://downloads.asterisk.org/pub/security/AST-2012-002.pdf * http://downloads.asterisk.org/pub/security/AST-2012-003.pdf Thank you for your continued support of Asterisk!
Fix build on SunOS.
Update to Asterisk 1.8.9.0: The Asterisk Development Team is pleased to announce the release of Asterisk 1.8.9.0. This release is available for immediate download at http://downloads.asterisk.org/pub/telephony/asterisk/ The release of Asterisk 1.8.9.0 resolves several issues reported by the community and would have not been possible without your participation. Thank you! The following is a sample of the issues resolved in this release: * AST-2012-001: prevent crash when an SDP offer is received with an encrypted video stream when support for video is disabled and res_srtp is loaded. (closes issue ASTERISK-19202) Reported by: Catalin Sanda * Handle AST_CONTROL_UPDATE_RTP_PEER frames in local bridge loop. Failing to handle AST_CONTROL_UPDATE_RTP_PEER frames in the local bridge loop causes the loop to exit prematurely. This causes a variety of negative side effects, depending on when the loop exits. This patch handles the frame by essentially swallowing the frame in the local loop, as the current channel drivers expect the RTP bridge to handle the frame, and, in the case of the local bridge loop, no additional action is necessary. (closes issue ASTERISK-19095) Reported by: Stefan Schmidt Tested by: Matt Jordan * Fix timing source dependency issues with MOH. Prior to this patch, res_musiconhold existed at the same module priority level as the timing sources that it depends on. This would cause a problem when music on hold was reloaded, as the timing source could be changed after res_musiconhold was processed. This patch adds a new module priority level, AST_MODPRI_TIMING, that the various timing modules are now loaded at. This now occurs before loading other resource modules, such that the timing source is guaranteed to be set prior to resolving the timing source dependencies. (closes issue ASTERISK-17474) Reporter: Luke H Tested by: Luke H, Vladimir Mikhelson, zzsurf, Wes Van Tlghem, elguero, Thomas Arimont Patched by elguero * Fix RTP reference leak. If a blind transfer were initiated using a REFER without a prior reINVITE to place the call on hold, AND if Asterisk were sending RTCP reports, then there was a reference leak for the RTP instance of the transferrer. (closes issue ASTERISK-19192) Reported by: Tyuta Vitali * Fix blind transfers from failing if an 'h' extension is present. This prevents the 'h' extension from being run on the transferee channel when it is transferred via a native transfer mechanism such as SIP REFER. (closes issue ASTERISK-19173) Reported by: Ross Beer Tested by: Kristjan Vrban Patches: ASTERISK-19173 by Mark Michelson (license 5049) * Restore call progress code for analog ports. Extracting sig_analog from chan_dahdi lost call progress detection functionality. Fix analog ports from considering a call answered immediately after dialing has completed if the callprogress option is enabled. (closes issue ASTERISK-18841) Reported by: Richard Miller Patched by Richard Miller * Fix regression that 'rtp/rtcp set debup ip' only works when a port was also specified. (closes issue ASTERISK-18693) Reported by: Davide Dal Reviewed by: Walter Doekes For a full list of changes in this release candidate, please see the ChangeLog: http://downloads.asterisk.org/pub/telephony/asterisk/ChangeLog-1.8.9.0 Thank you for your continued support of Asterisk!
PR/35369 -- David Wetzel -- add support for speex codec (enabled by default)
Update to Asterisk 1.8.8.1.
share/doc/asterisk/AST.{txt,pdf} has been replaced with
share/doc/asterisk/Asterisk_Admin_Guide. You will need a browser
to read the latter.
----- Asterisk 1.8.8.1 -----
The release of Asterisk 1.8.8.1 resolves a regression introduced
in Asterisk 1.8.8.0 reported by the community, and would have not
been possible without your participation. Thank you!
The following is the issue resolved in this release:
* Handle AST_CONTROL_UPDATE_RTP_PEER frames in local bridge loop
Failing to handle AST_CONTROL_UPDATE_RTP_PEER frames in the local
bridge loop causes the loop to exit prematurely. This causes a
variety of negative side effects, which may include having Music
On Hold failing during a SIP Hold.
For a full description of the changes in this release, please see the ChangeLog:
http://downloads.asterisk.org/pub/telephony/asterisk/ChangeLog-1.8.8.1
Thank you for your continued support of Asterisk!
----- Asterisk 1.8.8.0 -----
The release of Asterisk 1.8.8.0 resolves several issues reported
by the community and would have not been possible without your
participation. Thank you!
The following is a sample of the issues resolved in this release:
* Updated SIP 484 handling; added Incomplete control frame
When a SIP phone uses the dial application and receives a 484
Address Incomplete response, if overlapped dialing is enabled
for SIP, then the 484 Address Incomplete is forwarded back to
the SIP phone and the HANGUPCAUSE channel variable is set to
28. Previously, the Incomplete application dialplan logic was
automatically triggered; now, explicit dialplan usage of the
application is required.
* Prevent IAX2 from getting IPv6 addresses via DNS
IAX2 does not support IPv6 and getting such addresses from DNS
can cause error messages on the remote end involving bad IPv4
address casts in the presence of IPv6/IPv4 tunnels.
* Fix bad RTP media bridges in directmedia calls on peers separated by
multiple Asterisk nodes.
* Fix crashes in ast_rtcp_write()
* Fix for incorrect voicemail duration in external notifications.
This patch fixes an issue where the voicemail duration was being
reported with a duration significantly less than the actual
sound file duration.
* Prevent segfault if call arrives before Asterisk is fully booted.
* Fix remote Crash Vulnerability in SIP channel driver (AST-2011-012)
http://downloads.asterisk.org/pub/security/AST-2011-012.pdf
* Fix locking order in app_queue.c which caused deadlocks
* Fix regression in configure script for libpri capability checks
* Prevent BLF subscriptions from causing deadlocks.
* Fix deadlock if peer is destroyed while sending MWI notice.
* Fix issue with setting defaultenabled on categories that are already
enabled by default.
* Don't crash on INFO automon request with no channel
AST-2011-014. When automon was enabled in features.conf, it
was possible to crash Asterisk by sending an INFO request if
no channel had been created yet.
* Fixed crash from orphaned MWI subscriptions in chan_sip
This patch resolves the issue where MWI subscriptions are orphaned
by subsequent SIP SUBSCRIBE messages.
* Default to nat=yes; warn when nat in general and peer differ
AST-2011-013. It is possible to enumerate SIP usernames when
the general and user/peer nat settings differ in whether to
respond to the port a request is sent from or the port listed
for responses in the Via header.
For a full list of changes in this release, please see the ChangeLog:
http://downloads.asterisk.org/pub/telephony/asterisk/ChangeLog-1.8.8.0
Thank you for your continued support of Asterisk!
Update to 1.8.7.1 -- this update fixes AST-2011-012
pkgsrc change: now what sqlite3 has been imported into NetBSD, enable it
Asterisk Project Security Advisory - AST-2011-012
Product Asterisk
Summary Remote crash vulnerability in SIP channel driver
Nature of Advisory Remote crash
Susceptibility Remote authenticated sessions
Severity Critical
Exploits Known No
Reported On October 4, 2011
Reported By Ehsan Foroughi
Posted On October 17, 2011
Last Updated On October 17, 2011
Advisory Contact Terry Wilson <twilson@digium.com>
CVE Name CVE-2011-4063
Description A remote authenticated user can cause a crash with a
malformed request due to an unitialized variable.
Resolution Ensure variables are initialized in all cases when parsing
the request.
Affected Versions
Product Release Series
Asterisk Open Source 1.8.x All versions
Asterisk Open Source 10.x All versions (currently in beta)
Corrected In
Product Release
Asterisk Open Source 1.8.7.1, 10.0.0-rc1
Patches
Download URL Revision
http://downloads.asterisk.org/pub/security/AST-2011-012-1.8.diff 1.8
http://downloads.asterisk.org/pub/security/AST-2011-012-10.diff 10
Links
Asterisk Project Security Advisories are posted at
http://www.asterisk.org/security
This document may be superseded by later versions; if so, the latest
version will be posted at
http://downloads.digium.com/pub/security/AST-2011-012.pdf and
http://downloads.digium.com/pub/security/AST-2011-012.html
Revision History
Date Editor Revisions Made
Asterisk Project Security Advisory - AST-2011-012
Copyright (c) 2011 Digium, Inc. All Rights Reserved.
Permission is hereby granted to distribute and publish this advisory in its
original, unaltered form.
Update to 1.8.7.0nb1. This update adds a "jabber" option which is enabled by default. This option pulls in iksemel which is used by the res_jabber. Doing this allows chan_jingle (jabber) and chan_gtalk to work.
Update to 1.8.7.0 (mainly bug fixes). pkgsrc changes: - adjust for ilbc changes after it was acquired by Google - install AST.pdf IAX2-security.pdf into share/doc/asterisk 1.8.7.0: ======== The release of Asterisk 1.8.7.0 resolves several issues reported by the community and would have not been possible without your participation. Thank you! Please note that a significant numbers of changes and fixes have gone into features.c in this release (call parking, built-in transfers, call pickup, etc.). NOTE: Recently, we were notified that the mechanism included in our Asterisk source code releases to download and build support for the iLBC codec had stopped working correctly; a little investigation revealed that this occurred because of some changes on the ilbcfreeware.org website. These changes occurred as a result of Google's acquisition of GIPS, who produced (and provided licenses for) the iLBC codec. If you are a user of Asterisk and iLBC together, and you've already executed a license agreement with GIPS, we believe you can continue using iLBC with Asterisk. If you are a user of Asterisk and iLBC together, but you had not executed a license agreement with GIPS, we encourage you to research the situation and consult with your own legal representatives to determine what actions you may want to take (or avoid taking). More information is available on the Asterisk blog: http://blogs.asterisk.org/2011/09/19/ilbc-support-in-asterisk-after-googles-acquisition-of-gips/ The following is a sample of the issues resolved in this release: * Added the 'storesipcause' option to sip.conf to allow the user to disable the setting of HASH(SIP_CAUSE,) on the channel. Having chan_sip set HASH(SIP_CAUSE,) on the channel carries a significant performance penalty because of the usage of the MASTER_CHANNEL() dialplan function. We've decided to disable this feature by default in future 1.8 versions. This would be an unexpected behavior change for anyone depending on that SIP_CAUSE update in their dialplan. Please refer to the asterisk-dev mailing list more information: http://lists.digium.com/pipermail/asterisk-dev/2011-August/050626.html * Significant fixes and improvements to parking lots. (Closes issues ASTERISK-17183, ASTERISK-17870, ASTERISK-17430, ASTERISK-17452, ASTERISK-17452, ASTERISK-15792.) * Numerous issues have been reported for deadlocks that are caused by a blocking read in res_timing_timerfd on a file descriptor that will never be written to. A change to Asterisk adds some checks to make sure that the timerfd is both valid and armed before calling read(). Should fix: ASTERISK-18142, ASTERISK-18197, ASTERISK-18166 and possibly others. (In essence, this change should make res_timing_timerfd usable.) * Resolve segfault when publishing device states via XMPP and not connected. (Closes issue ASTERISK-18078.) * Refresh peer address if DNS unavailable at peer creation. (Closes issue ASTERISK-18000) * Fix the missing DAHDI channels when using the newer chan_dahdi.conf sections for channel configuration. (Closes issue ASTERISK-18496.) * Remove unnecessary libpri dependency checks in the configure script. (Closes issue ASTERISK-18535.) * Update get_ilbc_source.sh script to work again. (Closes issue ASTERISK-18412) For a full list of changes in this release, please see the ChangeLog: http://downloads.asterisk.org/pub/telephony/asterisk/ChangeLog-1.8.7.0 Thank you for your continued support of Asterisk! 1.8.6.0: ======== The release of Asterisk 1.8.6.0 resolves several issues reported by the community and would have not been possible without your participation. Thank you! The following is a sample of the issues resolved in this release: * Fix an issue with Music on Hold classes losing files in playlist when realtime is used. (Closes issue ASTERISK-17875.) * Resolve a potential crash in chan_sip when utilizing auth= and performing a 'sip reload' from the console. (Closes issue ASTERISK-17939.) * Address some improper sql statements in res_odbc that would cause an update to fail on realtime peers due to trying to set as "(NULL)" rather than an actual NULL. (Closes issue ASTERISK-17791.) * Resolve issue where 403 Forbidden would always be sent maximum number of times regardless to receipt of ACK. * Resolve issue where if a call to MeetMe includes both the dynamic(D) and always request PIN(P) options, MeetMe will ask for the PIN two times: once for creating the conference and once for entering the conference. * Fix New Zealand indications profile based on http://www.telepermit.co.nz/TNA102.pdf (Closes issue ASTERISK-16263.) * Segfault in shell_helper in func_shell.c (Closes issue ASTERISK-18109.) For a full list of changes in this release, please see the ChangeLog: http://downloads.asterisk.org/pub/telephony/asterisk/ChangeLog-1.8.6.0 Thank you for your continued support of Asterisk!
Update to Asterisk 1.8.5.0: this is a general bug fix release The release of Asterisk 1.8.5.0 resolves several issues reported by the community and would have not been possible without your participation. Thank you! The following is a sample of the issues resolved in this release: * Fix Deadlock with attended transfer of SIP call * Fixes thread blocking issue in the sip TCP/TLS implementation. * Be more tolerant of what URI we accept for call completion PUBLISH requests. * Fix a nasty chanspy bug which was causing a channel leak every time a spied on channel made a call. * This patch fixes a bug with MeetMe behavior where the 'P' option for always prompting for a pin is ignored for the first caller. * Fix issue where Asterisk does not hangup a channel after endpoint hangs up. If the call that the dialplan started an AGI script for is hungup while the AGI script is in the middle of a command then the AGI script is not notified of the hangup. * Resolve issue where leaving a voicemail, the MWI message is never sent. The same thing happens when checking a voicemail and marking it as read. * Resolve issue where wait for leader with Music On Hold allows crosstalk between participants. Parenthesis in the wrong position. Regression from issue #14365 when expanding conference flags to use 64 bits. For a full list of changes in this release, please see the ChangeLog: http://downloads.asterisk.org/pub/telephony/asterisk/ChangeLog-1.8.5.0 Thank you for your continued support of Asterisk!
Update to Asterisk 1.8.4.4 (fixes AST-2011-011):
Asterisk Project Security Advisory - AST-2011-011
+------------------------------------------------------------------------+
| Product | Asterisk |
|--------------------+---------------------------------------------------|
| Summary | Possible enumeration of SIP users due to |
| | differing authentication responses |
|--------------------+---------------------------------------------------|
| Nature of Advisory | Unauthorized data disclosure |
|--------------------+---------------------------------------------------|
| Susceptibility | Remote unauthenticated sessions |
|--------------------+---------------------------------------------------|
| Severity | Moderate |
|--------------------+---------------------------------------------------|
| Exploits Known | No |
|--------------------+---------------------------------------------------|
| CVE Name | CVE-2011-2536 |
+------------------------------------------------------------------------+
+------------------------------------------------------------------------+
| Description | Asterisk may respond differently to SIP requests from an |
| | invalid SIP user than it does to a user configured on |
| | the system, even when the alwaysauthreject option is set |
| | in the configuration. This can leak information about |
| | what SIP users are valid on the Asterisk system. |
+------------------------------------------------------------------------+
+------------------------------------------------------------------------+
| Resolution | Respond to SIP requests from invalid and valid SIP users |
| | in the same way. Asterisk 1.4 and 1.6.2 do not respond |
| | identically by default due to backward-compatibility |
| | reasons, and must have alwaysauthreject=yes set in |
| | sip.conf. Asterisk 1.8 defaults to alwaysauthreject=yes. |
| | |
| | IT IS ABSOLUTELY IMPERATIVE that users of Asterisk 1.4 |
| | and 1.6.2 set alwaysauthreject=yes in the general section |
| | of sip.conf. |
+------------------------------------------------------------------------+
Upgrade to 1.8.4.2. This fixes several security issues including:
AST-2011-002, AST-2011-003, AST-2011-004, AST-2011-005, AST-2011-006,
and AST-2011-007.
pkgsrc changes:
- add patch for autosupport script; == -> =
- patch configure to not unconditionally set PBX_LAUNCHD=1
- this allows res_timing_kqueue.so to build
This last change brings a timing source to NetBSD which allows IAX
trunking and allows the bridging modules to work, a rather major
piece that was missing. Note that I haven't extensively tested
it. But, have at it...
===========================================================================
1.8.4.2:
The Asterisk Development Team has announced the release of Asterisk
version 1.8.4.2, which is a security release for Asterisk 1.8.
The release of Asterisk 1.8.4.2 resolves an issue with SIP URI parsing
which can lead to a remotely exploitable crash:
Remote Crash Vulnerability in SIP channel driver (AST-2011-007)
The issue and resolution is described in the AST-2011-007 security
advisory.
For more information about the details of this vulnerability, please
read the security advisory AST-2011-007, which was released at the same
time as this announcement.
For a full list of changes in the current release, please see the ChangeLog:
http://downloads.asterisk.org/pub/telephony/asterisk/releases/ChangeLog-1.8.4.2
Security advisory AST-2011-007 is available at:
http://downloads.asterisk.org/pub/security/AST-2011-007.pdf
===========================================================================
1.8.4.1:
The Asterisk Development Team has announced the release of Asterisk 1.8.4.1.
The release of Asterisk 1.8.4.1 resolves several issues reported by the
community. Without your help this release would not have been possible.
Thank you!
Below is a list of issues resolved in this release:
* Fix our compliance with RFC 3261 section 18.2.2. (aka Cisco phone fix)
* Resolve a change in IPv6 header parsing due to the Cisco phone fix issue.
This issue was found and reported by the Asterisk test suite.
* Resolve potential crash when using SIP TLS support.
* Improve reliability when using SIP TLS.
For a full list of changes in this release candidate, please see the ChangeLog:
http://downloads.asterisk.org/pub/telephony/asterisk/ChangeLog-1.8.4.1
===========================================================================
1.8.4:
The Asterisk Development Team has announced the release of Asterisk 1.8.4.
The release of Asterisk 1.8.4 resolves several issues reported by the community.
Without your help this release would not have been possible. Thank you!
Below is a sample of the issues resolved in this release:
* Use SSLv23_client_method instead of old SSLv2 only.
* Resolve crash in ast_mutex_init()
* Resolution of several DTMF based attended transfer issues.
NOTE: Be sure to read the ChangeLog for more information about these changes.
* Resolve deadlocks related to device states in chan_sip
* Resolve an issue with the Asterisk manager interface leaking memory when
disabled.
* Support greetingsfolder as documented in voicemail.conf.sample.
* Fix channel redirect out of MeetMe() and other issues with channel softhangup
* Fix voicemail sequencing for file based storage.
* Set hangup cause in local_hangup so the proper return code of 486 instead of
503 when using Local channels when the far sides returns a busy. Also affects
CCSS in Asterisk 1.8+.
* Fix issues with verbose messages not being output to the console.
* Fix Deadlock with attended transfer of SIP call
Includes changes per AST-2011-005 and AST-2011-006
For a full list of changes in this release candidate, please see the ChangeLog:
http://downloads.asterisk.org/pub/telephony/asterisk/ChangeLog-1.8.4
Information about the security releases are available at:
http://downloads.asterisk.org/pub/security/AST-2011-005.pdf
http://downloads.asterisk.org/pub/security/AST-2011-006.pdf
===========================================================================
1.8.3.3:
The Asterisk Development Team has announced security releases for Asterisk
branches 1.4, 1.6.1, 1.6.2, and 1.8. The available security releases are
released as versions 1.4.40.1, 1.6.1.25, 1.6.2.17.3, and 1.8.3.3.
The releases of Asterisk 1.4.40.1, 1.6.1.25, 1.6.2.17.3, and 1.8.3.3 resolve two
issues:
* File Descriptor Resource Exhaustion (AST-2011-005)
* Asterisk Manager User Shell Access (AST-2011-006)
The issues and resolutions are described in the AST-2011-005 and AST-2011-006
security advisories.
For more information about the details of these vulnerabilities, please read the
security advisories AST-2011-005 and AST-2011-006, which were released at the
same time as this announcement.
For a full list of changes in the current releases, please see the ChangeLog:
http://downloads.asterisk.org/pub/telephony/asterisk/releases/ChangeLog-1.8.3.3
Security advisory AST-2011-005 and AST-2011-006 are available at:
http://downloads.asterisk.org/pub/security/AST-2011-005.pdf
http://downloads.asterisk.org/pub/security/AST-2011-006.pdf
===========================================================================
1.8.3.2:
he Asterisk Development Team has announced security releases for Asterisk
branches 1.6.1, 1.6.2, and 1.8. The available security releases are
released as versions 1.6.1.24, 1.6.2.17.2, and 1.8.3.2.
** This is a re-release of Asterisk 1.6.1.23, 1.6.2.17.1 and 1.8.3.1 which
contained a bug which caused duplicate manager entries (issue #18987).
The releases of Asterisk 1.6.1.24, 1.6.2.17.2, and 1.8.3.2 resolve two issues:
* Resource exhaustion in Asterisk Manager Interface (AST-2011-003)
* Remote crash vulnerability in TCP/TLS server (AST-2011-004)
The issues and resolutions are described in the AST-2011-003 and AST-2011-004
security advisories.
For more information about the details of these vulnerabilities, please read the
security advisories AST-2011-003 and AST-2011-004, which were released at the
same time as this announcement.
For a full list of changes in the current releases, please see the ChangeLog:
http://downloads.asterisk.org/pub/telephony/asterisk/releases/ChangeLog-1.8.3.2
Security advisory AST-2011-003 and AST-2011-004 are available at:
http://downloads.asterisk.org/pub/security/AST-2011-003.pdf
http://downloads.asterisk.org/pub/security/AST-2011-004.pdf
===========================================================================
1.8.3.1:
The Asterisk Development Team has announced security releases for Asterisk
branches 1.6.1, 1.6.2, and 1.8. The available security releases are
released as versions 1.6.1.23, 1.6.2.17.1, and 1.8.3.1.
The releases of Asterisk 1.6.1.23, 1.6.2.17.1, and 1.8.3.1 resolve two issues:
* Resource exhaustion in Asterisk Manager Interface (AST-2011-003)
* Remote crash vulnerability in TCP/TLS server (AST-2011-004)
The issues and resolutions are described in the AST-2011-003 and AST-2011-004
security advisories.
For more information about the details of these vulnerabilities, please read the
security advisories AST-2011-003 and AST-2011-004, which were released at the
same time as this announcement.
For a full list of changes in the current releases, please see the ChangeLog:
http://downloads.asterisk.org/pub/telephony/asterisk/releases/ChangeLog-1.8.3.1
Security advisory AST-2011-003 and AST-2011-004 are available at:
http://downloads.asterisk.org/pub/security/AST-2011-003.pdf
http://downloads.asterisk.org/pub/security/AST-2011-004.pdf
===========================================================================
1.8.3:
The Asterisk Development Team has announced the release of Asterisk 1.8.3.
The release of Asterisk 1.8.3 resolves several issues reported by the community
and would have not been possible without your participation. Thank you!
The following is a sample of the issues resolved in this release:
* Resolve duplicated data in the AstDB when using DIALGROUP()
* Ensure the ipaddr field in realtime is large enough to handle IPv6 addresses.
* Reworking parsing of mwi => lines to resolve a segfault. Also add a set of
unit tests for the function that does the parsing.
* When using cdr_pgsql the billsec field was not populated correctly on
unanswered calls.
* Resolve memory leak in iCalendar and Exchange calendaring modules.
* This version of Asterisk includes the new Compiler Flags option
BETTER_BACKTRACES which uses libbfd to search for better symbol information
within both the Asterisk binary, as well as loaded modules, to assist when
using inline backtraces to track down problems.
* Resolve issue where no Music On Hold may be triggered when using
res_timing_dahdi.
* Resolve a memory leak when the Asterisk Manager Interface is disabled.
* Reimplemented fax session reservation to reverse the ABI breakage introduced
in r297486.
* Fix regression that changed behavior of queues when ringing a queue member.
* Resolve deadlock involving REFER.
Additionally, this release has the changes related to security bulletin
AST-2011-002 which can be found at
http://downloads.asterisk.org/pub/security/AST-2011-002.pdf
For a full list of changes in this release, please see the ChangeLog:
http://downloads.asterisk.org/pub/telephony/asterisk/ChangeLog-1.8.3
===========================================================================
1.8.2.4:
The Asterisk Development Team has announced security releases for Asterisk
branches 1.4, 1.6.1, 1.6.2, and 1.8. The available security releases are
released as versions 1.4.39.2, 1.6.1.22, 1.6.2.16.2, and 1.8.2.4.
The releases of Asterisk 1.4.39.2, 1.6.1.22, 1.6.2.16.2, and 1.8.2.4 resolve an
issue that when decoding UDPTL packets, multiple stack and heap based arrays can
be made to overflow by specially crafted packets. Systems configured for
T.38 pass through or termination are vulnerable. The issue and resolution are
described in the AST-2011-002 security advisory.
For more information about the details of this vulnerability, please read the
security advisory AST-2011-002, which was released at the same time as this
announcement.
For a full list of changes in the current release, please see the ChangeLog:
http://downloads.asterisk.org/pub/telephony/asterisk/releases/ChangeLog-1.8.2.4
Security advisory AST-2011-002 is available at:
http://downloads.asterisk.org/pub/security/AST-2011-002.pdf
Add a spandsp option which pulls in comms/spandsp and links against it to enable res_fax_spandsp.so. Don't bother with a PKGREVISION bump since this doesn't change default builds and there is no need tobother people that don't need the option.
flag cel_odbc.so as only being installed when unixodbc option is selected
Import Asterisk 1.8.1:
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 1.8 is a long term support version (i.e. it will be
supported for four years with an additional year of security only
fixes). See:
https://wiki.asterisk.org/wiki/display/AST/Asterisk+Versions
What's new:
Asterisk 1.8 is the next major release series of Asterisk.
The release of Asterisk 1.8.0 would not have been possible without the support
and contributions of the community. Since Asterisk 1.6.2, we've had over 500
reporters, more than 300 testers and greater than 200 developers contributed to
this release.
You can find a summary of the work involved with the 1.8.0 release in the
sumary:
http://svn.asterisk.org/svn/asterisk/tags/1.8.0/asterisk-1.8.0-summary.txt
A short list of available features includes:
* Secure RTP
* IPv6 Support in the SIP channel driver
* Connected Party Identification Support
* Calendaring Integration
* A new call logging system, Channel Event Logging (CEL)
* Distributed Device State using Jabber/XMPP PubSub
* Call Completion Supplementary Services support
* Advice of Charge support
* Much, much more!
A full list of new features can be found in the CHANGES file.
http://svn.digium.com/view/asterisk/branches/1.8/CHANGES?view=markup
For a full list of changes in the current release candidate, please see the
ChangeLog:
http://downloads.asterisk.org/pub/telephony/asterisk/ChangeLog-1.8.0
-----
The Asterisk Development Team has announced the release of Asterisk 1.8.1.
The release of Asterisk 1.8.1 resolves several issues reported by the
community and would have not been possible without your participation.
Thank you!
The following is a sample of the issues resolved in this release:
* Fix issue when using directmedia. Asterisk needs to limit the codecs offered
to just the ones that both sides recognize, otherwise they may end up sending
audio that the other side doesn't understand.
(Closes issue #17403. Reported, patched by one47. Tested by one47, falves11)
* Resolve issue where Party A in an analog 3-way call would continue to hear
ringback after party C answers.
(Patched by rmudgett)
* Fix playback failure when using IAX with the timerfd module.
(Closes issue #18110. Reported, tested by tpanton. Patched by jpeeler)
* Fix problem with qualify option packets for realtime peers never stopping.
The option packets not only never stopped, but if a realtime peer was not in
the peer list multiple options dialogs could accumulate over time.
(Closes issue #16382. Reported by lftsy. Tested by zerohalo. Patched by
jpeeler)
* Fix issue where it is possible to crash Asterisk by feeding the curl engine
invalid data.
(Closes issue #18161. Reported by wdoekes. Patched by tilghman)
For a full list of changes in this release, please see the ChangeLog:
http://downloads.asterisk.org/pub/telephony/asterisk/ChangeLog-1.8.1
Initial revision