ideakid / sipdroid

Automatically exported from code.google.com/p/sipdroid
GNU General Public License v3.0
0 stars 0 forks source link

SIPDroid sending same branch parameter in SUBSCRIBE request carrying auth parameters #596

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Before you begin please read the FAQ!

Attention!

Don't post doubles!

Why is it important to find doubles?

Sipdroid is a community project. This is no dropbox for your personal
issue. You need to find others having the same problem to get it fixed. If
the problem has already been reported you add more details and ideas to the
existing discussion. If it has not been reported yet you include as many
background info as possible to give the community a chance to follow up on
it. No one will just sit there and try to replicate your setup. The root
cause of the problem will need to be identified to get it fixed.

How can I find doubles?

When clicking on issues tab there is a search box. Enter keywords for your
issue to find previous reports matching yours. Choose find all to match
closed tickets as well.

How can I investigate an incompatiblity?

Just mentioning a SIP server or device that does not interoperate with
Sipdroid won't help much because the developers might not have that
particular setup on hands. So you will try to add a SIP or logcat trace
from your network/phone to make a fix at all possible.

Did you carefully read above?

If yes, please fill out the following form and provide all necessary
details.
If not, you may continue in the Forum where you can discuss your problem to
clear things up before filing an issue report.

What steps will reproduce the problem?
1. Start a SIPDroid client on Motorola Milestone phone
2. Enable the option for Voicemail notification
3. Register with PBXes server

What is the expected output? What do you see instead?

The user should be able to receive voicemail notifications

What version of the product are you using? On what device/operating system?

Sipdroid/1.5.4 beta/Milestone, Motorola phone is being used

Which SIP server are you using? What happens with PBXes?

PBXes is being used

Which type of network are you using?

Wireless

Please provide any additional information below.

We are using a SIP ALG in between SIP server and client. The ALG has a SIP 
stack. When an initial SUBSCRIBE request is sent, it is challenged by the 
server, but when subsequent SUBSCRIBE request is sent with auth parameters, is 
contains the same branch, call-id and from tag. Receiving such a request, the 
SIP ALG retransmits the last response received from the server.

The branch parameter sent by the client in the subsequent request should have a 
different branch parameter.

Original issue reported on code.google.com by abhinava...@gmail.com on 13 Aug 2010 at 6:29

GoogleCodeExporter commented 9 years ago
can you perhaps add a reference to the appropriate RFC?
ie. proof that the error is with sipdroid and not with your ALG. ;-)
thanks

Original comment by thilo.ba...@gmail.com on 25 Aug 2010 at 2:46

GoogleCodeExporter commented 9 years ago
RFC3261 talks about this in Section 8.1.1.7 Via

"The branch parameter value MUST be unique across space and time all requests 
sent by the UA."

This was corrected for the INVITE-401 transactions in R538 and R574 of file 
ExtendedInviteDialog.java.

Original comment by hsha...@gmail.com on 23 Sep 2010 at 5:33