by rahat651 » Wed Oct 21, 2020 11:53 am
I have found a way to deal with this. May not be the best approach as I am still looking into it but this will work for me to generate reports:
There is a file generated as part of the logs called
action_send.yyyy-mm-dd. The content of the file is something like this:
- Code: Select all
2020-10-19 8:26:43|1|5486|
Action: Hangup
Channel: SIP/DelTa9-00003ca5
2020-10-19 10:37:46|1|5487|
Action: Originate
Exten: 138331*4831*Y0191037370000005634*4062*
Context: default
Channel: Local/010*010*028*020*901131257896@default
Priority: 1
Callerid: RINGAGENT00000004831
Timeout: 29000
2020-10-19 10:37:59|1|5488|
Action: Redirect
Channel: SIP/DelTa9-00003ca9
Context: default
Exten: 8331*4831*Y0191037370000005634*4062*
Priority: 1
2020-10-19 10:43:02|1|5489|
Action: Originate
Channel: Local/55558600051@default
Context: default
Exten: 8300
Priority: 1
Callerid: ULGC0011019094302184
Parsing the file I get the number of calls were made and the number of calls were missed.
Vicibox 9.0.2
Vicidial 2.14-761a, Build 200708-1033
SVN 3265, DB Schema 1600
Asterisk 13.29.2-vici
mysql Ver 15.1 Distrib 10.2.32-MariaDB, for Linux (x86_64), No Extra Software
Virtual Machine, 16GB RAM, Duel Intel Xeon Processor (Skylake, IBRS) 2.0 Ghz