|
|
@@ -230,7 +230,7 @@ async def celCallback(mngr: Manager, msg: Message):
|
|
|
res = await amiStopMixMonitor(firstname);
|
|
|
app.logger.warning('{}'.format(res))
|
|
|
filename = "transfer-{}-{}-{}.wav".format(msg.Exten, msg.CallerIDnum, msg.LinkedID);
|
|
|
- res = await amiStartMixMonitor(firstname,"{}/{}".format(date.today().strftime("%Y/%m/%d"),filename));#2022/03/11/external-2534-1934-20220311-122726-1647001646.56557.wav
|
|
|
+ res = await amiStartMixMonitor(firstname,filename);#2022/03/11/external-2534-1934-20220311-122726-1647001646.56557.wav
|
|
|
res = await amiChannelSetVar(firstname,"CDR(recordingfile)",filename)
|
|
|
app.logger.warning('{}'.format(res));
|
|
|
#await amiStopMixMonitor(secondname);
|