playsms
playsms copied to clipboard
Feature request for smstools-gateway: make all pathes configurable
smstools handles outgoing SMS on its own. In case other pathes are used in smstools for failed, sent, outgoing, checked and incoming folders are used, playSMS seems to lose control over the status of SMS.
E.g.: smstools installed to /opt/smstools sms are stored in: /opt/smstools/data/outgoing /opt/smstools/data/checked /opt/smstools/data/failed /opt/smstools/data/sent /opt/smstools/data/incoming
playSMS puts SMS in /opt/smstools/data/outgoing and smstools handles that outgoing sms correctly. but the status in playSMS for that SMS is always "pending" so no correct status to user is available and credit systems fails as well.
see this: https://github.com/antonraharja/book-playsms/blob/master/book-contents/en/Installation/Gateway-Installation/SMS-Server-Tools-3/SMS-Server-Tools-3-installation-from-source-on-Ubuntu.md
the folder structure must be like that with /var/spool/sms
replaced by /opt/smstools/data
also make sure you have configured default_queue option for smstools gateway on playSMS
I have set default_queue (smstools in gateway) and queue (smsc (smstools)) set to /opt/smstools/data/outgoing. if set to /opt/smstools/data outgoing sms are put to /opt/smstools/data and therefore not recognized and processed by smstools.
just curious why you would use /opt for the sms spools.
it is because of our department structure we need to request permissions for every little thing. below /opt in our case we are allowed to get full permissions in given folders, that means for me I am able to get full access to /opt/playsms which makes it easier to me to modify, upgrade, check things and so on.
that is the reason. on the other hand it is quite easy to perform backups and restores, because it is only 2parted: folder below /opt/playsms and the database.
for smsservertools it is the same - and because i have to manage error-sms (because of faulty gateways or faulty recipient numbers), it is easier for me to have everything below /opt.