Good day, we are using janus.plugin.sip to reach our provider, however for networking purposes i would like to use turnserver for outgoing calls from janus sip to provider.
It will allow me to put janus in kubernetes and so it will use few ports instead of standard range if 10k.
After reading the configuration i see that janus suport turnserver if it's behing nat for WebRTC which is nice, i would like to be able to do it also for SIP side of janus.
the only option in janus.plugin.sip.jcfg is
# Indicate if the server is behind NAT. If so, the server will use STUN
# to guess its own public IP address and use it in the Contact header of
# outgoing requests
behind_nat = false
But obviously its for different purposes.
My idea behing that is the client uses minimum ports i.e 443 + 3478, and janus is using external turnserver to get it's allocated port, something like this:
CLIENT BROWSER <> TURN.SERVER <>TURNSERVER<||NAT||> JANUS <<||NAT||>>TURNSERVER <> SIP PROVIDER
Is it possible somehow with current realisation ?
Thank you
Greg