Skip to content

Commit 28c8635

Browse files
committed
refactor(sip-jibri): environment variables for pjsua network settings
1 parent d9952e8 commit 28c8635

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

sip-jibri/rootfs/defaults/pjsua.config

+9
Original file line numberDiff line numberDiff line change
@@ -50,3 +50,12 @@
5050
{{ if .Env.SIP_PASSWORD -}}
5151
--password={{ .Env.SIP_PASSWORD }}
5252
{{ end -}}
53+
{{ if .Env.PJSUA_IP_ADDR -}}
54+
--ip-addr={{ .Env.PJSUA_IP_ADDR }}
55+
{{ end -}}
56+
{{ if .Env.PJSUA_LOCAL_PORT -}}
57+
--local-port={{ .Env.PJSUA_LOCAL_PORT }}
58+
{{ end -}}
59+
{{ if .Env.PJSUA_RTP_PORT -}}
60+
--rtp-port={{ .Env.PJSUA_RTP_PORT }}
61+
{{ end -}}

0 commit comments

Comments
 (0)