소스 검색

channel template

Svetlana 3 년 전
부모
커밋
49bb2945c5
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):