Skip to main content
The Humain SIP gateway bridges telephone infrastructure to AI conversations. An incoming phone call — from a PSTN line, a cloud telephony provider, or an IP phone — becomes a Humain Kiosk session. Your PBX or CPaaS handles the telephone network; Humain handles the intelligence.
Store your credential as an environment variable. Never hard-code hk_live_… tokens in source files, dialplans, or configuration files committed to version control. Use an environment variable (HUMAIN_CREDENTIAL) or a secrets manager and inject the value at runtime.

Choose your integration path

Asterisk / FreePBX (technical)

Write a dialplan and AGI script to route calls to a Humain Kiosk session. Full control over call flow, DTMF handling, and mid-call transfers.

FreePBX module (no-code)

Install a GUI module from the FreePBX Module Admin. Configure the Humain extension from a form — no dialplan editing required.

3CX (no-code)

Install a CallFlow app from the 3CX App Marketplace. Route calls to the Humain AI from any queue, IVR, or direct inward dial number.

Twilio

Route Twilio phone numbers to a Humain Kiosk session via Media Streams and TwiML webhooks.

Vonage

Connect Vonage Voice API calls to Humain using NCCO and WebSocket audio streaming.

Telnyx

Use Telnyx Call Control API to fork call audio to a Humain Kiosk voice session.

Generic SIP trunk

Register any SIP-capable endpoint directly to the Humain SIP gateway. Works with any standards-compliant PBX, softphone, or ATA.

Call architecture

Every integration path converges on the same architecture. Your telephony layer sends a SIP INVITE to the Humain gateway; the gateway opens a voice session with the AI pipeline and bridges bidirectional audio.
The SIP gateway handles all codec transcoding and NAT traversal. Your PBX does not need to support Opus — G.711 (PCMU/PCMA) and G.722 are both supported on the SIP side. See the codec guide for the full compatibility matrix.

Conceptual background

For a deeper look at how VoIP sessions work — the session flow diagram, codec table, and security requirements — see the VoIP / SIP connection type page in the Guides tab.