Closed. This question does not meet
Stack Overflow guidelines。它当前不接受答案。
想改善这个问题吗?更新问题,以使
为
on-topic。
2年前关闭。
Improve this question
我有一个带星号服务器(版本1.8.10.1)的Polycom Soundstation Duo设置。我可以接收和拨打来自连接到该服务器的Polycom设备的电话。现在,我正在寻找一种在星号服务器上启用高清语音的方法。在Polycom设备上,我想启用高清语音功能,因为高清语音徽标印在它们上。
在研究如何在星号服务器上启用高清语音时,我发现必须在sip.conf中输入allow = g722,但在sip.conf中发现了以下块:
[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设备上进行任何配置才能启用高清语音吗?
配置SIP对等方的编解码器
Asterisk启动时,它将加载该系统上已安装的所有编解码器模块。通常,这是大量的编解码器,其中有许多可能并非所有设备都支持。 Asterisk假定对等方可以支持Asterisk加载并知道的任何编解码器-您必须告诉它对等方可以支持什么,不支持什么。您可以采取两种方法来执行此操作:您可以明确禁止对等方不支持的编解码器,或者可以禁止所有编解码器(通过指定“ disallow = all”),然后一次允许一个编解码器。因为开始时Asterisk加载的编解码器可能会更改(例如,如果您购买了g.729的许可证),则建议的做法是禁止所有编解码器,然后重新添加编解码器。
举例来说,我们希望SIP对等体A具有ulaw,g729和g722编解码器。我们希望编解码器首选项为g722,然后为g729,然后为ulaw。在这种情况下,我们的配置如下所示:
[A]
disallow=all
allow=g722
allow=g729
allow=ulaw
指定宽带音频编解码器
当设备声明其支持HDVoice时,表示它可以支持某些
wideband音频编解码器。其中有很多-其中许多是专门为VOIP使用而开发的(或仍在开发中的)。对于物理硬电话,通常,支持的宽带编解码器是g722。
如果要宽带音频(通常是HDVoice所指),则需要做两件事:
确定物理设备可以实际支持的编解码器,并将其配置为使用该编解码器。
使用相同的编解码器列表配置Asterisk。首选编解码器应该是允许列表中的第一个编解码器,并且应该是宽带音频编解码器(如果您希望Asterisk和设备尝试使用该编解码器)
请注意,您还希望包括其他编解码器(例如ulaw / alaw,g729(如果您具有许可证)等),以防您的对等方最终通话的设备不支持宽带音频。例如,如果Polycom拨出到PSTN,并且您不允许使用ulaw,则Asterisk将被迫在Polycom和DAHDI通道之间对音频进行转码,这是比较昂贵的操作,如果Polycom最终通过协商ulaw或一条法律。此外,有时您不希望使用宽带音频-例如,如果网络繁忙,则压缩性能良好的编解码器将成为更多问题。如果您知道所有设备都将支持宽带音频,并且您的网络具有足够的带宽,则不必担心。
要回答您的其他问题:
是的,g723和g279是不同的编解码器。请参见
g723和
g729。请注意,g729编解码器不是开源的,必须获得许可。不需要代码转换(传递)的操作不需要任何许可。
您可以使用任何宽带音频编解码器。 g729和g723.1不是宽带音频编解码器。 g722是。星号支持其他也可以宽带的编解码器,包括speex和Silk。
不,因为它们都不是宽带编解码器。
是的,需要对其进行配置以协商g722或其他一些宽带音频编解码器。
我是一名优秀的程序员,十分优秀!