Example #1
0
 def outgoing(self, message):
     # make and save messages on their way out and 
     # cast connection as string so pysqlite doesnt complain
     msg = OutgoingMessage(identity=message.connection.identity, text=message.text, 
         backend=message.connection.backend.name)
     msg.save()
     self.debug(msg)
Example #2
0
 def outgoing(self, message):
     msg = OutgoingMessage(caller=message.caller, text=message.text, sent=message.sent)
     msg.save()