jigasi: make SIP port and transport configurable

pull/32/head
netaskd 6 years ago committed by Saúl Ibarra Corretgé
parent ab5f248913
commit 4b88a28fcc
  1. 2
      README.md
  2. 7
      env.example
  3. 2
      jigasi.yml
  4. 4
      jigasi/rootfs/defaults/sip-communicator.properties

@ -114,6 +114,8 @@ Variable | Description | Example
`JIGASI_SIP_URI` | SIP URI for incoming / outgoing calls | test@sip2sip.info `JIGASI_SIP_URI` | SIP URI for incoming / outgoing calls | test@sip2sip.info
`JIGASI_SIP_PASSWORD` | Password for the specified SIP account | passw0rd `JIGASI_SIP_PASSWORD` | Password for the specified SIP account | passw0rd
`JIGASI_SIP_SERVER` | SIP server (use the SIP account domain if in doubt) | sip2sip.info `JIGASI_SIP_SERVER` | SIP server (use the SIP account domain if in doubt) | sip2sip.info
`JIGASI_SIP_PORT` | SIP server port | 5060
`JIGASI_SIP_TRANSPORT` | SIP transport | UDP
### Authentication ### Authentication

@ -40,12 +40,17 @@ TZ=Europe/Amsterdam
# SIP URI for incoming / outgoing calls. # SIP URI for incoming / outgoing calls.
#JIGASI_SIP_URI=test@sip2sip.info #JIGASI_SIP_URI=test@sip2sip.info
# Password for the specified SIP account. # Password for the specified SIP account as a clear text
#JIGASI_SIP_PASSWORD=passw0rd #JIGASI_SIP_PASSWORD=passw0rd
# SIP server (use the SIP account domain if in doubt). # SIP server (use the SIP account domain if in doubt).
#JIGASI_SIP_SERVER=sip2sip.info #JIGASI_SIP_SERVER=sip2sip.info
# SIP server port
#JIGASI_SIP_PORT=5060
# SIP server transport
#JIGASI_SIP_TRANSPORT=UDP
# #
# Authentication configuration (see README for details) # Authentication configuration (see README for details)

@ -17,6 +17,8 @@ services:
- JIGASI_SIP_URI - JIGASI_SIP_URI
- JIGASI_SIP_PASSWORD - JIGASI_SIP_PASSWORD
- JIGASI_SIP_SERVER - JIGASI_SIP_SERVER
- JIGASI_SIP_PORT
- JIGASI_SIP_TRANSPORT
- JIGASI_XMPP_USER - JIGASI_XMPP_USER
- JIGASI_XMPP_PASSWORD - JIGASI_XMPP_PASSWORD
- JIGASI_BREWERY_MUC - JIGASI_BREWERY_MUC

@ -8,6 +8,10 @@ net.java.sip.communicator.packetlogging.PACKET_LOGGING_ENABLED=false
# SIP account # SIP account
net.java.sip.communicator.impl.protocol.sip.acc1=acc1 net.java.sip.communicator.impl.protocol.sip.acc1=acc1
net.java.sip.communicator.impl.protocol.sip.acc1.PROXY_ADDRESS={{ .Env.JIGASI_SIP_SERVER }}
net.java.sip.communicator.impl.protocol.sip.acc1.PROXY_AUTO_CONFIG=false
net.java.sip.communicator.impl.protocol.sip.acc1.PROXY_PORT={{ .Env.JIGASI_SIP_PORT }}
net.java.sip.communicator.impl.protocol.sip.acc1.PREFERRED_TRANSPORT={{ .Env.JIGASI_SIP_TRANSPORT }}
net.java.sip.communicator.impl.protocol.sip.acc1.ACCOUNT_UID=SIP\:{{ .Env.JIGASI_SIP_URI }} net.java.sip.communicator.impl.protocol.sip.acc1.ACCOUNT_UID=SIP\:{{ .Env.JIGASI_SIP_URI }}
net.java.sip.communicator.impl.protocol.sip.acc1.PASSWORD={{ .Env.JIGASI_SIP_PASSWORD | b64enc }} net.java.sip.communicator.impl.protocol.sip.acc1.PASSWORD={{ .Env.JIGASI_SIP_PASSWORD | b64enc }}
net.java.sip.communicator.impl.protocol.sip.acc1.PROTOCOL_NAME=SIP net.java.sip.communicator.impl.protocol.sip.acc1.PROTOCOL_NAME=SIP

Loading…
Cancel
Save