Jigasi not authorized

Phone calls are coming in but are not going through to the room because of an authentication problem.

I have created a jigasiadmin@meet.xxx.com and set a password “thisIsAPassword”… then edited the /etc/jitsi/jigasi/sip-communicator.properties file with the relevant account credentials and i still get this authrization error.

Just to test, i even tried logging in to the meeting with the credentials manually and they worked. Below are the errors i am getting from /var/log/jitsi/jigasi.log

2020-11-12 14:34:12.148 INFO: [56] org.jitsi.jigasi.SipGateway.incomingCallReceived().216 [ctx=1605188052135265534142] Incoming call received...
2020-11-12 14:34:13.155 INFO: [57] org.jitsi.jigasi.SipGatewaySession.run().1538 [ctx=1605188052135265534142]Using default JVB room name property siptest
2020-11-12 14:34:13.164 INFO: [57] org.jitsi.jigasi.JvbConference.start().437 [ctx=1605188052135265534142] Starting JVB conference room: siptest
2020-11-12 14:34:13.236 INFO: [57] org.jitsi.jigasi.JvbConference.setXmppProvider().576 [ctx=1605188052135265534142] Using ProtocolProviderServiceJabberImpl(Jabber:2acc38d7@meet.xxx.$
2020-11-12 14:34:13.242 INFO: [60] impl.protocol.jabber.OperationSetBasicTelephonyJabberImpl.registrationStateChanged().134 Jingle : OFF
2020-11-12 14:34:13.243 SEVERE: [60] org.jitsi.jigasi.JvbConference.registrationStateChanged().623 [ctx=1605188052135265534142] Unregistered XMPP:RegistrationStateChangeEvent[ oldState=Regi$
2020-11-12 14:34:15.772 SEVERE: [36] org.jitsi.meet.ComponentMain.log() not-authorized, host:localhost, port:5347
org.xmpp.component.ComponentException: not-authorized
        at org.jivesoftware.whack.ExternalComponent.connect(ExternalComponent.java:243)
        at org.jivesoftware.whack.ExternalComponentManager.addComponent(ExternalComponentManager.java:242)
        at org.jivesoftware.whack.ExternalComponentManager.addComponent(ExternalComponentManager.java:222)
        at org.jitsi.meet.ComponentMain.lambda$getConnectCallable$0(ComponentMain.java:285)
        at org.jitsi.retry.RetryStrategy$TaskRunner.run(RetryStrategy.java:193)   
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)

and then from prosidy log files are returning:

l:ns:xmpp-streams'>Given token does not match calculated token</text></stream:error>
Nov 12 15:15:04 jcp21e1120      info    component disconnected: callcontrol.meet.xxx.com (false)
Nov 12 15:15:09 jcp23cdb00      info    Incoming Jabber component connection
Nov 12 15:15:09 callcontrol.meet.xxx.com:component       info    Component authentication failed for callcontrol.meet.xxx.com
Nov 12 15:15:09 mod_component   info    Disconnecting component, <stream:error> is: <stream:error><not-authorized xmlns='urn:ietf:params:xml:ns:xmpp-streams'/><text xmlns='urn:ietf:params:xml:ns:xmpp-streams'>Given token does not match calculated token</text></stream:error>
Nov 12 15:15:09 jcp23cdb00      info    component disconnected: callcontrol.meet.xxx.com (false)

wrong secret used for the component.
I’m currently working on dropping component and default to using mucs which is the recommended way.