1
Yate bugs / Transcoding alaw to g729
« on: October 19, 2013, 09:15:24 AM »
Hi, I am using Yate 4.3 and I have problem with transcoding. I make it simple... I have a clean isntallation of Yate and very basic config.
Regfile.conf
[username]
[1000]
password=
format=alaw
[1001]
password=
format=g729
ysipchan.conf
[codecs]
alaw=enable
g729=enable
and after reading yate docs from http://docs.yate.ro/wiki/Transcoding , I added these two lines to regexroute:
regexroute.conf
[contexts]
.*=;oformats=$(transcode,,${formats})
[default]
${rtp_forward}^yes$^=;formats=${oformats}
But its not working... it makes call but both legs uses alaw codec or both g729, so yate doesnt perform transcoding. See attached log.
I tried a lot of things, searched in yate archive and also in this forum, but I am not able to force Yate to transcode and I really need it, becouse I need it for testig performance during transcoding with abacus test system. Any answer will be helpfull.
Thanks
Regfile.conf
[username]
[1000]
password=
format=alaw
[1001]
password=
format=g729
ysipchan.conf
[codecs]
alaw=enable
g729=enable
and after reading yate docs from http://docs.yate.ro/wiki/Transcoding , I added these two lines to regexroute:
regexroute.conf
[contexts]
.*=;oformats=$(transcode,,${formats})
[default]
${rtp_forward}^yes$^=;formats=${oformats}
But its not working... it makes call but both legs uses alaw codec or both g729, so yate doesnt perform transcoding. See attached log.
I tried a lot of things, searched in yate archive and also in this forum, but I am not able to force Yate to transcode and I really need it, becouse I need it for testig performance during transcoding with abacus test system. Any answer will be helpfull.
Thanks