]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
chan_sip: Clarify in sample docs how directmediapermit/-acl should be used
authorWalter Doekes <walter+asterisk@wjd.nu>
Tue, 28 Jan 2020 08:34:45 +0000 (09:34 +0100)
committerSean Bright <sean.bright@gmail.com>
Wed, 5 Feb 2020 12:27:15 +0000 (06:27 -0600)
It said "restrict [...] which peers should be able to pass [audio]
to each other".

However, these settings are not global (for which you would expect
signaling IPs to be checked). These settings are available per peer
only, and the IPs being checked, are the RTP IPs.

Change-Id: I2a6c6cd7c2f5f30d1df4844e3e0308a077021660

configs/samples/sip.conf.sample

index 7971b6494aacd98c1eef267d4b2bb336482601cb..494775490046a715504fcb8b74092ea693154118 100644 (file)
@@ -1059,7 +1059,9 @@ srvlookup=yes                   ; Enable DNS SRV lookups on outbound calls
                                 ; the device is actually behind NAT.
 
 ;directmediadeny=0.0.0.0/0      ; Use directmediapermit and directmediadeny to restrict
-;directmediapermit=172.16.0.0/16; which peers should be able to pass directmedia to each other
+;directmediapermit=172.16.0.0/16; which RTP source IPs should be able to pass directmedia to
+                                ; each other. Note that directmedia ACLs are not a global
+                                ; setting, but must be defined per peer.
                                 ; (There is no default setting, this is just an example)
                                 ; Use this if some of your phones are on IP addresses that
                                 ; can not reach each other directly. This way you can force