sip-development mailing list query (URGENT)


#1

Hi Emil,

I did some testing lately and am still running into problems. I tested the Sip-Communicator (sip-comm) with the iptel.org sip proxy on 2 seperate machines with public IP addresses running windows XP and windows 2000.

The setup briefly is as:

Machine A (win xp) : IP = 128.59.138.25, sip uri = aashishsharma[at]iptel.org
(this machine is running Ethereal for capturing packets)

Machine B(win 2000): IP = 128.59.197.224, sip uri = aashish1[at]iptel.org

Now both the sip clients register fine with the proxy. When I call Machine A from Machine B, the alert beep is signalled. But an expection is flagged in the console which is: (this happens even before I acknowledge the call)

ethereal_dump_file (244 KB)

···

--------------------------------------------------------
hop = iptel.org:5060/udp
java.lang.NullPointerException
        at gov.nist.core.HostPort.encode(Unknown Source)
        at gov.nist.javax.sip.header.Via.encodeBody(Unknown Source)
        at gov.nist.javax.sip.header.SIPHeaderList.encodeBody(Unknown Source)
        at gov.nist.javax.sip.header.SIPHeaderList.encode(Unknown Source)
        at gov.nist.javax.sip.message.SIPMessage.encodeAsBytes(Unknown Source)
        at gov.nist.javax.sip.message.SIPResponse.encodeAsBytes(Unknown Source)
        at gov.nist.javax.sip.stack.UDPMessageChannel.sendMessage(Unknown Source)
        at gov.nist.javax.sip.stack.SIPServerTransaction.sendResponse(Unknown Source)
        at gov.nist.javax.sip.stack.SIPServerTransaction.sendMessage(Unknown Source)
        at gov.nist.javax.sip.stack.SIPServerTransaction.sendResponse(Unknown Source)
        at net.java.sip.communicator.sip.CallProcessing.processInvite(CallProcessing.java:438)
        at net.java.sip.communicator.sip.SipManager.processRequest(SipManager.java:1422)
        at gov.nist.javax.sip.SipProviderImpl.run(Unknown Source)
        at java.lang.Thread.run(Thread.java:534)

--------------------------------------------------------------
Now when I acknowledge the call other exceptions are thrown out which are as follows:
----------------------------------------------------------
java.lang.NullPointerException
        at gov.nist.core.Host.equals(Unknown Source)
        at gov.nist.core.HostPort.equals(Unknown Source)
        at gov.nist.javax.sip.stack.SIPServerTransaction.isMessagePartOfTransaction(Unknown Source)
        at gov.nist.javax.sip.stack.SIPTransactionStack.newSIPServerRequest(Unknown Source)
        at gov.nist.javax.sip.stack.UDPMessageChannel.run(Unknown Source)
        at java.lang.Thread.run(Thread.java:534)
java.lang.NullPointerException
        at gov.nist.core.Host.equals(Unknown Source)
        at gov.nist.core.HostPort.equals(Unknown Source)
        at gov.nist.javax.sip.stack.SIPServerTransaction.isMessagePartOfTransaction(Unknown Source)
        at gov.nist.javax.sip.stack.SIPTransactionStack.newSIPServerRequest(Unknown Source)
        at gov.nist.javax.sip.stack.UDPMessageChannel.run(Unknown Source)
        at java.lang.Thread.run(Thread.java:534)
java.lang.NullPointerException
        at gov.nist.core.Host.equals(Unknown Source)
        at gov.nist.core.HostPort.equals(Unknown Source)
        at gov.nist.javax.sip.stack.SIPServerTransaction.isMessagePartOfTransaction(Unknown Source)
        at gov.nist.javax.sip.stack.SIPTransactionStack.newSIPServerRequest(Unknown Source)
        at gov.nist.javax.sip.stack.UDPMessageChannel.run(Unknown Source)
        at java.lang.Thread.run(Thread.java:534)
java.lang.NullPointerException
        at gov.nist.core.HostPort.encode(Unknown Source)
        at gov.nist.javax.sip.header.Via.encodeBody(Unknown Source)
        at gov.nist.javax.sip.header.SIPHeaderList.encodeBody(Unknown Source)
        at gov.nist.javax.sip.header.SIPHeaderList.encode(Unknown Source)
        at gov.nist.javax.sip.message.SIPMessage.encodeAsBytes(Unknown Source)
        at gov.nist.javax.sip.message.SIPResponse.encodeAsBytes(Unknown Source)
        at gov.nist.javax.sip.stack.UDPMessageChannel.sendMessage(Unknown Source)
        at gov.nist.javax.sip.stack.SIPServerTransaction.sendResponse(Unknown Source)
        at gov.nist.javax.sip.stack.SIPServerTransaction.sendMessage(Unknown Source)
        at gov.nist.javax.sip.stack.SIPServerTransaction.sendResponse(Unknown Source)
        at net.java.sip.communicator.sip.CallProcessing.sayOK(CallProcessing.java:1176)
        at net.java.sip.communicator.sip.SipManager.answerCall(SipManager.java:666)
        at net.java.sip.communicator.SipCommunicator.handleAnswerRequest(SipCommunicator.java:296)
        at net.java.sip.communicator.gui.GuiManager.answerButton_actionPerformed(GuiManager.java:325)
        at net.java.sip.communicator.gui.GuiManager$2.actionPerformed(GuiManager.java:552)
        at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1786)
        at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1839)
        at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
        at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:245)
        at java.awt.Component.processMouseEvent(Component.java:5100)
        at java.awt.Component.processEvent(Component.java:4897)
        at java.awt.Container.processEvent(Container.java:1569)
        at java.awt.Component.dispatchEventImpl(Component.java:3615)
        at java.awt.Container.dispatchEventImpl(Container.java:1627)
        at java.awt.Component.dispatchEvent(Component.java:3477)
        at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3483)
        at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3198)
        at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3128)
        at java.awt.Container.dispatchEventImpl(Container.java:1613)
        at java.awt.Window.dispatchEventImpl(Window.java:1606)
        at java.awt.Component.dispatchEvent(Component.java:3477)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
        at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
-------------------------------------------------

The Ethreal/tcpdump file for this session has been attached in the mail.
This problem is somewhat different than what I wrote to you about earlier.

Please let me know if you have any thoughts.

Thanks for your help.
Best,
Aashish Sharma

Emil Ivov <emil_ivov@yahoo.com> wrote: Hello Aashish

Could you please send me the output generated by the sip-communicator
for the whole session (from the moment it was started to the moment u
get the bug)? It would be great if you could also add an
ethereal/tcpdump dump file ... that'd be halpful

Thanks for ur patience
Emil

Aashish Sharma wrote:

Hi Emil,

I am part of the Sip Development list and had a query regarding your
great work; the sip-communicator. I am developing an integrated software
using its VoIP and IM capabilities.

I am having a problem which I am not sure of. I am running
sip-comm on Windows Xp platform and have the Windows performance pack of
JMF installed. The problem is that when you call the sip-comunicator it
works fine and sets up the media path etc etc. But when you are calling
from a sip-communicator to any other SIP enabled device, the device
would ring but as soon as your answer the call, the caller
sip-communicator flags off an Error message saying "Failed to
acknowledge call!". The details are shown as:

net.java.sip.communicator.sip.CommunicationsException: Failed to
acknowledge call!
at
net.java.sip.communicator.sip.CallProcessing.processInviteOK(CallProcessing.java:224)
at
net.java.sip.communicator.sip.SipManager.processResponse(SipManager.java:1580)
at gov.nist.javax.sip.SipProviderImpl.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: javax.sip.SipException: Cold not create message channel
at gov.nist.javax.sip.stack.DialogImpl.sendAck(Unknown Source)
at
net.java.sip.communicator.sip.CallProcessing.processInviteOK(CallProcessing.java:219)
... 3 more

The connection thus cannot be established and there are no media channels.
Are you also getting the same problem or am i doing something wrong.?
Please respond with your comments.

Thanks,
Aashish

------------------------------------------------------------------------
Do you Yahoo!?
Friends. Fun. Try the all-new Yahoo! Messenger

---------------------------------
Do you Yahoo!?
Friends. Fun. Try the all-new Yahoo! Messenger


#2

Aashish,

Are u sure u r using latest version? Have u modified anything in the source code of either the stack or the client?

I'd advise u on redownloading the whole thing. Latest versions of sip-communicator include a stack version compiled with full debugging information so this should help us if the problem persists

Cheers
Emil

Aashish Sharma wrote:

···

Hi Emil,
I did some testing lately and am still running into problems. I tested the Sip-Communicator (sip-comm) with the iptel.org sip proxy on 2 seperate machines with public IP addresses running windows XP and windows 2000.
The setup briefly is as:
Machine A (win xp) : IP = 128.59.138.25, sip uri = aashishsharma[at]iptel.org
(this machine is running Ethereal for capturing packets)
Machine B(win 2000): IP = 128.59.197.224, sip uri = aashish1[at]iptel.org
Now both the sip clients register fine with the proxy. When I call Machine A from Machine B, the alert beep is signalled. But an expection is flagged in the console which is: (this happens even before I acknowledge the call)
--------------------------------------------------------
hop = iptel.org:5060/udp
java.lang.NullPointerException
        at gov.nist.core.HostPort.encode(Unknown Source)
        at gov.nist.javax.sip.header.Via.encodeBody(Unknown Source)
        at gov.nist.javax.sip.header.SIPHeaderList.encodeBody(Unknown Source)
        at gov.nist.javax.sip.header.SIPHeaderList.encode(Unknown Source)
        at gov.nist.javax.sip.message.SIPMessage.encodeAsBytes(Unknown Source)
        at gov.nist.javax.sip.message.SIPResponse.encodeAsBytes(Unknown Source)
        at gov.nist.javax.sip.stack.UDPMessageChannel.sendMessage(Unknown Source)
        at gov.nist.javax.sip.stack.SIPServerTransaction.sendResponse(Unknown Source)
        at gov.nist.javax.sip.stack.SIPServerTransaction.sendMessage(Unknown Source)
        at gov.nist.javax.sip.stack.SIPServerTransaction.sendResponse(Unknown Source)
        at net.java.sip.communicator.sip.CallProcessing.processInvite(CallProcessing.java:438)
        at net.java.sip.communicator.sip.SipManager.processRequest(SipManager.java:1422)
        at gov.nist.javax.sip.SipProviderImpl.run(Unknown Source)
        at java.lang.Thread.run(Thread.java:534)
--------------------------------------------------------------
Now when I acknowledge the call other exceptions are thrown out which are as follows:
----------------------------------------------------------
java.lang.NullPointerException
        at gov.nist.core.Host.equals(Unknown Source)
        at gov.nist.core.HostPort.equals(Unknown Source)
        at gov.nist.javax.sip.stack.SIPServerTransaction.isMessagePartOfTransaction(Unknown Source)
        at gov.nist.javax.sip.stack.SIPTransactionStack.newSIPServerRequest(Unknown Source)
        at gov.nist.javax.sip.stack.UDPMessageChannel.run(Unknown Source)
        at java.lang.Thread.run(Thread.java:534)
java.lang.NullPointerException
        at gov.nist.core.Host.equals(Unknown Source)
        at gov.nist.core.HostPort.equals(Unknown Source)
        at gov.nist.javax.sip.stack.SIPServerTransaction.isMessagePartOfTransaction(Unknown Source)
        at gov.nist.javax.sip.stack.SIPTransactionStack.newSIPServerRequest(Unknown Source)
        at gov.nist.javax.sip.stack.UDPMessageChannel.run(Unknown Source)
        at java.lang.Thread.run(Thread.java:534)
java.lang.NullPointerException
        at gov.nist.core.Host.equals(Unknown Source)
        at gov.nist.core.HostPort.equals(Unknown Source)
        at gov.nist.javax.sip.stack.SIPServerTransaction.isMessagePartOfTransaction(Unknown Source)
        at gov.nist.javax.sip.stack.SIPTransactionStack.newSIPServerRequest(Unknown Source)
        at gov.nist.javax.sip.stack.UDPMessageChannel.run(Unknown Source)
        at java.lang.Thread.run(Thread.java:534)
java.lang.NullPointerException
        at gov.nist.core.HostPort.encode(Unknown Source)
        at gov.nist.javax.sip.header.Via.encodeBody(Unknown Source)
        at gov.nist.javax.sip.header.SIPHeaderList.encodeBody(Unknown Source)
        at gov.nist.javax.sip.header.SIPHeaderList.encode(Unknown Source)
        at gov.nist.javax.sip.message.SIPMessage.encodeAsBytes(Unknown Source)
        at gov.nist.javax.sip.message.SIPResponse.encodeAsBytes(Unknown Source)
        at gov.nist.javax.sip.stack.UDPMessageChannel.sendMessage(Unknown Source)
        at gov.nist.javax.sip.stack.SIPServerTransaction.sendResponse(Unknown Source)
        at gov.nist.javax.sip.stack.SIPServerTransaction.sendMessage(Unknown Source)
        at gov.nist.javax.sip.stack.SIPServerTransaction.sendResponse(Unknown Source)
        at net.java.sip.communicator.sip.CallProcessing.sayOK(CallProcessing.java:1176)
        at net.java.sip.communicator.sip.SipManager.answerCall(SipManager.java:666)
        at net.java.sip.communicator.SipCommunicator.handleAnswerRequest(SipCommunicator.java:296)
        at net.java.sip.communicator.gui.GuiManager.answerButton_actionPerformed(GuiManager.java:325)
        at net.java.sip.communicator.gui.GuiManager$2.actionPerformed(GuiManager.java:552)
        at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1786)
        at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1839)
        at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
        at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:245)
        at java.awt.Component.processMouseEvent(Component.java:5100)
        at java.awt.Component.processEvent(Component.java:4897)
        at java.awt.Container.processEvent(Container.java:1569)
        at java.awt.Component.dispatchEventImpl(Component.java:3615)
        at java.awt.Container.dispatchEventImpl(Container.java:1627)
        at java.awt.Component.dispatchEvent(Component.java:3477)
        at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3483)
        at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3198)
        at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3128)
        at java.awt.Container.dispatchEventImpl(Container.java:1613)
        at java.awt.Window.dispatchEventImpl(Window.java:1606)
        at java.awt.Component.dispatchEvent(Component.java:3477)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
        at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
-------------------------------------------------
The Ethreal/tcpdump file for this session has been attached in the mail.
This problem is somewhat different than what I wrote to you about earlier.
Please let me know if you have any thoughts.
Thanks for your help.
Best,
Aashish Sharma

*/Emil Ivov <emil_ivov@yahoo.com>/* wrote:

    Hello Aashish

    Could you please send me the output generated by the sip-communicator
    for the whole session (from the moment it was started to the moment u
    get the bug)? It would be great if you could also add an
    ethereal/tcpdump dump file ... that'd be halpful

    Thanks for ur patience
    Emil

    Aashish Sharma wrote:
     > Hi Emil,
     >
     > I am part of the Sip Development list and had a query regarding your
     > great work; the sip-communicator. I am developing an integrated
    software
     > using its VoIP and IM capabilities.
     >
     > I am having a problem which I am not sure of. I am running
     > sip-comm on Windows Xp platform and have the Windows performance
    pack of
     > JMF installed. The problem is that when you call the
    sip-comunicator it
     > works fine and sets up the media path etc etc. But when you are
    calling
     > from a sip-communicator to any other SIP enabled device, the device
     > would ring but as soon as your answer the call, the caller
     > sip-communicator flags off an Error message saying "Failed to
     > acknowledge call!". The details are shown as:
     >
     > net.java.sip.communicator.sip.CommunicationsException: Failed to
     > acknowledge call!
     > at
     >
    net.java.sip.communicator.sip.CallProcessing.processInviteOK(CallProcessing.java:224)
     > at
     >
    net.java.sip.communicator.sip.SipManager.processResponse(SipManager.java:1580)
     > at gov.nist.javax.sip.SipProviderImpl.run(Unknown Source)
     > at java.lang.Thread.run(Unknown Source)
     > Caused by: javax.sip.SipException: Cold not create message channel
     > at gov.nist.javax.sip.stack.DialogImpl.sendAck(Unknown Source)
     > at
     >
    net.java.sip.communicator.sip.CallProcessing.processInviteOK(CallProcessing.java:219)
     > ... 3 more
     >
     > The connection thus cannot be established and there are no media
    channels.
     > Are you also getting the same problem or am i doing something
    wrong.?
     > Please respond with your comments.
     >
     > Thanks,
     > Aashish
     >
    ------------------------------------------------------------------------
     > Do you Yahoo!?
     > Friends. Fun. Try the all-new Yahoo! Messenger
     >

------------------------------------------------------------------------
Do you Yahoo!?
Friends. Fun. Try the all-new Yahoo! Messenger <http://messenger.yahoo.com/>

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