[sip] Utilisation de #!/bin/bash /usr/scripts/python.sh sur les scripts
This commit is contained in:
parent
7c98e01e56
commit
9078c80d34
5 changed files with 8 additions and 13 deletions
|
@ -1,9 +1,8 @@
|
|||
#!/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()
|
||||
|
|
|
@ -1,8 +1,7 @@
|
|||
#!/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:
|
||||
|
|
|
@ -1,8 +1,7 @@
|
|||
#!/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:
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
#!/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
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
#!/usr/bin/env python
|
||||
#!/bin/bash /usr/scripts/python.sh
|
||||
# -*- coding: utf-8 -*-
|
||||
import sys
|
||||
sys.path.append('/usr/scripts/')
|
||||
|
||||
import lc_ldap.shortcuts
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue