I am trying to build a gdpr compliant ai receptionis using livekit cloud for the webrtc layer and self-hosting the agent part.
The Calls section, under Telephony in the livekit cloud dashboard, stores the records of the every call made. The phone number of the caller and a pcap file for the call with network packet data in it (does the pcap file contain encrypted audio data from the call itself?). This data is kept over 30 days as I can see the details of sip connections that were made over a month ago.
The agent observability was always disabled in my project settings and I have tested setting record: false in node.js too according the documentation. My agent.ts now contains:
await session.start({
agent,
room: ctx.room,
inputOptions: {
…(bvcEnabled && {
noiseCancellation: TelephonyBackgroundVoiceCancellation(),
}),
closeOnDisconnect: false,
},
record: false,
});
Also the project is using one static dispatch rule with hidePhoneNumber set to true:
{
“sipDispatchRuleId”: “id_was_here”,
“rule”: {
“dispatchRuleIndividual”: {
“roomPrefix”: “session-”
}
},
“hidePhoneNumber”: true,
“name”: “receptionist-static”,
“roomConfig”: {
“emptyTimeout”: 300,
“agents”: [
{
“agentName”: “receptionist”
}
]
}
}
Is there a way I can prevent livekit from storing these analytics or programmatically delete them? I am on build plan right now as I am testing things, but I was not able to find any details about ship or scale plan containing any features that affect what data livekit cloud retains about the sip call.
I am wondering if there is anything I am missing because I cannot deploy this on any scale here in Sweden if every phone number and potentially every conversation is logged and there just seems be no way to delete these logs. Livekit cloud has Krisp bvc which we very much want to use, but its very unclear how to manage session analytics and prevent them from being retained (or stored in the first place).