Menu

#25 Trigger close state not working

trunk
open
Aex Aey
None
5
2024-03-21
2024-03-21
No

Hello Admin,
Can I ask how the close trigger is working? Because I tried trigger close to run another cmd, the debug log did not appear when the call ended.
I tried using trigger opens to convert the file but it said the pcap file doesn't exist or the call hasn't ended yet so I can't capture the entire call.
I use cmd:
pcapsipdump -Up -i eno1 -d /var/pcap/ -t close:sh:"/bin/bash /opt/pcap2wav -z /var/pcap/%Y%m%d/%H/%Y%m%d-%H%M%S-%f-%t-%i.pcap /opt/outputrecord/%Y%m%d/%H/%Y%m%d-%H%M%S-%f-%t-%i.wav" -v 7

Discussion


Log in to post a comment.