I have been configuring a freepbx server with webrtc behind nat
i have a problem that when i dial from a webrtc client to a webrtc or dial from a sip to a webrtc client
not able to hear audio on one side
it’s caller can’t hear the callee
while the callee can hear the caller.
this is link to pjsip logs
one issue i see here is that in sdp
c
o
is pointing to internal ip
not sure how to change this
as ice candidates are correctly set internal ip → external ip
and when dialing to sip endpoint the
o
c
are configured with external ip while invite packet is sent
one thing to mention that calls from webrtc to sip work properly
but any call made to webrtc to webrtc endpoint there is always muting
the caller can’t here the callee always
I also have the issue the ssl error is showing up when ever user registers
[2024-12-12 13:36:20] ERROR[765830]: iostream.c:663 ast_iostream_start_tls: Problem setting up ssl connection: error:00000001:lib(0)::reason(1), Internal SSL error
[2024-12-12 13:36:20] ERROR[765830]: tcptls.c:179 handle_tcptls_connection: Unable to set up ssl connection with peer ‘149.88.23.116:33322’
[2024-12-12 13:36:20] ERROR[765830]: iostream.c:563 ast_iostream_close: SSL_shutdown() failed: error:00000001:lib(0)::reason(1), Internal SSL error
even though i have generated the certificate from let’s encrypt and had it configured on freepbx server
while the certificate is accepted on the browser