Is there a parameter in the manager.conf that I can use to have Asterisk output the duration of the call in the Hangup event when viewed over port 5038?
We have a handmade logging tool that uses port 5038 to get the details of calls and it works well but I want to easily add the call duration and I can’t see anything in the 5038 output that gives me that.
Here’s my manager.conf;
[general]
enabled = yes
port = 5038
bindaddr = 0.0.0.0
displayconnects=no ;only effects 1.6+
[cdrs]
writetimeout =
secret = cdrsonly321
deny=0.0.0.0/0.0.0.0
permit=10.1.39.47/255.255.255.0
read = call,cdr,log
write =system, call, log, verbose, command, agent, user, config, command,dtmf,reporting,cdr,dialplan,originate