D
D
Dmitry Shitskov2016-04-19 18:47:42
Asterisk
Dmitry Shitskov, 2016-04-19 18:47:42

What is the cause of the "translate.c: "Sample size different 320 vs 160"" error?

Asterisk 13.8.1.
A call is made from a SIP phone using the G722 codec to a SIP phone using the alaw codec within the local network. The subscriber of the G722 cannot hear the other party.
DEBUG fails:

res_rtp_asterisk.c: Unsupported payload type received
translate.c: "Sample size different 320 vs 160"

At the same time, if you make a call back from alaw to G722, everything works.
2 solutions help: use the same codec on all devices, or disable bridge_native_rtp.
But I would like to understand what causes this error?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question