proud-lawyer-39815
09/10/2025, 6:08 PMconsole) that receives phone calls and I realised the participant (caller) is an instance of NonCallableMagicMock - which is ok.
However, there are a few properties I need to access due to my use case which are not initialised with fake values.
What's the best way to ensure these get initialised with fake values, so I don't have to patch them each time a participant connects?
See 🧵proud-lawyer-39815
09/10/2025, 6:08 PMNonCallableMagicMock instance:
• sip.twilio.callSid
• sip.hostname
• sip.callStatus
• sip.phoneNumber
• sip.trunkPhoneNumber
• participant.identityrefined-appointment-81829
09/10/2025, 7:37 PMinbound agent (through console)?proud-lawyer-39815
09/10/2025, 7:37 PMconsole command, instead of start or dev, for example.refined-appointment-81829
09/10/2025, 7:38 PMconsole. It does not actually connect to LiveKit when using console.refined-appointment-81829
09/10/2025, 7:38 PMproud-lawyer-39815
09/10/2025, 7:39 PMproud-lawyer-39815
09/10/2025, 7:41 PMproud-lawyer-39815
09/10/2025, 7:42 PMrefined-appointment-81829
09/10/2025, 7:43 PMproud-lawyer-39815
09/10/2025, 7:43 PM