-
Notifications
You must be signed in to change notification settings - Fork 101
Open
Description
Describe the bug
I'm getting SIP call rejections with status: 486, reason: "flood"
despite making only one call at a time. I’ve set both flood_protection
and rate_limits
to high values or disabled mode, but flood protection still triggers.
To Reproduce
- Use
livekit/sip:latest
- Mount this
sip.yaml
to/sip/config.yaml
:
api_key: '----'
api_secret: '----'
ws_url: 'wss://livekit.anantix.ai'
redis:
address: 'localhost:6379'
sip_port: 5060
rtp_port: 10000-20000
insecure: port,invite
use_external_ip: true
flood_protection:
enabled: true
invites_per_second: 1000
burst: 1000
rate_limits:
invites_per_minute: 1000
invites_burst: 1000
room_mapper:
default_room: "open-room"
default_identity_prefix: "open-room-"
logging:
level: debug
3. Make a single SIP call
4. Observe log:
`status: 486, reason: "flood"`
### Here's My `sngrep` log
INVITE sip:[email protected] SIP/2.0
From: sip:[email protected];tag=as6f328be1
To: sip:[email protected]
Call-ID: [email protected]:5060
CSeq: 102 INVITE
User-Agent: Asterisk PBX 18.21.0-vici
m=audio 15472 RTP/AVP 0 8 101
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=sendrecv
###But LIVEKIT SIP REPLIES WITH
`100 Trying
180 Ringing
486 Busy Here — reason: "flood"`
Metadata
Metadata
Assignees
Labels
No labels