Skip to main content
Keep the phone system you have and let an agent answer some of its calls: after hours, overflow, an IVR option, a queue. You create a SIP trunk in Yappr, Yappr gives you a username and password, and you add them to your phone system as one more SIP trunk. Every call it sends to that trunk is answered by the trunk’s agent. No Yappr phone number and no porting. A trunk only brings calls in: it can’t be used to place calls. Its agent can still hand a caller to a person: it asks your own phone system to place the new call (see transfers). The one exception is an extension: it can also place the agent’s calls through your phone system (see outbound calls through the extension). There are three kinds of SIP endpoint. Use a username-and-password trunk unless your platform can’t send one (see platforms); then use a SIP address endpoint. A hosted phone system that only gives you an extension account (no trunk) uses the third kind: Yappr registers to it as that extension (see register as an extension).

Which agent can answer

Any agent in your workspace can answer on a trunk, including one that runs a workflow: its calls run the agent’s published workflow, as they do on a Yappr number. Publish the workflow before you point a trunk at the agent: an agent that is switched off, or whose workflow has never been published, can’t take calls, and the trunk refuses them with 603 Decline.

Create the trunk

  • Dashboard: Numbers → SIP Endpoints → Create SIP Endpoint, choose Username and password, name it and pick the agent that answers (above). Only workspace owners and admins can create one.
  • API: POST /sip-endpoints with "auth_mode": "credentials", using a key with sip_endpoints:manage.
If username-and-password trunks aren’t switched on for your workspace, the dashboard offers only SIP addresses and the API answers 403 SIP_TRUNKS_NOT_ENABLED: ask Yappr support to switch them on. GET /sip-endpoints/status tells you whether you can create one right now. The password is shown once, right after you create the trunk. Copy it into your phone system, or a password manager, before you close the panel: neither the dashboard nor the API can show it again. If it is lost, issue a new one. Each trunk answers with one agent. To send calls to different agents, create a trunk for each. Each trunk takes 2 calls at once unless you change its limit (max_concurrent_calls, 1 to 8). One call more is refused with 486 Busy Here, so your phone system can try its next route. If your workspace’s inbound calling hours are switched on (inbound_enabled), they apply to trunk calls too: outside them, every call to the trunk is refused with 603 Decline, including after-hours calls your phone system sends to the agent. The call is refused before it is answered, so the caller doesn’t hear your after-hours message (closed_message). If the trunk takes after-hours calls, widen those hours or switch inbound calling hours off.

What to enter in your phone system

The server, backups, transports and registration are also in every trunk’s sip_connection in the API.
Keep emergency numbers on your regular phone lines, out of every route that uses this trunk. Telnyx handles emergency numbers itself and never hands those calls to Yappr, so no agent answers them, and Yappr can’t tell you whether such a call reaches emergency services.

Register, or send keep-alives

When the agent ends a call, Yappr’s hang-up has to travel back to your phone system: over TLS or TCP on the connection your system opened, over UDP through your router or firewall. The server keeps a quiet connection open, but some phone systems close their own after about 30 seconds without traffic, and routers and firewalls forget a quiet UDP path, some within a minute. Once that path has closed, the hang-up never arrives, and the caller stays on a silent line until they hang up themselves. To keep the path open:
  • Over TLS or TCP: register the trunk with its username and password, or send keep-alives every 30 seconds or less. Either keeps the connection open.
  • Over UDP behind NAT or a firewall: send keep-alives every 30 seconds or less, even if your system registers. A registration is refreshed only every few minutes, too seldom to keep a UDP path open.
Keep-alives are SIP OPTIONS requests, often called qualify or heartbeat (in Asterisk, qualify_frequency; in FreePBX, Qualify Frequency; in FreeSWITCH, ping). If a firewall in front of your system only lets known traffic in, also allow SIP from the server’s addresses (see firewalls). Then check it once: make a test call of at least two minutes, let the agent end it, and make sure your system hangs up too. A shorter call can end correctly even with no keep-alives at all.

When the same system also uses another Telnyx trunk

If the same phone system or IP address also sends calls to another Telnyx trunk, or you send from a cloud platform whose addresses other customers share, add the header X-Telnyx-Username: <your username> to this trunk’s calls, so that each call is matched to this trunk. If your system can’t add headers, put the username in the user part of its Contact header instead. Plivo, Sinch and Infobip send calls from addresses other customers share, and document no way to do either. If another Telnyx customer’s trunk is tied to one of those addresses, a call can land on that trunk instead of reaching your agent. Yappr hasn’t tested this yet, so ask Yappr support to test your route with you before you send real calls over it.

TLS certificates

Most phone systems trust the server’s certificate out of the box. If yours only trusts root certificates you upload (3CX does, for example), upload both:
  • DigiCert Global Root G2, which signs the sip.telnyx.com and sip.telnyx.eu certificates today;
  • ISRG Root X1 (Let’s Encrypt), which signs sip.telnyx.me, and will sign sip.telnyx.eu and sip.telnyx.com too once Telnyx moves them on 12 and 13 November 2026.
Take ISRG Root X1 from letsencrypt.org/certificates in its self-signed version, not a cross-signed one. Telnyx suggests adding Let’s Encrypt’s other current self-signed roots as well: ISRG Root X2, ISRG Root YE and ISRG Root YR.

Firewalls

If a firewall in front of your phone system only lets known traffic through, allow:
  • SIP to and from the server you send to (on its side, TLS 5061, TCP or UDP 5060): the agent’s hang-up comes from it. sip.telnyx.com is 192.76.120.10 and 64.16.250.10, sip.telnyx.eu is 185.246.41.140 and 185.246.41.141, and sip.telnyx.me is 185.246.42.128 and 185.246.42.129.
  • Media (RTP) to and from Telnyx’s media networks below, which use UDP ports 16384 to 32768 on their side. The media can come from a different address than the SIP server.
Telnyx publishes the current addresses at sip.telnyx.com, and as JSON at https://sip.telnyx.com/voice.json.

What your phone system hears back

Answered calls use your workspace’s credit, like other calls to your agents. A call refused before it is answered costs nothing. Before you switch a trunk off or delete it, re-route its calls in your phone system. A switched-off trunk still looks available to your system (it can still register), but every call to it is refused with 603 Decline, and not every system tries its next route after that.

What your tools and webhooks receive

The call details your agent’s tools and webhooks receive carry caller_number and callee_number. On a call from a phone, both are phone numbers in E.164. On a SIP endpoint call they come from your phone system: Neither is checked against a real phone line, so don’t use them to identify a caller on their own.

Transfers

An agent on a trunk call can hand the caller back to your own phone system, for example to a reception extension, a queue or your menu. Set the transfer destination of the agent’s transfer tool, or of a flow’s transfer node, to a SIP address instead of a phone number:
When the agent transfers, Yappr asks your phone system to place the new call (a SIP REFER). Once your phone system confirms it took the call over, Yappr is out of the call. There is no second call on Yappr’s side, Yappr never dials out, and the trunk gets no calling rights, so anyone holding the trunk’s username and password still can’t place calls on your account. Billing stops at the hand-off: the moment the carrier accepted the request to pass the caller to your phone system. The seconds your phone system then takes to place the call are not billed. What the address looks like. sip: or sips:, then a user part, @, and a host (a name, an IPv4 address or an IPv6 address in brackets), with an optional port. Up to 256 characters. It can’t contain a password or ? headers: they are removed or refused. Anything that doesn’t start with sip: or sips: is treated as a phone number. A value that starts with sip: or sips: but is malformed is rejected when you save, so you find out before a caller does. Only on trunk and extension calls. A SIP address works only on calls that arrived over a username-and-password SIP trunk, as described here, or over an extension endpoint, where it works differently: no SIP REFER is sent, and Yappr places a new call through your extension. On any other call (a phone call, a web call, or a call to a SIP-address-only endpoint) the agent is told the transfer isn’t possible, keeps helping the caller, and the call’s events record a transfer_failed with error_code REFER_ONLY_ON_SIP_TRUNK. The reverse also holds: a phone number can’t be dialled from a trunk call, so the agent is told so and the events record UNAVAILABLE_ON_SIP_TRUNK. Use a SIP address for agents that take trunk calls. What to set up in your phone system.
  1. Allow it to accept a transfer request (SIP REFER) on the trunk’s calls. Some systems leave this off by default.
  2. Make sure the address is one your phone system can reach and route: the new call is placed by your system, not by Yappr. An extension, a queue or a menu on that system is typical.
  3. Make sure the new call is answered within about nine seconds of the request (see the limit below). An extension that picks up, a queue or a menu that answers at once is fine; a ring group that rings for half a minute is not.
  4. Test it before you rely on it. Call the trunk, ask for the transfer, and check the result.
What you see. When your phone system confirms it took the call over, the call records a transfer_started and a transfer_answered event (with method sip_refer). On Yappr’s side the call is then complete: its status is completed, with the time of the hand-off (transferred_at) and transfer_target, which shows the SIP address with any password and any ? headers removed; the extension before the @ stays. If the transfer doesn’t work, the events record a transfer_failed with an error_code:
  • REFER_FAILED: your phone system reported that it couldn’t place the new call (busy, not found or declined). The call log reads “Transfer refused by the phone system”.
  • REFER_NO_RESULT: nothing came back in time. Your phone system refused or ignored the request, or the new call wasn’t answered within about nine seconds. The call log reads “Transfer failed”.
If Yappr can’t send the request at all, the agent is told and the events record CARRIER_REJECTED or CARRIER_UNREACHABLE. The next two paragraphs describe a transfer to a SIP address on a trunk (SIP REFER). Extension calls work differently, see Transfers on extension calls. A failed transfer ends the call. Once the request has been sent to your phone system, Yappr cannot take the caller back: when the transfer fails, the carrier ends the call, and the agent doesn’t get to continue the conversation. In our tests that happened a fraction of a second after your phone system reported the failure, or about nine seconds after the request when Yappr got no result. The nine-second limit. Your phone system has about nine seconds to place the new call and have it answered. In our tests a new call answered after 5 and after 8 seconds went through; one answered after 12 seconds did not, and the call ended at about nine seconds. Point the transfer at something that answers quickly, and test it with a real call first.

Register as an extension

Some hosted phone systems can’t add a SIP trunk. They give you an extension account (a server, a username and a password) and nothing else, and they expect the thing on the other end to register like a desk phone or a softphone and receive the calls routed to that extension. An extension endpoint (auth_mode: "register") does that: Yappr registers to your system as the extension, and the agent answers every call your system routes to it. When to use it. Only when your phone system gives you an extension and no trunk. If it can send calls to a username-and-password trunk, use one: it is simpler, has no registration to keep alive and its transfers don’t need a second channel. If it can only dial a plain SIP address, use a SIP address endpoint.

What to set up first

  1. A dedicated extension that receives calls and can dial only your internal transfer destinations. Remove its outbound, phone-network and international calling, unless the agent will also call out through it: then allow Israeli numbers only (see outbound calls through the extension). The extension is reachable through an internal address that Yappr keeps secret, but anyone who learned that address could place calls on your system as the extension, so give it no more rights than the agent needs.
  2. A network path. Your phone system must be reachable from the internet. Allow the carrier address for your region (register.allow_list in the API, shown in the dashboard) for SIP, UDP and TCP 5060 and TLS 5061, and for media (RTP) on UDP ports 16384 to 32768, in both directions. The address is 192.76.120.75 for the Middle East (the default; observed live) and 192.76.120.72 for Europe (this address comes from the carrier’s documentation and was not observed live; read the address from register.allow_list after you create the endpoint). Pick the region nearer your system when you create the endpoint.
  3. A unique extension username. Each extension username can be registered by one endpoint on Yappr. If another endpoint already registers it, the create is refused with SIP_REGISTER_EXTENSION_IN_USE: usernames are first come first served, so with a short extension such as 101 a clash is likely: create a dedicated extension on your phone system with a distinctive name (letters, digits, - or _) and register that one. A name can also stay taken for hours after you delete its endpoint (see Changing or removing an extension endpoint). The username is 2 to 128 characters: letters, digits, +, - and _, starting with a letter, digit or +. A dot, @ or space cannot be registered; a 3-digit extension works.
  4. UDP, if you can. UDP is the transport that was tested end to end. TCP and TLS are accepted, but whether TLS certificates are verified isn’t established, so don’t rely on it. If registration fails on TCP or TLS, try UDP first.

Create it

  • Dashboard: Numbers → SIP Endpoints → Create SIP Endpoint, choose Register as an extension. Enter the server (host or host:port), the extension, its password, the transport, the region and the agent, and, if the agent transfers, your phone system’s Transfer code (below). Only workspace owners and admins can create one.
  • API: POST /sip-endpoints with "auth_mode": "register" and a register object, using a key with sip_endpoints:manage.
If extension endpoints aren’t switched on for your workspace, the dashboard doesn’t offer them and the API answers 403 SIP_REGISTER_NOT_ENABLED: ask Yappr support to switch them on. GET /sip-endpoints/status tells you (register_available). Yappr does not keep the password: it doesn’t store it, show it again or write it to a log. It is passed to Yappr’s carrier, which holds it to keep the extension registered (it re-registers about every hour) and to place transfers through the extension. So when the password changes on your phone system, send the new one with PATCH /sip-endpoints/{id} (register.password). Until you do, the registration can still read registered while transfers fail. The server is checked when you save: it must resolve to a public address (not a private, loopback or link-local one, and not a Yappr or Telnyx host), or the create is refused with SIP_REGISTER_HOST_INVALID. Each endpoint takes 2 calls at once unless you change max_concurrent_calls (1 to 8). One call more is refused. A workspace can hold 5 extension endpoints. Calling hours and billing work as they do on a trunk: outside the hours the call is refused, and an answered call uses your workspace’s credit.

How long registration takes, and what “registered” means

Registration takes a few minutes: the first attempt reaches your system about a minute and a half after you create the endpoint, and any later change takes a few minutes to apply. The status in the dashboard and in register.status goes through these values: A call is evidence, not a registration. While the carrier’s status cannot be read, Yappr shows the newest call that went through the extension in the last 24 hours: a call from your phone system that reached Yappr through the extension (inbound_call), or an answered call the agent placed out through it (outbound_call). An inbound call counts once it arrives, answered or not. An outbound call nobody picked up, or one your phone system refused, is not counted, and an answered one shows that outbound calls work, not that incoming calls arrive. A call older than 24 hours is not counted, and neither is one from before you last changed the extension (its address, extension, password, or switching it off and on): it went through the old settings. The status stays unknown all the while, and a call never turns it into registered: only the carrier’s own answer does. The API fills these fields when you read an endpoint or list them; the answers to create and update carry null. A new extension that has not carried a call yet stays unknown, with nothing shown, until one does or the carrier can be read. registered does not prove the endpoint works end to end. It says your phone system accepted the registration. It does not say that calls are routed to the extension, that the extension may call your queue or reception, or that a transfer will work: after a wrong password was saved, the status can read registered for a long time while transfers already fail. Before you rely on it, send a test call to the extension and, if the agent transfers, a test transfer.

Transfers on extension calls

A transfer on a call that arrived over an extension endpoint is not a SIP REFER. Telnyx doesn’t pass a REFER on to your phone system on these calls, so Yappr never sends one. With your phone system’s transfer code set on the endpoint, a transfer to an extension is handed to your phone system instead (below). Without one, and when your phone system doesn’t take the code, Yappr places a new call through your extension to the extension or queue you name, and joins the two:
  • Set the transfer destination of the agent’s transfer tool, or a flow’s transfer node, to a SIP address such as sip:reception@pbx.example.com. A bare extension number can’t be saved: use the sip: form. Only the part before the @ is used: the host is ignored and never dialled.
  • Your phone system sees an incoming call from your own extension to the destination, so the extension needs permission to dial it. It needs no other rights.
  • The transfer uses two channels on your phone system for as long as it lasts: one for the caller’s call to the extension and one for the new call.
  • Yappr stays on the call until one side hangs up. The time the new call is connected is billed at the transfer rate.
  • A phone number as the destination isn’t dialled from an extension call: the caller stays with the agent and the call’s events record a transfer_failed with error_code UNAVAILABLE_ON_SIP_TRUNK.
  • A new call that fails or isn’t answered ends the call. From the moment the carrier accepts the request, the agent steps out, exactly as in a transfer to a phone number. If your system rejects the new call or nobody answers, the caller is hung up, and the call’s events record transfer_failed with NOT_CONNECTED (the disconnect reason says why: rejected, busy, unreachable or not answered, or the default “Transfer failed” when the carrier gives no reason). The new call has about 25 seconds to be answered; if nothing has connected about 85 seconds after the request, Yappr ends the call (“Transfer never connected”). Build no fallback that relies on the agent talking to the caller after a failed hand-off. Only when the carrier refuses the request itself does the caller stay with the agent.
  • The call is marked transferred and billed like a transfer to a phone number.
transfer_started carries method "extension_dialback". It is recorded when the carrier accepts the request, not when your phone system picks up.

Hand the call to your phone system with its transfer code

Most hosted phone systems let an extension transfer the call it is on by pressing a transfer code, such as ## followed by the extension. Set that code once on the extension endpoint and Yappr does the same on every transfer: instead of placing a new call, it presses the code and the extension as key presses, your phone system moves the caller to that extension and hangs up Yappr’s side, and Yappr is off the call.
  • The person who answers sees the caller’s own number, as on any internal transfer, not your extension.
  • No second channel and no transfer minutes: the call ends for Yappr at the hand-off.
  • The caller is never stranded. If your phone system hasn’t hung up Yappr’s side within about 12 seconds of the code, Yappr transfers the usual way (the dial-back above). The one exception is a code that starts an attended transfer, where Yappr hangs up itself (below).

Set it once on the endpoint

  • Dashboard: Numbers → SIP Endpoints, edit the extension endpoint (or fill it in when you create it) and enter the Transfer code, for example ##.
  • API: register.pbx_feature_code on create or update:
From then on every transfer on this endpoint’s calls whose destination is an extension, such as sip:400@pbx.example.com, uses it, on every agent, with nothing to set on each transfer. Changing the code needs no password and doesn’t touch the registration.
  • The code is 1 to 32 characters of 0-9, *, #, A-D, and the pauses w (half a second) and W (one second). The extension is sent right after it (##400); to put it somewhere else, write {extension} once where it goes, for example *2{extension}#.
  • The extension must be one a keypad can dial: up to 32 digits, * or # before the @. A transfer to a name, such as sip:reception@pbx.example.com, can’t be pressed and places the new call as usual. A phone number can’t be handed over this way.
  • In your phone system, turn on in-call transfer (the transfer code) for the extension Yappr registered as, and have it read key presses as RFC 2833 DTMF. Check which code your system uses: many use ##, some *2 or #1.
  • The code applies only to calls that arrive through this endpoint. On every other call the transfer works as before.

What the call records

Nothing is recorded when the code is sent; each transfer ends in exactly one of these:
  • Your phone system took the call: when it ends Yappr’s side within the wait, transfer_started with method "pbx_feature_code" is recorded at that moment, and the call ends there and is marked transferred; no transfer minutes are billed. There is no transfer_answered: Yappr can’t see whether the person at the extension picked up, so call analysis reports the pickup as unknown.
  • Your phone system didn’t take the code: the transfer continues as a dial-back, which records the call’s only transfer_started, with method "extension_dialback" and fallback_from "pbx_feature_code".
  • The call ended, and it can’t have been your phone system: sooner than the key presses take to play, after the carrier refused them, or from Yappr’s side. The call ends like any other call, with transfer_failed CALL_ENDED (method "pbx_feature_code") and no transfer_started. A caller who hangs up later in the wait can’t be told apart from the hand-off and is recorded as transferred.
  • The agent’s session ended during the wait and nothing took the call: Yappr hangs up and records transfer_failed FEATURE_CODE_NOT_TAKEN with no transfer_started; the disconnect reason is “Transfer failed”.
In a workflow, a transfer step whose call ended under the code without your phone system taking it ends as not transferred, with the same call events. Test it once before you rely on it: call the extension, ask for the transfer, and check that the call shows a transfer_started with method "pbx_feature_code". A fallback_from means your phone system didn’t accept the code (it is off for the extension, the code is different, or key presses don’t reach it).

When the code starts an attended transfer

Some phone systems’ code starts an attended transfer instead: the caller is put on hold, the extension that pressed the code is connected to the target, and the transfer completes only when that extension hangs up. Your phone system then never ends Yappr’s side, so on its own the code would always fall back to the dial-back. Tell Yappr to hang up after the code:
  • Dashboard: in the same dialog, turn on Attended transfer: we hang up to complete it. Yappr then hangs up 4 seconds after the code.
  • API: register.pbx_feature_code_hangup_after_secs, a whole number of seconds from 1 to 10, only with a code:
  • Yappr hangs up this many seconds after the code (counted once its key presses have played), and your phone system completes the transfer. 4 is a good start: long enough for your phone system to reach the extension before Yappr leaves.
  • From the code until Yappr hangs up, the agent is off the line: the person at the extension hears nothing from it (anything it was still saying is cut), and nothing said or pressed on the line reaches it.
  • That hang-up is the hand-off and is recorded exactly as above: transfer_started with method "pbx_feature_code", the call marked transferred, no transfer minutes. If the end of Yappr’s side is reported late or not at all (a delayed carrier event, or a hang-up that failed even when sent twice), Yappr hangs up once more and still records the hand-off, with the call ending at its first hang-up; an attended code never records FEATURE_CODE_NOT_TAKEN.
  • Because the hang-up is the hand-off, there is no fallback dial-back: if your phone system didn’t take the code, the caller is not put through. Test it once.
  • If the call ends before Yappr hangs up, it is read as above.

A transfer with a code of its own

One transfer that needs a different code can carry its own, which replaces the endpoint’s for that transfer: transfer_method "pbx_feature_code" with pbx_feature_code, and pbx_feature_code_hangup_after_secs for an attended code. They are set through the API: on a workflow’s transfer tool (Create tool), or on a flow’s transfer node or a tool_call node’s config_override (flow config).
  • The transfer’s own code and hang-up time are used as a pair, with nothing taken from the endpoint: a transfer with its own code and no hang-up time waits for your phone system even when the endpoint sets one.
  • No setting turns the endpoint’s code off for one transfer. A code your phone system doesn’t take falls back to the dial-back, except when the transfer’s own code has a hang-up time: then there is no fallback, as for the endpoint’s.
  • An agent moved from a flow or prompt agent to a workflow keeps each transfer’s own code, its hang-up time included, and keeps it when the tool is edited.
  • A save with a bad value is refused: transfer_method_invalid, pbx_feature_code_missing, pbx_feature_code_invalid, transfer_extension_not_dialable, pbx_feature_code_hangup_after_secs_invalid or pbx_feature_code_hangup_after_secs_without_code.

Outbound calls through the extension

An extension endpoint can also place the agent’s calls: Yappr sends the call to your phone system through the same extension, and your phone system dials the number on your own phone plan, showing the caller ID it is set to show for that extension. The person you call sees your business number. On your phone system (ask your provider; Yappr can’t set this):
  1. Let the extension call out, to Israeli numbers only: no international and no premium numbers.
  2. Set its outgoing caller ID to your business number.
  3. Check its call limit: it counts incoming, outgoing and transfer channels together.
  4. Find out how it dials: 05X… (national) or with the country code (972…), and whether it needs an outside-line prefix such as 9.
In Yappr, edit the endpoint (Numbers → SIP Endpoints) and switch on Outbound calls, or send register.outbound with PATCH /sip-endpoints/{id}:
The number then appears in GET /phone-numbers with provider: "phone_system". Use it like any number: make it the agent’s outbound number, pick it for a campaign (from_phone_number_id), or send it as from to POST /calls. Test calls from the dashboard use it when it is the agent’s number. It has no rent and takes no calls in: calls in reach the endpoint’s own inbound_agent_id. What the call does
  • max_concurrent_calls counts the extension’s incoming and outgoing calls together. A call beyond it waits in the queue (202 queued) and goes out when a call ends. Keep it at or below your phone system’s limit for the extension, and at half of it if your agent transfers calls (a transfer uses a second channel).
  • POST /calls is refused before anything is reserved with 422 PHONE_SYSTEM_OUTBOUND_OFF (switched off), PHONE_SYSTEM_OUTBOUND_PAUSED (paused, below), PHONE_SYSTEM_NOT_CONNECTED (the endpoint is off or not registered) or DESTINATION_OUTSIDE_PHONE_SYSTEM_COUNTRY (a non-Israeli number in national format).
  • A call your phone system refuses before it rings (for example SIP 403 or 404) fails with failure.code phone_system_refused; the lead is never blocked or marked invalid for it. Busy and no answer read as busy and no_answer, as on any call.
  • Paused. After three refusals in a row, outbound calls through the endpoint pause on their own and campaigns calling from the number pause with them. GET /sip-endpoints/{id} then shows register.outbound.paused with the last SIP code. Fix the cause with your provider, then press Turn back on (or send {"register": {"outbound": {"enabled": true}}}).
  • A transfer during one of these calls goes to an extension on your phone system, as on a call that came in through it (see transfers on extension calls).
  • Billing: the minutes count on your phone system’s plan; Yappr bills the call as a normal outbound call.
Keep it locked down. With outbound rights, anyone who learned the extension’s internal address could place calls on your phone bill. Yappr keeps that address secret; keep the extension domestic-only and give it a call limit. Switching it on is enabled per workspace: if it isn’t on for yours, the request is refused with 403 SIP_REGISTER_OUTBOUND_NOT_ENABLED; contact Yappr support.

Changing and deleting

Change the extension’s settings with PATCH /sip-endpoints/{id}. Changing the extension or its login username needs the password again, and a changed password needs sending: Yappr doesn’t keep it. After any change, wait for registered again and send a test call and a test transfer. You can’t issue a new password with rotate-password on an extension: it is your phone system’s password. Re-route first, then delete or switch off. Neither tells your phone system. After a switch-off the status reads disabled and Yappr refuses new calls; how your phone system behaves meanwhile isn’t something Yappr can promise. Re-route or remove the extension on your phone system before you delete or switch off the endpoint.

Changing or removing an extension endpoint

Deleting an extension endpoint removes it from Yappr, but the carrier can keep registering the extension on your phone system for hours. Observed: one registration kept refreshing (every 17 to 42 minutes) for more than 4 hours 40 minutes after the delete, and was still going when last checked. Your phone system keeps routing the extension’s calls to the carrier, which rejects them meanwhile. While that lasts, a new endpoint with the same extension name fails with the status failed and the reason “already in use”. Two different things are called “in use”. If another endpoint in Yappr (in any workspace) already has the extension, the create is refused at once with SIP_REGISTER_EXTENSION_IN_USE. If the create is accepted and the status then reads failed with “already in use”, no other endpoint in Yappr has it: the carrier says another connection holds the name. That is usually an endpoint you deleted earlier, and it can also be another system that registers the same extension. This holds for any deleted extension endpoint, also one that never registered: names of endpoints that had only ever failed (wrong password) and were deleted 1.5 hours earlier were still refused as “already in use” for a new endpoint. So typing a wrong password and then deleting and re-creating the endpoint can lock you out of that extension name for hours. So to change the agent, the call limit, the server, the password or anything else, edit the endpoint with PATCH: don’t delete and re-create it. Delete only when you no longer need the extension, and remove or disable the extension on your phone system first so its calls are re-routed. If a re-create is refused as “already in use” right after a delete, use a different extension name, or wait: no end of the hold has been observed, so there is no time to promise.

Limits

  • Registration and every change take a few minutes to show.
  • Yappr re-registers on a one-hour interval, and there is no setting for it.
  • 5 extension endpoints per workspace (Yappr support can raise this for a workspace), 2 calls at once each by default, 8 at most.
  • Your phone system must offer G.711 µ-law (PCMU): that is the codec Yappr’s carrier answers these calls with. DTMF tones work.
  • One endpoint is one extension, and the extension number your system dialled isn’t passed to Yappr, so route one extension to one endpoint.
  • The caller’s number is the one your system sends, as it arrives. It may not be a phone number.
  • The carrier doesn’t limit the calls on the extension: your phone system and max_concurrent_calls do. With outbound calls on, max_concurrent_calls counts incoming and outgoing calls together.

Change the password

Issue a new password in the dashboard (the trunk’s Change password, owners and admins) or with the API. The old one stops working within seconds, and calls already in progress are not dropped. If your phone system registers, enter the new password before its next registration refresh, or that refresh fails. To switch with no gap at all, create a second trunk on the same agent, move your phone system to it, then delete the old trunk.

Platforms

These platforms document that they answer a username-and-password challenge on the calls they send, so they can use a trunk. The rows name sip.telnyx.com; from Israel or Europe, enter sip.telnyx.eu instead, as the server and as the realm. Whatever the platform, keep the path open where it offers a setting for it, as described above: over UDP behind NAT or a firewall, that means keep-alives every 30 seconds or less. Then check with a test call of at least two minutes that the agent ends. These can’t answer that challenge on the calls they send:
  • Twilio Elastic SIP Trunking (origination). Use Twilio Programmable Voice instead: point the number at TwiML with the <Dial><Sip> above.
  • Vonage, Bandwidth, Five9, Amazon Connect, RingCentral, Zendesk Talk.
  • Calls routed by your own Telnyx account (Call Control, TeXML or call forwarding): Telnyx doesn’t sign in to a trunk with its username and password when it routes a call there. Send those numbers to a SIP address endpoint instead.
  • Microsoft Teams Direct Routing and Zoom Phone, except through your own SBC (AudioCodes, Ribbon, Oracle or Cisco CUBE above), which then sends the calls to the trunk.
For any other platform:
  • add the trunk on your own PBX and route the calls through it;
  • or forward the calls to a Yappr phone number;
  • or, if it can send calls to a plain SIP address, use a SIP address endpoint (auth_mode: "uri"), whose address is its only secret.

Security

  • A call needs the trunk’s username and password. A wrong one is refused before the call reaches Yappr.
  • The password is shown only when you create the trunk or issue a new one. Yappr does not keep a copy.
  • Calls sent to a trunk reach its agent and no one else, and a trunk can’t be used to place calls. An extension endpoint is different: Yappr registers as your extension, so give that extension no calling rights beyond the destinations Yappr needs (see register as an extension). Emergency numbers never reach the agent: keep them off the trunk (see the warning above).
  • Even with a leaked password, a trunk takes no more calls at once than its max_concurrent_calls.
  • Only workspace owners and admins can create, change or delete a trunk, or issue a new password, in the dashboard. API keys need sip_endpoints:manage. A key with sip_endpoints:read alone, such as one made from the Read-only preset, lists endpoints without passwords, without trunk usernames (sip_username is null) and without SIP addresses (slug and sip_uri are null).
  • Your phone system sets the caller’s number, so Yappr does not use it to recognize returning callers (lead memory) on these calls.
  • If the password may have leaked, issue a new one. To stop the trunk for a while, turn it off (is_active: false); to stop it for good, delete it. Either way, re-route its calls in your phone system first.