kingoom / imsdroid

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

IMSDroid仍然无法与openvpn一起工作 #414

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
IMSDroid 
仍然无法与openvpn一起工作,但我用sipdroid可以和openvpn一起工�
��

Original issue reported on code.google.com by zhangsh...@gmail.com on 22 Nov 2012 at 1:23

GoogleCodeExporter commented 9 years ago
android 2.3.5系统,IMSDroid 2.0.509 (opengl-es 2.0, libyuv) 
imsdroid-2.532.758.apk都试了,不能通过openvpn注册到sip服务器,而
sipdroid可以.

Original comment by zhangsh...@gmail.com on 22 Nov 2012 at 1:29

GoogleCodeExporter commented 9 years ago
我的openvpn使用的是 dev tap驱动.

Original comment by zhangsh...@gmail.com on 23 Nov 2012 at 2:28

GoogleCodeExporter commented 9 years ago
查看sip上日志imsdroid的如下:
2012-11-30 21:44:31.448265 [WARNING] sofia_reg.c:1481 SIP auth challenge 
(REGISTER) on sofia profile 'internal' for [1000@172.16.2.1] from ip 
192.168.1.101
sipdroid的如下:2012-11-30 21:37:11.768270 [WARNING] sofia_reg.c:1481 SIP 
auth challenge (REGISTER) on sofia profile 'internal' for [1001@172.16.2.1] 
from ip 192.168.9.39
其中192.168.1.101是手机通过wifi得到的地址,192.168.9.39是手机连
上openvpn得到的地址。172.16.2.1是freeswitch服务器的地址。

Original comment by zhangsh...@gmail.com on 30 Nov 2012 at 1:51

GoogleCodeExporter commented 9 years ago
http://code.google.com/p/imsdroid/source/browse/branches/2.0/android-ngn-stack/s
rc/org/doubango/ngn/services/impl/NgnNetworkService.java#138
代码private static final String OPENVPN_INTERFACE_NAME = "tun0";
我觉得应该改为:
private static final String OPENVPN_INTERFACE_NAME = "tun0";或者private 
static final String OPENVPN_INTERFACE_NAME = "tap0";

Original comment by zhangsh...@gmail.com on 25 Dec 2012 at 2:48

GoogleCodeExporter commented 9 years ago
没文化真可怕。

Original comment by openser@yeah.net on 25 Feb 2013 at 6:11