Skip to content

Commit

Permalink
Use --accept_ips=[[WSS]],[[PROXY]] argument to only accept calls
Browse files Browse the repository at this point in the history
from WSS socket or SIP proxy/registrar.
  • Loading branch information
sobomax committed Jul 23, 2024
1 parent b698aec commit 6d3c99d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ fi
RTPP_PID="${!}"

B2BUA_ARGS="--auth_enable=off --acct_enable=off --static_route=${OUTBOUND_ROUTE} \
-f --b2bua_socket=/tmp/b2b.sock --rtp_proxy_clients=${RSOCK} \
-f --b2bua_socket=/tmp/b2b.sock --rtp_proxy_clients=${RSOCK} --accept_ips=[[WSS]],[[PROXY]] \
--allowed_pts=0,8,9,126,101 --wss_socket=0.0.0.0:${WSS_PORT}:${CFILE}:${KFILE}"

if [ ! -z "${OUTBOUND_PROXY}" ]
Expand Down

0 comments on commit 6d3c99d

Please sign in to comment.