Support forum
The GSM Modem Emulator is designed to work on the local WiFi network because mobile networks do not usually allow open server ports on the Android phone for inbound connections over the mobile network. And without an open server port Diafaan SMS Server will not be able to open a connection to the mobile phone, even if you know the IP address.
With a VPN connection from the Android phone directly to the local network where Diafaan SMS Server is installed this is not an issue and when there are no other security measures to block port 10001 then Diafaan SMS Server will be able to make a connection to the phone. The only issue is that the IP number is not visible in the GSM Modem Emulator app, you will see a 'No WiFi available' status message instead but the app is listening for incoming connections. If you want to make a connection you can find the IP address of the phone when you open the phone settings and search for 'IP address'.
Regards, Henk
10:48 am
Yes but in phone app we dont have option to chose ip on which app will listen. Etc i install on phone open vpn and have same on server where is diafaan. What i need is to have option on mobile app to chose openvpn address which phone have. Not local ip from router or mobile network
Hello Mixa,
Diafaan SMS Server needs a fixed IP address or a valid domain name to reach the GSM Modem Gateway Emulator on an Android phone. There is not really another way to make a connection between Diafaan SMS Server and the mobile phone.
Regards, Henk
7:15 pm
Hello Henk,
There is issue with Diafaan GSM Modem Emulator for android.
You should add option to chose over which ip diafaan will connect to app because we dont have static ip on phones.
In this case we need vpn ip address to chose like host that we can add emulator to diafaan.
1 Guest(s)