powered by Jive Software

Spark Linux: jingle, sparkphone plugins; x86_64 platform

Hello.

Thanks for the great project

I have few issues and i didn’t find answers in the forums and bugzilla:

  1. Why jingle and sparkphone plugins are disabled on Linux? What are the problems with them? After enabling i see strange error ‘TIME ERROR’ in the log and they don’t work

  2. What about x86_64 platform Spark build? Will you support that platform? And can i build by myself from sources all the plugins and so on? I haven’t tried yet

Update:

Windows version of Spark doesn’t work with Sparkphone too. Both Linux and Windows versions show ‘Starting phone’…

In the debug console i see a lot of sent and received packets:

Sent:

<iq id=“6SjLC-81” to=“sipark.talk.ipxp.net” type=“set”>

<phone xmlns=“http://www.jivesoftware.com/protocol/sipark”>

<status>Registering</status>

</phone>

</iq>

Received:

<iq id=“6SjLC-81” to="akornilov@talk.ipxp.net/spark" from=“sipark.talk.ipxp.net” type=“result”>

<phone xmlns=“http://www.jivesoftware.com/protocol/sipark”>

<registration/>

</phone>

</iq>

And nothing happens. SIP settings and SIP mappings look correct in the Openfire options. Asterisk-IM has been setup too. STUN server is enabled.

So, what they are looking for? Openfire doesn’t show any errors. Looks like they can’t find the Jingle/SIP server or something else.

And what is sipark.talk.ipxp.net? talk.ipxp.net is my server. But i can’t find any sipark in the sources of the spark and openfire.

Sorry, looks like it was firewall I will let you know, if voice works.

Yes, everything works, but there is no voice in the client. And no microphone and speaker volumes control as in the Windows Spark. In Windows Spark with the same account i can hear voice in the both directions. Is it linux java problem?

Hello,

We use JMF to provide sound stremming recording and playing.

In windows JMF works great. But in Linux it doesn’t work properly, so we disabled it Linux versions.

We are looking for a solution on this.

Cheers,

Thiago

So, it doesn’t work in any way? Should i break my attempting to setup it? or it can work?

I’ve downloaded JMF from SUN, cutomized it by its customizer, replaced Spark jmf.jar by my custom.jar, but it didn’t help enough:(

/startup.sh

JavaSound Capture Supported = true

JavaSoundAuto: Committed ok

Wesde true false

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 net.java.sipmack.media.AudioChannel.createTransmitter(AudioChannel.java:394)

at net.java.sipmack.media.AudioChannel.start(AudioChannel.java:128)

at net.java.sipmack.media.AudioMediaSession.startTrasmit(AudioMediaSession.java:16 0)

at net.java.sipmack.softphone.SoftPhoneManager.callStateChanged(SoftPhoneManager.j ava:636)

at net.java.sipmack.sip.Call.fireCallStatusChangedEvent(Call.java:374)

at net.java.sipmack.sip.Call.setState(Call.java:240)

at net.java.sipmack.sip.CallProcessing.processInviteOK(CallProcessing.java:234)

at net.java.sipmack.sip.SipManager.processResponse(SipManager.java:1570)

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:619)

17.09.2007 19:33:15 org.jivesoftware.spark.util.log.Log error

SEVERE:

java.lang.NullPointerException

at java.awt.Container.addImpl(Container.java:1031)

at java.awt.Container.add(Container.java:903)

at com.jivesoftware.sparkplugin.ui.call.NonRosterPanel.buildMiddlePanel(NonRosterP anel.java:157)

at com.jivesoftware.sparkplugin.ui.call.NonRosterPanel.buildDefaultUI(NonRosterPan el.java:230)

at com.jivesoftware.sparkplugin.ui.call.NonRosterPanel.setInterlocutorUI(NonRoster Panel.java:218)

at com.jivesoftware.sparkplugin.ui.call.CallManager.showCallAnswered(CallManager.j ava:268)

at com.jivesoftware.sparkplugin.ui.call.CallManager.access$400(CallManager.java:44 )

at com.jivesoftware.sparkplugin.ui.call.CallManager$5.callStateChanged(CallManager .java:216)

at net.java.sipmack.sip.Call.fireCallStatusChangedEvent(Call.java:374)

at net.java.sipmack.sip.Call.setState(Call.java:240)

at net.java.sipmack.sip.CallProcessing.processInviteOK(CallProcessing.java:234)

at net.java.sipmack.sip.SipManager.processResponse(SipManager.java:1570)

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:619)

17.09.2007 19:33:15 org.jivesoftware.spark.util.log.Log error

SEVERE:

java.lang.NullPointerException

at java.awt.Container.addImpl(Container.java:1031)

at java.awt.Container.add(Container.java:903)

at com.jivesoftware.sparkplugin.ui.call.NonRosterPanel.buildMiddlePanel(NonRosterP anel.java:171)

at com.jivesoftware.sparkplugin.ui.call.NonRosterPanel.buildDefaultUI(NonRosterPan el.java:230)

at com.jivesoftware.sparkplugin.ui.call.NonRosterPanel.setInterlocutorUI(NonRoster Panel.java:218)

at com.jivesoftware.sparkplugin.ui.call.CallManager.showCallAnswered(CallManager.j ava:268)

at com.jivesoftware.sparkplugin.ui.call.CallManager.access$400(CallManager.java:44 )

at com.jivesoftware.sparkplugin.ui.call.CallManager$5.callStateChanged(CallManager .java:216)

at net.java.sipmack.sip.Call.fireCallStatusChangedEvent(Call.java:374)

at net.java.sipmack.sip.Call.setState(Call.java:240)

at net.java.sipmack.sip.CallProcessing.processInviteOK(CallProcessing.java:234)

at net.java.sipmack.sip.SipManager.processResponse(SipManager.java:1570)

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:619)

./startup.sh

JavaSound Capture Supported = true

JavaSoundAuto: Committed ok

Wesde true false

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 net.java.sipmack.media.AudioChannel.createTransmitter(AudioChannel.java:394)

at net.java.sipmack.media.AudioChannel.start(AudioChannel.java:128)

at net.java.sipmack.media.AudioMediaSession.startTrasmit(AudioMediaSession.java:16 0)

at net.java.sipmack.softphone.SoftPhoneManager.callStateChanged(SoftPhoneManager.j ava:636)

at net.java.sipmack.sip.Call.fireCallStatusChangedEvent(Call.java:374)

at net.java.sipmack.sip.Call.setState(Call.java:240)

at net.java.sipmack.sip.CallProcessing.processInviteOK(CallProcessing.java:234)

at net.java.sipmack.sip.SipManager.processResponse(SipManager.java:1570)

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:619)

17.09.2007 19:33:15 org.jivesoftware.spark.util.log.Log error

SEVERE:

java.lang.NullPointerException

at java.awt.Container.addImpl(Container.java:1031)

at java.awt.Container.add(Container.java:903)

at com.jivesoftware.sparkplugin.ui.call.NonRosterPanel.buildMiddlePanel(NonRosterP anel.java:157)

at com.jivesoftware.sparkplugin.ui.call.NonRosterPanel.buildDefaultUI(NonRosterPan el.java:230)

at com.jivesoftware.sparkplugin.ui.call.NonRosterPanel.setInterlocutorUI(NonRoster Panel.java:218)

at com.jivesoftware.sparkplugin.ui.call.CallManager.showCallAnswered(CallManager.j ava:268)

at com.jivesoftware.sparkplugin.ui.call.CallManager.access$400(CallManager.java:44 )

at com.jivesoftware.sparkplugin.ui.call.CallManager$5.callStateChanged(CallManager .java:216)

at net.java.sipmack.sip.Call.fireCallStatusChangedEvent(Call.java:374)

at net.java.sipmack.sip.Call.setState(Call.java:240)

at net.java.sipmack.sip.CallProcessing.processInviteOK(CallProcessing.java:234)

at net.java.sipmack.sip.SipManager.processResponse(SipManager.java:1570)

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:619)

17.09.2007 19:33:15 org.jivesoftware.spark.util.log.Log error

SEVERE:

java.lang.NullPointerException

at java.awt.Container.addImpl(Container.java:1031)

at java.awt.Container.add(Container.java:903)

at com.jivesoftware.sparkplugin.ui.call.NonRosterPanel.buildMiddlePanel(NonRosterP anel.java:171)

at com.jivesoftware.sparkplugin.ui.call.NonRosterPanel.buildDefaultUI(NonRosterPan el.java:230)

at com.jivesoftware.sparkplugin.ui.call.NonRosterPanel.setInterlocutorUI(NonRoster Panel.java:218)

at com.jivesoftware.sparkplugin.ui.call.CallManager.showCallAnswered(CallManager.j ava:268)

at com.jivesoftware.sparkplugin.ui.call.CallManager.access$400(CallManager.java:44 )

at com.jivesoftware.sparkplugin.ui.call.CallManager$5.callStateChanged(CallManager .java:216)

at net.java.sipmack.sip.Call.fireCallStatusChangedEvent(Call.java:374)

at net.java.sipmack.sip.Call.setState(Call.java:240)

at net.java.sipmack.sip.CallProcessing.processInviteOK(CallProcessing.java:234)

at net.java.sipmack.sip.SipManager.processResponse(SipManager.java:1570)

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:619)

I’ve downloaded JMF from SUN, cutomized by it’s cutomizer, replace Spark jmf.jar by custom.jar, but it doesn’t work Here are logs:

./startup.sh

JavaSound Capture Supported = true

JavaSoundAuto: Committed ok

Wesde true false

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 net.java.sipmack.media.AudioChannel.createTransmitter(AudioChannel.java:394)

at net.java.sipmack.media.AudioChannel.start(AudioChannel.java:128)

at net.java.sipmack.media.AudioMediaSession.startTrasmit(AudioMediaSession.java:16 0)

at net.java.sipmack.softphone.SoftPhoneManager.callStateChanged(SoftPhoneManager.j ava:636)

at net.java.sipmack.sip.Call.fireCallStatusChangedEvent(Call.java:374)

at net.java.sipmack.sip.Call.setState(Call.java:240)

at net.java.sipmack.sip.CallProcessing.processInviteOK(CallProcessing.java:234)

at net.java.sipmack.sip.SipManager.processResponse(SipManager.java:1570)

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:619)

17.09.2007 19:33:15 org.jivesoftware.spark.util.log.Log error

SEVERE:

java.lang.NullPointerException

at java.awt.Container.addImpl(Container.java:1031)

at java.awt.Container.add(Container.java:903)

at com.jivesoftware.sparkplugin.ui.call.NonRosterPanel.buildMiddlePanel(NonRosterP anel.java:157)

at com.jivesoftware.sparkplugin.ui.call.NonRosterPanel.buildDefaultUI(NonRosterPan el.java:230)

at com.jivesoftware.sparkplugin.ui.call.NonRosterPanel.setInterlocutorUI(NonRoster Panel.java:218)

at com.jivesoftware.sparkplugin.ui.call.CallManager.showCallAnswered(CallManager.j ava:268)

at com.jivesoftware.sparkplugin.ui.call.CallManager.access$400(CallManager.java:44 )

at com.jivesoftware.sparkplugin.ui.call.CallManager$5.callStateChanged(CallManager .java:216)

at net.java.sipmack.sip.Call.fireCallStatusChangedEvent(Call.java:374)

at net.java.sipmack.sip.Call.setState(Call.java:240)

at net.java.sipmack.sip.CallProcessing.processInviteOK(CallProcessing.java:234)

at net.java.sipmack.sip.SipManager.processResponse(SipManager.java:1570)

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:619)

17.09.2007 19:33:15 org.jivesoftware.spark.util.log.Log error

SEVERE:

java.lang.NullPointerException

at java.awt.Container.addImpl(Container.java:1031)

at java.awt.Container.add(Container.java:903)

at com.jivesoftware.sparkplugin.ui.call.NonRosterPanel.buildMiddlePanel(NonRosterP anel.java:171)

at com.jivesoftware.sparkplugin.ui.call.NonRosterPanel.buildDefaultUI(NonRosterPan el.java:230)

at com.jivesoftware.sparkplugin.ui.call.NonRosterPanel.setInterlocutorUI(NonRoster Panel.java:218)

at com.jivesoftware.sparkplugin.ui.call.CallManager.showCallAnswered(CallManager.j ava:268)

at com.jivesoftware.sparkplugin.ui.call.CallManager.access$400(CallManager.java:44 )

at com.jivesoftware.sparkplugin.ui.call.CallManager$5.callStateChanged(CallManager .java:216)

at net.java.sipmack.sip.Call.fireCallStatusChangedEvent(Call.java:374)

at net.java.sipmack.sip.Call.setState(Call.java:240)

at net.java.sipmack.sip.CallProcessing.processInviteOK(CallProcessing.java:234)

at net.java.sipmack.sip.SipManager.processResponse(SipManager.java:1570)

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:619)

./startup.sh

JavaSound Capture Supported = true

JavaSoundAuto: Committed ok

Wesde true false

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 net.java.sipmack.media.AudioChannel.createTransmitter(AudioChannel.java:394)

at net.java.sipmack.media.AudioChannel.start(AudioChannel.java:128)

at net.java.sipmack.media.AudioMediaSession.startTrasmit(AudioMediaSession.java:16 0)

at net.java.sipmack.softphone.SoftPhoneManager.callStateChanged(SoftPhoneManager.j ava:636)

at net.java.sipmack.sip.Call.fireCallStatusChangedEvent(Call.java:374)

at net.java.sipmack.sip.Call.setState(Call.java:240)

at net.java.sipmack.sip.CallProcessing.processInviteOK(CallProcessing.java:234)

at net.java.sipmack.sip.SipManager.processResponse(SipManager.java:1570)

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:619)

17.09.2007 19:33:15 org.jivesoftware.spark.util.log.Log error

SEVERE:

java.lang.NullPointerException

at java.awt.Container.addImpl(Container.java:1031)

at java.awt.Container.add(Container.java:903)

at com.jivesoftware.sparkplugin.ui.call.NonRosterPanel.buildMiddlePanel(NonRosterP anel.java:157)

at com.jivesoftware.sparkplugin.ui.call.NonRosterPanel.buildDefaultUI(NonRosterPan el.java:230)

at com.jivesoftware.sparkplugin.ui.call.NonRosterPanel.setInterlocutorUI(NonRoster Panel.java:218)

at com.jivesoftware.sparkplugin.ui.call.CallManager.showCallAnswered(CallManager.j ava:268)

at com.jivesoftware.sparkplugin.ui.call.CallManager.access$400(CallManager.java:44 )

at com.jivesoftware.sparkplugin.ui.call.CallManager$5.callStateChanged(CallManager .java:216)

at net.java.sipmack.sip.Call.fireCallStatusChangedEvent(Call.java:374)

at net.java.sipmack.sip.Call.setState(Call.java:240)

at net.java.sipmack.sip.CallProcessing.processInviteOK(CallProcessing.java:234)

at net.java.sipmack.sip.SipManager.processResponse(SipManager.java:1570)

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:619)

17.09.2007 19:33:15 org.jivesoftware.spark.util.log.Log error

SEVERE:

java.lang.NullPointerException

at java.awt.Container.addImpl(Container.java:1031)

at java.awt.Container.add(Container.java:903)

at com.jivesoftware.sparkplugin.ui.call.NonRosterPanel.buildMiddlePanel(NonRosterP anel.java:171)

at com.jivesoftware.sparkplugin.ui.call.NonRosterPanel.buildDefaultUI(NonRosterPan el.java:230)

at com.jivesoftware.sparkplugin.ui.call.NonRosterPanel.setInterlocutorUI(NonRoster Panel.java:218)

at com.jivesoftware.sparkplugin.ui.call.CallManager.showCallAnswered(CallManager.j ava:268)

at com.jivesoftware.sparkplugin.ui.call.CallManager.access$400(CallManager.java:44 )

at com.jivesoftware.sparkplugin.ui.call.CallManager$5.callStateChanged(CallManager .java:216)

at net.java.sipmack.sip.Call.fireCallStatusChangedEvent(Call.java:374)

at net.java.sipmack.sip.Call.setState(Call.java:240)

at net.java.sipmack.sip.CallProcessing.processInviteOK(CallProcessing.java:234)

at net.java.sipmack.sip.SipManager.processResponse(SipManager.java:1570)

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:619)

Another problem with RTP:

82.208.XXX.XXX.27118 > 192.168.25.58.5996: UDP, length 45

82.208.XXX.XXX is my asterisk. 192.168.25.58 is my LAN address behind NAT in the office. i’ve enabled NAT in the asterisk, but looks like it doesn’t work. How do i use STUN server? Or is there any other solutions?