Skip to content

Remove legacy SIP providers table #8145

Description

@Stell0

The legacy asterisk.providers table is still created and populated even though SIP provider management uses the PJSIP provider tables. Remove the obsolete table from new installations and existing installations during upgrade.

Steps to reproduce

  1. On a fresh installation, verify that asterisk.providers is not created and rest_pjsip_providers is available and populated.
  2. Create a PJSIP trunk using a provider template and verify it can be saved and applied correctly.
  3. On an existing installation before upgrade, verify that asterisk.providers exists.
  4. Upgrade NethVoice to a version containing the change.
  5. Verify that asterisk.providers has been removed while rest_pjsip_providers is still available and populated.
  6. Verify that existing PJSIP trunks are preserved and continue to work after the upgrade.

Expected behavior

The legacy asterisk.providers table is absent after both fresh installation and upgrade, without affecting PJSIP providers or existing trunks.

Actual behavior

The legacy asterisk.providers table is currently created, populated and refreshed even though it is no longer needed.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

nethvoiceBug or features releted to the NethVoice projecttestingPackages are available from testing repositories

Type

Projects

  • Status
    Testing

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions