Commit c74b61e9 authored by Daniel STAN's avatar Daniel STAN

[sip/sms_queuing] mdp de "sms" dans secrets.py

parent d90a4e06
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from asterisk import Sms
import sys
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_daemon('localhost',5038,'sms','6m6lTaEOTMsyM')
sms.sms_daemon('localhost', 5038, 'sms', asterisk_sms_passwd)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment