JohnHoder / sipdroid

Automatically exported from code.google.com/p/sipdroid
GNU General Public License v3.0
1 stars 0 forks source link

Sipdroid connect to a local asterisk-server with a wrong IP #989

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I want to connect sipdroid to a asterisk server in my local network.
But sipdroid not use the ip-address of the wifi interface (10.2.0.x). It uses a 
192.168.42.x-address to connect. I know this network from tethering function.
I have a nexus one with cyanogenmod 7.
I use sipdroid version 2.4.

Sorry for my bad english.

Original issue reported on code.google.com by Matthias...@googlemail.com on 22 Nov 2011 at 10:29

GoogleCodeExporter commented 9 years ago
Same exact issue, different IP. I have no idea where my Droid's Sipdroid 
instance pulled a 192.168.20.1 address from, but it has. My network number is 
192.168.140.x.

Thanks!

Original comment by Tedrick...@gmail.com on 23 Nov 2011 at 9:02

GoogleCodeExporter commented 9 years ago
After playing with this configuration for a while, what I think is happening is 
that Verizon might be blocking SIPDroid by reporting a false IP address. 
SIPDroid thinks it has the address 192.168.20.1, but my phone actually has a 
192.168.140.x address (Confirmed by my DD-WRT router).

I bet this works fantastically well from a stock device - I could be using my 
home number anywhere there is a wireless router.

Original comment by Tedrick...@gmail.com on 4 Dec 2011 at 2:29

GoogleCodeExporter commented 9 years ago
Issue 1021 has been merged into this issue.

Original comment by pmerl...@googlemail.com on 8 Feb 2012 at 8:50

GoogleCodeExporter commented 9 years ago
Issue 1060 has been merged into this issue.

Original comment by pmerl...@googlemail.com on 16 Sep 2012 at 8:20

GoogleCodeExporter commented 9 years ago
I have this same issue. 
What's happening is that SIPDroid for some reason is registering with it's 
mobile (ie 3G/4G) network interface IP address instead of the WiFi device IP 
address.

On my Galaxy GS4 this means that SIPDroid uses rmnet_usb0 (3G/4G network) 
device instead of wlan0 which is the WiFi interface.

Original comment by gaul...@gmail.com on 13 Oct 2013 at 11:24

GoogleCodeExporter commented 9 years ago
My suggestion is to add a configuration option to allow the user to manually 
choose which interface/IP address to register with. Preferably from a drop down 
that lists each device name /IP address combo.

Original comment by gaul...@gmail.com on 13 Oct 2013 at 11:26