[SOLVED] Jigasi does not answer incoming calls

hello guys, following problem, we can successfully report that the registration on the sip gateway was successfully initiated. when i call now, the call cannot be answered by jigasi, the phone is ringing all the time in the logs i see a “did not received session invite 30000 (ms)” and the call is terminated

I think this is caused by the sip header which does not determinate a sip header with the invite?

the call is displayed on the siptest with initializing call from “number”

do you have any ideas what this could be? and what kind of logs do you need to help me?

Was there a web participant in the room already?
By default if no one joins in 30 seconds jigasi hangups. This can be adjusted using org.jitsi.jigasi.JVB_INVITE_TIMEOUT=1800000 is 30 minutes.

If your jigasi is joining siptest room, this means you are not passing the sip header with the room name.

hi damencho, thank you for the information, yes there was someone in the room.

so if i understand this correctly, then the sip invite must now contain the room name so that the call can be accepted within jigasi, right?

Well it can accept any call and by default put them in the default room.
But it needs the sip header to point to the correct room for the incoming call.
If you have IVR where you input the meeting id and discover the room behind thew id and you want jigasi to enter in that particular room.

well then the call should be accepted in the test room (i.e. siptest) by default, but this does not happen at the moment, the call rings for 30 seconds and is then terminated…either I am standing on the hose … or my configuration is wrong?

And you have joined the siptest room and nobody answers? Hum you should see the errors then in jigasi logs and see that your web participant joins, if it does not join you are in a different room.

Make sure you set it up like https://github.com/jitsi/jigasi/blob/master/jigasi-home/sip-communicator.properties#L7 with the full jid

hi,

2020-10-27 14:19:05.257 SCHWERWIEGEND: [102] org.jivesoftware.smack.AbstractXMPPConnection.run() Exception in packet listener
java.lang.NullPointerException
at net.java.sip.communicator.impl.protocol.jabber.ChatRoomMemberJabberImpl.(ChatRoomMemberJabberImpl.java:123)
at net.java.sip.communicator.impl.protocol.jabber.ChatRoomJabberImpl$MemberListener.joined(ChatRoomJabberImpl.java:1280)
at org.jivesoftware.smackx.muc.MultiUserChat$3.processStanza(MultiUserChat.java:219)
at org.jivesoftware.smack.AbstractXMPPConnection$6.run(AbstractXMPPConnection.java:1263)
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)
2020-10-27 14:19:05.257 INFORMATION: [102] impl.protocol.jabber.ChatRoomJabberImpl.joined().1256 siptest@conference.cas-video.caseris.intern/1d9d524e has joined the siptest@conference.cas-video.caseris.intern chat room.
2020-10-27 14:19:35.254 SCHWERWIEGEND: [105] org.jitsi.jigasi.JvbConference.run().1578 [ctx=160380834415426120348] Did not received session invite (30000 ms)

In the logs i get two serious issues shown, well , i really can’t interpret the error message…

the config looks fine, if you want me to show you then i will copy it…

Thanks in advance!

Do you see any errors in jigasi logs before that? The NPE is strange one.

Hi Damencho,

yes, indeed i see some error, attached are the errors.

All the other stuff is on information - level.

2020-10-28 08:10:19.401 SCHWERWIEGEND: [10] impl.configuration.ConfigurationActivator.log() Error creating c lib instance for fixing file permissions

2020-10-28 08:10:20.478 SCHWERWIEGEND: [10] org.jitsi.impl.neomedia.device.DeviceConfiguration.log() Failed to register custom Renderer org.jitsi.impl.neomedia.jmfext.media.renderer.audio.PulseAudioRenderer with JMF.
java.lang.IllegalStateException: audioSystem

2020-10-28 08:10:21.043 WARNUNG: [10] org.jitsi.jigasi.xmpp.CallControlMucActivator.start().99 MUC call control disabled.

SCHWERWIEGEND: [69] org.jivesoftware.smack.AbstractXMPPConnection.run() Exception in packet listener
java.lang.NullPointerException

2020-10-28 08:12:21.767 SCHWERWIEGEND: [75] org.jitsi.jigasi.JvbConference.run().1578 [ctx=1603872710449866139820] Did not received session invite (30000 ms)

If you want me to load up the completly log, just tell me.

Kindly Regards

Fabian

Has anyone an idea what else could be missing?

Was there a web participant in the room?

Hi yes, 2 persons. found a fix maybe but dont know how to configure this : Jigasi: "Did not received session invite" · Issue #367 · jitsi/docker-jitsi-meet · GitHub

I do have exactly the same error.

kindly Regards

Fabian

Do you mind sharing jicofo/jigasi log?

sure:

Jicofo:

Jicofo 2021-02-18 15:11:47.186 SCHWERWIEGEND: [690] org.jitsi.impl.protocol.xmpp.XmppProtocolProvider.log() Failed to connect/login: SASLError using SCRAM-SHA-1: not-authorized
org.jivesoftware.smack.sasl.SASLErrorException: SASLError using SCRAM-SHA-1: not-authorized
at org.jivesoftware.smack.SASLAuthentication.authenticationFailed(SASLAuthentication.java:292)
at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader.parsePackets(XMPPTCPConnection.java:1100)
at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader.access$300(XMPPTCPConnection.java:1000)
at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader$1.run(XMPPTCPConnection.java:1016)
at java.lang.Thread.run(Thread.java:748)
Jicofo 2021-02-18 15:11:52.250 SCHWERWIEGEND: [690] org.jitsi.impl.protocol.xmpp.XmppProtocolProvider.log() Failed to connect/login: SASLError using SCRAM-SHA-1: not-authorized
org.jivesoftware.smack.sasl.SASLErrorException: SASLError using SCRAM-SHA-1: not-authorized
at org.jivesoftware.smack.SASLAuthentication.authenticationFailed(SASLAuthentication.java:292)
at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader.parsePackets(XMPPTCPConnection.java:1100)
at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader.access$300(XMPPTCPConnection.java:1000)
at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader$1.run(XMPPTCPConnection.java:1016)
at java.lang.Thread.run(Thread.java:748)
Jicofo 2021-02-18 15:11:57.315 SCHWERWIEGEND: [690] org.jitsi.impl.protocol.xmpp.XmppProtocolProvider.log() Failed to connect/login: SASLError using SCRAM-SHA-1: not-authorized
org.jivesoftware.smack.sasl.SASLErrorException: SASLError using SCRAM-SHA-1: not-authorized
at org.jivesoftware.smack.SASLAuthentication.authenticationFailed(SASLAuthentication.java:292)
at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader.parsePackets(XMPPTCPConnection.java:1100)
at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader.access$300(XMPPTCPConnection.java:1000)
at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader$1.run(XMPPTCPConnection.java:1016)
at java.lang.Thread.run(Thread.java:748)
Jicofo 2021-02-18 15:12:02.382 SCHWERWIEGEND: [690] org.jitsi.impl.protocol.xmpp.XmppProtocolProvider.log() Failed to connect/login: SASLError using SCRAM-SHA-1: not-authorized
org.jivesoftware.smack.sasl.SASLErrorException: SASLError using SCRAM-SHA-1: not-authorized
at org.jivesoftware.smack.SASLAuthentication.authenticationFailed(SASLAuthentication.java:292)
at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader.parsePackets(XMPPTCPConnection.java:1100)
at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader.access$300(XMPPTCPConnection.java:1000)
at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader$1.run(XMPPTCPConnection.java:1016)

Jigasi:
2021-02-18 15:03:13.078 WARNUNG: [45] org.jitsi.jigasi.health.SipHealthPeriodicChecker.log() No health check started, no HEALTH_CHECK_SIP_URI prop.
2021-02-18 15:03:33.318 INFORMATION: [53] org.jitsi.jigasi.SipGateway.incomingCallReceived().216 [ctx=16136606133111050891098] Incoming call received…
2021-02-18 15:03:34.325 INFORMATION: [55] org.jitsi.jigasi.SipGatewaySession.run().1734 [ctx=16136606133111050891098]Using default JVB room name property siptest@conference.auth.meeting.example.com
2021-02-18 15:03:34.330 INFORMATION: [55] org.jitsi.jigasi.JvbConference.start().490 [ctx=16136606133111050891098] Starting JVB conference room: siptest@conference.auth.meeting.example.com
2021-02-18 15:03:34.366 INFORMATION: [55] org.jitsi.jigasi.JvbConference.setXmppProvider().633 [ctx=16136606133111050891098] Using ProtocolProviderServiceJabberImpl(Jabber:+49170000000@auth.meeting.example.com/+49170000000)
2021-02-18 15:03:34.497 INFORMATION: [58] impl.protocol.jabber.OperationSetBasicTelephonyJabberImpl.registrationStateChanged().127 Jingle : ON
2021-02-18 15:03:34.497 INFORMATION: [58] org.jitsi.jigasi.JvbConference.registrationStateChanged().684 [ctx=16136606133111050891098] Registering XMPP.
2021-02-18 15:03:34.516 INFORMATION: [58] impl.protocol.jabber.ProtocolProviderServiceJabberImpl.authenticated().2423 Authenticated: false
2021-02-18 15:03:34.522 INFORMATION: [58] org.jitsi.jigasi.JvbConference.joinConferenceRoom().775 [ctx=16136606133111050891098] Joining JVB conference room: siptest@conference.auth.meeting.example.com
2021-02-18 15:03:34.577 INFORMATION: [64] impl.protocol.jabber.ChatRoomJabberImpl.joined().1323 siptest@conference.auth.meeting.example.com/e23060aa has joined the siptest@conference.auth.meeting.example.com chat room.
2021-02-18 15:03:34.577 SCHWERWIEGEND: [64] org.jivesoftware.smack.AbstractXMPPConnection.run() Exception in packet listener
java.lang.NullPointerException
at net.java.sip.communicator.impl.protocol.jabber.ChatRoomMemberJabberImpl.(ChatRoomMemberJabberImpl.java:123)
at net.java.sip.communicator.impl.protocol.jabber.ChatRoomJabberImpl$MemberListener.joined(ChatRoomJabberImpl.java:1347)
at org.jivesoftware.smackx.muc.MultiUserChat$3.processStanza(MultiUserChat.java:219)
at org.jivesoftware.smack.AbstractXMPPConnection$6.run(AbstractXMPPConnection.java:1263)
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)
2021-02-18 15:03:34.578 INFORMATION: [64] impl.protocol.jabber.ChatRoomJabberImpl.joined().1323 siptest@conference.auth.meeting.example.com/384e5cf9 has joined the siptest@conference.auth.meeting.example.com chat room.
2021-02-18 15:03:34.578 SCHWERWIEGEND: [64] org.jivesoftware.smack.AbstractXMPPConnection.run() Exception in packet listener
java.lang.NullPointerException
at net.java.sip.communicator.impl.protocol.jabber.ChatRoomMemberJabberImpl.(ChatRoomMemberJabberImpl.java:123)
at net.java.sip.communicator.impl.protocol.jabber.ChatRoomJabberImpl$MemberListener.joined(ChatRoomJabberImpl.java:1347)
at org.jivesoftware.smackx.muc.MultiUserChat$3.processStanza(MultiUserChat.java:219)
at org.jivesoftware.smack.AbstractXMPPConnection$6.run(AbstractXMPPConnection.java:1263)
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)
2021-02-18 15:03:49.847 INFORMATION: [76] service.protocol.media.MediaHandler.registerDynamicPTsWithStream().1003 Dynamic PT map: 101=rtpmap:-1 telephone-event/8000;
2021-02-18 15:03:49.847 INFORMATION: [76] service.protocol.media.MediaHandler.registerDynamicPTsWithStream().1020 PT overrides
2021-02-18 15:03:49.866 INFORMATION: [76] org.jitsi.jigasi.SipGatewaySession.peerStateChanged().1682 [ctx=16136606133111050891098] SIP peer state: Connecting*
2021-02-18 15:03:49.876 INFORMATION: [81] org.jitsi.jigasi.SipGatewaySession.handleCallState().1599 [ctx=16136606133111050891098] Sip call IN_PROGRESS: Call: id=1613660613269549241929 peers=1
2021-02-18 15:03:49.877 INFORMATION: [81] org.jitsi.jigasi.SipGatewaySession.handleCallState().1608 [ctx=16136606133111050891098] SIP call format used: rtpmap:8 PCMA/8000
2021-02-18 15:03:49.878 INFORMATION: [81] org.jitsi.jigasi.SipGatewaySession.peerStateChanged().1682 [ctx=16136606133111050891098] SIP peer state: Connected
2021-02-18 15:03:49.882 SCHWERWIEGEND: [54] org.jitsi.jigasi.SoundNotificationManager.injectSoundFile().1164 [ctx=16136606133111050891098] No playback!
2021-02-18 15:03:49.883 INFORMATION: [81] service.protocol.media.CallPeerMediaHandler.start().1961 Starting
2021-02-18 15:03:50.045 INFORMATION: [81] service.protocol.media.TransportManager.sendHolePunchPacket().552 Send NAT hole punch packets
2021-02-18 15:04:04.557 SCHWERWIEGEND: [67] org.jitsi.jigasi.JvbConference.run().2005 [ctx=16136606133111050891098] Did not received session invite (30000 ms)
2021-02-18 15:04:04.558 INFORMATION: [67] org.jitsi.jigasi.JvbConference.memberPresenceChanged().1211 [ctx=16136606133111050891098] Member left : GUEST +49170000000@auth.meeting.example.com
2021-02-18 15:04:04.558 INFORMATION: [67] org.jitsi.jigasi.JvbConference.stop().593 [ctx=16136606133111050891098] Removing account Jabber:+49170000000@auth.meeting.example.com/+49170000000
2021-02-18 15:04:04.564 INFORMATION: [67] impl.protocol.jabber.OperationSetBasicTelephonyJabberImpl.registrationStateChanged().134 Jingle : OFF
2021-02-18 15:04:04.570 INFORMATION: [76] org.jitsi.jigasi.SipGatewaySession.handleCallState().1616 [ctx=16136606133111050891098] SIP call ended: CallPeerChangeEvent: type=CallPeerStatusChange oldV=net.java.sip.communicator.service.protocol.CallPeerState:Connected newV=net.java.sip.communicator.service.protocol.CallPeerState:Failed for peer=+49170000000 49170000000@anynode.auth.meeting.example.com;status=Failed
2021-02-18 15:04:04.570 INFORMATION: [76] org.jitsi.jigasi.SipGatewaySession.sipCallEnded().647 [ctx=16136606133111050891098] Sip call ended: Call: id=1613660613269549241929 peers=0
2021-02-18 15:04:04.570 INFORMATION: [76] org.jitsi.jigasi.AbstractGateway.notifyCallEnded().129 [ctx=16136606133111050891098] Removed session for call. Sessions:0
2021-02-18 15:04:04.575 INFORMATION: [76] org.jitsi.jigasi.SipGatewaySession.peerStateChanged().1682 null SIP peer state: Failed

i have anoymized these logs.
so the numbers which were written are covered with some others.

hi guys, sorry for chasing this, i can not get it running still … any ideas because of the latest logs?

@damencho hey sorry for chasing you, but can you please help?

Check your passwords, you have a wrong password.

@Freddie
hey thanks for your replay, i have checked here:

nano /var/lib/prosody/auth%2emeeting%2ecaseris%2ede/accounts/jigasi.dat
net.java.sip.communicator.impl.protocol.jabber.acc-xmpp-1.PASSWORD=

If am i right these password should match, right?

Thanks for your help.

Kind of. In Jigasi it should be the base64 conversion of the registered password.