diff --git a/src/containers/internal/views/carriers/pcap.tsx b/src/containers/internal/views/carriers/pcap.tsx index 1b60f7d..1229f4f 100644 --- a/src/containers/internal/views/carriers/pcap.tsx +++ b/src/containers/internal/views/carriers/pcap.tsx @@ -24,6 +24,7 @@ export const PcapButton = ({ const [pcap, setPcap] = useState(); useEffect(() => { + if (!sipCallId) return; const p = accountSid ? getRecentCall(accountSid, sipCallId) : getServiceProviderRecentCall(serviceProviderSid, sipCallId);