# Updated via Autotest Editor - 2026-05-25T21:52:12.045Z
# Source of truth: this YAML file

id: pbx-extensions-check-device_provisioning
module: pbx
group: pbx-extensions
title: 'Verify automatic device provisioning: profile generation and server URL accessible'
description: 'Verify automatic device provisioning: profile generation and server URL accessible'
priority: Medium
tags: []
references: []
dependencies:
  - label: Admin Portal
    value: https://pbx.local:4443 (configure via $BASE_URL)
  - label: Repository URL
    value: ${BASE_URL}/downloads or $REPO_URL
  - label: Protocol
    value: HTTPS + SIP (UDP/TCP/TLS) + RTP/SRTP
  - label: SIP Endpoints
    value: 'At least 2 registered SIP clients (deskphone or softphone: Zoiper, MicroSIP, Yealink, etc.)'
  - label: Network
    value: SIP trunk or local Asterisk/FreeSWITCH simulator for PSTN simulation
  - label: Credentials
    value: Admin user with sufficient privileges (portal + SSH where needed)
  - label: Test Data
    value: Clean test tenant or lab PBX instance (recommended isolated environment)
preconditions: []
postconditions: []
steps:
  - action: Open admin portal or repository URL in browser context
    expected: ''
  - action: Execute the main verification or configuration action described in the test
    expected: ''
  - action: Capture evidence (screenshot, log, API response)
    expected: ''
  - action: Assert expected outcome
    expected: ''
automation_status: partial
file: tests/pbx/extensions.spec.ts
custom_fields:
  original_action: check
  partialNotes: >-
    Provisioning profile creation via admin portal automated; actual device provisioning requires
    physical phone
automatable:
  - Portal UI configuration and verification steps (already partially automated)
  - Data extraction and reporting of current settings
notYet:
  - >-
    Provisioning profile creation via admin portal automated; actual device provisioning requires
    physical phone
  - Requires external SIP endpoints or physical phones for media/audio validation
