[quote=“jpsharp”]The biggest thing I see is this:
Your asterisk box is configured to use the Mikrotik router as its default gateway. Therefore packets will be going in and out through the Mikrotik box and be landing on the wrong interface & have the wrong source/destination IP. At this point, you having an external IP address on your Asterisk box is pretty pointless because it still going through NAT. Set your asterisk box to use the default gateway of your ISP rather than the Mikrotik router.
It is a good point. I use eth0 and eth2 with different gateway. I really dont know how to set that 2 NIC only using one gateway. Can you teach me how to do it?
The log snippet your provided doesn’t really show a problem. It shows part of the normal registration process that a device goes through (attempt register, get an “authentication required” message, attempt register again with authentication, get acknowledgement).
That means the log is nothing. So it is just a problem in my CentOS? Pls Advise
The last thing I see, and this may just be a typo on your part on the graphic, but it looks like the SIP device and Asterisk share the same 202.158.1.XXX network even though they’re separated by the Internet. If you’ve got duplicate network ranges across the network, this could account for your problem(s).
SIP Device means that softphone?
Actually my softphone is on different ISP (different IP too). My PC4 softphone is on 220.127.116.11 and my Asterisk is on 18.104.22.168
Hi jsharp, please find my answer in “bold” one. Thank You
Actually 22.214.171.124/28 is the network with broadcast 126.96.36.199 (using ip cheatsheet), and i use 188.8.131.52 for asterisk. And My softphone PC4 is from another ISP with ip 184.108.40.206
When i connect from another ip public in same network of Asterisk (220.127.116.11) using softphone, i can successfully connect to Asterisk.
No, i got 2 internet with different ISP.
Yes it is
So, you are facing same problem too?