I have device and modem connected with sim card. And I have raspberry and smstools installed in the device. It all works very good with smsd configuration. When sms is sent to the the number of the sim card inset in the modem, we can see a file added in incoming folder like this
From: 123456789 From_TOA: 91 international, ISDN/telephone From_SMSC: 6543212 Sent: 17-04-14 17:25:58 Received: 17-04-14 17:30:38 Subject: GSM1 Modem: GSM1 IMSI: 89898989898986767676 Report: no Alphabet: ISO Length: 7 PDU: 1234567890POIUYTREWQ1234567890POIUYTREWQ this is CONTENT
Almost all the things there give the information needed, except one thing it doesn't provide the phone number the message is sent to (which is the phone number of the sim card in the modem itself) Is there anybody can help me to achieve this, Please?
Many thanks in advance!