Hi, everyone.
I have just started using asterisk 15 with FreePBX. How can I set a diversion header correctly with the redirecting function? I connect to the provider via PJSIP, and diversion headers contain only an address and a reason without counter, privacy and screen sections.
Also, in case of multiple diversions, counter should be incremented and previous diversions retained, but there is no counter and previous diversions are substituted by the current one.
I tried to set custom diversion header in a separate context and then use it in the dial application, but in case of multiple diversions it was overwritten with the last diversion header.