Skip to content

Instantly share code, notes, and snippets.

@sammachin
Created November 23, 2014 14:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sammachin/c40b1f782395ef73f013 to your computer and use it in GitHub Desktop.
Save sammachin/c40b1f782395ef73f013 to your computer and use it in GitHub Desktop.
Firebrick Twilio Config
<rule-set no-match-action="continue">
<rule target-port="5060"
action="accept"/>
</rule-set>
<rule-set name="Block Incomming"
source-interface="pppoe"
target-interface="LAN"
no-match-action="reject"
comment="Default firewall rule - block incoming">
<rule source-interface="self"
comment="Allow from the FireBrick though"/>
<rule name="Incomming SIP"
source-ip="107.21.222.153 107.21.211.20 107.21.231.147 54.236.81.101 54.236.96.128 54.236.97.29 54.236.97.135"
source-interface="pppoe"
log="default"
action="accept"/>
</rule-set>
<voip realm="FireBrick"
log-error="default"
log-sip-call="default"
log-sip-other="default"
pabx="true">
<carrier name="twilio"
allow="107.21.222.153 107.21.211.20 107.21.231.147 54.236.81.101 54.236.96.128 54.236.97.29 54.236.97.135"
to="1000@[YOUR PUBLIC IP]"
extn="1000"/>
<telephone name="1000"
username="1000"
password="[YOUR SIP PHONE PASSWORD]"
local-only="false"
ddi="1000"
extn="1000"
uri="sip:1000@[YOUR PUBLIC IP]"/>
</voip>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment