|
|
@@ -262,7 +262,7 @@ async def celCallback(mngr: Manager, msg: Message):
|
|
|
'start': parseDatetime(msg.EventTime).isoformat(),
|
|
|
'callerfrom': firstMessage.Exten,
|
|
|
'queue': msg.Exten,
|
|
|
- 'agents': app.cache['queues'][msg.Exten]}
|
|
|
+ 'agents': [q.user for q in app.cache['queues'][msg.Exten]]}
|
|
|
reply = await doCallback('queueEnter', _cb)
|
|
|
if (msg.EventName in ('APP_END', 'BRIDGE_ENTER')):
|
|
|
call = app.cache['cel_queue_calls'].pop(lid,False)
|
|
|
@@ -270,7 +270,7 @@ async def celCallback(mngr: Manager, msg: Message):
|
|
|
if queue_changed :
|
|
|
_cb = {'callid': lid,
|
|
|
'queue': msg.Exten,
|
|
|
- 'agents': app.cache['queues'][msg.Exten]}
|
|
|
+ 'agents': [q.user for q in app.cache['queues'][msg.Exten]]}
|
|
|
reply = await doCallback('queueLeave', _cb)
|
|
|
if (msg.EventName == 'LINKEDID_END'):
|
|
|
app.cache['cel_calls'].pop(lid, False)
|