Asterisk 13.14 PJSIP Codec negotiation Problem (with diagram explain)

The answer about restricting the codecs (no) was given on the forum less than a week ago.

Note that, it is possible to set channel variables to constrain the codecs offered to the B side and accepted from the A side, as long as you do so before calling the B side or answering the A side. Again details were posted less than a week ago.

Your latest image gives “500 Origin Not Reachable”!