man2015 / red5phone

Automatically exported from code.google.com/p/red5phone
0 stars 0 forks source link

Compact SIP headers are not handled by mjSIP #67

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Set compactheaders to yes in asterisk

What is the expected output? What do you see instead?
It is expected for red5phone to register as usual but it doesn't and throws
this exception:
Error handling a new incoming message
java.lang.NullPointerException
        at
org.zoolu.sip.message.BaseMessage.getTransactionId(BaseMessage.java:185)
        at
org.zoolu.sip.provider.SipProvider.processReceivedMessage(SipProvider.java:1067)
        at
org.zoolu.sip.provider.SipProvider.onReceivedMessage(SipProvider.java:1229)
        at
org.zoolu.sip.provider.UdpTransport.onReceivedPacket(UdpTransport.java:111)
        at org.zoolu.net.UdpProvider.run(UdpProvider.java:174)

What version of the product are you using? On what operating system?
Latest from SVN as of 28-Aug-2009

Please provide any additional information below.
I spent over a week digging into the code to find out why red5phone is not
registering with my asterisk server and finally found that it cannot handle
compact SIP headers sent by Asterisk. Hope it saves somebody else's time.
make sure you have:
compactheaders = no             ; send compact sip headers.
in your asterisk sip.conf

Original issue reported on code.google.com by mehrdad....@gmail.com on 29 Aug 2009 at 2:39