]> git.parisson.com Git - teleforma.git/commitdiff
IP for source redirection
authorGuillaume Pellerin <yomguy@parisson.com>
Fri, 7 Feb 2014 08:04:43 +0000 (09:04 +0100)
committerGuillaume Pellerin <yomguy@parisson.com>
Fri, 7 Feb 2014 08:04:43 +0000 (09:04 +0100)
teleforma/sources/models.py

index e3927f0c332273d2d1202e91bc55e78be78aa5c9..82fc4a41f853b77534fc45664591529c177b877e 100644 (file)
@@ -53,4 +53,4 @@ class Source(Model):
 
     @property
     def default_record_url(self):
-        return 'http://' + self.public_id + '/' + self.monitors.all()[0].record_path
+        return 'http://' + str(self.ip) + '/' + self.monitors.all()[0].record_path