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. Wed Nov 06, 2024 01:04
SMSTools3 Community » Bug reports Bottom

sendsms ignoring configured outgoing-path

Login and Post Reply

Page:  1

Author Post
Member
Registered:
Mar 2013
Location: Germany
Hi,
i have an issue regarding sendsms - smsd is running with different configuration for folders - i put all below /opt/sms.
but when I create an outgoing sms via sendsms, it is ignoring this configuration and putting the file into /var/spool/sms/outgoing.

From my point of view this is a bug... Or am I missing something?

regards,
astrakid

Administrator
Registered:
May 2009
Location: Jyväskylä, Finland
Sript sendsms uses the default location. Just change it at the end of script, or create symlink to your directory.

Sendsms does not read configuration, because it cannot know where the configuration file is (started with smsd -c conf, or running on different systems where /etc/smsd.conf is not a default).

Member
Registered:
Mar 2013
Location: Germany
Topic owner
ups, that is awkward... I assumed that sendsms is a binary without looking into it. very stupid from me.
is it possible to include the config file within sendsms, so taht in case of another change in sms-config file sendsms is aware of the change automatically?

kind regards and thanks!
astrakid

Administrator
Registered:
May 2009
Location: Jyväskylä, Finland
I can just repeat my previous answer :(. Sendsms cannot read the config, because it does not know where the configuration file is located. It is not /etc/smsd.conf on every platforms. Also, smsd can be started with -c option, and sendsms cannot know that.

Possibilities for asking the location from the running main process are too complicated. I wil not even try to change the sendsms.

Member
Registered:
Mar 2013
Location: Germany
Topic owner
ok.

thanks vevertheless.

kind regards,
astrakid

Login and Post Reply

Page:  1

SMSTools3 Community » Bug reports Top

 
Time in this board is UTC.  

Privacy Policy   SMS Server Tools 3 Copyright © Keijo Kasvi.