How do I compile and link Sofia SIP >= 1.13 and Janus

322 views
Skip to first unread message

Yurii Cherniavskyi

unread,
Sep 12, 2021, 7:52:00 AM9/12/21
to meetecho-janus
For some reason when I compile Janus with Sofia SIP >= 1.13 from source all compilation and linking process pass without error and even Janus start without error and warning, but when I try to execute SIP REGISTER, I always get the following error:
[ERR] [plugins/janus_sip.c:janus_sip_handler:3087] Two seconds passed and still no NUA, problems with the thread?
With Sofia SIP 1.12, everything works as expected.
I see that Janus applies special cases for Sofia SIP >= 1.13 in the SIP plugin, so someone uses Janus with this version, and for sure, registration works in their builds.
Could that someone please share their experience in building Janus with Sofia SIP >= 1.13? Distro, maybe special build parameters for Sofia SIP or Janus, something else...

And yes, I found in the history of issues and groups that such problem arises several times, but there are no clear solutions to resolve it (use libsofia from distro is not the option because it is on version 1.12 and applies -fno-aggressive-loop-optimizations also seems not help).

Lorenzo Miniero

unread,
Sep 13, 2021, 6:19:14 AM9/13/21
to meetecho-janus
The only special case we have was related to the missing contact header in newer versions we were told about, which we fixed here:

I have no idea what features are used by those that reported the problem, though: they may not be using REGISTER, for instance, but only guest calls. If you think this should be addressed, open a new issue on github and I'll mention those I remember using 1.13 there.

To be honest, I don't plan to start targeting 1.13 myself, as the version easily available on all repos (and that I have installed on my laptop) is still the one before that, and using 1.13 as a reference could introduce breaking changes for the vast majority of users. If anyone's willing to help with the occasional issues that may occur on 1.13 of course that would be more than welcome.

Lorenzo
Reply all
Reply to author
Forward
0 new messages