我正在拨打 SIP 电话,xml 看起来像这样
<Response>
<Dial>
<Sip username="myusername" password="mypass">sip:myext@mydomain.com</Sip>
</Dial>
</Response>
当我查看我看到的 SIP 数据包时,在第二个 INVITE
From: "+1XXXXXXXXXX" <sip:+1XXXXXXXXXX@sip.twilio.com>;tag=78774647_6772d868_43fb2951-f4f9-4c80-8377-9bb50e9458ae
并且没有对 myusername 的引用......看起来 Twilio 只是没有发送它,而是使用来自我的服务器显然无法识别的呼叫者 ID。在星号方面,我只看到
[Oct 17 19:22:58] NOTICE[9150]: chan_sip.c:22614 handle_request_invite: Sending fake auth rejection for device "+1XXXXXXXXXX" <sip:+1XXXXXXXXXX@sip.twilio.com>;tag=78774647_6772d868_43fb2951-f4f9-4c80-8377-9bb50e9458ae
哪种有意义...在我的 sip.conf 中,我有
[myusername]
context = somecontext
type = user
secret = mypass
permit=107.21.222.153
permit=107.21.211.20
permit=107.21.231.147
permit=54.236.81.101
permit=54.236.96.128
permit=54.236.97.29
permit=54.236.97.135
permit=54.232.85.81
permit=54.232.85.82
permit=54.232.85.84
permit=54.232.85.85
permit=54.228.219.168
permit=54.228.233.229
permit=176.34.236.224
permit=176.34.236.247
permit=46.137.219.1
permit=46.137.219.3
permit=46.137.219.35
permit=46.137.219.135
permit=54.249.244.21
permit=54.249.244.24
permit=54.249.244.27
permit=54.249.244.28
我有点卡在这里......如果有人能给我一个提示,我会非常感激