can';无法让我的sip客户端连接到asterisk

can';无法让我的sip客户端连接到asterisk,asterisk,Asterisk,大家好,我是asterisk的新手,我在Ubuntu11上运行它,我正在使用asterisk 1.8.3.2。我已经配置了我的sip和扩展配置,但我无法让我的android手机上的sip客户端工作,我一直没有得到匹配的对等错误 下面是我的配置 sip.conf [general] context=unauthenticated allowguest=no srvlookup=yes udpbindaddr=0.0.0.0 tcpenable=no [office-phone](!) type=

大家好,我是asterisk的新手,我在Ubuntu11上运行它,我正在使用asterisk 1.8.3.2。我已经配置了我的sip和扩展配置,但我无法让我的android手机上的sip客户端工作,我一直没有得到匹配的对等错误

下面是我的配置

sip.conf

[general]
context=unauthenticated
allowguest=no
srvlookup=yes
udpbindaddr=0.0.0.0
tcpenable=no

[office-phone](!)
type=friend
context=LocalSets
host=dynamic
nat=yes
secret=s3CuR#p@s5
dtmfmode=auto
disallow=all
allow=ulaw
allow=alaw

[0000FFFF0001](office-phone)
[0000FFFF0002](office-phone)
extensions.conf

[LocalSets]
exten => 5010,1,Dial(SIP/5010) 
exten => 5020,1,Dial(SIP/5020) 
我错过了什么? 我已经重新加载了这两个文件并重新启动了我的asterisk服务器


谢谢。

尝试从密码中删除“@”,这可能是一个解析故障

设置
nat=no
,因为如果Asterisk在nat后面运行,您必须更改配置

资料来源:


这可能是软电话设置中的问题,而不是星号中的问题


确保在手机设备上指定了正确的帐户设置和服务器设置。并确保linux中的端口未被阻止。

启用详细模式并让客户端连接到asterisk,这可能会让您更好地了解发生了什么。打开asterisk cli并写入核心集详细信息3