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']: