Everything worked perfectly on chansip. I moved to PJSIP and I can’t hear audio on any of my calls. NAT was nat=force_rport,comedia for extensions 200 and 300 and nat=no for 100. It worked well and I used the python script to convert sip.conf to pjsip.conf.
If I enable direct media, I’m able to hear one-way.
PJSIP config:
I commented it because webrtc=yes makes it yes anyway.
I tried uncommenting it, no luck.
No audio but calls are placed without any errors.
I moved to PJSIP because my WebRTC peer wouldn’t qualify and always be unreachable in SIP, but in PJSIP, it is reachable although no audio
UPDATE: I turned off direct_media(of 200) and and now I can hear one side audio on WebRTC(100)-Softphone(200). Enabling direct_media of 200 and 300 also gives one side audio on 200-300 connection.