how to whitelist my asterisk public ip with liveki...
# telephony
f
how to whitelist my asterisk public ip with livekit, so that the pjsip registers.
r
When you setup your trunk you can whitelist your SIP server IP there. Go here https://cloud.livekit.io/projects/p_/telephony/config For your inbound trunk you can do something like this:
Copy code
{
  "sipTrunkId": "ST_abcxyz",
  "name": "Inbound Trunk",
  "numbers": [
    "+1234567890"
  ],
  "allowedAddresses": [
    "1.2.3.0/30",
    "2.3.4.0/30"
  ],
  "krispEnabled": true
}
c
@refined-appointment-81829 how about outbound trunks? So for example I was to whitelist my Asterisk.
r
Just set the asterisk URI. You don’t need to white list the asterisk if it is routable is all you need.
If you want to whitelist LiveKit you will need to use the URI