Skip to content

Commit

Permalink
refactor(sip-jibri): environment variables for pjsua network settings
Browse files Browse the repository at this point in the history
  • Loading branch information
emrahcom committed Jul 25, 2024
1 parent d9952e8 commit 28c8635
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions sip-jibri/rootfs/defaults/pjsua.config
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,12 @@
{{ if .Env.SIP_PASSWORD -}}
--password={{ .Env.SIP_PASSWORD }}
{{ end -}}
{{ if .Env.PJSUA_IP_ADDR -}}
--ip-addr={{ .Env.PJSUA_IP_ADDR }}
{{ end -}}
{{ if .Env.PJSUA_LOCAL_PORT -}}
--local-port={{ .Env.PJSUA_LOCAL_PORT }}
{{ end -}}
{{ if .Env.PJSUA_RTP_PORT -}}
--rtp-port={{ .Env.PJSUA_RTP_PORT }}
{{ end -}}

0 comments on commit 28c8635

Please sign in to comment.