Why I get "res_pjsip_header_funcs.c: This function requires a PJSIP channel"?

Are you having issues? These are harmless and you can ignore them.

There are places where FreePBX call flows examine SIP headers Since there are separate dialplan functions for each channel driver, both are run and one will throw the warning that you see.