acme.sip.fonoster.com, and signs in with
credentials, a username and password. Its address is sip:<username>@<domain>, for example
sip:maria@acme.sip.fonoster.com.
The API, the SDK and the CLI call SIP agents
Agents (SDK.Agents, fonoster sipnet:agents:*).
They’re the same thing. An Autopilot agent is something else: the AI that answers calls.Before you begin
You need a softphone, such as Linphone or Zoiper, or a desk phone that speaks SIP.Set up a SIP agent
1
Create a domain
A domain groups your SIP agents. Create one per company or team.
- Dashboard
- CLI
- Go to Domains and choose Add domain.
- Enter a Name, such as
Acme HQ. - Enter a label for the Domain URI, such as
acme. The field adds your install’s.sip.<domain>, so the URI readsacme.sip.fonoster.com. You can’t change it later. - Choose Save.
2
Create credentials
Create the username and password the phone signs in with.
- Dashboard
- CLI
Go to Credentials, choose Add credentials, and enter a Name, a Username
such as
maria, and a Password. The password is never shown again, so keep it for the
next steps.3
Create the SIP agent
- Dashboard
- SDK
- CLI
- Go to SIP agents and choose Add SIP agent.
- Enter a Name, such as
Maria's softphone. - Enter the Username, such as
maria. It’s the user part of the SIP address, and you can’t change it later. - Choose the Domain and the Credentials you created.
- Choose Save.
4
Sign in from the softphone
Add a SIP account in the softphone with these values:
In Linphone, choose Use a SIP account, fill in the username, password, domain and
transport, then set the proxy in the account settings and turn on Outbound proxy. In
Zoiper, add the account as
maria@acme.sip.fonoster.com and set the outbound proxy.The softphone shows the account as registered.
Ring a SIP agent from a number
To have a number ring the phone directly, with no application in between, point the number at the SIP agent. In the dashboard, open the number under Numbers, choose SIP agent under When this number is called, send it to, and pick the SIP agent. See Numbers and routing.Transfer callers to a SIP agent
An operator’s softphone can take transfers from your agents. In a stream, pass the SIP agent’s address totransfer:
Call out from a SIP agent
A SIP agent can dial phone numbers through one of your numbers. Add egress rules to the domain: each rule is a pattern for the dialed number and the number to call from. For example,^\+1 → +18095550123 sends every call to a +1 number out with +18095550123 as the caller
ID, through that number’s trunk.
Add rules in the dashboard: open the domain under Domains and choose Add rule under
Egress rules. You need at least one number in your workspace first.
SIP agent settings
For every command and method, see the
CLI reference and the
Node SDK reference.
Next steps
Transfer calls
Send callers from your agent to an operator.
Numbers and routing
Point a number at a SIP agent.
Connect a SIP trunk
Connect the carrier your SIP agents call out through.
How Fonoster works
Where SIP agents fit among numbers and applications.