andy1945 / csipsimple

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

Register 400 Bad Request #35

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Install OpenIMS Core 
2. Start it
3. Try register in mobile with csipsimple

What is the expected output? What do you see instead?
It suppose to register it.
I checked in Wireshark and OpenIMS retrieve "SIP Status 400 Bad Request 
P-Visited-Network 
header missing"

What version of the product are you using? On what operating system?
Current.

I'm able to call even without register, but others can't call to me because I 
wasn't registered.
If you need pcap files to see packets I can attach it.

Just let me know if you need further information.

Original issue reported on code.google.com by luis....@gmail.com on 16 May 2010 at 8:50

GoogleCodeExporter commented 9 years ago
Interesting (I have not yet look the IMS part, but it's something very 
interesting
for me).

For now, as far as I know, pjsip (the native sip stack on which csipsimple is 
based)
doesn't support this IMS feature (in that case the RFC 3455).
I quickly searched on the pjsip mailing list. It was asked years ago but I 
didn't
find any implementation yet for this specific issue.
(https://trac.pjsip.org/repos/wiki/PJSIP_IMS here is the state of pjsip IMS
implementation).

You may probably also need a specific authentification (akav1/akav2). (that is
already supported by pjsip but i have not added the user interface to configure 
it
properly).

So i'll play a little bit with OpenIMS (when i'll have time) and keep you 
informed.
There's maybe an option to make this header not mandatory and to make pjsip 
working
with it.

(For now i've got a big issue with android 1.5 - as far as I understood you 
maybe
also affected since you've got a HTC magic 1.5. Sometimes it freeze and seems 
to be
caused by android garbage collector ... ouch... in theses cases the java 
interface of
your phone will freeze and a MENU+CALL+ENDCALL is required to restart the phone)

Original comment by r3gis...@gmail.com on 16 May 2010 at 9:38

GoogleCodeExporter commented 9 years ago
Oh. Ok. I'll try to test authentification mechanisms. Thanks.

Regarding the crashes, it crashes my phone once :(

Let me know if I can help on it.

Original comment by luis....@gmail.com on 16 May 2010 at 9:43

GoogleCodeExporter commented 9 years ago
Any update on this issue?

Many changes has been done in latest builds (from pjsip team too).
Maybe one of the changes (either mine, but more probably one done by the pjsip 
team) has solved this issue.

Original comment by r3gis...@gmail.com on 17 Jul 2010 at 4:49

GoogleCodeExporter commented 9 years ago

Original comment by r3gis...@gmail.com on 8 Dec 2010 at 10:53

GoogleCodeExporter commented 9 years ago
i have the same problem...request send from pjsip dialler to open ims core but 
there is some authentication peoblem in this...i made changes in scscf.cfg to 
MD5 but i didn't find MD5 in pcscf.cfg file...anyone help plz

Original comment by abidkhan...@gmail.com on 10 May 2011 at 7:22

GoogleCodeExporter commented 9 years ago
You get "SIP Status 400 Bad Request P-Visited-Network header missing" because 
you didn't add the proxy. To enter the OpenIMS Realm you have to go trough the 
pcscf, port 4060.

Anyhow, after fixing this issue you will notice that you still can't register, 
CSipSimple's request can't be authorized  by the scscf. As a workarond you can 
play with the scscf's settings, especially with the "Early-IMS" setting.

Original comment by mar...@aseara.ro on 25 Aug 2011 at 1:42