Jigasi and Asterisk on internal domains

I installed meet and configured it with the external domain “meet.domain.com”. That part is working.
Asterisk server is “voip.domain.com”.

Now I am going to try and get jigasi working. I would like to get it to talk with the inside urls, “meet.domain.local” and “voip.domain.local”. I managed to get the extension registered in asterisk ok.

When I place a call from asterisk to meet, I see invites but it never connects. I don’t know who to call. I’ve tried “conference@meet.domain.local”.

How should I proceed?

I made some progress. I can see the SIP call coming into jigasi.
However, I get this error “not authorized”. I have tried multiple accounts in the jigasi/sip properties. I have tried focus, and most recently org.jitsi.jigasi.xmpp.acc.USER_ID=jvb@auth.meet.aquilatech.com.

Nothing seems to work. Can someone give me a little clue?

2020-04-28 21:32:07.781 INFO: [37] org.jitsi.jigasi.SipGateway.registrationStateChanged().105 REG STATE CHANGE ProtocolProviderServiceSipImpl(SIP:232@scratchy.voip.aquila.local) -> RegistrationStateChangeEvent[ oldState=Unregistered; newState=RegistrationState=Registering; userRequest=false; reasonCode=-1; reason=null]
2020-04-28 21:32:07.790 INFO: [1] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() org.jitsi.jigasi.xmpp.acc.SERVER_ADDRESS=127.0.0.1
2020-04-28 21:32:07.959 WARNING: [45] org.jitsi.jigasi.xmpp.CallControl.().139 Always trust in remote TLS certificates mode is enabled
2020-04-28 21:32:07.984 INFO: [49] org.jitsi.jigasi.SipGateway.registrationStateChanged().105 REG STATE CHANGE ProtocolProviderServiceSipImpl(SIP:232@scratchy.voip.aquila.local) -> RegistrationStateChangeEvent[ oldState=Registering; newState=RegistrationState=Registered; userRequest=false; reasonCode=-1; reason=null]
2020-04-28 21:32:07.987 WARNING: [49] org.jitsi.jigasi.health.SipHealthPeriodicChecker.log() No health check started, no HEALTH_CHECK_SIP_URI prop.
2020-04-28 21:32:19.398 INFO: [56] org.jitsi.jigasi.SipGateway.incomingCallReceived().196 [ctx=1588123939383509389763] Incoming call received…
2020-04-28 21:32:19.410 INFO: [57] org.jitsi.jigasi.SipGatewaySession.run().1450 [ctx=1588123939383509389763] Wait thread cancelled
2020-04-28 21:32:19.418 INFO: [56] org.jitsi.jigasi.JvbConference.start().422 [ctx=1588123939383509389763] Starting JVB conference room: luke
2020-04-28 21:32:19.539 INFO: [56] org.jitsi.jigasi.JvbConference.setXmppProvider().553 [ctx=1588123939383509389763] Using ProtocolProviderServiceJabberImpl(Jabber:677fc468@meet.aquilatech.com/677fc468)
2020-04-28 21:32:19.824 INFO: [59] impl.protocol.jabber.OperationSetBasicTelephonyJabberImpl.registrationStateChanged().127 Jingle : ON
2020-04-28 21:32:19.825 INFO: [59] org.jitsi.jigasi.JvbConference.registrationStateChanged().606 [ctx=1588123939383509389763] Registering XMPP.
2020-04-28 21:32:19.940 INFO: [59] impl.protocol.jabber.ProtocolProviderServiceJabberImpl.authenticated().2535 Authenticated: false
2020-04-28 21:32:19.956 INFO: [59] org.jitsi.jigasi.JvbConference.joinConferenceRoom().685 [ctx=1588123939383509389763] Joining JVB conference room: luke
2020-04-28 21:32:20.086 SEVERE: [59] org.jitsi.jigasi.JvbConference.inviteFocus().1419 [ctx=1588123939383509389763] Could not invite the focus to the conference
org.jivesoftware.smack.XMPPException$XMPPErrorException: XMPP error reply received from focus.meet.aquilatech.com: 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)

Looking at your log , you’re using authentication and Jigasi can’t authenticate.

Take a look at step 4 over here: Asterisk / FreePBX tutorial