|
|
@@ -212,7 +212,7 @@ async def newchannelCallback(mngr: Manager, msg: Message):
|
|
|
|
|
|
@manager.register_event('CEL')
|
|
|
async def celCallback(mngr: Manager, msg: Message):
|
|
|
- app.logger.warning('CEL {}'.format(msg))
|
|
|
+ #app.logger.warning('CEL {}'.format(msg))
|
|
|
lid = msg.LinkedID
|
|
|
if ((msg.EventName == 'CHAN_START') and (lid == msg.UniqueID)): #save first msg
|
|
|
app.cache['cel_calls'][lid] = msg
|
|
|
@@ -238,7 +238,7 @@ async def celCallback(mngr: Manager, msg: Message):
|
|
|
'callId': uid}
|
|
|
if ('WebCallId' in app.cache['cel_calls'][msg.linkedid]):
|
|
|
_cb['WebCallId'] = app.cache['cel_calls'][msg.linkedid]['WebCallId']
|
|
|
- reply = await doCallback('device', _cb)
|
|
|
+ reply = await doCallback(device, _cb)
|
|
|
if ((msg.Application == 'Queue') and
|
|
|
(msg.EventName == 'APP_START') and
|
|
|
(firstMessage.Context == 'from-internal') and
|