Documentation Index
Fetch the complete documentation index at: https://developer.kallglot.com/llms.txt
Use this file to discover all available pages before exploring further.
SIP Integration
Integrate Kallglot with your existing PBX, contact center, or telephony infrastructure using standard SIP protocols.Prerequisites
- A SIP-capable PBX or SBC
- Network connectivity between your infrastructure and sip.kallglot.com (follow your TLS/TCP profile and firewall rules)
- A Kallglot API key (for programmatic session workflows)
- Developer Portal SIP settings configured (Telephony → SIP / PBX)
Architecture
At a high level, your PBX sends SIP signaling to Kallglot’s SIP endpoint and exchanges audio while Kallglot performs real-time translation and related voice features. Credential checks, optional IP filtering, TLS/SRTP preferences, concurrency limits, and session defaults configured in the Developer Portal are applied when SIP calls authenticate. Two common integration patterns:- Programmatic sessions — Your backend calls
POST https://api.kallglot.com/v1/sessionswithrouting.type: "sip"and routes the SIP leg tosip:<session_id>@sip.kallglot.com(or equivalent as documented for your provisioning flow). - Inbound-first — Kallglot may authenticate the SIP trunk and associate or create session context consistent with your policy; specifics depend on your routing and numbering plan—validate with
support@kallglot.comif you rely on unattended ingress.
Setup Steps
1. Configure SIP Credentials
Create your developer account at kallglot.com, then in the Developer Portal:- Go to Telephony > SIP / PBX and click Configure SIP
- Enable SIP access using the toggle
- Note your automatically generated credentials:
- Username: Your unique SIP username
- Domain:
sip.kallglot.com
- Configure security:
- Add your PBX IP addresses to the IP Allowlist (recommended)
- Click Regenerate Password to create new credentials if needed
- Copy your password when prompted (shown only once)
2. Create Sessions via API
Before routing a call to Kallglot, create a session:Kallglot does not currently provide official SDKs. Helper functions like
createKallglotSession(...) and endKallglotSession(...) in this guide are thin wrappers around the HTTP API.3. Configure Your PBX
Route calls to the Kallglot SIP endpoint. Configuration varies by PBX:Asterisk
Example: SIP gateway (XML)
The following illustrates a minimal SIP gateway XML snippet—the exact layout depends on your PBX vendor.Cisco CUCM
- Add a SIP Trunk:
- Destination Address:
sip.kallglot.com - Port:
5061 - Transport Type: TLS
- Destination Address:
- Configure SIP Security Profile with digest authentication
- Create a Route Pattern pointing to the trunk
4. Handle Call Flow
Typical call flow with session management:SIP Configuration Options
Transport
| Transport | Port | Security |
|---|---|---|
| TLS | 5061 | Recommended for production |
| TCP | 5060 | Unencrypted, use only in private networks |
| UDP | 5060 | Not recommended |
Codecs
The realtime stack negotiates audio codecs with your PBX. Commonly negotiated categories include Opus, G.722, and G.711 (PCMU / PCMA). Exact behavior depends on your PBX, media path, and what was offered in SDP. Developer Portal: Under Configure SIP → Advanced Settings, enable Allowed signaling transports and Allowed audio codecs (preference order follows the checklist top to bottom when multiple codecs are selected). Require TLS / Require SRTP complement those lists—for borderline interoperability questions, email support@kallglot.com.DTMF
DTMF relay behavior depends on the negotiated media path and telephony relay; Kallglot does not interpret DTMF digits as session control inputs today.Security
TLS Configuration
Always use TLS for SIP signaling (port 5061) in production. Turn on Require TLS in the Developer Portal so connections that do not meet your policy can be rejected:- Go to Telephony > SIP / PBX → Configure SIP → Advanced Settings
- Enable Require TLS
- Your PBX must support TLS 1.2 or higher
IP Allowlisting
Restrict which IPs can authenticate as your SIP trunk:- Go to Developer Portal > Telephony > SIP / PBX
- Click Configure SIP
- Add your PBX egress IPs to the IP Allowlist (one per line; CIDR supported)
SRTP for Media
Require encrypted RTP when your policy demands it:- Go to Developer Portal > Telephony > SIP / PBX → Configure SIP → Advanced Settings
- Enable Require SRTP — connections that do not complete SRTP negotiation where required may be rejected (your PBX must negotiate SRTP successfully when this is on)
- Align crypto suites and RTP/SRTP profiles with your PBX vendor’s documentation; if media fails to establish, collect SIP traces from your environment and work with support@kallglot.com alongside your telephony team.
Advanced Scenarios
The following advanced features are on our roadmap. Contact support@kallglot.com for early access or to discuss your requirements.
SIP REFER for Transfers (Coming Soon)
Call transfer support via SIP REFER is planned for a future release. Currently, to transfer a call:- End the current Kallglot session
- Create a new session for the transfer target
- Route the call to the new session URI
Multiple Participants (Coming Soon)
Conference call translation support is planned. Currently, Kallglot supports two-party calls (agent + customer).Regional Processing
Configure where your calls are processed in the Developer Portal:- Go to Telephony > SIP / PBX > Configure SIP
- Under Session Defaults, select your Region:
- Europe (EU) - GDPR-compliant processing
- US - Americas
- Asia-Pacific (AP) - APAC region
sip.kallglot.com
Troubleshooting
Registration Issues
No Audio
- Check NAT configuration - ensure RTP ports are open
- Verify SRTP settings match on both sides
- Check codec negotiation in SIP logs
Call Quality Issues
- Monitor jitter and packet loss
- Check network latency to Kallglot
- Ensure your region setting matches your network topology
Debugging
For SIP debugging, check:- Developer Portal > API Logs — recent integration activity (for example webhook delivery attempts). It is not a full SIP signaling trace viewer.
- Your PBX / SBC logs — SIP dialogs, SDP, RTP/SRTP negotiation.
- Kallglot support — for authentication or routing issues that need correlation across both environments after you share traces from your side.
Best Practices
Use TLS and SRTP
Use TLS and SRTP
Always encrypt signaling (TLS) and media (SRTP) for production deployments.
Implement proper failover
Implement proper failover
Configure your PBX with failover to handle Kallglot outages gracefully.
Monitor call quality
Monitor call quality
Set up monitoring for RTP quality metrics (MOS, jitter, packet loss).
Pre-create sessions
Pre-create sessions
Create sessions before calls are established to reduce setup latency.
Security Hardening
Production Security Checklist
| Requirement | Description | Priority |
|---|---|---|
| TLS 1.2+ | Use port 5061 with TLS for SIP signaling aligned with policy | Required (production expectation) |
| IP Allowlist | Enter allowed source IPs in Configure SIP (empty allowlist = no IP filtering) | Strongly recommended for production |
| Strong Credentials | Use generated credentials, never default passwords | Required |
| Credential Rotation | Rotate SIP credentials every 90 days | Recommended |
| SRTP | Enable SRTP for encrypted media streams | Recommended |
| Private Network | Use VPN or private connectivity where possible | Recommended |
Credential Security
Network Security
Configure your firewall to allow only the required traffic:| Protocol | Port | Direction | Purpose |
|---|---|---|---|
| TCP | 5061 | Outbound | SIP TLS signaling |
| UDP | 20000-20100 | Both | RTP media (example sizing; tune for your concurrency) |
Contracts, compliance, and data handling
Legal terms, questionnaires, DPIAs, and certifications (SOC 2, GDPR, HIPAA, etc.) are covered by your agreement and collateral from Kallglot—not this SIP how-to. For SIP specifically: SIP credentials appear once in the portal after create/rotate—store them like any production secret. Processing region (eu, us, ap in SIP Session defaults) selects the preference shown in Developer Portal; confirm suitability with your legal team if you have residency requirements—support@kallglot.com for paperwork.
Policy Configuration
Session Defaults
Configurable in Telephony > SIP / PBX → Configure SIP → Advanced Settings:| Setting | Description | Typical default |
|---|---|---|
| Session Mode | Translation mode used for SIP-originated calls | Bidirectional translation |
| Region | Processing region preference | EU |
| Default Source Language | Caller language (auto = detect) | auto |
| Default Target Language | Agent language (auto = detect) | auto |
| Max Concurrent Calls | Cap on simultaneous SIP sessions | Account default |
Transport and media policy flags
Require TLS and Require SRTP in Advanced Settings reinforce transport security alongside the Allowed signaling transports and Allowed audio codecs sections. Escalations or exotic PBX interoperability needs → support@kallglot.com.Operations checklist
Ship with basic observability:- Invite / setup latency — alert if PSTN callers hear long silence before audio.
- Your PBX counters — failed registrations,
401/403, RTP timeouts vs baseline. - Concurrent calls vs portal cap — avoid hitting organizational limits mid-day.
- Developer Portal API Logs — correlates webhook/API failures; deeper SIP traces live on your SBC.