FritzBoxShell icon indicating copy to clipboard operation
FritzBoxShell copied to clipboard

Sending SMS?

Open capsload2 opened this issue 2 years ago • 3 comments

Hi,

Can we send a SMS to a number from a script !

capsload2 avatar Jan 01 '24 21:01 capsload2

Hi,

in general it is possible with using a web service with an API for sending the SMS (which usually will cost something) or building your own gateway which means you need the hardware for it (e.g. a UMTS stick).

Why do you want to use SMS? In case you lose internet? What about a telegram bot?

Cheers, Johannes

jhubig avatar Jan 01 '24 22:01 jhubig

I have a fritzbox 6850 5G, i want to use the sms sending feature with a PhP Curl or T64 APi.

capsload2 avatar Jan 01 '24 22:01 capsload2

Ah okay. Was not aware of that. The thing is that I don't own such a device. So will be quite difficult for me to assist here. But I can try to find out or hope that someone else also follows this thread.

jhubig avatar Jan 01 '24 23:01 jhubig

@capsload2 I have uploaded a version to be tested here: https://github.com/jhubig/FritzBoxShell/archive/refs/heads/master.zip

Unfortunately I cannot test on my side because i don't have a 5G capable FritzBox. Please let me know if it works. Thanks.

jhubig avatar Dec 21 '24 22:12 jhubig

What is the sms cmd

On Sat, Dec 21, 2024 at 23:49 Johannes @.***> wrote:

@capsload2 https://github.com/capsload2 I have uploaded a version to be tested here: https://github.com/jhubig/FritzBoxShell/archive/refs/heads/master.zip

Unfortunately I cannot test on my side because i don't have a 5G capable FritzBox. Please let me know if it works. Thanks.

— Reply to this email directly, view it on GitHub https://github.com/jhubig/FritzBoxShell/issues/40#issuecomment-2558260510, or unsubscribe https://github.com/notifications/unsubscribe-auth/APLLM4DLO5QDXC4ESHOMLED2GXV77AVCNFSM6AAAAABUBAWI2OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNJYGI3DANJRGA . You are receiving this because you were mentioned.Message ID: @.***>

capsload2 avatar Dec 21 '24 23:12 capsload2

Most probably something like this. i don't know the format of the number (with + and country code?).

fritzBoxShell.sh SENDSMS "+49123456789" TestNachricht

jhubig avatar Dec 21 '24 23:12 jhubig

Hello @capsload2

did you already have the time to test it? Please let me know if you have issues. Thanks.

Cheers, Johannes

jhubig avatar Dec 26 '24 22:12 jhubig

Function implemented. To be re-opened in case it doesn't work. Thanks

jhubig avatar May 26 '25 19:05 jhubig

Its not working with Fritzbox 6820 v3

capsload2 avatar May 26 '25 20:05 capsload2

Its not working with Fritzbox 6820 v3

Is a error message or something similar displayed?

jhubig avatar May 26 '25 20:05 jhubig

Es kommt gar nichts.

capsload2 avatar May 28 '25 10:05 capsload2

@capsload2 Could you please retry with the latest commit. Not sure that it will work but I added some debug output. Please share them here. Thanks.

./fritzBoxShell.sh SENDSMS "+1234567890" "test"

jhubig avatar Jul 24 '25 19:07 jhubig

Please re-open if necessary. Thanks.

jhubig avatar Nov 02 '25 14:11 jhubig