Hi,
I configured a g722 sip phone and created a simple Text2Speech application (synth uniMRCP plugin). The MRCP Server generates a LPCM/16000/1 output but I saw this message in asterisk (and all buffers are dropped)
Asked to transmit frame type slin16, while native formats is (g722) read/write = slin16/slin16
I don’t understand where is the incompatibility ? Any ideas ?
Thanks
Anthony
Do you have the g722 codec installed and loaded?
I think so, I have no issue to perform speech recognition with the same configuration (I receive PCM16/16000 on the speech engine)
The only strange thing I have before testing text2speech : I need to provide PCM16/8000 input
to Playback function
Note: I use Asterisk 16.15.0
I checked about the codec loading:
Loading codec_g722.so.
== Registered translator ‘g722tolin’ from codec g722 to slin, table cost, 960000, computational cost 519
== Registered translator ‘lintog722’ from codec slin to g722, table cost, 825000, computational cost 589
== Registered translator ‘g722tolin16’ from codec g722 to slin, table cost, 900000, computational cost 809
== Registered translator ‘lin16tog722’ from codec slin to g722, table cost, 600000, computational cost 1228