Ver Fonte

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

svetlana há 3 anos atrás
pai
commit
a5490142cd
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      app/app.py

+ 1 - 1
app/app.py

@@ -248,7 +248,7 @@ async def celCallback(mngr: Manager, msg: Message):
         cid = app.cache['usermap'][firstMessage.CallerIDnum]
     uid = firstMessage.LinkedID
     if (msg.EventName == 'CHAN_START') and (lid != msg.UniqueID) and (not msg.Channel.startswith('Local/')):
-        if (firstMessage.Context == 'from-pstn') or (firstMessage.get('groupCall',False)):
+        if (True or (firstMessage.Context == 'from-pstn') or (firstMessage.get('groupCall',False))):#all calls 
            device = msg.CallerIDnum
            user = app.cache['usermap'][device]
            did = firstMessage.Exten