diff --git a/sip/asterisk.py b/sip/asterisk.py index e17f0666..735c6dda 100644 --- a/sip/asterisk.py +++ b/sip/asterisk.py @@ -82,14 +82,6 @@ class Sms(object): except (socket.error, NullRecv): pass - def _mkdirs(self, path): - try: - os.makedirs(path) - except OSError as exc: - if exc.errno == errno.EEXIST and os.path.isdir(path): - pass - else: raise - def sms_delay(self, src, dst, body, user, body_type='str'): if not body_type in ["str", "base64"]: raise EnvironmentError("body_type sould be 'str' ou 'base64' not %r" % body_type) @@ -100,8 +92,6 @@ class Sms(object): cur.close() conn.close() - - def _send_sms(self, manager, params): if params['PeerStatus'] in ['Reachable','Registered']: num = params['Peer'].split('/')[1]