فهرست منبع

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):