<aside> ๐Ÿค–

How to connect an AI voice agent or other third-party platform to Vaspian over SIP. The short version: the platform registers as a Vaspian extension, exactly like a softphone โ€” it uses a username and PIN, not IP allowlisting.

</aside>

How the connection works

Vaspian connects platforms through SIP registration to an extension:

  1. You get a dedicated extension (for example 188) for the platform.
  2. The platform registers to sip-registrar.vaspian.com with that extension's username and SIP PIN.
  3. Calls the platform places go out as that extension โ€” its caller ID, its permissions, its call limits.
  4. Calls to the extension (or to numbers routed to it) are delivered to the platform.
Question Answer
Do you need to allowlist our IP addresses? No. Calls are authenticated with the extension's username and PIN (digest authentication), not by source IP.
Which authentication should I choose? Registration-based (username and password). If your platform offers both, don't pick IP-based authentication.
Encryption? Supported โ€” TLS on port 5061 with SRTP. See โ€ฃ.

Settings to enter in your platform

Platforms label these differently ("SIP trunk", "BYO carrier", "SIP credentials"). Map them like this:

Platform asks for Enter
SIP server / host / termination URI sip-registrar.vaspian.com
Port 5060 (UDP or TCP) ยท 5061 for TLS
Transport UDP, TCP, or TLS (TLS requires SRTP)
Domain / realm Your SIP domain, e.g. sph.acme
Username / auth username The extension, e.g. 188
Password The extension's SIP PIN
Authentication type Registration / digest (username + password)
Registration expiry 3600 seconds

<aside> โš ๏ธ

Register before you call. The platform must send a REGISTER for the extension before placing calls, and every outbound call's From must be the extension's address โ€” [email protected]. Calls that skip registration, or send a From address that isn't the extension (for example a phone number), are rejected.

If your platform builds the SIP URI as user@host, the result should be [email protected] with sip-registrar.vaspian.com as the proxy โ€” not [email protected].

</aside>

Caller ID

Outbound calls show the caller ID configured on the extension. The platform can't choose a different number per call by setting a SIP header โ€” Vaspian applies the extension's caller ID.

To present different numbers:

Callbacks to any number you display are routed by Vaspian independently of the extension that placed the call. Tell support where each number should ring (a queue, an auto attendant, a group).

Call capacity