Choose Your Integration Approach
API-based Transfers
For rich context data
- Unlimited context data via API calls
- Requires API integration
SIP Headers Transfer
For basic context data
- Context in SIP headers (1024 char limit)
- No API calls needed
SIP Requirements
ASAPP uses Twilio as our telephony provider. To ensure successful integration, your SIP infrastructure must meet the following requirements when transferring calls to GenerativeAgent:Network Configuration
Media IP Range: Twilio voice media uses the global IP range168.86.128.0/18
with UDP ports 10000-60000
. Configure your firewall to allow traffic from this range.
Codec Support: Twilio supports the following audio codecs for media transmission:
- G.711 μ-law (PCMU)
- G.711 A-law (PCMA)
Security
TLS Encryption: We strongly recommend using Transport Layer Security (TLS) for SIP signaling. Twilio uses signed certificates and supports specific TLS ciphers. For detailed TLS configuration requirements, refer to the Twilio SIP interface documentation.Ensure your SIP infrastructure can handle the specified IP range and port requirements. Firewall misconfigurations are a common cause of connection failures.