[SOLVED] Outgoing calls works, but not incoming

Hi,
As the title says, outgoing calls are working but incoming calls are not. My setup uses authentication and I get this in the logs:

Jigasi:

2020-04-22 16:58:29.690 INFO: [66] org.jitsi.jigasi.SipGateway.incomingCallReceived().196 [ctx=1587571109684685605079] Incoming call received... 2020-04-22 16:58:29.695 INFO: [67] org.jitsi.jigasi.SipGatewaySession.run().1450 [ctx=1587571109684685605079] Wait thread cancelled 2020-04-22 16:58:29.698 INFO: [66] org.jitsi.jigasi.JvbConference.start().422 [ctx=1587571109684685605079] Starting JVB conference room: room 2020-04-22 16:58:29.739 INFO: [66] org.jitsi.jigasi.JvbConference.setXmppProvider().553 [ctx=1587571109684685605079] Using ProtocolProviderServiceJabberImpl(Jabber:281ea977@xx.xx.xx/281ea977) 2020-04-22 16:58:29.893 INFO: [69] impl.protocol.jabber.OperationSetBasicTelephonyJabberImpl.registrationStateChanged().127 Jingle : ON 2020-04-22 16:58:29.893 INFO: [69] org.jitsi.jigasi.JvbConference.registrationStateChanged().606 [ctx=1587571109684685605079] Registering XMPP. 2020-04-22 16:58:29.934 INFO: [69] impl.protocol.jabber.ProtocolProviderServiceJabberImpl.authenticated().2535 Authenticated: false 2020-04-22 16:58:29.944 INFO: [69] org.jitsi.jigasi.JvbConference.joinConferenceRoom().685 [ctx=1587571109684685605079] Joining JVB conference room: room 2020-04-22 16:58:30.034 SEVERE: [69] org.jitsi.jigasi.JvbConference.inviteFocus().1419 [ctx=1587571109684685605079] Could not invite the focus to the conference org.jivesoftware.smack.XMPPException$XMPPErrorException: XMPP error reply received from focus.xx.xx.xx: XMPPError: not-authorized - auth at org.jivesoftware.smack.XMPPException$XMPPErrorException.ifHasErrorThenThrow(XMPPException.java:132) at org.jivesoftware.smack.StanzaCollector.nextResultOrThrow(StanzaCollector.java:263) at org.jivesoftware.smack.StanzaCollector.nextResultOrThrow(StanzaCollector.java:214) at org.jitsi.jigasi.JvbConference.inviteFocus(JvbConference.java:1413) at org.jitsi.jigasi.JvbConference.joinConferenceRoom(JvbConference.java:753) at org.jitsi.jigasi.JvbConference.registrationStateChanged(JvbConference.java:583) at net.java.sip.communicator.service.protocol.AbstractProtocolProviderService.fireRegistrationStateChanged(AbstractProtocolProviderService.java:187) at net.java.sip.communicator.service.protocol.AbstractProtocolProviderService.fireRegistrationStateChanged(AbstractProtocolProviderService.java:141) at net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectAndLogin(ProtocolProviderServiceJabberImpl.java:1389) at net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectAndLogin(ProtocolProviderServiceJabberImpl.java:970) at net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.initializeConnectAndLogin(ProtocolProviderServiceJabberImpl.java:795) at net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.register(ProtocolProviderServiceJabberImpl.java:500) at org.jitsi.jigasi.util.RegisterThread.run(RegisterThread.java:59)

Jicofo:

Jicofo 2020-04-22 16:58:30.030 INFO: [225] org.jitsi.jicofo.xmpp.FocusComponent.handleConferenceIq().401 Focus request for room: room@internal.auth.xx.xx.xx

It’s trying to join @internal.auth.xx.xx.xx. Shouldn´t it be @conference.xx.xx.xx?

Regards

Just figured it out. After reading Recently updated Jigasi (and JVB + Jitsi-meet), incoming calls no longer get Answered, I realized that my SIP header only contained the room name. After using the room name plus the @conference.xx.xx.xx in the SIP header, it started working.