Sfoglia il codice sorgente

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

svetlana 3 anni fa
parent
commit
a5490142cd
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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