We are running FreePBX 14+Asterisk 13 and I’m having one way audio issues when using PJSIP on endpoints but no issues when i use CHAN_SIP in the same endpoint.
We have a SIP Trunk (from Vivo, a brazilian PSTN and SIP Trunk provider) phisically connected (eth1 with a IP address assigned) registered via CHAN_SIP.
CHAN_SIP is responding at the 5060 port (for old local IP phones) and PJSIP is in the other port (for remote workers with softphones).
These tests where made from the softphone in my LAN, so there’s no firewall between my softphone and my PBX:
When i register my softphone using CHAN_SIP, i can make calls for internal extensions and i can use the SIP trunk for outbound calls without any problem.
When i register my softphone using PJSIP, i can make calls for other extensions but when i make a outbound call (using the SIP Trunk), i can’t get two way audio. I can’t hear the other person.
It’s not a codec issue since i can use my PJSIP softphone with OPUS to call another CHAN_SIP extension using G.711. I can call *43 (echo test) and i hear myself too.
I have no idea of what is causing this issue since CHAN_SIP is working well.