iro/anbieter/sipgate.py
changeset 20 0d7ffb9b2c7f
parent 9 4c5f1cf088f6
child 23 0180b538ed74
--- 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",