iro/anbieter/smstrade.py
changeset 54 9774768ef3f0
parent 53 3d072d599ba4
child 129 d6704178a18f
equal deleted inserted replaced
53:3d072d599ba4 54:9774768ef3f0
   104                 if tel.land == '49':
   104                 if tel.land == '49':
   105                     route=unicode("basic")
   105                     route=unicode("basic")
   106                 else:
   106                 else:
   107                     route=unicode("economy")
   107                     route=unicode("economy")
   108                 smsSendStatus = self.__send(route, to, message, timestamp)	
   108                 smsSendStatus = self.__send(route, to, message, timestamp)	
   109                 logger.notice('smstrade._send(...)=%i(%s)'%(int(smsSendStatus),str(smsSendStatus)))
   109                 logger.info('smstrade._send(...)=%i(%s)'%(int(smsSendStatus),str(smsSendStatus)))
   110                 if int(smsSendStatus) in(100, 999):
   110                 if int(smsSendStatus) in(100, 999):
   111                     self.updateStatus(arranged=recipient)
   111                     self.updateStatus(arranged=recipient)
   112                 else:
   112                 else:
   113                     self.updateStatus(failed=recipient)
   113                     self.updateStatus(failed=recipient)
   114             except (NotATelNumber,NoValidStatusCode,InternetConnectionError):
   114             except (NotATelNumber,NoValidStatusCode,InternetConnectionError):