cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
13744
Views
0
Helpful
3
Replies

SMS messages on router sim card

sprocket10
Level 2
Level 2

Is it possible to automatically forward the SMS text messages that a router may recieve to a syslog server.

Currently we have to enter the command 'cellular 0 lte sms view all' directly on the router to see them.

SMS messages are recieved to the unit for data useage and can easily be missed.

This is the Terminal Monitor message that is displayed on the router

Cellular0: New SMS received on index 17. Please issue a view command to see it

3 Replies 3

kohnert11
Level 1
Level 1

Is there any way doing this? Or forwarding via other protocols?

roger.aas
Level 1
Level 1

I see no one have answered you, and even if I have not used it myself I saw there is a configuration for doing this, at least using ftp on a router type I use.

 

Check out if you find something like this on your router ("0" may need to be something else on your router):

 

controller cellular 0

lte sms archive path "FTP-URL"

exit

 

Hope this helps.

Roger

roel
Level 1
Level 1

Doing a  "show controllers cellular 0/2/0 details"    (or any other cellular, but in my case it was 0/2/0)

It shows multiples pages of content... just hit space..space..space... and at the very last page you will see something like:

[Wed Feb 8 15:50:02 2023] SendGetSmsRcvMsg: message index : 79, type: 1, mode: 1

[Wed Feb 8 15:50:02 2023] ExtractGetSmsRcvInfo: Entering.....
[Wed Feb 8 15:50:02 2023] ExtractGetSmsRcvInfo: Unpacking SMS message 79, storageType 1
[Wed Feb 8 15:50:02 2023] GobiShimReceiveSmsUnpacker: Decoding UMTS SMS message. storageType (1), message_Index (79)

[Wed Feb 8 15:50:02 2023] UMTS : Decoded SMS--
Sender: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Body: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

[Wed Feb 8 15:50:02 2023] --IPC SMS Packet--
Sender: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Body: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
date&time: 23-02-08 16:51:11

[Wed Feb 8 15:50:17 2023] ExtractSessionDurationInfo: ret_val from unpack is 62446, pdnInstance 1

At least, the above works if you just received an SMS and it's still in the log