Add powernet domain and acl
This commit is contained in:
@@ -24,9 +24,12 @@
|
|||||||
<!-- domain= is special it scans the domain from the directory to build the ACL -->
|
<!-- domain= is special it scans the domain from the directory to build the ACL -->
|
||||||
<node type="allow" domain="$${domain}"/>
|
<node type="allow" domain="$${domain}"/>
|
||||||
<!-- use cidr= if you wish to allow ip ranges to this domains acl. -->
|
<!-- use cidr= if you wish to allow ip ranges to this domains acl. -->
|
||||||
<!-- <node type="allow" cidr="192.168.0.0/24"/> -->
|
<node type="allow" cidr="66.234.186.77/32"/>
|
||||||
|
<node type="allow" cidr="76.72.215.16/32"/>
|
||||||
|
<node type="allow" cidr="66.234.186.78/32"/>
|
||||||
|
<node type="allow" cidr="66.234.186.87/32"/>
|
||||||
|
<node type="allow" cidr="66.234.186.88/32"/>
|
||||||
</list>
|
</list>
|
||||||
|
|
||||||
</network-lists>
|
</network-lists>
|
||||||
</configuration>
|
</configuration>
|
||||||
|
|
||||||
|
|||||||
@@ -37,6 +37,7 @@
|
|||||||
<!--<param name="disable-srv503" value="true"/>-->
|
<!--<param name="disable-srv503" value="true"/>-->
|
||||||
<!-- This could be set to "passive" -->
|
<!-- This could be set to "passive" -->
|
||||||
<param name="local-network-acl" value="localnet.auto"/>
|
<param name="local-network-acl" value="localnet.auto"/>
|
||||||
|
<param name="apply-inbound-acl" value="domains" />
|
||||||
<param name="manage-presence" value="false"/>
|
<param name="manage-presence" value="false"/>
|
||||||
|
|
||||||
<!-- used to share presence info across sofia profiles
|
<!-- used to share presence info across sofia profiles
|
||||||
|
|||||||
41
conf/sip_profiles/external/example.xml
vendored
41
conf/sip_profiles/external/example.xml
vendored
@@ -1,41 +0,0 @@
|
|||||||
<include>
|
|
||||||
<!--<gateway name="asterlink.com">-->
|
|
||||||
<!--/// account username *required* ///-->
|
|
||||||
<!--<param name="username" value="cluecon"/>-->
|
|
||||||
<!--/// auth realm: *optional* same as gateway name, if blank ///-->
|
|
||||||
<!--<param name="realm" value="asterlink.com"/>-->
|
|
||||||
<!--/// username to use in from: *optional* same as username, if blank ///-->
|
|
||||||
<!--<param name="from-user" value="cluecon"/>-->
|
|
||||||
<!--/// domain to use in from: *optional* same as realm, if blank ///-->
|
|
||||||
<!--<param name="from-domain" value="asterlink.com"/>-->
|
|
||||||
<!--/// account password *required* ///-->
|
|
||||||
<!--<param name="password" value="2007"/>-->
|
|
||||||
<!--/// extension for inbound calls: *optional* same as username, if blank ///-->
|
|
||||||
<!--<param name="extension" value="cluecon"/>-->
|
|
||||||
<!--/// proxy host: *optional* same as realm, if blank ///-->
|
|
||||||
<!--<param name="proxy" value="asterlink.com"/>-->
|
|
||||||
<!--/// send register to this proxy: *optional* same as proxy, if blank ///-->
|
|
||||||
<!--<param name="register-proxy" value="mysbc.com"/>-->
|
|
||||||
<!--/// expire in seconds: *optional* 3600, if blank ///-->
|
|
||||||
<!--<param name="expire-seconds" value="60"/>-->
|
|
||||||
<!--/// do not register ///-->
|
|
||||||
<!--<param name="register" value="false"/>-->
|
|
||||||
<!-- which transport to use for register -->
|
|
||||||
<!--<param name="register-transport" value="udp"/>-->
|
|
||||||
<!--How many seconds before a retry when a failure or timeout occurs -->
|
|
||||||
<!--<param name="retry-seconds" value="30"/>-->
|
|
||||||
<!--Use the callerid of an inbound call in the from field on outbound calls via this gateway -->
|
|
||||||
<!--<param name="caller-id-in-from" value="false"/>-->
|
|
||||||
<!--extra sip params to send in the contact-->
|
|
||||||
<!--<param name="contact-params" value=""/>-->
|
|
||||||
<!-- Put the extension in the contact -->
|
|
||||||
<!--<param name="extension-in-contact" value="true"/>-->
|
|
||||||
<!--send an options ping every x seconds, failure will unregister and/or mark it down-->
|
|
||||||
<!--<param name="ping" value="25"/>-->
|
|
||||||
<!--<param name="cid-type" value="rpid"/>-->
|
|
||||||
<!--rfc5626 : Abilitazione rfc5626 ///-->
|
|
||||||
<!--<param name="rfc-5626" value="true"/>-->
|
|
||||||
<!--rfc5626 : extra sip params to send in the contact-->
|
|
||||||
<!--<param name="reg-id" value="1"/>-->
|
|
||||||
<!--</gateway>-->
|
|
||||||
</include>
|
|
||||||
14
conf/sip_profiles/external/powernet.xml
vendored
Normal file
14
conf/sip_profiles/external/powernet.xml
vendored
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
<include>
|
||||||
|
<gateway name="powernet_1">
|
||||||
|
<param name="register" value="false"/>
|
||||||
|
<param name="proxy" value="66.234.186.77" />
|
||||||
|
<param name="caller-id-in-from" value="true"/>
|
||||||
|
<param name="ping" value="60"/>
|
||||||
|
</gateway>
|
||||||
|
<gateway name="powernet_2">
|
||||||
|
<param name="register" value="false"/>
|
||||||
|
<param name="proxy" value="66.234.186.77" />
|
||||||
|
<param name="caller-id-in-from" value="true"/>
|
||||||
|
<param name="ping" value="60"/>
|
||||||
|
</gateway>
|
||||||
|
</include>
|
||||||
Reference in New Issue
Block a user