janus.plugin.sip turnserver support

91 views
Skip to first unread message

Greg

unread,
Aug 11, 2022, 12:06:53 PM8/11/22
to meetecho-janus
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


Lorenzo Miniero

unread,
Aug 11, 2022, 3:07:43 PM8/11/22
to meetecho-janus
The SIP plugin doesn't support ICE.

L.

Greg

unread,
Aug 12, 2022, 5:05:25 AM8/12/22
to Lorenzo Miniero, meetecho-janus
I wonder what would be the effort to add that ? This would make Janus first VOIP solution easy to deploy in the kubernetes environment, the voice traffic will flow directly from turnserver to provider, and Janus would be a WebRTC / SIP signalling proxy mode only, the provider would require only to deploy a turnservers on public.
I think I would sponsor that kind of development from my company.
Greg

чт, 11 авг. 2022 г. в 21:07, Lorenzo Miniero <lmin...@gmail.com>:
--
You received this message because you are subscribed to a topic in the Google Groups "meetecho-janus" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/meetecho-janus/8OLPCy9Pfhw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to meetecho-janu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/meetecho-janus/b0ded751-9f86-4f08-af48-99a7c60f9524n%40googlegroups.com.

Lorenzo Miniero

unread,
Aug 12, 2022, 5:18:14 AM8/12/22
to meetecho-janus
The effort would be huge, considering it would mean porting a sizeable portion of Janus' core to the SIP plugin, and completely changing the way we handle media there right now. As such, it's definitely not planned for the short/medium term.

L.
Reply all
Reply to author
Forward
0 new messages