The honeypot answers the call as a persona. It keeps the caller busy, extracts intel, and files the number. Every minute a scammer spends with the persona is a minute not spent on a real victim.It uses the same connections as the filter. The difference is direction. The filter listens. The honeypot listens and speaks.Pick a path#
| You have | How | Time |
|---|
| A domain on the CallerAPI SIP firewall | Set spam_action=honeypot on the domain. Spam calls are answered by a persona instead of a 603. No INVITE from you is needed. | 1 minute |
| A SIP switch | Send an INVITE to sip:honeypot@honeypot.callerapi.com:5080. | 10 minutes |
| A Twilio number | Voice URL https://api.callerapi.com/api/voice/honeypot/twiml?key=YOUR_KEY. | 5 minutes |
| A Telnyx number | Voice URL https://api.callerapi.com/api/voice/honeypot/texml?key=YOUR_KEY. | 5 minutes |
| A media server with a WebSocket | Open wss://api.callerapi.com/api/voice/honeypot/stream?key=YOUR_KEY. | See Audio, events, and limits |
On the SIP firewall#
spam_action | Effect |
|---|
honeypot | Spam INVITEs to this domain are answered by a persona. Billed per minute. |
decline | Spam INVITEs get 603 Declined. |
default | Follow the fleet default. |
Your switch never rings for these calls. Media runs between the carrier and the honeypot. Your switch must accept G.711 (PCMU or PCMA) and must not expect SRTP or re-INVITEs on these calls.Over SIP from your own switch#
1.
Send an INVITE to sip:honeypot@honeypot.callerapi.com:5080.
2.
Offer PCMU or PCMA. PCMU is preferred when both are present. No SRTP.
3.
Add X-CallerAPI-Key: YOUR_KEY. Without an account the call is refused.
4.
Optional: add X-Persona, X-Webhook, X-Report.
The caller's number is read from P-Asserted-Identity, then from From. RFC 4733 DTMF is understood. The honeypot ends the call with BYE.Calls that arrive through the SIP firewall are attributed by the domain in the To header. They need no key header.On Twilio or Telnyx#
Set the number's voice URL as in the table above. The endpoint returns TwiML or TeXML that connects the call to the honeypot in both directions. The call is answered and stays up until the persona hangs up.Options#
As URL parameters, in params of the start message, or as SIP headers.| Option | SIP header | Default | Meaning |
|---|
persona | X-Persona | random | A persona id from List the honeypot personas. |
webhook | X-Webhook | none | HTTPS URL for events. |
report | X-Report | true | File the caller when the final score reaches 0.8. |
Modified at 2026-09-18 16:57:04