just50415 / android-rcs-ims-stack

Automatically exported from code.google.com/p/android-rcs-ims-stack
0 stars 0 forks source link

Client does not REGISTER (sip request) #2

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I config the cleint User Profile to point to a Local SIP Server(Using Emulator 
an also wifi with a Device) and provide valid user credentials. However the 
Client does not Do anything once the RCS Service is started. it does not send 
the REGISTER request( as seen in ethereal)

I suppose the Address Book Shown after the Settings are configured and RCS 
option is Enabled

I am using version 2.0.0

Please let me know of any steps(or all the steps) that in missed in the Client 
set up so as to use the service.

Thanks and Regards
Shashi Kiran G M

Original issue reported on code.google.com by gms...@gmail.com on 22 Jul 2010 at 9:51

GoogleCodeExporter commented 8 years ago
Got the REGISTER Working. Is there no LIST of contacts that comes up. or is it 
supposed to work with the Address Book ??

Regards
Shashi

Original comment by gms...@gmail.com on 22 Jul 2010 at 12:21

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
You are a lucky guy. I have tried all possible settings but nothing work.
I'd like to test this client with IMSDroid (http://code.google.com/p/imsdroid/) 
but I can't register to my IMS Core.
Could you pls tell me how you have configured the profile.
Regards

Original comment by boss...@yahoo.fr on 27 Jul 2010 at 4:28

GoogleCodeExporter commented 8 years ago
Dude,  you just have to get the Settings right. I tried a few things before i 
got it right. FYI there is no Address Book list or anything that comes up after 
the REGISTER succeeds. The Communication between Client and Server happens in 
the Backend via Service class that Android SDK has. Probably you could use 
Wireshark to read the communication.

I would suggest the following steps to get it working:

1. When the emulator starts up. go to command prompt and issue the following 
command:
   telnet localhost 5554.
   This should get you connected to the emulator. Then issue the following command:
   redir add udp:5060:5060

5060 is the client port. This command is required to relay the communication 
between Emulator and Host computer. This is because the stack uses UDP( This  
would not be required for TCP sockets)

2 Get the Settings Right. My Settings are as follows:
username: shashi
private uri: shashi@ericsson.com(i am using Ericsson IMS simulator)
Domain: ericsson.com
Outbound Proxy: 192.168.33.56:5080 (This is IP and port on which the Server is 
Running)

XDMS Settings are not required as of now. Just fill in any junk values.

3. Even After REGISTER succeeds there might be other SIP messages that fail. In 
SipStack.java there is a a method called for  getLocalIpAddress(). This returns 
IP address of emulator i.e 10.0.2.15. For emulator hard code the return value 
to ur machine's IP. For device this would  not be required.

Hope this works for you. Good luck!!! ;-)

Original comment by gms...@gmail.com on 28 Jul 2010 at 5:15

GoogleCodeExporter commented 8 years ago
Thanks for your help. I will try it right now.
BTW, we have released today the first beta version of our open source IMS 
client (http://code.google.com/p/imsdroid/).
I don't think you need to redirect the port even if your application is running 
on the emulator and you are using UDP. Only the AoR should be changed in order 
to receive requests (INVITE, NOTIFY, ...). The responses will be sent back to 
the source IP address/port(rport) without taking care of the Via header.
Our client contains a workaround which allow you to make and receive calls 
from/to the emulator.

Original comment by boss...@yahoo.fr on 28 Jul 2010 at 7:31

GoogleCodeExporter commented 8 years ago
You are Welcome... 
I did check the the imsdroid project. it looks very impressive. What we are 
trying to do is very much similar to the feature set of imsdroid with support 
for Voip calls and Video Conferencing. Your project would act as a great 
reference point for us.

Original comment by gms...@gmail.com on 29 Jul 2010 at 3:55

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Instead of hardcoding IP in SipStack.java.  Hardcode the same in 
AndroidNetworkFactory.java. Function name is the same.

Original comment by gms...@gmail.com on 29 Jul 2010 at 8:20

GoogleCodeExporter commented 8 years ago
If you already have a functional client we can make some tests.
Is it Ad-Hoc video conferencing?

Original comment by boss...@yahoo.fr on 29 Jul 2010 at 10:28

GoogleCodeExporter commented 8 years ago
Another question. Are you using this (android-rcs-ims-stack) stack in your 
project?

Original comment by boss...@yahoo.fr on 29 Jul 2010 at 10:29

GoogleCodeExporter commented 8 years ago
We do not have a functional client yet.  We are evaluating different stacks for 
our project at the moment.

Original comment by gms...@gmail.com on 29 Jul 2010 at 10:39

GoogleCodeExporter commented 8 years ago
I'm the developer of doubango (http://doubango.org/) an open source IMS/LTE 
framework for embedded systems (Android, Windows Mobile, iPhone, Symbian S60, 
uLinux). The framework is in active development which means not stable and 
there is no decent documentation. However, it's fully functional and have been 
tested against several IMS Core (Ericsson, Alcatel, Iskratel, Starent ...). If 
you need any additional information, you can send me a mail at 
diopmamadou(at)doubango.org.
Regards

Original comment by boss...@yahoo.fr on 29 Jul 2010 at 11:41

GoogleCodeExporter commented 8 years ago
Today the RCS stack supports only 3G netwok access. If you want to support 
Wi-fi yu should modify the class ImsConnectionManager.

If the SIP REGISTER is not sent it's because the client has not IP 
connectivity, check the traces.

regards

Original comment by jmauffret@gmail.com on 30 Jul 2010 at 7:35

GoogleCodeExporter commented 8 years ago
Thanks for the info

Original comment by imsframe...@gmail.com on 30 Jul 2010 at 12:22

GoogleCodeExporter commented 8 years ago
Now the stack is network access agnostic and may connect via 3G or via Wi-fi.

Original comment by jmauffret@gmail.com on 5 Jan 2011 at 7:00

GoogleCodeExporter commented 8 years ago
is this RCS application work if my handset have only wi-fi connection?
there is no 3G support.

Thanking you in Advance, 

Original comment by biki.et...@gmail.com on 18 Jan 2011 at 11:31

GoogleCodeExporter commented 8 years ago
Yes the stack supports Wi-fi.

Original comment by jmauffret@gmail.com on 19 Jan 2011 at 12:49

GoogleCodeExporter commented 8 years ago
I created IMS user account on sip2sip and provisioned to RCS stack using 
provisioning app. When I restarted the RCS server on the device, I saw 
SIPException in the logs because of connection timed out while sending REGISTER 
message. In P-CSCF field I gave the IP address of proxy.sipthor.net

Pls suggest me where shall I create SIP user to get working on RCS. I am 
working on an Android gingerbread device with wi-fi enabled

Original comment by moondra....@gmail.com on 18 Nov 2011 at 12:31

GoogleCodeExporter commented 8 years ago
Can you give me your traces please

Original comment by jmauffret@gmail.com on 18 Nov 2011 at 12:34

GoogleCodeExporter commented 8 years ago
Connection refused trace file attached.

Original comment by moondra....@gmail.com on 18 Nov 2011 at 12:48

Attachments:

GoogleCodeExporter commented 8 years ago
I think you should change your default authentication procedure to "DIGEST" 
instead of "GIBA" via the provisioning application (see first parameter from 
the first folder).
(don't forget to save via the Android menu, and to restart the stack)

Original comment by jmauffret@gmail.com on 18 Nov 2011 at 1:00

GoogleCodeExporter commented 8 years ago
Still same issue. Pls find the log attached. 

Original comment by moondra....@gmail.com on 18 Nov 2011 at 1:31

Attachments:

GoogleCodeExporter commented 8 years ago
I am using sip2sip.info as my SIP user home domain. Pls suggest what are the 
other domains which I should try to test RCS stack ??

Original comment by moondra....@gmail.com on 20 Nov 2011 at 6:54

GoogleCodeExporter commented 8 years ago
I am able to establish contact with sip2sip.info. It happened when I switched 
to 2.5G network. Now I am having problem in adding contacts with SIP ids. I am 
trying to send message or get presence info of my SIP contact which has logged 
into sip2sip.info using RCS apps on other android mobile. How do I add RCS 
contacts in the existing native address book ??

Original comment by moondra....@gmail.com on 21 Nov 2011 at 1:04

GoogleCodeExporter commented 8 years ago
When you add a contact with phone number, the stack detects it and send a SIP 
OPTIONS automatically in order to determine if it's a RCS contact or not. If 
it's a RCS contact the database if updated with its capabilities. There is no 
SIP entry created.

Original comment by jmauffret@gmail.com on 21 Nov 2011 at 1:21

GoogleCodeExporter commented 8 years ago
While creating SIP account and corresponding contact on the phone do I need to 
take care of some rules so that it can be identified as RCS contact ?? 

I created a SIP account at sip2sip.info with my full mobile number (with 
country code) and tried to add that as contact on the phone with the same 
mobile number.
I can see in the logs that SIP OPTIONS msg is sent but there is no response for 
that message and error that user not registered is thrown

Original comment by moondra....@gmail.com on 22 Nov 2011 at 6:52

GoogleCodeExporter commented 8 years ago
I am waiting for this to be solved. I am also stuck on this.

Original comment by john.k...@gmail.com on 15 Sep 2012 at 1:07