在asterisk服务器和polycom soundstation上启用高清语音
我有一个polycom soundstation duo设置,带有星号服务器(版本1.8.10.1)。我可以从连接到该服务器的polycom设备接收和拨打电话。现在,我正在寻找一种在asterisk服务器上启用HD语音的方法。Polycom设备,我想我已经启用了高清语音,因为高清语音标志已经印在它们上面了 在查看如何在asterisk服务器上启用HD voice时,我发现我必须在sip.conf中输入allow=g722,但我在sip.conf中发现了以下块:在asterisk服务器和polycom soundstation上启用高清语音,asterisk,Asterisk,我有一个polycom soundstation duo设置,带有星号服务器(版本1.8.10.1)。我可以从连接到该服务器的polycom设备接收和拨打电话。现在,我正在寻找一种在asterisk服务器上启用HD语音的方法。Polycom设备,我想我已经启用了高清语音,因为高清语音标志已经印在它们上面了 在查看如何在asterisk服务器上启用HD voice时,我发现我必须在sip.conf中输入allow=g722,但我在sip.conf中发现了以下块: [my-codecs](!)
[my-codecs](!)
disallow=all
allow=ilbc
allow=g729
allow=gsm
allow=g723
allow=ulaw
接下来呢,
disallow=all ;need to disallow=all before we can use allow=
allow=ulaw ;Note; In user sections the order of codecs listed
;with allow= does NOT matter!
;allow=alaw
;allow=g723.1 ;Asterisk only supports g723.1 pass-thru!
;allow=g729 ;Pass-thru only unless g729 licence obtained
相关问题:
和g729
是完全不同的编解码器吗g723
- 我应该使用
来启用高清语音,还是将g722
、g723
和g723.1
用于g729
- 我是否应该取消第二个块中的
和allow=g723.1
注释以启用高清语音李>allow=g729
- 我是否需要在Polycom设备上进行任何配置以启用高清语音
[A]
disallow=all
allow=g722
allow=g729
allow=ulaw
指定宽带音频编解码器
当设备声明它支持HDVoice时,意味着它可以支持某些音频编解码器。其中有许多——其中许多已经开发(或仍在开发)专门用于VOIP使用。对于物理硬电话,通常支持的宽带编解码器是g722
如果您想要宽带音频(HDVoice通常指的是宽带音频),那么您需要做两件事:
在常规SIP部分,您可以设置允许的和阻止的编解码器。 (也可以为单个SIP对等方指定此设置) 这将强制alaw的用户 如果你写的是
disallow=all
allow=g729
allow=gsm
allow=alaw
SIP客户端/电话的首选编解码器顺序将选择允许列表中的第一个编解码器
如果您知道所有SIP客户端都支持g722,但不确定首选的编解码器顺序设置,则可以
disallow=all
allow=g722
当然,您必须确保您的Asterisk安装支持该编解码器
正在运行检查您支持的编解码器(以及可以转码的编解码器)的保险箱
asterisk-r-x“核心显示翻译”
输出类似于:
Translation times between formats (in microseconds) for one second of data
Source Format (Rows) Destination Format (Columns)
g723 gsm ulaw alaw g726aal2 adpcm slin lpc10 g729 speex ilbc g726 g722 siren7 siren14 slin16 g719 speex16 testlaw
g723 - - - - - - - - - - - - - - - - - - -
gsm - - 2 2 3001 2 1 2000 3000 - 9000 3001 1001 - - 1002 - - 2
ulaw - 1001 - 1 3001 2 1 2000 3000 - 9000 3001 1001 - - 1002 - - 2
alaw - 1001 1 - 3001 2 1 2000 3000 - 9000 3001 1001 - - 1002 - - 2
g726aal2 - 1999 1000 1000 - 1000 999 2998 3998 - 9998 3999 1999 - - 2000 - - 1000
adpcm - 1001 2 2 3001 - 1 2000 3000 - 9000 3001 1001 - - 1002 - - 2
slin - 1000 1 1 3000 1 - 1999 2999 - 8999 3000 1000 - - 1001 - - 1
lpc10 - 2000 1001 1001 4000 1001 1000 - 3999 - 9999 4000 2000 - - 2001 - - 1001
g729 - 3000 2001 2001 5000 2001 2000 3999 - - 10999 5000 3000 - - 3001 - - 2001
speex - - - - - - - - - - - - - - - - - - -
ilbc - 1999 1000 1000 3999 1000 999 2998 3998 - - 3999 1999 - - 2000 - - 1000
g726 - 2000 1001 1001 4000 1001 1000 2999 3999 - 9999 - 2000 - - 2001 - - 1001
g722 - 2000 1001 1001 4000 1001 1000 2999 3999 - 9999 4000 - - - 1 - - 1001
siren7 - - - - - - - - - - - - - - - - - - -
siren14 - - - - - - - - - - - - - - - - - - -
slin16 - 3000 2001 2001 5000 2001 2000 3999 4999 - 10999 5000 1000 - - - - - 2001
g719 - - - - - - - - - - - - - - - - - - -
speex16 - - - - - - - - - - - - - - - - - - -
testlaw - 1001 2 2 3001 2 1 2000 3000 - 9000 3001 1001 - - 1002 - - -
每秒数据的格式转换时间(以微秒为单位)
源格式(行)目标格式(列)
g723 gsm ulaw alaw g726aal2 adpcm slin lpc10 g729 speex ilbc g726 g722警报器14 slin16 g719 speex16测试法
g723------
gsm--2 2 3001 2 1 2000 3000-9000 3001 1001--1002--2
ulaw-1001-1301 2 1 2000 3000-9000 3001 1001--1002--2
alaw-10011-3001120003000-9000 30011001--1002--2
g726aal2-1999 1000 1000-1000 999 2998 3998-9998 3999 1999--2000--
Translation times between formats (in microseconds) for one second of data
Source Format (Rows) Destination Format (Columns)
g723 gsm ulaw alaw g726aal2 adpcm slin lpc10 g729 speex ilbc g726 g722 siren7 siren14 slin16 g719 speex16 testlaw
g723 - - - - - - - - - - - - - - - - - - -
gsm - - 2 2 3001 2 1 2000 3000 - 9000 3001 1001 - - 1002 - - 2
ulaw - 1001 - 1 3001 2 1 2000 3000 - 9000 3001 1001 - - 1002 - - 2
alaw - 1001 1 - 3001 2 1 2000 3000 - 9000 3001 1001 - - 1002 - - 2
g726aal2 - 1999 1000 1000 - 1000 999 2998 3998 - 9998 3999 1999 - - 2000 - - 1000
adpcm - 1001 2 2 3001 - 1 2000 3000 - 9000 3001 1001 - - 1002 - - 2
slin - 1000 1 1 3000 1 - 1999 2999 - 8999 3000 1000 - - 1001 - - 1
lpc10 - 2000 1001 1001 4000 1001 1000 - 3999 - 9999 4000 2000 - - 2001 - - 1001
g729 - 3000 2001 2001 5000 2001 2000 3999 - - 10999 5000 3000 - - 3001 - - 2001
speex - - - - - - - - - - - - - - - - - - -
ilbc - 1999 1000 1000 3999 1000 999 2998 3998 - - 3999 1999 - - 2000 - - 1000
g726 - 2000 1001 1001 4000 1001 1000 2999 3999 - 9999 - 2000 - - 2001 - - 1001
g722 - 2000 1001 1001 4000 1001 1000 2999 3999 - 9999 4000 - - - 1 - - 1001
siren7 - - - - - - - - - - - - - - - - - - -
siren14 - - - - - - - - - - - - - - - - - - -
slin16 - 3000 2001 2001 5000 2001 2000 3999 4999 - 10999 5000 1000 - - - - - 2001
g719 - - - - - - - - - - - - - - - - - - -
speex16 - - - - - - - - - - - - - - - - - - -
testlaw - 1001 2 2 3001 2 1 2000 3000 - 9000 3001 1001 - - 1002 - - -