freeswitch: allow to set esl password

This commit is contained in:
chandi 2021-04-30 20:21:20 +02:00
parent 98ae3f50ea
commit 21b02aab8b
2 changed files with 2 additions and 1 deletions

View File

@ -3,7 +3,7 @@
<param name="nat-map" value="false"/>
<param name="listen-ip" value="$${local_ip_v4}"/>
<param name="listen-port" value="8021"/>
<param name="password" value="ClueCon"/>
<param name="password" value="$${esl_password}"/>
<param name="apply-inbound-acl" value="loopback.custom"/>
<!--<param name="stop-on-bind-error" value="true"/>-->
</settings>

View File

@ -1,4 +1,5 @@
<include>
<X-PRE-PROCESS cmd="set" data="esl_password={{ .Env.ESL_PASSWORD }}"/>
<!-- Preprocessor Variables
These are introduced when configuration strings must be consistent across modules.
NOTICE: YOU CAN NOT COMMENT OUT AN X-PRE-PROCESS line, Remove the line instead.