Fixes for SIP on Debian

Description

The following errors appeared calling Derek:
. when I started the call the first error appeared
. 2-4 seconds later the second one
. and the last one may be is when Derek answered

1-
javax.media.rtp.InvalidSessionAddressException: Local Data AddressDoes not belong to any of this hosts local interfaces
at com.sun.media.rtp.RTPSessionMgr.initialize(RTPSessionMgr.java:2664)
at com.sun.media.rtp.RTPSessionMgr.initialize(RTPSessionMgr.java:2515)
at net.java.sipmack.media.AudioReceiverChannel.createReceiver(AudioReceiverChannel.java:151)
at net.java.sipmack.media.AudioReceiverChannel.start(AudioReceiverChannel.java:82)
at net.java.sipmack.softphone.SoftPhoneManager.callStateChanged(SoftPhoneManager.java:657)
at net.java.sipmack.sip.Call.fireCallStatusChangedEvent(Call.java:368)
at net.java.sipmack.sip.Call.setState(Call.java:239)
at net.java.sipmack.sip.CallProcessing.processRingingBack(CallProcessing.java:177)
at net.java.sipmack.sip.SipManager.processResponse(SipManager.java:1646)
at gov.nist.javax.sip.EventScanner.deliverEvent(EventScanner.java:290)
at gov.nist.javax.sip.EventScanner.run(EventScanner.java:492)
at java.lang.Thread.run(Thread.java:595)

2-
javax.media.NoDataSourceException: Cannot find a DataSource for: dsound://
at javax.media.Manager.createDataSource(Manager.java:1037)
at net.java.sipmack.media.AudioChannel.createProcessor(AudioChannel.java:178)
at net.java.sipmack.media.AudioChannel.start(AudioChannel.java:115)
at net.java.sipmack.media.AudioMediaSession.startTrasmit(AudioMediaSession.java:139)
at net.java.sipmack.softphone.SoftPhoneManager.callStateChanged(SoftPhoneManager.java:634)
at net.java.sipmack.sip.Call.fireCallStatusChangedEvent(Call.java:368)
at net.java.sipmack.sip.Call.setState(Call.java:239)
at net.java.sipmack.sip.CallProcessing.processInviteOK(CallProcessing.java:250)
at net.java.sipmack.sip.SipManager.processResponse(SipManager.java:1632)
at gov.nist.javax.sip.EventScanner.deliverEvent(EventScanner.java:290)
at gov.nist.javax.sip.EventScanner.run(EventScanner.java:492)
at java.lang.Thread.run(Thread.java:595)
3-
processBye - net.java.sipmack.sip.CommunicationsException: Could not find call with id=15775005
net.java.sipmack.sip.CommunicationsException: Could not find call with id=15775005
at net.java.sipmack.sip.CallProcessing.endCall(CallProcessing.java:979)
at net.java.sipmack.sip.CallProcessing.processBye(CallProcessing.java:539)
at net.java.sipmack.sip.SipManager.processRequest(SipManager.java:1526)
at gov.nist.javax.sip.EventScanner.deliverEvent(EventScanner.java:223)
at gov.nist.javax.sip.EventScanner.run(EventScanner.java:492)
at java.lang.Thread.run(Thread.java:595)

Environment

Debian

Activity

Show:
Michael Will
November 13, 2009, 6:09 PM

Yes

wroot
November 12, 2009, 10:37 PM

cstux, can this issue be closed now? I think you have already switched to FMJ.

Michael Will
January 29, 2009, 2:51 PM

Here you can find a patched sparkphone it works with FMJ:
http://www.igniterealtime.org/community/message/186581#186581

MattM
April 20, 2007, 4:47 AM

After an immense amount of work by Thiago, we unfortunately need to reschedule this issue for some future release. JMF has many severe issues on Linux and it may never be possible to use it for stable audio and video capture on that platform. We're currently looking at other possible approaches, but it will not be a short term fix.

Francisco Vives
April 3, 2007, 9:50 AM

Current error:
(6:24 PM) mauricio: 02/04/2007 18:22:23 org.jivesoftware.spark.util.log.Log error
GRAVE:
java.lang.NullPointerException
at org.jivesoftware.sparkplugin.JavaMixer.getPrefferedInputVolume(JavaMixer.java:55)
at org.jivesoftware.sparkplugin.JingleRoom.buildControlPanel(JingleRoom.java:142)
at org.jivesoftware.sparkplugin.JingleRoom.<init>(JingleRoom.java:91)
at org.jivesoftware.sparkplugin.OutgoingCall.showCallAnsweredState(OutgoingCall.java:184)
at org.jivesoftware.sparkplugin.OutgoingCall.sessionEstablished(OutgoingCall.java:337)
at org.jivesoftware.smackx.jingle.JingleSession.triggerSessionEstablished(JingleSession.java:1079)
at org.jivesoftware.smackx.jingle.OutgoingJingleSession$Active.eventEnter(OutgoingJingleSession.java:438)
at org.jivesoftware.smackx.jingle.JingleNegotiator.setState(JingleNegotiator.java:137)
at org.jivesoftware.smackx.jingle.JingleSession.setState(JingleSession.java:327)
at org.jivesoftware.smackx.jingle.OutgoingJingleSession$Pending.eventAck(OutgoingJingleSession.java:379)
at org.jivesoftware.smackx.jingle.JingleSession.dispatchIncomingPacket(JingleSession.java:415)
at org.jivesoftware.smackx.jingle.JingleSession.respond(JingleSession.java:484)
at org.jivesoftware.smackx.jingle.JingleSession$2.processPacket(JingleSession.java:912)
at org.jivesoftware.smack.PacketReader$ListenerWrapper.notifyListener(PacketReader.java:819)
at org.jivesoftware.smack.PacketReader$ListenerNotification.run(PacketReader.java:799)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
at java.util.concurrent.FutureTask.run(FutureTask.java:123)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
at java.lang.Thread.run(Thread.java:595)
02/04/2007 18:22:23 org.jivesoftware.spark.util.log.Log error
GRAVE:
java.lang.NullPointerException
at org.jivesoftware.sparkplugin.JavaMixer.getPrefferedMasterVolume(JavaMixer.java:47)
at org.jivesoftware.sparkplugin.JingleRoom.buildControlPanel(JingleRoom.java:156)
at org.jivesoftware.sparkplugin.JingleRoom.<init>(JingleRoom.java:91)
at org.jivesoftware.sparkplugin.OutgoingCall.showCallAnsweredState(OutgoingCall.java:184)
at org.jivesoftware.sparkplugin.OutgoingCall.sessionEstablished(OutgoingCall.java:337)
at org.jivesoftware.smackx.jingle.JingleSession.triggerSessionEstablished(JingleSession.java:1079)
at org.jivesoftware.smackx.jingle.OutgoingJingleSession$Active.eventEnter(OutgoingJingleSession.java:438)
at org.jivesoftware.smackx.jingle.JingleNegotiator.setState(JingleNegotiator.java:137)
at org.jivesoftware.smackx.jingle.JingleSession.setState(JingleSession.java:327)
at org.jivesoftware.smackx.jingle.OutgoingJingleSession$Pending.eventAck(OutgoingJingleSession.java:379)
at org.jivesoftware.smackx.jingle.JingleSession.dispatchIncomingPacket(JingleSession.java:415)
at org.jivesoftware.smackx.jingle.JingleSession.respond(JingleSession.java:484)
at org.jivesoftware.smackx.jingle.JingleSession$2.processPacket(JingleSession.java:912)
at org.jivesoftware.smack.PacketReader$ListenerWrapper.notifyListener(PacketReader.java:819)
at org.jivesoftware.smack.PacketReader$ListenerNotification.run(PacketReader.java:799)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
at java.util.concurrent.FutureTask.run(FutureTask.java:123)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
at java.lang.Thread.run(Thread.java:595)
Track 0 is set to transmit as:
gsm/rtp, 8000.0 Hz, Mono, FrameSize=264 bits
javax.media.rtp.InvalidSessionAddressException: Local Data AddressDoes not belong to any of this hosts local interfaces
at com.sun.media.rtp.RTPSessionMgr.initialize(RTPSessionMgr.java:2664)
at com.sun.media.rtp.RTPSessionMgr.initialize(RTPSessionMgr.java:2515)
at org.jivesoftware.smackx.jingle.mediaimpl.jmf.AudioChannel.createTransmitter(AudioChannel.java:350)
at org.jivesoftware.smackx.jingle.mediaimpl.jmf.AudioChannel.start(AudioChannel.java:122)
at org.jivesoftware.smackx.jingle.mediaimpl.jmf.AudioMediaSession.startTrasmit(AudioMediaSession.java:92)
at org.jivesoftware.smackx.jingle.JingleSession.triggerSessionEstablished(JingleSession.java:1089)
at org.jivesoftware.smackx.jingle.OutgoingJingleSession$Active.eventEnter(OutgoingJingleSession.java:438)
at org.jivesoftware.smackx.jingle.JingleNegotiator.setState(JingleNegotiator.java:137)
at org.jivesoftware.smackx.jingle.JingleSession.setState(JingleSession.java:327)
at org.jivesoftware.smackx.jingle.OutgoingJingleSession$Pending.eventAck(OutgoingJingleSession.java:379)
at org.jivesoftware.smackx.jingle.JingleSession.dispatchIncomingPacket(JingleSession.java:415)
at org.jivesoftware.smackx.jingle.JingleSession.respond(JingleSession.java:484)
at org.jivesoftware.smackx.jingle.JingleSession$2.processPacket(JingleSession.java:912)
at org.jivesoftware.smack.PacketReader$ListenerWrapper.notifyListener(PacketReader.java:819)
at org.jivesoftware.smack.PacketReader$ListenerNotification.run(PacketReader.java:799)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
at java.util.concurrent.FutureTask.run(FutureTask.java:123)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
at java.lang.Thread.run(Thread.java:595)

Fixed

Priority

Major

Assignee

Michael Will

Reporter

Francisco Vives