Svetlana %!s(int64=3) %!d(string=hai) anos
pai
achega
a3c8900921
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      app/app.py

+ 2 - 1
app/app.py

@@ -265,8 +265,9 @@ async def celCallback(mngr: Manager, msg: Message):
              'state': 'ringing',
              'callerId': cid,
              'did': did,
-             'queue': app.cache['cel_calls'][lid]['queueName'],  
              'callId': uid} 
+           if ('queueName' in app.cache['cel_calls'][msg.linkedid]):
+             _cb['queue'] = app.cache['cel_calls'][msg.linkedid]['queueName']  
            if ('WebCallId' in app.cache['cel_calls'][msg.linkedid]):
              _cb['WebCallId'] = app.cache['cel_calls'][msg.linkedid]['WebCallId']
            if ('CallerNumber' in app.cache['cel_calls'][msg.linkedid]):