oussdag / imsdroid

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

Can't connect to a stock Asterisk 1.4.35 #46

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Identity

Display name: 123
Public ID   : sip:123@sip.mydomain.net
Private ID  : 123
Password    : mypassword
realm       : sip:sip.mydomain.net

2. Proxy host: sip.mydomain.net
Other value untouched

3. Click "Sign in"

What is the expected output? What do you see instead?
Should see the registration. Running tshark on the external IFace of Asterisk 
doesn't see any REGISTER packet. 

What version of the product are you using? On what operating system?
Android 2.1 - IMS 1.0.264 r473

Please provide any additional information below.
Asterisk (Linux Debian Lenny) is on the Internet with a public IP. I'm sitting 
in office behind NaT with 3 other SIP devices: a GrandStream video phone, an 
ATA with GSM gateway and Android with SipDroid. All of them connect to the 
server without any problem.

Daniel

Original issue reported on code.google.com by tootai...@gmail.com on 27 Aug 2010 at 12:11

GoogleCodeExporter commented 9 years ago
Is it possible to have the logs (You can use either Eclipse or 
android-log-collector).

Original comment by boss...@yahoo.fr on 27 Aug 2010 at 6:26

GoogleCodeExporter commented 9 years ago

Original comment by boss...@yahoo.fr on 1 Sep 2010 at 6:53

GoogleCodeExporter commented 9 years ago
Hi,

what does mean status invalid?

-- 
Daniel

Original comment by tootai...@gmail.com on 2 Sep 2010 at 5:40

GoogleCodeExporter commented 9 years ago
I have marked the issue as invalid because I cannot reproduce it and you 
haven't sent the trace. Is it possible to have the log files? 

Original comment by boss...@yahoo.fr on 2 Sep 2010 at 7:52

GoogleCodeExporter commented 9 years ago
Hi there, I am experiencing the same issues, here's my log:

09-24 12:53:39.765 I/ActivityManager( 5040): Starting activity: Intent { 
action=android.intent.action.MAIN categories={android.intent.category.LAUNCHER} 
flags=0x10200000 comp={org.doubango.imsdroid/org.doubango.imsdroid.Main} }
09-24 12:53:40.145 D/org.doubango.imsdroid.Services.Impl.ServiceManager( 9060): 
showRegistartionNotif
09-24 12:53:40.245 W/IInputConnectionWrapper( 5129): showStatusIcon on inactive 
InputConnection
09-24 12:53:40.285 I/ActivityManager( 5040): Displayed activity 
org.doubango.imsdroid/.Main: 511 ms
09-24 12:53:43.505 D/DispatchService( 5114): Handled message = 
TIMED_SERVICE_UNMASK
09-24 12:53:45.045 I/org.doubango.imsdroid.Services.Impl.SipService( 9060): 
realm=sip:voip1.laredonet.com, impu=sip:208@voip1.laredonet.com, impi=208
09-24 12:53:45.055 E/tinyWRAP( 9060): ***ERROR: function: "tsip_stack_set()" 
09-24 12:53:45.055 E/tinyWRAP( 9060): file: "src/tsip.c" 
09-24 12:53:45.055 E/tinyWRAP( 9060): line: "710" 
09-24 12:53:45.055 E/tinyWRAP( 9060): MSG: Invalid parameter
09-24 12:53:45.055 E/org.doubango.imsdroid.Services.Impl.SipService( 9060): 
Failed to set realm

Any ideas how to solve this?

Original comment by jorgeboa...@gmail.com on 24 Sep 2010 at 6:00

GoogleCodeExporter commented 9 years ago
At realm put your server hostname, this solved my problem. 

Original comment by gabriel....@gmail.com on 12 Oct 2010 at 5:38