I see something strange with CFB and CFU on FreePBX 17 + Asterisk 20.
In case of the CFB of CFU to an external phone number (calls are between internal extensions) I see a Diversion header being set ‘wrongly’ (without any valid phone number):
Diversion: <sip:2223@TRUNK_IP>;reason=no-answer
No Diversion header is being set in case of CF (call forward all).
Tested the same on FreePBX 15 + Asterisk 18, in all CF’s I do not see any Diversion being set.
Does anybody know what function from the dialplan is setting the Diversion header for CFB and CFU in case of external forwards (I do not see these from the call logs…)? Or have any other idea?
Not sure about freepbx 17, isn’t the diversion header normally enabled in advanced settings (along with a reboot/asterisk restart) and not enabled by default?