FreePBX 17 + Asterisk 20 - CFB, CFU Diversion header

Hi,

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?

Thanks!

How are you setting the Diversion header?

I am not :slight_smile:
Pretty default FreePBX17 setup is used

The Call Forward is set on extension by using the default feature codes:
*72 for always forward
*52 for no answer forward

Logs.
Always forward set on extension 4450. Working.
Asterisk logs: [2025-02-07 13:25:25] VERBOSE[3302264][C-0000000f] pbx.c: Executing [4450@from-i - Pastebin.com
SIP traces: https://pastebin.com/j1rpa3tb

No answer forward set on extension 4450. Not working.
Asterisk logs: [2025-02-07 13:23:37] VERBOSE[3302055][C-0000000c] pbx.c: Executing [4450@from-i - Pastebin.com
SIP traces: https://pastebin.com/6D8jcht3

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?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.