Re: [Doubango] Configured IMSDroid with Sip2Sip, but cannot sign in.

874 views
Skip to first unread message

Muhammad Shahzad

unread,
Aug 1, 2012, 3:19:17 AM8/1/12
to doub...@googlegroups.com
Proxy-CSCF host/port should point to your SIP server, it could be your edge proxy (in case of 3GPP) or your sip registrar. Also enable ICE as well, since you are on private IP. All other settings seem correct (though i never used sip2sip.info service).

Thank you.


On Tue, Jul 31, 2012 at 9:31 PM, James Mortensen <james.m...@a-cti.com> wrote:
Hello,

I'm working on getting IMSDroid v2.0.498 setup and configured on my Motorola Droid Bionic, Android 2.3.4. I followed the instructions for the Sip2Sip recommended public SIP server, and still am not having any luck.  http://code.google.com/p/imsdroid/wiki/sip2sip_info

I am using the following "Identity" configuration:

Display name:  james
Public Identity: sip:mor...@sip2sip.info
Private Identity:  mort253
Password:  (This is my sip2sip password)
Realm:  sip2sip.info

NOTE: I also tried using the other options from here:  http://code.google.com/p/imsdroid/wiki/Quick_Start#Identity where Realm is prefixed with "sip:" and private identity is "mor...@sip2sip.info"  According to the docs, this shouldn't matter, but I tried anyway.

I am using the following "Network" configuration:

Enable Wifi: Checked 
Enable 4G:  Checked
IPv4

Proxy-CSCF Host:  proxy.sipthor.net  (What is this supposed to be?  It was set to 127.0.0.1 by default, but I used what was in the instructions)
Proxy-CSCF Port: 5060
Transport:  UDP
Proxy-CSCF Discovery:  None
Enable SigComp: NOT Checked


This is what I see in the logcat log when trying to sign in:

07-31 12:22:06.077  7656  7656 D org.doubango.ngn.services.impl.NgnSipService: register()
07-31 12:22:06.077  7656  7656 D org.doubango.ngn.services.impl.NgnSipService: realm='sip:sip2sip.info', impu='sip:mor...@sip2sip.info', impi='mor...@sip2sip.info'
07-31 12:22:06.077  7656  7656 D org.doubango.ngn.services.impl.NgnSipService: STUN=no
07-31 12:22:06.077  7656  7656 D org.doubango.ngn.services.impl.NgnSipService: pcscf-host='proxy.sipthor.net', pcscf-port='5060', transport='UDP', ipversion='ipv4'
07-31 12:22:06.085  7656  7656 D org.doubango.ngn.services.impl.NgnNetworkService: 10.3.10.57
07-31 12:22:06.085  7656  7656 D org.doubango.ngn.services.impl.NgnNetworkService: 192.168.20.1
07-31 12:22:06.085  7656  7656 D org.doubango.ngn.services.impl.NgnNetworkService: 127.0.0.1
07-31 12:22:06.085  7656  7656 D org.doubango.ngn.services.impl.NgnSipService: Local IP='192.168.20.1'
07-31 12:22:06.085  7656  7656 D org.doubango.ngn.services.impl.NgnNetworkService: acquireNetworkLock()
07-31 12:22:06.085  7656  7656 D org.doubango.ngn.services.impl.NgnNetworkService: netType=1 and netSubType=0
07-31 12:22:06.093  7656  7967 D org.doubango.ngn.services.impl.NgnSipService: Stack started
07-31 12:22:06.093  7656  7967 D org.doubango.ngn.services.impl.NgnSipService: OnDialogEvent (Dialog connecting,1)
07-31 12:22:06.101  7656  7967 D org.doubango.ngn.services.impl.NgnSipService: OnDialogEvent ((un)REGISTER request successfully sent.,1)
07-31 12:22:06.101  7656  7656 D org.doubango.imsdroid.Engine: showAppNotif

07-31 12:22:38.093  7656  7967 D org.doubango.ngn.services.impl.NgnSipService: OnDialogEvent (Transport error.,1)
07-31 12:22:38.093  7656  7967 D org.doubango.ngn.services.impl.NgnSipService: OnDialogEvent (Dialog terminated,1)
07-31 12:22:38.101  7656  7656 D org.doubango.imsdroid.Engine: showAppNotif
07-31 12:22:38.101  7656  7971 D org.doubango.ngn.services.impl.NgnNetworkService: releaseNetworkLock()
07-31 12:22:38.108  7656  7967 D org.doubango.ngn.services.impl.NgnSipService: Stack stopped
07-31 12:22:41.804  7656  7664 D org.doubango.ngn.services.impl.NgnContactService: Native address book changed


All that I see is the Sign in button green checkbox get replaced with a yellow caution icon for a few seconds, and the red icon in the Android Notification bar turns grey temporarily.

If anyone can determine why this appears to be failing, or if there are other troubleshooting steps I can perform, please let me know. Thank you,

James

--
 
 



--
Muhammad Shahzad
-----------------------------------
CISCO Rich Media Communication Specialist (CRMCS)
CISCO Certified Network Associate (CCNA)
Cell: +92 334 422 40 88
MSN: shari...@hotmail.com
Email: shahe...@googlemail.com

James Mortensen

unread,
Aug 1, 2012, 8:17:44 PM8/1/12
to doub...@googlegroups.com, shahe...@googlemail.com
Hi Muhammad,

I set my Proxy-CSCF host to sip2sip.info and the port to 5060. The behavior is still the same. I get a yellow caution icon over the sign in button for a moment, the icon in the notification bar turns grey momentarily, then the sign in button reverts to it's previous state, and the notification icon turns red again.

Here is the logcat logs from my device right when I click Sign In:

08-01 17:10:37.044  3003  3003 D org.doubango.ngn.services.impl.NgnSipService: register()
08-01 17:10:37.044  3003  3003 D org.doubango.ngn.services.impl.NgnSipService: realm='sip:sip2sip.info', impu='sip:mor...@sip2sip.info', impi='mort253'
08-01 17:10:37.044  3003  3003 D org.doubango.ngn.services.impl.NgnSipService: STUN=yes
08-01 17:10:37.044  3003  3003 W System.err: java.lang.ClassCastException: java.lang.String
08-01 17:10:37.044  3003  3003 W System.err: at android.app.ContextImpl$SharedPreferencesImpl.getInt(ContextImpl.java:3025)
08-01 17:10:37.044  3003  3003 W System.err: at org.doubango.ngn.services.impl.NgnConfigurationService.getInt(NgnConfigurationService.java:151)
08-01 17:10:37.044  3003  3003 W System.err: at org.doubango.ngn.services.impl.NgnSipService.register(NgnSipService.java:304)
08-01 17:10:37.044  3003  3003 W System.err: at org.doubango.imsdroid.Screens.ScreenHome$1.onItemClick(ScreenHome.java:88)
08-01 17:10:37.044  3003  3003 W System.err: at android.widget.AdapterView.performItemClick(AdapterView.java:290)
08-01 17:10:37.044  3003  3003 W System.err: at android.widget.AbsListView$PerformClick.run(AbsListView.java:1838)
08-01 17:10:37.044  3003  3003 W System.err: at android.os.Handler.handleCallback(Handler.java:587)
08-01 17:10:37.044  3003  3003 W System.err: at android.os.Handler.dispatchMessage(Handler.java:92)
08-01 17:10:37.044  3003  3003 W System.err: at android.os.Looper.loop(Looper.java:130)
08-01 17:10:37.044  3003  3003 W System.err: at android.app.ActivityThread.main(ActivityThread.java:3821)
08-01 17:10:37.044  3003  3003 W System.err: at java.lang.reflect.Method.invokeNative(Native Method)
08-01 17:10:37.044  3003  3003 W System.err: at java.lang.reflect.Method.invoke(Method.java:507)
08-01 17:10:37.044  3003  3003 W System.err: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839)
08-01 17:10:37.044  3003  3003 W System.err: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)
08-01 17:10:37.044  3003  3003 W System.err: at dalvik.system.NativeStart.main(Native Method)
08-01 17:10:37.044  3003  3003 D org.doubango.ngn.services.impl.NgnSipService: STUN2 - server=numb.viagenie.ca and port=3478
08-01 17:10:37.044  3003  3003 D org.doubango.ngn.services.impl.NgnSipService: pcscf-host='sip2sip.info', pcscf-port='5060', transport='UDP', ipversion='ipv4'
08-01 17:10:37.052  3003  3003 D org.doubango.ngn.services.impl.NgnNetworkService: 10.3.10.57
08-01 17:10:37.052  3003  3003 D org.doubango.ngn.services.impl.NgnNetworkService: 192.168.20.1
08-01 17:10:37.052  3003  3003 D org.doubango.ngn.services.impl.NgnNetworkService: 127.0.0.1
08-01 17:10:37.052  3003  3003 D org.doubango.ngn.services.impl.NgnSipService: Local IP='192.168.20.1'
08-01 17:10:37.052  3003  3003 D org.doubango.ngn.services.impl.NgnNetworkService: acquireNetworkLock()
08-01 17:10:37.052  3003  3003 D org.doubango.ngn.services.impl.NgnNetworkService: netType=1 and netSubType=0
08-01 17:10:37.068  3003  3148 D org.doubango.ngn.services.impl.NgnSipService: Stack started
08-01 17:10:37.068  3003  3148 D org.doubango.ngn.services.impl.NgnSipService: OnDialogEvent (Dialog connecting,1)
08-01 17:10:40.575  3003  3003 D org.doubango.imsdroid.Engine: showAppNotif
08-01 17:10:40.575  3003  3148 D org.doubango.ngn.services.impl.NgnSipService: OnDialogEvent ((un)REGISTER request successfully sent.,1)
08-01 17:10:41.927  2227  2227 E ContentObserver: *** possible bug *** com.google.android.apps.plus.service.CameraMonitor$MediaObserver@405f3588 has been registered for content://media/external/images/media previously but not unregistered. But now trying to register again
08-01 17:10:41.927  2227  2227 E ContentObserver: *** possible bug *** com.google.android.apps.plus.service.CameraMonitor$MediaObserver@405f3588 has been registered for content://media/internal/images/media previously but not unregistered. But now trying to register again
08-01 17:10:41.927  2227  2227 E ContentObserver: *** possible bug *** com.google.android.apps.plus.service.CameraMonitor$MediaObserver@405f3588 has been registered for content://media/phoneStorage/images/media previously but not unregistered. But now trying to register again
08-01 17:10:41.927  2227  2227 E ContentObserver: *** possible bug *** com.google.android.apps.plus.service.CameraMonitor$MediaObserver@405f3588 has been registered for content://media/external/video/media previously but not unregistered. But now trying to register again
08-01 17:10:41.927  2227  2227 E ContentObserver: *** possible bug *** com.google.android.apps.plus.service.CameraMonitor$MediaObserver@405f3588 has been registered for content://media/internal/video/media previously but not unregistered. But now trying to register again
08-01 17:10:41.927  2227  2227 E ContentObserver: *** possible bug *** com.google.android.apps.plus.service.CameraMonitor$MediaObserver@405f3588 has been registered for content://media/phoneStorage/video/media previously but not unregistered. But now trying to register again
08-01 17:10:51.497  2315  2315 D dalvikvm: GC_EXPLICIT freed 1008K, 47% free 3731K/6919K, external 2357K/2773K, paused 36ms


What's up with the String ClassCastException? That does look a little odd. Also, I'm not sure if the CameraMonitor issues are related to this or if that's another app on my phone. Thanks for the help so far. Hoping this helps get to the bottom of this. Let me know if I can provide any other information :)

James

On Wednesday, August 1, 2012 12:19:17 AM UTC-7, Muhammad Shahzad wrote:
Proxy-CSCF host/port should point to your SIP server, it could be your edge proxy (in case of 3GPP) or your sip registrar. Also enable ICE as well, since you are on private IP. All other settings seem correct (though i never used sip2sip.info service).

Thank you.

Muhammad Shahzad

unread,
Aug 2, 2012, 3:19:22 AM8/2/12
to James Mortensen, doub...@googlegroups.com
OK, let me create an account on sip2sip.info and see what settings are required to login, then i will send you the settings i used.

Thank you.

Muhammad Shahzad

unread,
Aug 2, 2012, 3:36:06 AM8/2/12
to James Mortensen, doub...@googlegroups.com
Here are the settings I used and it worked on first attempt, so try them and leave all other settings to their defaults.

In General => i only set audio playback level to high.
In Identity => Display Name: shaheryarkh, Public Identity: sip:shahe...@sip2sip.info, Private Identity: shaheryarkh, Password: i-wont-tell-you, Realm: sip2sip.info
In Network => Proxy-CSCF: proxy.sipthor.net
In NAT => Enable ICE: checked

I used IMSDroid version downloaded from this URL,


Though its obvious, but just to make sure you WiFi connection is working and you are able to browse internet.

Thank you.
Reply all
Reply to author
Forward
0 new messages