[sip-comm-dev] Can't establish sip call


#1

Hi,

... just returned to sip after a couple of years and see it growing into
something useful to communicate with (IM, Groups, Whiteboard, VoIP,
Video?)

Anyway - I've just tried to hook sc up to my own Asterisk server and
call a couple of numbers. Unfortunately to no avail:

1. Tried to connect to my Asterisk:

23:16:32.404 SCHWERWIEGEND:
impl.contactlist.MclStorageManager.extractContactsForAccount().577 The
contactlist file is recreated cause its broken
23:16:32.415 SCHWERWIEGEND:
impl.contactlist.MetaContactListServiceImpl.handleProviderAdded().1533
Failed to load contacts for account SIP:2002@beccon.d2g.com
net.java.sip.communicator.util.xml.XMLException: Failed to extract
contacts for account SIP:2002@beccon.d2g.com
        at
net.java.sip.communicator.impl.contactlist.MclStorageManager.extractContactsForAccount(MclStorageManager.java:605)
        at
net.java.sip.communicator.impl.contactlist.MetaContactListServiceImpl.handleProviderAdded(MetaContactListServiceImpl.java:1528)
        at
net.java.sip.communicator.impl.contactlist.MetaContactListServiceImpl.serviceChanged(MetaContactListServiceImpl.java:1807)
        at
org.apache.felix.framework.util.EventDispatcher.invokeServiceListenerCallback(EventDispatcher.java:765)
        at
org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:623)
        at
org.apache.felix.framework.util.EventDispatcher.fireServiceEvent(EventDispatcher.java:554)
        at
org.apache.felix.framework.Felix.fireServiceEvent(Felix.java:3525)
        at org.apache.felix.framework.Felix.access$000(Felix.java:36)
        at org.apache.felix.framework.Felix
$1.serviceChanged(Felix.java:593)
        at
org.apache.felix.framework.ServiceRegistry.fireServiceChanged(ServiceRegistry.java:435)
        at
org.apache.felix.framework.ServiceRegistry.registerService(ServiceRegistry.java:71)
        at
org.apache.felix.framework.Felix.registerService(Felix.java:2646)
        at
org.apache.felix.framework.BundleContextImpl.registerService(BundleContextImpl.java:254)
        at
org.apache.felix.framework.BundleContextImpl.registerService(BundleContextImpl.java:232)
        at
net.java.sip.communicator.impl.protocol.sip.ProtocolProviderFactorySipImpl.loadAccount(ProtocolProviderFactorySipImpl.java:210)
        at
net.java.sip.communicator.impl.protocol.sip.ProtocolProviderFactorySipImpl.installAccount(ProtocolProviderFactorySipImpl.java:131)
        at
net.java.sip.communicator.plugin.sipaccregwizz.SIPAccountRegistrationWizard.installAccount(SIPAccountRegistrationWizard.java:243)
        at
net.java.sip.communicator.plugin.sipaccregwizz.SIPAccountRegistrationWizard.finish(SIPAccountRegistrationWizard.java:175)
        at
net.java.sip.communicator.impl.gui.main.account.AccountRegSummaryPage.pageNext(AccountRegSummaryPage.java:153)
        at
net.java.sip.communicator.impl.gui.customcontrols.wizard.WizardController.nextButtonPressed(WizardController.java:77)
        at
net.java.sip.communicator.impl.gui.customcontrols.wizard.WizardController.actionPerformed(WizardController.java:52)
        at
javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
        at javax.swing.AbstractButton
$Handler.actionPerformed(AbstractButton.java:2318)
        at
javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
        at
javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
        at
javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
        at java.awt.Component.processMouseEvent(Component.java:6038)
        at
javax.swing.JComponent.processMouseEvent(JComponent.java:3260)
        at java.awt.Component.processEvent(Component.java:5803)
        at java.awt.Container.processEvent(Container.java:2058)
        at java.awt.Component.dispatchEventImpl(Component.java:4410)
        at java.awt.Container.dispatchEventImpl(Container.java:2116)
        at java.awt.Component.dispatchEvent(Component.java:4240)
        at
java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322)
        at
java.awt.LightweightDispatcher.processMouseEvent(Container.java:3986)
        at
java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916)
        at java.awt.Container.dispatchEventImpl(Container.java:2102)
        at java.awt.Window.dispatchEventImpl(Window.java:2429)
        at java.awt.Component.dispatchEvent(Component.java:4240)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
        at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
        at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
        at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
        at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
        at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
        at
java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
Caused by: java.lang.NullPointerException
        at
net.java.sip.communicator.impl.contactlist.MclStorageManager.createProtoContactGroupNode(MclStorageManager.java:987)
        at
net.java.sip.communicator.impl.contactlist.MclStorageManager.createMetaContactGroupNode(MclStorageManager.java:1075)
        at
net.java.sip.communicator.impl.contactlist.MclStorageManager.initVirginDocument(MclStorageManager.java:538)
        at
net.java.sip.communicator.impl.contactlist.MclStorageManager.extractContactsForAccount(MclStorageManager.java:584)
        ... 45 more

I deliberately disabled presence because I wasn't shure if it works with
my Server (I tried it before and I had the same results)

Well - could be my Asterisk, let's try Ekiga.net:
- We obviously had an issue with Asterisk (which is fine with Linphone
and Ekiga)
- Connecting and creating a contact (the echo 500@ekiga.net) works
- now I try to call:

java.net.UnknownHostException: larissa: larissa
        at java.net.InetAddress.getLocalHost(InetAddress.java:1315)
        at
javax.sdp.SdpFactory.createSessionDescription(SdpFactory.java:78)
        at
net.java.sip.communicator.impl.media.CallSessionImpl.createSessionDescription(CallSessionImpl.java:877)
        at
net.java.sip.communicator.impl.media.CallSessionImpl.createSdpOffer(CallSessionImpl.java:518)
        at
net.java.sip.communicator.impl.protocol.sip.OperationSetBasicTelephonySipImpl.createOutgoingCall(OperationSetBasicTelephonySipImpl.java:257)
        at
net.java.sip.communicator.impl.protocol.sip.OperationSetBasicTelephonySipImpl.createCall(OperationSetBasicTelephonySipImpl.java:148)
        at net.java.sip.communicator.impl.gui.main.call.CallManager
$CreateCallThread.run(CallManager.java:800)
23:27:38.108 SCHWERWIEGEND:
impl.protocol.sip.OperationSetBasicTelephonySipImpl.createOutgoingCall().281 Failed to parse sdp data while creating invite request!
net.java.sip.communicator.service.media.MediaException: An SDP exception
occurred while generating local sdp description
        at
net.java.sip.communicator.impl.media.CallSessionImpl.createSessionDescription(CallSessionImpl.java:985)
        at
net.java.sip.communicator.impl.media.CallSessionImpl.createSdpOffer(CallSessionImpl.java:518)
        at
net.java.sip.communicator.impl.protocol.sip.OperationSetBasicTelephonySipImpl.createOutgoingCall(OperationSetBasicTelephonySipImpl.java:257)
        at
net.java.sip.communicator.impl.protocol.sip.OperationSetBasicTelephonySipImpl.createCall(OperationSetBasicTelephonySipImpl.java:148)
        at net.java.sip.communicator.impl.gui.main.call.CallManager
$CreateCallThread.run(CallManager.java:800)
Caused by: javax.sdp.SdpException: The parameter is null
        at
gov.nist.javax.sdp.SessionDescriptionImpl.setOrigin(SessionDescriptionImpl.java:480)
        at
javax.sdp.SdpFactory.createSessionDescription(SdpFactory.java:85)
        at
net.java.sip.communicator.impl.media.CallSessionImpl.createSessionDescription(CallSessionImpl.java:877)
        ... 4 more
23:27:38.110 SCHWERWIEGEND: impl.gui.main.call.CallManager.run().804 The
call could not be created:
net.java.sip.communicator.service.protocol.OperationFailedException:
Failed to parse sdp data while creating invite request!

What's wrong here?
Thank you for help

Conrad

···

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net