SMS Server Tools 3
 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. The forum is currently read-only, but will open soon. Sat Dec 21, 2024 13:48
SMSTools3 Community » Feature requests Bottom

[answered] Some suggestions

  This topic is locked

Page:  1

Author Post
Member
Registered:
Aug 2009
Location: Turkey
Hello,

I've been playing with this useful software and I gathered some suggestions so far.

1. some modems (like my Ericsson E3507g) require a modem init off command just like modem init startup. For example I send "AT+CFUN=1" to turn it on and "AT+CFUN=4" to turn it off. So, I'd like to have the option to set init command to turn modem off as well.

2. On windows, demanding reports work just fine. However, I could not manage to retrieve any reports so far, even the necessary option was in place. I am willing to test ideas for this.

3. I am running this as a previliged user on a gentoo machine and the sendsms script did not work at all due to permission problems. Instead of trying to change the ownership of the msg file as it is in this script, I put

chgrp sms $TMPFILE
chmod g+rw $TMPFILE

where sms is the primary group of the running user smsd.

Kind Regards.

Administrator
Registered:
May 2009
Location: Jyväskylä, Finland
moonskin wrote
1. some modems (like my Ericsson E3507g) require a modem init off command just like modem init startup. For example I send "AT+CFUN=1" to turn it on and "AT+CFUN=4" to turn it off. So, I'd like to have the option to set init command to turn modem off as well.

What do you mean with require, I think that switching a modem off is not mandatory. If a modem, when smsd is not running, is still registered to the network and SIM is still active, the modem will receive messages until the SIM is filled up. After this, no more messages are accepted from the network until smsd is started again and messages are read from the SIM.

However, it's not very difficult to implement "turn on" and "turn off" functionality to the smsd code. With some modems (Wavecom) the existing init string cannot be used with AT+CFUN=1 because the modem will re-register even if it was already registered. With Telit this does not cause problems.

In the next version I can include the following settings:
start = command(s) to send to the modem when the devicespooler is starting
start_delay = number of seconds to wait after start commands are sent
stop = command(s) to send to the modem when the devicespooler is stopping


If you can compile smsd from the sources and need very much this kind of functionality, I can publish a temporary patch for version 3.1.5.

moonskin wrote
2. On windows, demanding reports work just fine. However, I could not manage to retrieve any reports so far, even the necessary option was in place. I am willing to test ideas for this.

You mean sms-deliver messages which are routed directly to the TE using the unsolicited result code +CMT, right? In some cases those messages are detected and handled by the smsd, but it is possible that routed messages cause troubles and are lost. Because of this, all messages should be saved into the memory (SIM or ME).

moonskin wrote
3. I am running this as a previliged user on a gentoo machine and the sendsms script did not work at all due to permission problems. Instead of trying to change the ownership of the msg file as it is in this script, I put

chgrp sms $TMPFILE
chmod g+rw $TMPFILE

where sms is the primary group of the running user smsd.

The current script sendsms only works when it's run by the root. All other usage needs some changes which are depended on the system. However, in the next version I may change it to use a group based handling of ownership like you have done.

Member
Registered:
Aug 2009
Location: Turkey
Topic owner
Quote
moonskin wrote
1. some modems (like my Ericsson E3507g) require a modem init off command just like modem init startup. For example I send "AT+CFUN=1" to turn it on and "AT+CFUN=4" to turn it off. So, I'd like to have the option to set init command to turn modem off as well.

What do you mean with require, I think that switching a modem off is not mandatory. If a modem, when smsd is not running, is still registered to the network and SIM is still active, the modem will receive messages until the SIM is filled up. After this, no more messages are accepted from the network until smsd is started again and messages are read from the SIM.

However, it's not very difficult to implement "turn on" and "turn off" functionality to the smsd code. With some modems (Wavecom) the existing init string cannot be used with AT+CFUN=1 because the modem will re-register even if it was already registered. With Telit this does not cause problems.

In the next version I can include the following settings:
start = command(s) to send to the modem when the devicespooler is starting
start_delay = number of seconds to wait after start commands are sent
stop = command(s) to send to the modem when the devicespooler is stopping


If you can compile smsd from the sources and need very much this kind of functionality, I can publish a temporary patch for version 3.1.5.

This modem is a part of a toshiba laptop. It has other features like gps port etc. There is a light on the computer showing the status of the modem. It turns on and off, after the init on and init off commands I wrote above, respectively.

If we dont send a off command when the smsd goes off, the light will remain on and it might interfere with the next use attempt of the modem. Also, this behavior seems to be inconsistent with the bundled software came with the laptop for using the modem. However, the new version seems to have the solution. No, I do not need the patch right now, I hacked the init script to send the necessary commands when the daemon dies.

I am preparing a gentoo ebuild for your daemon, which I hope to submit soon. Perhaps after your next release you mentioned.

Quote
moonskin wrote
2. On windows, demanding reports work just fine. However, I could not manage to retrieve any reports so far, even the necessary option was in place. I am willing to test ideas for this.

You mean sms-deliver messages which are routed directly to the TE using the unsolicited result code +CMT, right? In some cases those messages are detected and handled by the smsd, but it is possible that routed messages cause troubles and are lost. Because of this, all messages should be saved into the memory (SIM or ME).


Fixed now. In fact I could not get and sms. The problem was the lack of ME command. Its all good now. My bad, should have read FAQ more carefully.

Quote
moonskin wrote
3. I am running this as a previliged user on a gentoo machine and the sendsms script did not work at all due to permission problems. Instead of trying to change the ownership of the msg file as it is in this script, I put

chgrp sms $TMPFILE
chmod g+rw $TMPFILE

where sms is the primary group of the running user smsd.

The current script sendsms only works when it's run by the root. All other usage needs some changes which are depended on the system. However, in the next version I may change it to use a group based handling of ownership like you have done.

In gentoo, the daemon will run as a unprivileged user for security reasons and I suppose this could be the case with many other distros as well. I think changing the group to sms suits better in this scheme.

Thanks for your patience.
Kind Regards

  This topic is locked

Page:  1

SMSTools3 Community » Feature requests Top

 
Time in this board is UTC.  

Privacy Policy   SMS Server Tools 3 Copyright © Keijo Kasvi.