Svetlana 3 anni fa
parent
commit
4966cd6035
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      app/cel.py

+ 1 - 1
app/cel.py

@@ -14,7 +14,7 @@ class CdrChannel:
        self.peer,
        self.context,
        self.id,
-       self.leg) = re.match(r'(\w+)/([_-\w\.]+)(?:@([\w-]+))?-([0-9a-f]{8})(?:;([0-9]+))?', chanData).groups()
+       self.leg) = re.match(r'(\w+)/([_\w\.-]+)(?:@([\w-]+))?-([0-9a-f]{8})(?:;([0-9]+))?', chanData).groups()
     except:
       pass
   def __repr__(self):