diff -r fcf8489f1c2f -r 0d7ffb9b2c7f iro/anbieter/sipgate.py --- a/iro/anbieter/sipgate.py Mon Nov 23 00:18:04 2009 +0100 +++ b/iro/anbieter/sipgate.py Tue Nov 24 02:02:41 2009 +0100 @@ -41,6 +41,8 @@ def sendSMS(self,sms,recipients): """send SMS with $sms to $recipients""" + import logging + logging.debug('sipgate.sendSMS(%s,%s)'%(sms, str(recipients))) args={ "TOS" : "text", "Content" : sms.content @@ -49,6 +51,8 @@ def sendFAX(self,fax,recipients): """send the PDF file $fax to $recipients""" + import logging + logging.debug('sipgate.sendFAX(%s,%s)'%(fax, str(recipients))) pdf=open(fax.attachments[0],"rb") args={ "TOS" : "fax",