Terminate Call and CDR dst value

I noticed that app-blackhole and CDR don’t actually get along too well (for my purposes). Or maybe this is intentional but would like to know more about it.

I have ring groups and I set the “destination if no answer” to “Terminate Call” either hangup or busy. This calls app-blackhole without passing it the dst extension so when I look at the CDR I loose the dst field value which instead of being the ring group number is now either hangup or busy.

I’d like it to hangup but keep the dst to its original destination.

I setup a custom context as simple as:

exten => _X.,1,Macro(hangupcall)

In FreePBX I defined a custom destination like so:

So now my CDR reflects what I need in dst.

Is the default “Terminate Call” behavior intentional?