]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
[Default-Configuration] Force sip subscription requests to require authentication.
authorDonald Maxwell <donald.maxwell@signalwire.com>
Thu, 3 Sep 2020 17:26:04 +0000 (12:26 -0500)
committerAndrey Volk <andywolk@gmail.com>
Thu, 3 Sep 2020 17:27:02 +0000 (21:27 +0400)
conf/insideout/sip_profiles/internal.xml
conf/minimal/sip_profiles/internal.xml
conf/testing/sip_profiles/internal.xml
conf/vanilla/sip_profiles/internal.xml

index 158d5974a7b60765a72fa0d131e18982b2908e69..b64b5cea8696628105907c3b25afe3ada564552e 100644 (file)
     <!-- add a ;received="<ip>:<port>" to the contact when replying to register for nat handling -->
     <!--<param name="NDLB-received-in-nat-reg-contact" value="true"/>-->
     <param name="auth-calls" value="$${internal_auth_calls}"/>
+    <!-- Force subscription requests to require authentication -->
+    <param name="auth-subscriptions" value="true"/>
     <!-- Force the user and auth-user to match. -->
     <param name="inbound-reg-force-matching-username" value="true"/>
     <!-- on authed calls, authenticate *all* the packets not just invite -->
index f9d1f56338840408ba298be6da124f3cac860c9f..8ac59684fcc1e57e7ebf680d42129121decff07c 100644 (file)
@@ -1,6 +1,8 @@
 <profile name="internal">
   <settings>
     <param name="auth-calls" value="true"/>
+    <!-- Force subscription requests to require authentication -->
+    <param name="auth-subscriptions" value="true"/>
     <param name="apply-nat-acl" value="nat.auto"/>
 
     <param name="debug" value="0"/>
index a5749324c53d8774590aa6f53f6562203830dc24..2a3564ebb403f6ce75c0bb0e7f3b49048361a55c 100644 (file)
     <!-- add a ;received="<ip>:<port>" to the contact when replying to register for nat handling -->
     <!--<param name="NDLB-received-in-nat-reg-contact" value="true"/>-->
     <param name="auth-calls" value="$${internal_auth_calls}"/>
+    <!-- Force subscription requests to require authentication -->
+    <param name="auth-subscriptions" value="true"/>
     <!-- Force the user and auth-user to match. -->
     <param name="inbound-reg-force-matching-username" value="true"/>
     <!-- on authed calls, authenticate *all* the packets not just invite -->
index da7abc07a62892a0c81ef4153d3f705632279426..58350e827b724cfe6b7563a986d4cb78ba6f2dfc 100644 (file)
     <!-- add a ;received="<ip>:<port>" to the contact when replying to register for nat handling -->
     <!--<param name="NDLB-received-in-nat-reg-contact" value="true"/>-->
     <param name="auth-calls" value="$${internal_auth_calls}"/>
+    <!-- Force subscription requests to require authentication -->
+    <param name="auth-subscriptions" value="true"/>
     <!-- Force the user and auth-user to match. -->
     <param name="inbound-reg-force-matching-username" value="true"/>
     <!-- on authed calls, authenticate *all* the packets not just invite -->