youngj / EnvayaSMS

Simple SMS and MMS gateway running on Android
http://sms.envaya.org
Other
159 stars 177 forks source link

double sim card #25

Open lagrandeours opened 12 years ago

lagrandeours commented 12 years ago

hello i try envayaSMS with double sim card phone (samsung duos) it work fine but how to add 2 different numbers in the settings ?

youngj commented 12 years ago

Hi,

Unfortunately the current version of the Android API doesn't allow EnvayaSMS to select which SIM to use on a dual-SIM phone, so it just uses the default SIM.

See also: https://github.com/youngj/EnvayaSMS/issues/18

guci0 commented 10 years ago

And how this thing looks like now? Android 4.X

Mancy commented 6 years ago

For multi-sim phone The application allows only one phone number to be set on the setting so it's not possible to know to which number the call has been placed. all SMS applications can read the sim number which belongs to the sms, just send the SIM number or the related phone number assigned to the SIM into the application

This is the post data

Array
(
 [message_type] => call
 [message] =>
 [timestamp] => 1504979212071
 [version] => 30
 [action] => incoming
 [from] => 
 [phone_number] => xxxxx
 [phone_id] =>
 [phone_token] =>
 [send_limit] => 100
 [now] => 1504979212111
 [settings_version] => 0
 [battery] => 63
 [power] => 0
 [network] => WIFI
 [log] => Warning: Unknown response type text/html
[9:46:52 PM]
Received call

)