You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 5, 2019. It is now read-only.
I am testing BBB-Android in an ASUS TF701T device and the sipdroid while trying to connect to the FreeSwitch server uses the wrong network interface.
The available interfaces are as follows:
# adb shell
shell@K00C:/ $ ip addr show
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: dummy0: <BROADCAST,NOARP> mtu 1500 qdisc noop state DOWN
link/ether 82:30:bc:2a:2b:4e brd ff:ff:ff:ff:ff:ff
3: sit0: <NOARP> mtu 1480 qdisc noop state DOWN
link/sit 0.0.0.0 brd 0.0.0.0
4: ip6tnl0: <NOARP> mtu 1452 qdisc noop state DOWN
link/tunnel6 :: brd ::
5: rmnetctl: <NOARP> mtu 1500 qdisc noop state DOWN
link/ipip 0.0.0.0 brd 0.0.0.0
6: p2p0: <NO-CARRIER,BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state DORMANT qlen 1000
link/ether da:50:e6:1b:0f:e3 brd ff:ff:ff:ff:ff:ff
inet6 fe80::d850:e6ff:fe1b:fe3/64 scope link
valid_lft forever preferred_lft forever
7: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
link/ether d8:50:e6:1b:0f:e3 brd ff:ff:ff:ff:ff:ff
inet 192.168.0.100/24 brd 192.168.0.255 scope global wlan0
inet6 fe80::da50:e6ff:fe1b:fe3/64 scope link
valid_lft forever preferred_lft forever
shell@K00C:/ $ #
In org.zoolu.net.IpAddress in method setLocalIpAddress it ends up using the p2p0 interface instead of wlan0 and eventually the application crashes as it cannot parse correctly the port due to the IPv6 that is used by the p2p0 interface.
Hacking with the code I ended up with the patch below which seems to fix the problem and everything is working ok now.
I am testing BBB-Android in an ASUS TF701T device and the sipdroid while trying to connect to the FreeSwitch server uses the wrong network interface.
The available interfaces are as follows:
In org.zoolu.net.IpAddress in method setLocalIpAddress it ends up using the p2p0 interface instead of wlan0 and eventually the application crashes as it cannot parse correctly the port due to the IPv6 that is used by the p2p0 interface.
Hacking with the code I ended up with the patch below which seems to fix the problem and everything is working ok now.
The text was updated successfully, but these errors were encountered: