一直尝试,web呼叫xlite终端没有,主要是配置问题:

其中sip.conf配置如下:

[general]
context=public                  ; Default context for incoming calls. Defaults to 'default'
encryption=yes
avpf=yes
force_avp=yes
icesupport=yes
nat=force_rport,comedia
[1003]
host = dynamic
encryption=yes
avpf=yes
secret=1234 
type=friend
context=mytest
avpf=yes
force_avp=yes
icesupport=yes
nat=force_rport,comedia
directmedia=no 
dtlsenable=yes
dtlsverify=no 
dtlssetup=actpass

其他部分的配置基本按照网上说的来就可以了。

当前的问题是从web呼叫xlite,信令是通的,电话也能接起来,但是没有语音。

并且,从xlite呼叫web失败。

posted on 2014-11-18 20:57  ~小二黑~  阅读(3328)  评论(1编辑  收藏  举报