Hello all.
I use asterisk 13.30 and chan_sip.
I am using get_data in php agi script for playing the file and collect digit.
$agi->get_data(“/var/lib/asterisk/sounds/voice”, 3000, 1);
All legs use alaw codec only. When this file played from agi script asterisk was transcoded it in the slin codec and then transcoded in alaw. I have converted this wav file to alaw and ulaw codecs, but the file is still played in the slin codec.
transcode_via_sln is set to no in asterisk.conf.
disallow=all allow=alaw allow=ulaw in sip.conf
Transcoding heavily loads the CPU.
When I try to play this file from dialplan directly, it plays correctly in alow codec.
How to disable this slin transcoding?