Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Benjamin Graillot
scripts
Commits
c74b61e9
Commit
c74b61e9
authored
Aug 14, 2013
by
Daniel STAN
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[sip/sms_queuing] mdp de "sms" dans secrets.py
parent
d90a4e06
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
sip/sms_queuing
sip/sms_queuing
+5
-1
No files found.
sip/sms_queuing
View file @
c74b61e9
#!/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
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment