星号返回488-此处在语音呼叫时不接受pjsip

问题描述 投票:0回答:1

我正在尝试使用星号用户拨打手机号码,以便它可以使用我的拨号方案中的Anveo拨打它。我注意到从linphone拨打电话时,我的星号服务器返回488 - Not Acceptable Here,所以我永远都不会到达使用拨号计划的地步。当我使用chan_sip模块时,这没有发生,但是我需要切换到pjsip才能使文本消息正常工作。

这里是SIP消息(由于显然是“垃圾邮件”,因此无法将其放在此处:https://pastebin.com/9rtmwwHw

我的pjsip.conf:

[simpletrans]
type=transport
protocol=udp
bind=0.0.0.0

[me1]
type = endpoint
context = house
message_context = house-msg
disallow = all
allow=alaw,ulaw
aors = me1
auth=me1
transport=simpletrans

[me1]
type = aor
max_contacts = 10

[me1]
type=auth
auth_type=userpass
password=xxxxxxxxxxxxxx
username=me1

[me1]
type=identify
endpoint=me1
match=192.168.10.3
match=192.168.10.2

[anveo]
type=registration
outbound_auth=anveo
server_uri=sip:sip.anveo.com
client_uri=sip:[email protected]:5010
contact_user=XXXXXXXXXX
endpoint=anveo
line=yes
transport=simpletrans
contact_user=XXXXXXXXXX

[anveo]
type=auth
auth_type=userpass
password=YYYYYYYYY
realm=anveo.com
username=XXXXXXXXXX

[anveo]
type=aor
contact=sip:sip.anveo.com
contact=sip:anveo.com
contact=sip:72.9.156.128
contact=sip:[email protected]:5010
contact=sip:[email protected]

[anveo]
type=endpoint
context=anveo
message_context=anveo-msg
disallow=all
allow=alaw,ulaw
outbound_auth=anveo
aors=anveo
identify_by=username,ip,auth_username

[anveo]
type=identify
endpoint=anveo
match=72.9.149.69
match=169.48.232.147
match=72.9.156.128

拨号计划:

[house]
exten => me1,1,NoOp(Reached dialplan!)
exten => _X.,1,NoOp(Calling ${EXTEN})
exten => _X.,n,Dial(PJSIP/${EXTEN}@anveo)

我已经阅读了类似的问题,但是大多数问题似乎都涉及chan_sip模块而不是pjsip,因此我不确定我的问题是什么。发生这种情况时,即使启用了详细信息,星号也不会记录任何有价值的内容。

asterisk sip
1个回答
0
投票

在大多数情况下,488个情况是不正确的编解码器/双方的编解码器都不相同。

© www.soinside.com 2019 - 2024. All rights reserved.