I’m a bit in the dark to understand why an IP phone that can authenticate with Asterisk over the Net is then listed as UNREACHABLE:
slast*CLI> sip show peers Name/username Host Dyn Nat ACL Port Status 203/203 82.237.x.y D N 46838 OK (180 ms) 201/201 82.244.x.y D N 5060 UNREACHABLE
FWIW, those two hosts are located in different networks, each set up to use STUN (ie. no ports open on the router) behind the exact same NAT router. 203 is an SJPhone softphone, while 201 is a GrandStream GXP-2000 phone.
I have a couple of questions:
What are the known reasons for a host being marked as UNREACHABLE? Opening UDP5060 and UDP5004-5005 didn’t help. I wonder if it’s not some problem with negotiating options like codecs, etc.
Can TCPDump help to investigate SIP-related issues? Otherwise, is there another text-mode tool that I should use (I’m running the Slast live CD, which doesn’t have X)?