liyuanwei / imsdroid

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

Imsdroid does not register on Asterisks #191

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Fill in the required data under "Identity"
Name: Foo
Public identity: 108@10.101.2.17
private identity: 108
Password: <Password>
realm: sip:10.101.2.17

Under Network:
Proxy-CSCF Host: 10.101.2.17

2. Press the ``sign-on'' icon.

What is the expected output? What do you see instead?
The handheld should register to the Asterisk server, but it doesn't. Instead 
the sign-in icon with the exclamation mark is (very) shortly shown. After this, 
the sign-in icon returns to its previous icon (the one with the green V), with 
as a result that the Imsdroid app is not signed in.

What version of the product are you using? On what operating system?
I use Imsdroid 1.2.366 On Android 2.2.2 (Froyo build: FRG83G), which runs on a 
Nexus One

Please provide any additional information below.
The logcat output:

I/org.doubango.imsdroid.Services.Impl.SipService(  539): 
realm='sip:10.101.2.17', impu='sip:108@10.101.2.17', impi='108'
I/org.doubango.imsdroid.Services.Impl.SipService(  539): STUN=no
I/org.doubango.imsdroid.Services.Impl.SipService(  539): 
pcscf-host='10.101.2.17', pcscf-port='5060', transport='UDP', ipversion='ipv4'
D/org.doubango.imsdroid.Services.Impl.NetworkService(  539): 10.101.2.132
I/org.doubango.imsdroid.Services.Impl.SipService(  539): Local IP='10.101.2.132'
D/org.doubango.imsdroid.Services.Impl.NetworkService(  539): netType=1 and 
netSubType=0
D/org.doubango.imsdroid.Services.Impl.SipService(  539): Stack started
D/org.doubango.imsdroid.Services.Impl.SipService(  539): OnDialogEvent (Dialog 
connecting)
D/WifiService(   90): acquireWifiLockLocked: 
WifiLock{org.doubango.imsdroid.Services.Impl.NetworkService type=1 
binder=android.os.BinderProxy@44be8bd0}
I/org.doubango.imsdroid.Services.Impl.ServiceManager(  539): onRegistrationEvent
D/org.doubango.imsdroid.Services.Impl.ServiceManager(  539): 
showRegistartionNotif
I/org.doubango.imsdroid.Main(  539): onRegistrationEvent

E/tinyWRAP(  539): ***ERROR: function: "tsip_dialog_update_challenges()" 
E/tinyWRAP(  539): file: "src/dialogs/tsip_dialog.c" 
E/tinyWRAP(  539): line: "830" 
E/tinyWRAP(  539): MSG: Failed to handle new challenge

Original issue reported on code.google.com by *happelm...@theipcompany.nl on 1 Mar 2011 at 12:55

GoogleCodeExporter commented 9 years ago
According to the trace, your credentials are wrong. Could you please attach the 
network capture (Wireshark)?

Original comment by boss...@yahoo.fr on 1 Mar 2011 at 1:50

GoogleCodeExporter commented 9 years ago
Oh yes, I am sorry. The credentials where wrong. Sorry for wasting your time.

Original comment by *happelm...@theipcompany.nl on 2 Mar 2011 at 9:13

GoogleCodeExporter commented 9 years ago

Original comment by boss...@yahoo.fr on 2 Mar 2011 at 3:28