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
9078c80d
Commit
9078c80d
authored
May 29, 2015
by
Valentin Samir
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[sip] Utilisation de #!/bin/bash /usr/scripts/python.sh sur les scripts
parent
7c98e01e
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
8 additions
and
13 deletions
+8
-13
sip/agi/alias
sip/agi/alias
+2
-3
sip/agi/history
sip/agi/history
+2
-3
sip/agi/sms_delay
sip/agi/sms_delay
+2
-3
sip/scripts/code_impression.py
sip/scripts/code_impression.py
+1
-2
sip/scripts/user_exist.py
sip/scripts/user_exist.py
+1
-2
No files found.
sip/agi/alias
View file @
9078c80d
#!/
usr/bin/env
python
#!/
bin/bash /usr/scripts/
python
.sh
# -*- coding: utf-8 -*-
import sys
import syslog
sys
.
path
.
append
(
'/usr/scripts/sip/'
)
from
asterisk
import
AGI
,
Profile
from sip.asterisk import AGI, Profile
if
__name__
==
'__main__'
:
agi
=
AGI
()
...
...
sip/agi/history
View file @
9078c80d
#!/
usr/bin/env
python
#!/
bin/bash /usr/scripts/
python
.sh
# -*- coding: utf-8 -*-
import sys
sys
.
path
.
append
(
'/usr/scripts/sip/'
)
from
asterisk
import
History
from sip.asterisk import History
if
__name__
==
'__main__'
:
if
len
(
sys.argv
)>
1:
...
...
sip/agi/sms_delay
View file @
9078c80d
#!/
usr/bin/env
python
#!/
bin/bash /usr/scripts/
python
.sh
# -*- coding: utf-8 -*-
import sys
sys
.
path
.
append
(
'/usr/scripts/sip/'
)
from
asterisk
import
Sms
from sip.asterisk import Sms
if
__name__
==
'__main__'
:
if
len
(
sys.argv
)>
4:
...
...
sip/scripts/code_impression.py
View file @
9078c80d
#!/
usr/bin/env
python
#!/
bin/bash /usr/scripts/
python
.sh
# -*- coding: utf-8 -*-
import
sys
sys
.
path
.
append
(
'/usr/scripts/'
)
import
lc_ldap.shortcuts
from
lc_ldap.attributs
import
imprimeur
,
nounou
...
...
sip/scripts/user_exist.py
View file @
9078c80d
#!/
usr/bin/env
python
#!/
bin/bash /usr/scripts/
python
.sh
# -*- coding: utf-8 -*-
import
sys
sys
.
path
.
append
(
'/usr/scripts/'
)
import
lc_ldap.shortcuts
...
...
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