Skip to content

Commit b21dd4e

Browse files
DonLoquaciousandywolk
authored andcommitted
[Default-Configuration] Force sip subscription requests to require authentication.
1 parent bb79c57 commit b21dd4e

4 files changed

Lines changed: 8 additions & 0 deletions

File tree

‎conf/insideout/sip_profiles/internal.xml‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,8 @@
129129
<!-- add a ;received="<ip>:<port>" to the contact when replying to register for nat handling -->
130130
<!--<param name="NDLB-received-in-nat-reg-contact" value="true"/>-->
131131
<param name="auth-calls" value="$${internal_auth_calls}"/>
132+
<!-- Force subscription requests to require authentication -->
133+
<param name="auth-subscriptions" value="true"/>
132134
<!-- Force the user and auth-user to match. -->
133135
<param name="inbound-reg-force-matching-username" value="true"/>
134136
<!-- on authed calls, authenticate *all* the packets not just invite -->

‎conf/minimal/sip_profiles/internal.xml‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
<profile name="internal">
22
<settings>
33
<param name="auth-calls" value="true"/>
4+
<!-- Force subscription requests to require authentication -->
5+
<param name="auth-subscriptions" value="true"/>
46
<param name="apply-nat-acl" value="nat.auto"/>
57

68
<param name="debug" value="0"/>

‎conf/testing/sip_profiles/internal.xml‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -267,6 +267,8 @@
267267
<!-- add a ;received="<ip>:<port>" to the contact when replying to register for nat handling -->
268268
<!--<param name="NDLB-received-in-nat-reg-contact" value="true"/>-->
269269
<param name="auth-calls" value="$${internal_auth_calls}"/>
270+
<!-- Force subscription requests to require authentication -->
271+
<param name="auth-subscriptions" value="true"/>
270272
<!-- Force the user and auth-user to match. -->
271273
<param name="inbound-reg-force-matching-username" value="true"/>
272274
<!-- on authed calls, authenticate *all* the packets not just invite -->

‎conf/vanilla/sip_profiles/internal.xml‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -267,6 +267,8 @@
267267
<!-- add a ;received="<ip>:<port>" to the contact when replying to register for nat handling -->
268268
<!--<param name="NDLB-received-in-nat-reg-contact" value="true"/>-->
269269
<param name="auth-calls" value="$${internal_auth_calls}"/>
270+
<!-- Force subscription requests to require authentication -->
271+
<param name="auth-subscriptions" value="true"/>
270272
<!-- Force the user and auth-user to match. -->
271273
<param name="inbound-reg-force-matching-username" value="true"/>
272274
<!-- on authed calls, authenticate *all* the packets not just invite -->

0 commit comments

Comments
 (0)