I put Asterisk on a digital ocean droplet so that it’s up 24x7. There looks to be a misconfiguration with regards to ip addresses?
What was the 404 “Not Found” unable to find below?
<— SIP read from UDP:<my.external.ip.address>:5060 —>
SIP/2.0 404 Not Found
To: sip:thufir@192.168.1.5:5062;tag=470632d69d55b230i0
From: “Anonymous” sip:anonymous@anonymous.invalid;tag=as285c7b45
Call-ID: 3c33e3ac0d9ed3030eb02d397089367a@<<droplet.floating.ip>>:5060
CSeq: 102 INVITE
Via: SIP/2.0/UDP <<droplet.floating.ip>>:5060;branch=z9hG4bK4fff4bef
Server: Linksys/SPA942-6.1.5(a)
Content-Length: 0
full sip trace:
While the peers all show as “ok”, they’re not:
dur*CLI>
dur*CLI> sip show peers
Name/username Host Dyn Forcerport ACL Port Status Description
TELNYX/TELNYX 192.76.120.10 5060 OK (77 ms)
demo_alice <my.external.ip> 5060 OK (46 ms)
demo_bob <my.external.ip> 5060 OK (47 ms)
hawat <my.external.ip> 5060 OK (45 ms)
piter/piter <my.external.ip> 5060 OK (69 ms)
thufir/thufir <my.external.ip> 5060 OK (51 ms)
6 sip peers [Monitored: 6 online, 0 offline Unmonitored: 0 online, 0 offline]
dur*CLI>
The invite:
INVITE sip:thufir@192.168.1.5:5062 SIP/2.0
should be to my external ip, should it not?