SMS Server Tools 3
This site is hosted by Kekekasvi.com
 Menu
Basic information:
Additional information:
Support:
Get SMS Server Tools 3:
Additional Options

 Sponsored links

 Search
Custom Search

 Visitor locations
 
 SMS Server Tools 3 Community
Welcome, Guest. Please login or register. Thu Mar 28, 2024 16:24
SMSTools3 Community » Help and support Bottom

Pause when sending SMS

Login and Post Reply

Page:  1

Author Post
Member
Registered:
May 2019
Location: Krasnoyarsk, Russian Federation
Operating system name and version: CentOs 6.9
Version of smsd: 3.1.21
Smsd installed from: sources
Name and model of a modem / phone: modem
Interface: USB

Can you set a pause between sending individual SMS? The command "sentsleeptime" sets a pause between sending each part of one SMS, and I need to pause between sending different SMS.

Administrator
Registered:
May 2009
Location: Jyväskylä, Finland
You could create an eventhandler script. It is called every time when handling of SMS is completed. When the first argument is "SENT", it can spend a desired delay.

Member
Registered:
May 2019
Location: Krasnoyarsk, Russian Federation
Topic owner
This script you have to offer?
#!/bin/sh
echo SMSD pause
sleep 30
'bash' Syntax Highlight powered by GeSHi

And write it in smsd.conf
checkhandler=pause.sh
'smsdconf' Syntax Highlight powered by GeSHi


Administrator
Registered:
May 2009
Location: Jyväskylä, Finland
Something like this:

#!/bin/sh

if [ "$1" = "SENT" ]; then
  sleep 30
fi
'bash' Syntax Highlight powered by GeSHi


And its eventhandler=/path/to/pause.sh in smsd.conf.

Member
Registered:
May 2019
Location: Krasnoyarsk, Russian Federation
Topic owner
Thanks. I will try to do so.

Login and Post Reply

Page:  1

SMSTools3 Community » Help and support Top

 
Time in this board is UTC.  

Privacy Policy   SMS Server Tools 3 Copyright © Keijo Kasvi.