|
|
@@ -320,7 +320,8 @@ async def celCallback(mngr: Manager, msg: Message):
|
|
|
if (msg.EventName == 'LINKEDID_END'):
|
|
|
for t in firstMessage['transfers']:
|
|
|
app.logger.warning('first {}'.format(t))
|
|
|
- await db.execute(query='update cdr set transfer_from=(select distinct linkedid from cdr where uniqueid=:first) where linkedid=:second;',values={'first': t[1),'second': t(2)})
|
|
|
+ (f,s) = t
|
|
|
+ await db.execute(query='update cdr set transfer_from=(select distinct linkedid from cdr where uniqueid=:first) where linkedid=:second;',values={'first': f,'second': s})
|
|
|
|
|
|
app.cache['cel_calls'].pop(lid, False)
|
|
|
app.cache['cel_queue_calls'].pop(lid, False)
|