#!/bin/bash /usr/scripts/python.sh
# -*- coding: utf-8 -*-

from asterisk import Sms
import sys
from gestion import secrets_new as secrets

if __name__ == '__main__' :
    sms=Sms("dbname='django' user='crans' host='pgsql.v4.adm.crans.org'", "voip_sms")
    sms.sms_daemon('localhost', 5038, 'sms', secrets.get('asterisk_sms_passwd'))
