HappHapp Docs

Phone & SIP Setup

Bind the client's SIP number to an assistant for inbound voice calls

Add a SIP phone number, bind it to an assistant, and the AI voice agent answers inbound calls.

Connect a phone

  1. Get SIP credentials from a supported provider: phone number, SIP login, SIP password, telephony URL.
  2. Phones > Add Phone, fill the fields below, Save.
  3. Bind it: select an Assistant in the phone settings (one phone → one assistant), Save.
  4. Add the telephony provider integration: Integrations > Add Integration > pick the provider, enter credentials, activate.
  5. Configure the assistant's voice settings, then call the number to test the greeting and a tool.

Phone fields

FieldValue
Phone NumberSIP phone number (e.g. +380501234567)
SIP LoginAuthentication username
SIP PasswordAuthentication password
Provider URLSIP server address
CodecA-law (default) or μ-law
CommentOptional label

Voice settings (on assistant)

SettingValue
Voice30 built-in voices or ElevenLabs
Audio formatInput/output format (default PCM 8000)
EagernessEager, Normal, or Patient
Turn after silenceSeconds before assistant speaks (default 7)
Soft timeoutMax wait for user response; -1 = unlimited

See Assistants > Voice Settings.

API

POST /api/phones
X-Access-Token: happ_your_token_here
Content-Type: application/json

{
  "phoneNumber": "+380501234567",
  "sipLogin": "your-sip-login",
  "password": "your-sip-password",
  "telephonyUrl": "sip.provider.com",
  "codec": "alaw",
  "comment": "Main office line"
}

Bind to an assistant with PATCH /api/phones/{phoneId} ({ "assistantId": "..." }). List GET /api/phones, update PATCH, remove DELETE /api/phones/{phoneId}.

API: api.happ.tools/reference

Troubleshooting

ProblemSolution
No audioVerify SIP credentials and provider URL
Choppy audioCheck network; try the other codec (alaw vs ulaw)
Slow responsesSet eagerness to Eager
No connectionVerify the telephony provider integration is active
Wrong voiceCheck the voice setting in assistant configuration

Next

On this page