论坛风格切换切换到宽版
  • 142阅读
  • 0回复

[分享]Elastix G729&G723 安裝 [复制链接]

上一主题 下一主题
离线yeshudi
 

只看楼主 倒序阅读 使用道具 楼主  发表于: 2017-11-29
Elastix 安裝好後,默認沒有729 723 語音編碼

呼出忙音時,請檢查語音編碼,下載時,請注意CPU型號及Asterisk版本
編碼下載地址:http://asterisk.hosting.lv/  



下載時,請注意CPU型號及Asterisk版本

查看Asterisk版本  asterisk –vvvvr



查看 CPU型號  more /proc/cpuinfo  或 cat/proc/cpuinfo | grep name | cut -f2 -d: | uniq -c

Binaries

1、choose codec binary appropriate for your Asterisk version and CPU type, use x86_64 for 64-bit mode
2、delete old codec_g72[39]*.so files (if any) from /usr/lib/asterisk/modules directory
3、copy new codec_g72[39]*.so files into /usr/lib/asterisk/modules directory
4、restart Asterisk                      /usr/lib64/asterisk/modules
5、check the codec is loaded with 'core show translation recalc 10' on Asterisk console
asterisk -vvvvr
6、G.723.1 send rate is configured in Asterisk codecs.conf file:
[g723]
; 6.3Kbps stream, default
sendrate=63
; 5.3Kbps
;sendrate=53
This option is for outgoing voice stream only. It does not affect incoming stream that should be decoded automatically whatever the bitrate is.
7、in sip.conf or/and iax.conf configure the codec(s) either globally or under respective peer, for example:
disallow=all
allow=g729
8、use "g723 debug" and "g729 debug" commands to print statistics about received frame sizes, can aid in debugging audio problems;
you need to bump Asterisk verbosity level to 3 (-vvv) to see the numbers
9、for detailed information about Asterisk configuration visit Asterisk Wiki
10、for information about astconv utility read the README
11、in case of problems read Notes and Troubleshooting
[sell=2,money][/sell]

评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
欢迎来到“Asterisk资源分享-互助学习社区”——-Asterisk工程师的家园
请记住我们的网址 www.Asterisk-help.com [这是默认签名,更换签名点这里<<]
快速回复
限100 字节
>> 支持Asterisk-help社区, 谢绝无意义字符回复
如果您提交过一次失败了,可以用”恢复数据”来恢复帖子内容
 
上一个 下一个