[asterisk-users] Storing HANGUPCAUSE in CDR

Matthew Jordan mjordan at digium.com
Fri Oct 9 08:51:30 CDT 2015

On Fri, Oct 9, 2015 at 8:27 AM, Ross Beer <ross.beer at outlook.com> wrote:
> Hi Andrew,
> Unfortunately that has stopped working when using chan_pjsip and asterisk
> 13.
> The CDR is closed too early after a dial attempt. This is the expected
> behaviour for Asterisk 13, however you should be able to set the variable
> before the CDR is locked/committed and before another dial attempt.
> The hangup_handler should be the way to do this as it's run within the same
> dial command.
> I think I will need to raise an issue as this has only stopped working in
> Asterisk 13.
> Thank you for your feedback,
> Ross

I've responded to the thread on the -dev list, as this is something
related to the CDR overhaul that occurred in Asterisk 12.

As an FYI: this isn't specific to chan_pjsip. You'd get this behaviour
regardless of the channel driver you used.


More information about the asterisk-users mailing list