Re: [Smslink-users] sent sms messages
Status: Beta
Brought to you by:
panderss
|
From: Philippe A. <pa...@ib...> - 2008-07-25 13:35:52
|
Hello Uri, Oriol Bardés Robles wrote: > Hi, > > I just set up a new smslink installation (SMS-Link for Linux, ver > 0.56b-3) on a Red Hat system. > Everything is working fine so far but there is a question I haven't been > able to solve yet. > I am not using the MySQL backend and I would expect all the sent sms > messages to be stored in text files under the directory > /var/spool/smslink/outbox. The purpose of the outbox is not to store all outgoing messages. It's a temporary holding area for queued messages. Instead of attempting an immediate send, you can ask the server to accept your message (it will store it in the outbox), and then to send it at a later time, during an outbox poll. The advantage is that the submission from the client is always fast and highly likely to be successful. Also, since the server is allowed to retry sending queued messages several times, the probability of eventual success is also much higher. The down side is that it may take more time for the message to be sent. > > The point is that all sms messages simply get vanished after being > successfully sent. That's how it works in your setup. If you really want to keep a trace of every sent message, you can do this: - install MySQL and recompile SMSLink with MySQL support. - configure sms_serv for DB access and outbox check. - always "queue" messages instead of "send"ing them (this makes sure that they are stored in the database. - once the server has successfully sent them, they are flagged as "sent", but the records are kept in the DB => you can always query the DB to retrieve them. HTH Cheers. Bye. Ph. A. -- *Philippe Andersson* Unix System Administrator IBA Particle Therapy | Tel: +32-10-475.983 Fax: +32-10-487.707 eMail: pa...@ib... <http://www.iba-worldwide.com> The contents of this e-mail message and any attachments are intended solely for the recipient (s) named above. This communication is intended to be and to remain confidential and may be protected by intellectual property rights. Any use of the information contained herein (including but not limited to, total or partial reproduction, communication or distribution of any form) by persons other than the designated recipient(s) is prohibited. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free. Ion Beam Applications does not accept liability for any such errors. Thank you for your cooperation. |