Directmedia=yes is not working since upgrade to Asterisk 13

As you re using the same codec and no options on the dial command, I readed a thread about the same issue and it was solved by setting directmedia option directly on peer section instead of the [general] section, Also I dont think it is related with the RTP but it also mentioned changing type to peer instead of friend