[Solved] Jigasi: java.lang.NullPointerException

Hello one and all.

I’m trying to dialin to jitsi via sip. It seems jigasi hangs up on me immediately after picking up the call.

2020-01-03 10:52:49.966 SEVERE: [99] impl.protocol.sip.CallPeerSipImpl.answer().1334 Failed to create an SDP description for a
n OK response to an INVITE request!
java.lang.NullPointerException
        at net.java.sip.communicator.service.protocol.media.MediaHandler.configureStream(MediaHandler.java:703)
        at net.java.sip.communicator.service.protocol.media.MediaHandler.initStream(MediaHandler.java:953)
        at net.java.sip.communicator.service.protocol.media.CallPeerMediaHandler.initStream(CallPeerMediaHandler.java:1189)
        at net.java.sip.communicator.impl.protocol.sip.CallPeerMediaHandlerSipImpl.createMediaDescriptionsForAnswer(CallPeerMe
diaHandlerSipImpl.java:832)
        at net.java.sip.communicator.impl.protocol.sip.CallPeerMediaHandlerSipImpl.processUpdateOffer(CallPeerMediaHandlerSipI
mpl.java:519)
        at net.java.sip.communicator.impl.protocol.sip.CallPeerMediaHandlerSipImpl.processOffer(CallPeerMediaHandlerSipImpl.ja
va:447)
        at net.java.sip.communicator.impl.protocol.sip.CallPeerSipImpl.answer(CallPeerSipImpl.java:1320)
        at net.java.sip.communicator.impl.protocol.sip.OperationSetBasicTelephonySipImpl.answerCallPeer(OperationSetBasicTelep
honySipImpl.java:1955)
        at org.jitsi.jigasi.CallManager$AnswerCallThread.run(CallManager.java:298)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)

Someone has an idea whats going on here?

Now i get:

2020-01-03 11:59:20.322 INFO: [168] org.jitsi.jigasi.JvbConference.callStateChanged().1111 [ctx=15780527589211962688351] JVB conference call IN_PROGRESS.
2020-01-03 11:59:21.341 SEVERE: [399] net.sf.fmj.media.Log.error()   Unable to handle format: LINEAR, 48000.0 Hz, 16-bit, Mono, LittleEndian, Signed
2020-01-03 11:59:21.341 SEVERE: [399] net.sf.fmj.media.Log.error() Failed to prefetch: net.sf.fmj.media.ProcessEngine@7b2af0e0
2020-01-03 11:59:21.342 SEVERE: [396] net.sf.fmj.media.Log.error() Error: Unable to prefetch net.sf.fmj.media.ProcessEngine@7b2af0e0

2020-01-03 11:59:25.222 INFO: [346] org.jitsi.jigasi.SipGatewaySession.sipCallEnded().629 [ctx=15780527589211962688351] Sip call ended: Call: id=15780527589202114212911 peers=0

changed to pjsip and now it works. it seems asterisk was the problem.