Exemple #1
0
 def go_online(self):
     #print 'go_online', self
     if not self.online:
         self.global_config['_sip_logger'].write('RTPproxy "%s" has changed ' \
           'status from offline to online' % self.name)
         if self.on_state_change != None:
             self.on_state_change(self, True)
     Rtp_proxy_client.go_online(self)
 def go_online(self):
     #print 'go_online', self
     if not self.online:
         self.global_config['_sip_logger'].write('RTPproxy "%s" has changed ' \
           'status from offline to online' % self.name)
         if self.on_state_change != None:
             self.on_state_change(self, True)
     Rtp_proxy_client.go_online(self)
 def go_online(self):
     #print 'go_online', self
     online_pre = self.online
     # Rtp_proxy_client may or may not decide to change actual status
     Rtp_proxy_client.go_online(self)
     if online_pre or not self.online:
         return
     self.global_config['_sip_logger'].write('RTPproxy "%s" has changed ' \
       'state from offline to online' % self.name)
     if self.on_state_change != None:
         self.on_state_change(self, True)
 def go_online(self):
     # print 'go_online', self
     if not self.online and self.on_state_change != None:
         self.on_state_change(self, True)
     Rtp_proxy_client.go_online(self)
Exemple #5
0
 def go_online(self):
     #print 'go_online', self
     if not self.online and self.on_state_change != None:
         self.on_state_change(self, True)
     Rtp_proxy_client.go_online(self)