From a high-level, my Kannel installation looks like this:

Linux box (Kannel)  ------ Cellular Modem -------- PSTN

‘Linux box’ also hosts ‘send-sms’, which is invoked by a monitoring application 
running on ‘Linux box’

I’ve been focused on how ‘send-sms’ could possibly be submitting this SMS … but 
this isn’t what is happening.

Rather “<#001#006'application/vnd.wap.mms-message” submitted this SMS … who is 
that?

stuartk@guru:/usr/sbin$ strings bearerbox | grep mms-message
stuartk@guru:/usr/sbin$ strings smsbox | grep mms-message
application/vnd.wap.mms-message
stuartk@guru:/usr/sbin$

How is ‘smsbox’ itself generating an SMS?


  *   Could this possibly originate from someone sending SMS to Cellular Modem 
via the PSTN?  My service provider claims that they block all incoming service …

{ … test ….}

Ahh, I see – they do not in fact block incoming service.  Ahh, I see, someone 
is sending me SMS via the Cellular-Modem path … and I am not equipped to do 
anything useful with these.

Got it.  Thank you for your assistance,

--sk


From: Web Min <meweb...@gmail.com>
Sent: Sunday, February 10, 2019 6:53 AM
To: Stuart Kendrick <stua...@alleninstitute.org>
Cc: users@kannel.org
Subject: Re: source of a message

If I'm not mistaken, the 1111301000 is the sender id to appear for the 
recipient not the IP address of the client.

Warm Regards,

On Sun, Feb 10, 2019 at 5:13 PM Stuart Kendrick 
<stua...@alleninstitute.org<mailto:stua...@alleninstitute.org>> wrote:
Starting a few days ago, I see the following once in syslog:

2019-02-07T10:03:10.411207-08:00 vishnu smsbox[2075]: 2019-02-07 10:03:10 
[2075] [5] INFO: Starting to service <#001#006'application/vnd.wap.mms-message> 
from <1111301000> to <1234>

Followed by many of these:
2019-02-07.gz:2019-02-07T10:05:10.583219-08:00 guru smsbox[2075]: 2019-02-07 
10:05:10 [2075] [5] INFO: Starting to service <11121611611 Error Invalid 
Number. Please re-send using a valid 10 digit mobile number or valid short 
code. No service specified> from <+1121611611> to <1234>

What device submitted this message?  I don’t see an IP address in these log 
lines


As far as I know, the only source of SMS messages to my Kannel installation is 
a script (‘send-sms’) which executes an HTTP PUT on the following URL:
  $url = 
"http://$gateway/cgi-bin/sendsms?username=$username&password=$password&to=$recipient_tel&text=$message";;

And normally, I see something like the following in syslog:

2019-02-07T08:00:32.314355-08:00 guru smsbox[2075]: 2019-02-07 08:00:32 [2075] 
[3] INFO: smsbox: Got HTTP request </cgi-bin/sendsms> from <10.12.7.11>
2019-02-07T08:00:32.314415-08:00 guru smsbox[2075]: 2019-02-07 08:00:32 [2075] 
[3] INFO: sendsms used by <watcher>
2019-02-07T08:00:32.314472-08:00 guru smsbox[2075]: 2019-02-07 08:00:32 [2075] 
[3] INFO: sendsms sender:<watcher:12345> (10.12.7.11) to:<2069548415> 
msg:<Crier-->dn:1[console.aws.amazon.com<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fconsole.aws.amazon.com&data=02%7C01%7C%7C6593c36accc04adc4e3a08d68f67893d%7C32669cd6737f4b398bddd6951120d3fc%7C0%7C0%7C636854072190504096&sdata=xEjBtSrWL%2B7yjkwYLu9dvPilx%2BoRVj9Tarqc3H5579w%3D&reserved=0>]>

In other words, the only source for SMS messages is 10.12.7.11 … what does the 
source 1111301000 mean … it doesn’t look like an IP address to me.

--sk

Reply via email to