software/ors-amarisoft: add option for public websocket
Showing
... | @@ -53,7 +53,14 @@ | ... | @@ -53,7 +53,14 @@ |
tx_gain: {{ tx_gain }}, | tx_gain: {{ tx_gain }}, | ||
rx_gain: {{ rx_gain }}, | rx_gain: {{ rx_gain }}, | ||
{% endif %} | {% endif %} | ||
{%- if slapparameter_dict.get('websocket_password', '') %} | |||
|
|||
com_addr: "[{{ gtp_addr_v6 }}]:9001", | |||
com_auth: { | |||
password: "{{ slapparameter_dict['websocket_password'] }}", | |||
}, | |||
{%- else %} | |||
com_addr: "127.0.1.2:9001", | com_addr: "127.0.1.2:9001", | ||
{%- endif %} | |||
amf_list: [ | amf_list: [ | ||
{% if slapparameter_dict.get('amf_list', '') %} | {% if slapparameter_dict.get('amf_list', '') %} | ||
{%- for i, k in enumerate(slapparameter_dict['amf_list']) %} | {%- for i, k in enumerate(slapparameter_dict['amf_list']) %} | ||
... | ... |