siprec icon indicating copy to clipboard operation
siprec copied to clipboard

siprec not working when using opus as voip codec

Open pbrufal-servitux opened this issue 10 months ago • 1 comments

siprec working fine when using pcma or pcmu as codec, but fails when using opus , the call is accepted but there is no recording.

cosa.txt

I attach an INVITE from client and OK from server

result in logs:

{"call_uuid":"JhSgZHQ8zZGjaprkwhrWExs8OauSpXQL_2","codec":"OPUS","error":"unsupported codec for PCM conversion: OPUS","level":"warning","message":"Failed to decode audio payload to PCM","payload_type":96,"timestamp":"2026-01-29T10:10:27.894499471+01:00"} {"call_uuid":"JhSgZHQ8zZGjaprkwhrWExs8OauSpXQL_1","codec":"OPUS","error":"unsupported codec for PCM conversion: OPUS","level":"warning","message":"Failed to decode audio payload to PCM","payload_type":96,"timestamp":"2026-01-29T10:10:27.912000699+01:00"} {"call_uuid":"JhSgZHQ8zZGjaprkwhrWExs8OauSpXQL_2","codec":"OPUS","error":"unsupported codec for PCM conversion: OPUS","level":"warning","message":"Failed to decode audio payload to PCM","payload_type":96,"timestamp":"2026-01-29T10:10:27.912836609+01:00"} ... ...

Thank you

pbrufal-servitux avatar Jan 29 '26 09:01 pbrufal-servitux

most of that has been implemented and has not been wired because I haven't tested it. I will do that and push that

loreste avatar Jan 30 '26 20:01 loreste