New installation of Jitsi, trying to add jigasi

This is new installation, of jitsi video conference thru another nginx, is working ok, but now I want add the jigasi option to connect my IP pbx I did the installation process, no errors, I set up the username and paswsord , but it tries to register, but can not make it !

How do I check the logs ?, username and password are ok

We are on the same boat my friend! jigasi is not an easy thing to setup!

So far, I was able to have Jitsi call my phone, but I get no sound… I can help you get to that point at least :joy:

The most useful log for me was /var/log/jitsi/jigasi.log I would stop the jigasi service, clear the log and restart jigasi service to spot errors

99% of the magic happens in
/etc/jitsi/jigasi/sip-communicator.properties
On my first install, this file was not populated, but upon purging and reinstalling, it was populated almost completely automaticaly… go figure!

For dial-in, you should enable the call_control: ‘callcontrol.[domain.com]’ in /etc/jitsi/meet/[domain.com]-config.js
(replace [domain.com] with your own domain name
For some reason, it has no effect on my side, but I have not dig any deeper on this issue for now… I need sound first!

If you are using a secure domain, like I do, with prosody etc., you are in for a lot of issues!
I was able to register to my voip provider by adding the callcontrol component to this file /etc/prosody/conf.d/[domain.com].cfg.lua

So if you get unstok and are able to have sound, please share your findings with me :slight_smile:

@ArturoJGarciaJmz This may help - Jigasi Asterisk Tutorial. It’s based around FreePBX, but steps 2, 3, & 4 are all Jigasi. So hone in on those specifically.

Thanks for your inputs, so far I was able to register, so I need some help to:

1.- I can do incoming calls to “siptest” room, audio working ok, it means any one dialing extension 1135 can get into the jitsi meeting

2.- I can not do outgoing calls, ( I do not know where logs are or how get them)

3.- In order to customize my pbx with incoming calls thru IVR, some one had done with “sipxcom” software, how I have to do the configuration, I´m kind of new and do not understand very well the uri concept.

Successful inbound calls means you’re good on the jigasi front. The outbound issue is likely on the voip server side.

sipxcom is fairly obscure in my opinion. If you’re not overly invested in sipxcom, You’ll find a great deal of support and tutorials for Asterisk based systems, like FreePBX . Asterisk and FreePBX forums are very well established with large community support.

Thanks for your help !

How do I check the logs ?, I´m not very hard on Linux yet, but just give some idea where find the logs and how review them !

Here’s the 4 I commonly use. Although , you only should only need to concentrate on jigasi.log for the sip troubleshooting.

sudo nano /var/log/jitsi/jigasi.log
sudo nano /var/log/jitsi/jicofo.log
sudo nano /var/log/jitsi/jvb.log
sudo nano /var/log/prosody/prosody.log

Thanks

I start looking at , but seems to be a huge file, there is a way to purge to start over?

This could be the cause I can not make outside calls ?

2020-05-08 17:20:29.262 INFO: [110] impl.protocol.jabber.OperationSetBasicTelephonyJabberImpl.registrationStateChanged().134 Jingle : OFF

2020-05-08 17:20:29.264 SEVERE: [107] org.jitsi.jigasi.JvbConference.registrationStateChanged().616 [ctx=15889584282151747358413] XMPP Connection failed.

2020-05-08 17:20:29.265 WARNING: [107] org.jitsi.jigasi.JvbConference.leaveConferenceRoom().905 [ctx=15889584282151747358413] MUC room is null

2020-05-08 17:20:29.267 SEVERE: [110] org.jitsi.jigasi.JvbConference.registrationStateChanged().608 [ctx=15889584282151747358413] Unregistered XMPP:RegistrationStateChangeEvent[$

2020-05-08 17:20:36.171 INFO: [113] org.jitsi.jigasi.SipGatewaySession.handleCallState().1391 [ctx=15889584282151747358413] SIP call ended: CallPeerChangeEvent: type=CallPeerSta$

2020-05-08 17:20:36.171 INFO: [113] org.jitsi.jigasi.SipGatewaySession.sipCallEnded().584 [ctx=15889584282151747358413] Sip call ended: Call: id=1588958428207668754557 peers=0

2020-05-08 17:20:36.172 WARNING: [113] org.jitsi.jigasi.JvbConference.leaveConferenceRoom().905 [ctx=15889584282151747358413] MUC room is null

2020-05-08 17:20:36.172 INFO: [113] org.jitsi.jigasi.JvbConference.stop().521 [ctx=15889584282151747358413] Removing account Jabber:09b8096d@jitsi-srv.siei.mx/09b8096d

2020-05-08 17:20:36.172 INFO: [113] impl.protocol.jabber.OperationSetBasicTelephonyJabberImpl.registrationStateChanged().134 Jingle : OFF

2020-05-08 17:20:36.172 SEVERE: [113] org.jitsi.jigasi.AbstractGateway.notifyCallEnded().120 [ctx=15889584282151747358413] Call resource not exists for session.

2020-05-08 17:20:36.173 INFO: [113] org.jitsi.jigasi.SipGatewaySession.peerStateChanged().1457 null SIP peer state: Disconnected

2020-05-08 17:30:36.431 INFO: [168] org.jitsi.jigasi.SipGateway.registrationStateChanged().120 REG STATE CHANGE ProtocolProviderServiceSipImpl(SIP:1146@172.16.1.10) -> Registrat$

2020-05-08 17:30:36.431 SEVERE: [168] org.jitsi.jigasi.ServerSecurityAuthority.log() Wrong username or password for provider:ProtocolProviderServiceSipImpl(SIP:1146@172.16.1.10)

2020-05-08 17:30:36.432 INFO: [168] org.jitsi.jigasi.SipGateway.registrationStateChanged().120 REG STATE CHANGE ProtocolProviderServiceSipImpl(SIP:1146@172.16.1.10) -> Registrat$

SLF4J: Class path contains multiple SLF4J bindings.

SLF4J: Found binding in [jar:file:/usr/share/jigasi/lib/slf4j-jdk14-1.7.26.jar!/org/slf4j/impl/StaticLoggerBinder.class]

SLF4J: Found binding in [jar:file:/usr/share/jigasi/lib/slf4j-simple-1.6.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]

SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.

SLF4J: Actual binding is of type [org.slf4j.impl.JDK14LoggerFactory]

2020-05-08 17:30:55.213 INFO: [10] org.jitsi.service.libjitsi.LibJitsi.log() Successfully started LibJitsi using as implementation: org.jitsi.impl.libjitsi.LibJitsiOSGiImpl

2020-05-08 17:30:55.229 INFO: [10] impl.configuration.ConfigurationActivator.log() Using properties file configuration store.

Couple lines stand out to me…

  • XMPP connection failed - From my experience, this indicates Jigasi can’t authenticate internally
2020-05-08 17:20:29.264 SEVERE: [107] org.jitsi.jigasi.JvbConference.registrationStateChanged().616 [ctx=15889584282151747358413] XMPP Connection failed.
  • Wrong username or password for provider - Jigasi isn’t registering with your PBX
2020-05-08 17:30:36.431 SEVERE: [168] org.jitsi.jigasi.ServerSecurityAuthority.log() Wrong username or password for provider:ProtocolProviderServiceSipImpl(SIP:1146@172.16.1.10)

Thanks Craig.

Oh !!! it is kind of curious, because if I try to dial in into the SIPtest room, I can do it wit the extension, also in the pbx screen of registrations, I see registered the extension related to jigasi.

Any clue ?