Skip to content

Extensions ​

Every test except the PBX watch uses SIP accounts — the callers that register and place calls, the callees that answer, the extensions of a registration test. They are uploaded as CSV files into extension sets, and each set belongs to the selected profile. This page explains the upload, the CSV rules and the set list. How to create matching extensions on the PBX: Test extensions on the PBX.

Everyone sees the sets; uploading, deleting and Use in test need the operator or admin role.

First step: press Upload and choose your CSV of test extensions (CSV format).

Extensions page: CSV upload, the list of sets and one set's extensions
  1. Upload CSV: column description and an example.
  2. File, set name, Upload.
  3. Sets of this profile.
  4. Use in test / Delete.
  5. The selected set’s extensions (no passwords).

Upload CSV ​

Pick a file, optionally a Set name (default: the file name without extension), and Upload. On success: "Imported 250 extensions into “qa-phones”." and the set opens below. The whole file is checked first; if anything is wrong nothing is imported and every problem is listed with its line number (the first 50).

Format ​

csv
username,password,domain,auth_user,display_name
1000,Secret1,test.example.com,,Test 1000
1001,Secret2,test.example.com,,
2000,Secret3,other.example.com,2000,
RuleDetail
Columnsusername,password,domain,auth_user,display_name in this order when there is no header
Header rowoptional; recognised when it names a username and a password column. Aliases (any case): user, extension, ext; pass, secret; realm, host; authuser, auth_username; displayname, name. With a header the columns may be in any order, unknown columns are ignored
Separatorcomma or semicolon (whichever the first data line has more of)
Empty domainthe profile's Default domain; an error when none is set
Empty auth_userthe username (the usual case: the digest user is the extension)
Comments, blankslines starting with # and empty lines are skipped; an Excel BOM is fine
Not allowedan empty username or password; ;, quotes, <, > or line breaks in any field; spaces or tabs in anything but the display name (they would break SIP headers)
Duplicatesthe same username@domain twice is an error
Sizeup to 20,000 extensions and 10 MB per file

Domains are lower-cased. A set may hold several domains (tenants): in calls between test extensions and in busy hour, phones only call phones of their own domain.

Order matters ​

Tests take extensions from the top of the set: a registration test with 100 of 1000 extensions uses the first 100; calls between test extensions use the first N as callers and the next M as callees. Put the extensions you want as callees after the callers, or use separate sets.

Passwords ​

Passwords are stored in the app's database encrypted (see Secrets at rest and backups) and are never returned by the API or shown in the UI. To change a password, upload the set again and delete the old one.

Sets ​

ColumnMeaning
Nameclick to show its extensions below
Extensionshow many
Domainsthe domains in it
Uploadedwhen
Use in test opens New test with this set selected; Delete asks "Click again to delete"

Deleting a set doesn't touch past runs (they keep the set's name). A schedule that uses it can no longer start: its next due time is logged as "not started".

The selected set's table shows #, Username, Domain, Auth user and Display name — the first 500 rows ("Showing the first 500.").

Uploads and deletes are recorded in the activity log.

PBXsight — load testing and monitoring for FreeSWITCH PBXes. Only test systems you own or may test.