Re: [asterisk-users] Hangup-handler on failed calls

2020-02-26 Thread Joel Serrano
Found a workaround... In case anyone else runs into something similar: Setting congestion=yes in cdr.conf changes the writing behavior, and instead of having one CDR with disposition=FAILED, I have all the CDRs with disposition=CONGESTION, and as I can link them together with the linkedid or the

[asterisk-users] Hangup-handler on failed calls

2020-02-25 Thread Joel Serrano
Hello, I have a setup with asterisk 16.8.0, I'm facing a problem where calls that fail (CONGESTION) don't have filled in some extra fields we add to the CDRs in the database. We use cdr_adaptive_odbc with MySQL as backend. To simplify the scenario: [sub-hanguphandler] exten =>