Skip to content

NethVoice: missing queue announcement setting prevents startup #8332

Closed
nethesis/ns8-nethvoice
#1219

Description

@Stell0

Steps to reproduce

  1. Use a disposable NethVoice installation with an existing queue whose asterisk.queues_details records do not include the skip_joinannounce keyword.
  2. Upgrade to NethVoice 1.8.3 and let FreePBX initialize, or run fwconsole reload on that test instance.

Expected behavior

FreePBX completes its reload and starts normally. Queues without this optional setting receive the default value, while explicitly configured announcement modes remain unchanged.

Actual behavior

FreePBX fails while generating the queue dialplan:

In dialplan.php line 149:
Undefined array key "skip_joinannounce"
'fwconsole reload' failed, config not applied

The failed reload prevents readiness and causes repeated FreePBX restarts. CTI services also become unavailable during the restart loop.

The pinned Queues 17.0.4 source reads $q['skip_joinannounce'] directly in functions.inc/dialplan.php:149. queues_get() loads this value from a keyword row in queues_details; this is a missing row, not a missing table column. The exact exception was reproduced locally with the pinned upstream source and a synthetic queue without that keyword. The production database was not directly inspected.

The fix should backfill missing rows before FreePBX initialization reloads the dialplan. Set data='' (the module's “Always” option) and flags=0, only for queues in queues_config without the keyword. Preserve all existing settings, members and penalties, and make repeated runs harmless.

Components

  • NethVoice 1.8.3, source commit 10f71843ef5b12ea02d29d79f75033b4ffdc9aec.
  • FreePBX 17; pinned Queues module 17.0.4.

See also

Activity

  1. added this to the NethVoice 1.8 milestone on Nov 17, 2026
  2. added
    nethvoice
    on Nov 17, 2026
  3. added theissue type on Nov 17, 2026
  4. added
    testing
    on Nov 18, 2026
  5. moved this from Todo to Testing in NethVoiceon Nov 18, 2026
  6. edospadoni commented on Nov 18, 2026

    @edospadoni
    Member
  7. removed their assignment
    on Nov 19, 2026
  8. added
    verified
    on Nov 19, 2026
  9. removed
    testing
    on Nov 19, 2026
  10. moved this from Testing to Verified in NethVoiceon Nov 19, 2026
  11. edospadoni commented on Nov 23, 2026

    @edospadoni
    Member

    Release nethesis/ns8-nethvoice 1.8.5

  12. removed
    verified
    on Nov 23, 2026
  13. moved this from Verified to Done in NethVoiceon Nov 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    nethvoice

    Type

    Projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions