浏览代码

channel template

Svetlana 3 年之前
父节点
当前提交
81b12f5b84
共有 1 个文件被更改,包括 1 次插入1 次删除
  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):