rixjafri / siphon

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

Compile pjsip with PJSIP_CHECK_VIA_SENT_BY = 0 (No) macro option #19

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Send a REGISTER to a Sip Server
2. Receive a 401 Response from Sip Server with modified "sent-by" parameter
on the header field
3. Siphon does not send REGISTER with Authentication

What is the expected output? What do you see instead?
Siphon is discarding this message and outputs:

 09:25:09.588 sip_endpoint.c Processing incoming message: Response msg
401/REGISTER/cseq=57128 (rdata0x83d264)
 09:25:09.589 sip_endpoint.c Dropping response Response msg
401/REGISTER/cseq=57128 (rdata0x83d264) from 213.5.43.134:5060 because
sent-by is mismatch

It should send another REGISTER with Authentication.

What version of the product are you using? On what operating system?
Siphone 1.9.9

Please provide any additional information below.
This is probably related to http://trac.pjsip.org/repos/ticket/352. The sip
service provider is sip.i-call.gr in Greece. I cannot register my username
with the server due to this. 

The following is showing the different Via header on the 401 received (when
running kphone - kde's sip client)
--------------------------------
REGISTER sip:i-call.gr SIP/2.0
Via: SIP/2.0/UDP 192.168.1.20;branch=z9hG4bK43C71C60
CSeq: 1797 REGISTER
...
...

SipClient: Received: 10:48:25.054
---------------------------------
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 192.168.1.20:58631;branch=z9hG4bK43C71C60;rport=58630
CSeq: 1797 REGISTER
...
...
Server: Altec Telecoms SIP Proxy
Content-Length: 0

Original issue reported on code.google.com by athanasi...@gmail.com on 25 Jun 2008 at 7:49

GoogleCodeExporter commented 9 years ago
I think this is also related with issue ID 6

Original comment by athanasi...@gmail.com on 25 Jun 2008 at 7:56

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
I got this same problem before.  I solved it by type in the password instead of 
copy and paste. 

Original comment by TonyNHo...@gmail.com on 11 Aug 2010 at 10:32