Commit 9078c80d authored by Valentin Samir's avatar Valentin Samir

[sip] Utilisation de #!/bin/bash /usr/scripts/python.sh sur les scripts

parent 7c98e01e
#!/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()
......
#!/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:
......
#!/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:
......
#!/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
......
#!/usr/bin/env python
#!/bin/bash /usr/scripts/python.sh
# -*- coding: utf-8 -*-
import sys
sys.path.append('/usr/scripts/')
import lc_ldap.shortcuts
......
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