Test your phone system

Add your own phone system (PBX) as a phone server and prove the connection with a test call that speaks a six-digit code to enter in the workspace.

A phone server is your own phone system, such as a 3CX, FreePBX, Asterisk or hosted PBX, that Skysay calls over SIP. You add it once, then prove the connection with a test call: Skysay calls an extension you name, speaks a six-digit code twice once answered, and hangs up. You enter that code in the workspace within 5 minutes, and a match makes the server Verified.

Verified means the call reached a phone on that phone system and the person who answered passed the code on. Skysay does not send a number's calls to a phone server yet, so the rule Send the call to my phone server cannot be saved, verified or not.

A phone server test call: you enter an extension in Settings and select Test call; Skysay calls that extension on your phone system showing your Skysay number and says nothing before answer; when answered within 40 seconds, Skysay speaks a six-digit code twice in the workspace's language and hangs up; you enter that code in Settings within 5 minutes with at most three wrong tries. A match makes the server verified; unanswered, ended early, three wrong codes or 5 minutes passed leave it not verified. You, in Settings enter extension 204, select Test call (no code is shown) Skysay calls 204 on your phone system, shows your Skysay number, says nothing before answer Your phone rings up to 40 s; you answer; Skysay says a 6-digit code twice, hangs up Enter code in Settings within 5 minutes; at most 3 wrong tries; Skysay checks it Not answered refused, busy or 40 s not verified Ended early hung up before code finished · not verified Wrong or expired 3 wrong codes or 5 min passed · not verified Match: verified server reads Verified The workspace never shows the code; only the code spoken on Skysay's call verifies the server. Verified means the call reached that phone system; Skysay does not send a number's calls there yet.

Add your phone system

  1. Open Settings, select Show infrastructure settings, and go to Phone servers.
  2. Select Add phone server and fill in:
    • IP address: the public IPv4 address of your phone system, such as 198.51.100.7. A domain name is not accepted, and a private, reserved or carrier address is refused.
    • Port: 5060, or a port from 1024 to 65535.
    • Transport: UDP or TCP. TLS is not supported.
    • SIP login and Password, only if your phone system asks Skysay to log in. The password is stored sealed and never shown again; leave it empty on an edit to keep it.
    • Number your phone system sees: one of your active Skysay numbers. Every call Skysay makes to this phone system shows it.
  3. Select Add phone server.

Allow Skysay's calls

Each phone server shows the addresses Skysay's calls come from, under Allow our calls. Allow them on your phone system, and route the number Skysay shows (or every caller from those addresses) to the extension you want to test.

Run the test call

  1. Under Ring a phone, enter the extension of a phone (3 to 20 digits), not a menu or voicemail.
  2. Select Test call. The workspace never shows the code.
  3. Skysay calls that extension through the server's own connection, showing the server's Skysay number, and rings for up to 40 seconds. Nothing is said before the call is answered.
  4. Answer the phone and stay on the line: Skysay says a short message with a six-digit code twice in the workspace's language (en, et, de, es, fr, ru, it, or ar), then hangs up.
  5. Under step 3, Answer the call and enter the code you hear, enter the six digits within 5 minutes (at most 3 wrong tries) and select Verify code. When the code matches, the server reads Verified.

If three wrong codes are entered, or 5 minutes pass without a match, the test ends and you start a new test call.

Lena adds 198.51.100.7, port 5060, UDP, login acme-in and its password, and picks +1 555 0100. She allows calls from Skysay's addresses on her phone system, enters extension 204 and selects Test call. The workspace reads "Ringing the extension…" and shows no code. Her desk phone rings, showing +1 555 0100. She answers and hears Skysay's message say 481592 twice, then the call hangs up. Under Answer the call and enter the code you hear, she enters 481592 and selects Verify code. The workspace reads "Acme office PBX: verified."

Right after you add a phone server, or when it was added more than a day ago and is not verified, the first test call can answer "We are preparing the connection to your phone system. Try again in a minute." Skysay's network then admits your phone system's address; try again a minute later.

One test call runs at a time per phone server, and at most three test calls run an hour per phone server and per phone system IP address.

When a test fails

The workspace saysAPI status and reasonWhat happenedWhat to do
Nobody answered the callfailed · not_answeredThe phone system refused the call, the extension does not exist, it was busy, or nobody answered within 40 secondsAllow Skysay's addresses, check the extension, and try again
The call ended before the code was saidfailed · not_playedThe call was answered, but hung up before the code finished playingStart a new test call, answer a phone, and stay on the line until the call hangs up
Skysay could not place the test callfailed · call_not_placedSkysay's side failed before it dialledTry again in a minute
The test call ended without a resultfailed · call_not_completedThe test ran out of time without a final result from Skysay's sideTry again
The phone server changed during the testfailed · server_changedYou saved a change while the test was running or waiting for the codeTest it again
Three wrong codes were enteredfailed · wrong_codeThree wrong six-digit codes were entered while the test was waiting for the codeStart a new test call
A newer test call replaced this onefailed · supersededA newer test call started for this phone server while this one was waiting for its codeUse the code from the newer test call instead
The 5 minutes passedexpired · code_not_enteredFive minutes passed after the code was spoken without a matching code being enteredStart a new test call

Hung up early: Lena answers extension 204, hears the start of the message, and hangs up before Skysay finishes speaking the code twice. The workspace reads "The call ended before the code was said. Try again and stay on the line."

Someone else's phone system: Max adds 198.51.100.7 in his own workspace and starts a test call. The workspace shows him nothing and he hears nothing. If Acme's phone system lets the call ring a desk phone, Skysay's message says what the code is for and to hang up if they did not start the test. Nobody passes the code on to Max, so his phone server stays Not verified.

What verified does and does not prove

Verified means Skysay's test call reached a phone on that phone system, and the person who answered passed the code on to whoever entered it.

It does not prove you administer the whole phone system: an extension that forwards outside, or a voicemail box someone else can open, can pass the code on too. Someone who adds another company's phone system and starts a test is shown nothing and hears nothing, and sending keypad tones or audio to Skysay's media ports changes nothing.

What a verified phone server does today:

  • Skysay sends it no calls. The rule Send the call to my phone server is refused in the workspace, the API and MCP, verified or not.
  • On Numbers, a verified server is offered for that rule, and saving the rule still fails.
  • Skysay's voice host keeps accepting calls from the server's address while the server is verified, not only in the window after you save it.

When a server stops being verified

A verified phone server holds for the address its test call reached and for its settings at the time. It reads Not verified again, and needs a new test call, when:

  • you change its IP address, port, transport, SIP login, password or number;
  • its Skysay number is released: the server then reads Pick a number until you choose another one.

Changing only its name keeps it verified.

Limits

  • A phone server is reached at an IP address only. A phone system that needs its domain name in the request (some hosted systems that serve many customers on one address) is not supported yet.
  • A phone server saved before IP addresses were required keeps its old text and asks for the IP address; it cannot be tested until you enter one.
  • A workspace can have up to 20 phone servers.
  • At most three test calls an hour to the same phone system IP address, whichever workspace or phone server record starts them, alongside one running test call at a time and three an hour per phone server.
  • Each test call rings for up to 40 seconds; once the code is spoken, you have 5 minutes and at most 3 wrong tries to enter it.

Over the API and MCP

StepRESTMCP tool
AddPOST /v1/phone-serverscreate_phone_server
ListGET /v1/phone-serverslist_phone_servers
ChangePATCH /v1/phone-servers/{phone_server_id}—
Start a test callPOST /v1/phone-servers/{phone_server_id}/test-calls with {"extension": "204"} and optional language (en, et, de, es, fr, ru, it, or ar)start_phone_server_test_call
Read the testGET /v1/phone-servers/{phone_server_id}/test-calls/{test_call_id}get_phone_server_test_call
Enter the codePOST /v1/phone-servers/{phone_server_id}/test-calls/{test_call_id}/code with {"code": "123456"}enter_phone_server_test_call_code

Create and change take only the server's own fields: name, server_address, port, transport, username, password and phone_number_id. Anything else, such as a status, is refused with 400. The record shows password_set, never the password, and allow_calls_from, the addresses to allow.

Starting or reading a test call never returns the code. Test status moves from calling to awaiting_code (with tries_left and code_expires_at), then verified, failed (with its reason), or expired (code_not_entered). Entering the code answers with the test and the server's verification state; a wrong code answers 400 phone_server_code_wrong with tries_left, entering too early answers 409 phone_server_test_not_ready, and entering after 5 minutes answers 409 phone_server_code_expired.

Reading needs numbers:read; adding, changing, testing and entering the code need numbers:write. See the API reference for the exact shapes.