If configured correctly, yes. You haven’t provided the configuration, or stated what actually happens when it doesn’t work, or provided logging so noone can help any further with that aspect.
Thank you for your swift response, i get the following error:
pp_dial.c:3381 dial_exec_full: Had to drop call because I couldn’t make PJSIP/100-00000004 compatible with PJSIP/200-00000005
That would mean each side is using different codecs, and there is no translation path between them. Likely one side is opus and the other isn’t, and you don’t have a codec_opus to transcode between the two. You could confirm this by removing opus from the allow list on both, or selecting codec_opus in menuselect when installing Asterisk.