Created
November 23, 2014 14:54
-
-
Save sammachin/c40b1f782395ef73f013 to your computer and use it in GitHub Desktop.
Firebrick Twilio Config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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