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

+ 0 - 3
app/app.py

@@ -179,11 +179,9 @@ async def newchannelCallback(mngr: Manager, msg: Message):
     uid = None
     if msg.context in ('from-pstn'):
       app.cache['calls'][msg.uniqueid]=msg
-      app.logger.warning('call from pstn')
     elif ((msg.context in ('from-queue')) and
           (msg.linkedid in app.cache['calls']) and
           (msg.exten in app.cache['devicemap'])):
-      app.logger.warning('call from queue')
       did = app.cache['calls'][msg.linkedid].exten
       cid = app.cache['calls'][msg.linkedid].calleridnum
       user = msg.exten
@@ -191,7 +189,6 @@ async def newchannelCallback(mngr: Manager, msg: Message):
       uid = msg.linkedid
     elif ((msg.context in ('from-internal')) and
           (msg.exten in app.cache['devicemap'])):
-      app.logger.warning('call from internal')
       user = msg.exten
       device = app.cache['devicemap'][user]
       if msg.calleridnum in app.cache['usermap']: