how to block number through sip
# ask-ai
m
how to block number through sip
g
It seems likely that blocking a number through SIP in LiveKit involves configuring your SIP trunk to reject calls from specific numbers. You can use the
allowed_numbers
field in your SIP trunk configuration to specify which numbers are permitted, effectively blocking all others. According to the LiveKit SIP inbound trunk documentation, you can list specific phone numbers that are allowed to use the trunk, and any number not on this list will be blocked. Would you like more detail on how to configure this in your setup? Sources: - LiveKit SIP inbound trunk documentation 👍 0 button 👎 0 button 💡 Hint: Mention @runllm in the thread for followups.
m
@millions-hair-24956 but i want to block only one number.
@millions-hair-24956 but i want to block only one number.
g
It might be possible to block a specific number by using a SIP dispatch rule that excludes the number you want to block. According to the SIP dispatch rule documentation, you can create rules that determine how calls are handled based on attributes like the calling number. By setting up a rule that only allows calls from numbers other than the one you want to block, you can effectively block that specific number. Would you like more detailed guidance on setting up such a rule? Sources: - SIP dispatch rule documentation 👍 0 button 👎 0 button 💡 Hint: Mention @runllm in the thread for followups.