Skip to main content
The Humain SIP gateway accepts inbound SIP INVITEs from any standards-compliant SIP endpoint. If your device or PBX speaks SIP, you can connect it without installing a plugin or writing custom code.
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.

Connection details

Use TLS (port 5061) in production. UDP and plain TCP connections transmit your credential token in the Authorization header unencrypted. Plain SIP on port 5060 is accepted only for local testing.

Configuration examples


Dialplan routing (Asterisk example)

Once the trunk is registered, route inbound calls to it from your dialplan:

Verifying registration

After applying configuration, check that the trunk has registered:

NAT traversal

If your PBX is behind NAT, set the Contact header to your public IP in your SIP client configuration. The Humain gateway does not perform STUN or ICE for the SIP leg — NAT traversal is handled at your edge. For the media (RTP) leg, ensure ports 10000–20000 UDP are open outbound.