[sip/sms] File d'attente des sms dans la base pgsql
This commit is contained in:
parent
386086a93c
commit
78385c4535
3 changed files with 27 additions and 38 deletions
|
@ -6,6 +6,5 @@ sys.path.insert(0, '/usr/scripts/gestion/secrets')
|
|||
from secrets import asterisk_sms_passwd
|
||||
|
||||
if __name__ == '__main__' :
|
||||
# TODO ranger ceci dans /usr/scripts/var
|
||||
sms=Sms('/var/spool/asterisk/sms/')
|
||||
sms=Sms("dbname='django' user='crans' host='pgsql.adm.crans.org'", "voip_sms")
|
||||
sms.sms_daemon('localhost', 5038, 'sms', asterisk_sms_passwd)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue