imsdoid NgnNetworkService.getLocalIP fail to get the correct ip on Android 4.2.2 device HM1W
- Dominant language
- Java
- Stars
- 0
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
```
a) Before posting your issue you MUST answer to the questions otherwise it
will be rejected (invalid status) by us
b) Please check the issue tacker to avoid duplication
c) Please provide network capture (wireshark) or Android log (DDMS output)
if you want quick response
What steps will reproduce the problem?
1.test imsdroid app in android device
2.imsdroid can't register to the sip server
What is the expected output? What do you see instead?
What version of the product are you using? On what operating system?
Android 4.2.2
Please provide any additional information below.
I checked the source code and found this:
in function NgnNetworkService.getLocalIP, it will return the first avaliable addressMap element except the name is USB_INTERFACE_NAME, this const is set to "usb0". but in my device i got the "usbnet0".
```
Original issue reported on code.google.com by `anjingsa...@gmail.com` on 10 Apr 2014 at 5:29
Contributor guide
No contributing guide indexed for this repository
Research direction
Inspect NgnNetworkService.getLocalIP and the USB_INTERFACE_NAME check described in the issue. Reproduce on the Android 4.2.2 HM1W device and compare the usb0 and usbnet0 interface names. Done means the app selects the correct local IP and can register with the SIP server.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, java
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100