sms sender

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/OpenBSC@lists.osmocom.org/.

Max.Suraev at fairwaves.co
Tue Dec 9 10:43:34 UTC 2014


Hi all.

I recall the question of sending sms through OpenBSC via command-line popped-up few
times before. Shall we add attached snippet to openbsc/contrib?
-- 
best regards,
Max, http://fairwaves.co

-------------- next part --------------
#!/usr/bin/expect
# Usage: ./sms.exp 123456789 "LOL, sms from hell"
spawn telnet localhost 4242
expect "OpenBSC> "
send "subscriber imsi [lindex $argv 0] sms sender id 1 send [lindex $argv 1]\r"
expect "OpenBSC> "
send "exit\r"


More information about the OpenBSC mailing list