Author |
Post |
|
#1 Fri Mar 15, 2013 13:07, 142 months ago.
|
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
|
|
#2 Fri Mar 15, 2013 20:55, 142 months ago.
|
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).
|
|
#3 Mon Mar 18, 2013 07:16, 142 months ago.
|
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
|
|
#4 Tue Mar 19, 2013 12:06, 142 months ago.
|
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.
|
|
#5 Tue Mar 19, 2013 13:06, 142 months ago.
|
Member
Registered: Mar 2013
Location: Germany
Topic owner
|
ok.
thanks vevertheless.
kind regards, astrakid
|