瀏覽代碼

Merge branch 'master' of https://gogs.halsbox.ru/RRT/pbx

Hal De 3 年之前
父節點
當前提交
e5a44c6e3a
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      app/app.py

+ 2 - 2
app/app.py

@@ -206,8 +206,8 @@ async def newchannelCallback(mngr: Manager, msg: Message):
              'callerId': cid,
              'did': did,
              'callId': uid}
-      if (msg.linkedid in  app.cache['calls']) and ('WebCallId' in app.cache['calls'][msg.linkedid]):
-        _cb['WebCallId'] = app.cache['calls'][msg.linkedid]['WebCallId']
+      if (msg.linkedid in  app.cache['cel_calls']) and ('WebCallId' in app.cache['cel_calls'][msg.linkedid]):
+        _cb['WebCallId'] = app.cache['cel_calls'][msg.linkedid]['WebCallId']
       reply = await doCallback(device, _cb)
 
 @manager.register_event('CEL')