Jitsi Meet - jigasi exception on incoming call


#1

I’m using asterisk as a sip server and Jitsi Desktop as a sip client. I have jigasi setup for jitsi meet.
Below are the configurations for jigasi sip-communicator.properties file.

I’m able to connect the sip client to sip server (6001@xx.xxx.x.xx:5060) , but the call is not able to join the jitsi meet room.
Can you please help and let me know where is the configuration to setup the connection between sip server and jigasi, what am I missing ?
Is there any configuration required on asterisk side to connect to jigasi. jigasi log file is showing no action when I place a call to extension 101 from sip client.
Please help !

sipcommunicator -

Disables packet logging

net.java.sip.communicator.packetlogging.PACKET_LOGGING_ENABLED=false

net.java.sip.communicator.impl.protocol.sip.acc1403273890647=acc1403273890647
net.java.sip.communicator.impl.protocol.sip.acc1403273890647.ACCOUNT_UID=SIP:6001@xx.xx.x.xx:5060
net.java.sip.communicator.impl.protocol.sip.acc1403273890647.PASSWORD=unsecurepassword
net.java.sip.communicator.impl.protocol.sip.acc1403273890647.PROTOCOL_NAME=SIP
net.java.sip.communicator.impl.protocol.sip.acc1403273890647.SERVER_ADDRESS=xx.xxx.x.xx:5060
net.java.sip.communicator.impl.protocol.sip.acc1403273890647.USER_ID=6001@xx.xxx.x.xx:5060
net.java.sip.communicator.impl.protocol.sip.acc1403273890647.KEEP_ALIVE_INTERVAL=25
net.java.sip.communicator.impl.protocol.sip.acc1403273890647.KEEP_ALIVE_METHOD=OPTIONS
net.java.sip.communicator.impl.protocol.sip.acc1403273890647.VOICEMAIL_ENABLED=false
net.java.sip.communicator.impl.protocol.sip.acc1403273890647.Encodings.AMR-WB/16000=750
net.java.sip.communicator.impl.protocol.sip.acc1403273890647.Encodings.G722/8000=700
net.java.sip.communicator.impl.protocol.sip.acc1403273890647.Encodings.GSM/8000=0
net.java.sip.communicator.impl.protocol.sip.acc1403273890647.Encodings.H263-1998/90000=0
net.java.sip.communicator.impl.protocol.sip.acc1403273890647.Encodings.H264/90000=0
net.java.sip.communicator.impl.protocol.sip.acc1403273890647.Encodings.PCMA/8000=600
net.java.sip.communicator.impl.protocol.sip.acc1403273890647.Encodings.PCMU/8000=650
net.java.sip.communicator.impl.protocol.sip.acc1403273890647.Encodings.SILK/12000=0
net.java.sip.communicator.impl.protocol.sip.acc1403273890647.Encodings.SILK/16000=0
net.java.sip.communicator.impl.protocol.sip.acc1403273890647.Encodings.SILK/24000=0
net.java.sip.communicator.impl.protocol.sip.acc1403273890647.Encodings.SILK/8000=0
net.java.sip.communicator.impl.protocol.sip.acc1403273890647.Encodings.VP8/90000=0
net.java.sip.communicator.impl.protocol.sip.acc1403273890647.Encodings.iLBC/8000=10
net.java.sip.communicator.impl.protocol.sip.acc1403273890647.Encodings.opus/48000=1000
net.java.sip.communicator.impl.protocol.sip.acc1403273890647.Encodings.red/90000=0
net.java.sip.communicator.impl.protocol.sip.acc1403273890647.Encodings.speex/16000=0
net.java.sip.communicator.impl.protocol.sip.acc1403273890647.Encodings.speex/32000=0
net.java.sip.communicator.impl.protocol.sip.acc1403273890647.Encodings.speex/8000=0
net.java.sip.communicator.impl.protocol.sip.acc1403273890647.Encodings.telephone-event/8000=1
net.java.sip.communicator.impl.protocol.sip.acc1403273890647.Encodings.ulpfec/90000=0
net.java.sip.communicator.impl.protocol.sip.acc1403273890647.OVERRIDE_ENCODINGS=true

sip.conf -

[general]
context=default

[6001]
type=friend
context=from-internal
host=dynamic
secret=unsecurepassword
disallow=all
allow=ulaw

extensions.conf-

[from-internal]
exten => 101,1,SIPAddHeader(Jitsi-Conference-Room:siptest)
exten => 101,2,Hangup

output on asterisk CLI -
– Executing [101@from-internal:1] SIPAddHeader(“SIP/6001-00000001”, “Jitsi-Conference-Room:siptest”) in new stack
– Executing [101@from-internal:2] Hangup(“SIP/6001-00000001”, “”) in new stack
== Spawn extension (from-internal, 101, 2) exited non-zero on ‘SIP/6001-00000001’

I’m using the https://github.com/jitsi/docker-jitsi-meet setup
I’m able to do video conference on jitsimeet.
Struggling to figure out - how will the sip client (jitsi) on my laptop call into jitsi meet conference !
Please help !


#2

Outgoing calls to a registered sip client from jitsi meet is working now. The sip client is able to join the video conference room.

Somehow incoming call is not working and the call is not patched through to join the video conference room. I don’t see any incoming call icon in jitsi meet room (siptest) when trying to call extension 103 (see below) from a registered sip client.

Dial plan with room name “siptest” –

exten => 103,1,SIPAddHeader(X-Room-Name:siptest)
exten => 103,2,Dial(SIP/jigasi)
exten => 103,3,Hangup()

Jigasi log -
Jigasi 2018-11-28 09:15:59.405 INFO: [3478] org.jitsi.jigasi.SipGateway.incomingCallReceived().188 Incoming call received…
Jigasi 2018-11-28 09:16:00.407 INFO: [3479] org.jitsi.jigasi.SipGatewaySession.run().894 Wait thread cancelled
Jigasi 2018-11-28 09:16:00.407 SEVERE: [3478] impl.protocol.sip.SipStackSharing.logApplicationException().1145 An error occurred while processing event of type: javax.sip.DialogTerminatedEvent
java.lang.NullPointerException
at org.jitsi.jigasi.JvbConference.getResourceIdentifier(JvbConference.java:354)
at org.jitsi.jigasi.JvbConference.start(JvbConference.java:404)
at org.jitsi.jigasi.SipGatewaySession.joinJvbConference(SipGatewaySession.java:315)
at org.jitsi.jigasi.SipGatewaySession.onJoinJitsiMeetRequest(SipGatewaySession.java:538)
at net.java.sip.communicator.impl.protocol.sip.OperationSetJitsiMeetToolsSipImpl.notifyJoinJitsiMeetRoom(OperationSetJitsiMeetToolsSipImpl.java:112)
at net.java.sip.communicator.impl.protocol.sip.CallSipImpl.processInvite(CallSipImpl.java:569)
at net.java.sip.communicator.impl.protocol.sip.OperationSetBasicTelephonySipImpl.processInvite(OperationSetBasicTelephonySipImpl.java:1103)
at net.java.sip.communicator.impl.protocol.sip.OperationSetBasicTelephonySipImpl.processRequest(OperationSetBasicTelephonySipImpl.java:337)
at net.java.sip.communicator.impl.protocol.sip.ProtocolProviderServiceSipImpl.processRequest(ProtocolProviderServiceSipImpl.java:1114)
at net.java.sip.communicator.impl.protocol.sip.SipStackSharing.processRequest(SipStackSharing.java:732)
at gov.nist.javax.sip.EventScanner.deliverRequestEvent(EventScanner.java:250)
at gov.nist.javax.sip.EventScanner.deliverEvent(EventScanner.java:146)
at gov.nist.javax.sip.SipProviderImpl.handleEvent(SipProviderImpl.java:185)
at gov.nist.javax.sip.DialogFilter.processRequest(DialogFilter.java:1324)
at gov.nist.javax.sip.stack.SIPServerTransactionImpl.processRequest(SIPServerTransactionImpl.java:811)
at gov.nist.javax.sip.stack.UDPMessageChannel.processMessage(UDPMessageChannel.java:568)
at gov.nist.javax.sip.stack.UDPMessageChannel.processIncomingDataPacket(UDPMessageChannel.java:514)
at gov.nist.javax.sip.stack.UDPMessageChannel.run(UDPMessageChannel.java:319)
at java.lang.Thread.run(Thread.java:748)


#3

Hi @damencho, Can you please help me with this jigasi exception.