2017-04-12 85 views
0

我配置了带有流程的星号。注册成功,外拨电话连接,但我无法听到任何声音。我的配置如下通过带星号的flowroute呼叫不出声

sip.conf

[general] 
register => username:[email protected] 
allow=ulaw 

SIP的定制contexts.conf

[flowroute]      ; keep this lowercase, do not change format 
type=friend 
secret=username 
username=password 
host=sip.flowroute.com 
type=peer 
transport=udp 
port=5060 
dtmfmode=rfc2833 
context=to-pstn    ; change to 'ext-did' or 'from-trunk' for [email protected] 
canreinvite=no 
allow=ulaw 
;allow=g729      ;uncomment this line if you have G.729 licenses installed. 
insecure=port,invite 
fromdomain=sip.flowroute.com 
keepalive=yes 
qualify=no 
progressinband=yes 

rtp.conf

[general] 
rtpstart=10000 
rtpend=2000 

在这方面请指导

+0

此外,从您的帖子中删除您的SIP凭证并在供应商的门户中更改它们。任何人都可以使用它们... – lvl

回答

0
+0

如果有NAT问题,那么为什么要连接?音频问题如何与NAT相关? – bluewhale

+0

我添加了所需的NAT配置,但没有进展。星号调试日志显示如下:无法从写入工厂获得160个样本0x7fd93000c2c8 – bluewhale

+0

这是rtp问题。你还没有转发rtp端口或星号认为它在其他IP和广告该IP。 – arheops

0

我想建议伸手Flowroute对这个帮助支持。我希望从lvl获得第二个建议,以便为您自己的帐户安全性删除这些SIP凭据。

0

该问题通过更改编解码器来解决。改变

allow=ulaw 

allow=all 

电话后工作正常,用听得见的声音。