juniorlm87 / csipsimple

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

OpenVPN support #390

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Have an asterisk server in a VPN
2.Connect with phone to that VPN
3.Tell csipsimple to connect to the server in the VPN

What is the expected output? What do you see instead?
Cannot register

What version of the product are you using? On what operating system?
0.00-15 on Cyanogenmod 6.0 (Froyo)

Please provide any additional information below.
routing problem?

Original issue reported on code.google.com by yuah.p...@gmail.com on 18 Nov 2010 at 4:41

GoogleCodeExporter commented 9 years ago
I've just tested the apk with my configuration at home. (Asterisk 1.8 Server)
First step:
Just create a basic account to connect to asterisk in home network via wifi.
If this works:
Login in any other Network (Wifi 3g or whatever)
Then Connect to home network via OpenVPN.
Now csipsimple should be able to connect again.

System Configuration tested:
Android 2.3.6 (CheckROM RevoHD V4)
OpenVPN 2.1.1 static binary
Asterisk 1.8.7

Original comment by lombi...@googlemail.com on 13 Feb 2012 at 11:19

GoogleCodeExporter commented 9 years ago

Original comment by r3gis...@gmail.com on 17 Aug 2012 at 2:33

GoogleCodeExporter commented 9 years ago
if you could give us a cli command to restart pjsip, then we could simply call 
that in a script using --up in openvpn

Original comment by grndcntr...@gmail.com on 13 May 2013 at 7:54

GoogleCodeExporter commented 9 years ago
You need to send an broadcast intent (and the app doing that must have correct 
android permissions to do that).
You can see the api of csipsimple here : 
http://r3gis3r.github.io/SampleCSipSimpleApp/javadoc/
(and the action of the broadcast intent to send : 
http://r3gis3r.github.io/SampleCSipSimpleApp/javadoc/com/csipsimple/api/SipManag
er.html#ACTION_SIP_REQUEST_RESTART)

Original comment by r3gis...@gmail.com on 13 May 2013 at 8:08