Would greatly appreciate any input into this currently-unanswered question on the forum:
Jonathan H wrote:
It is likely that the IP address that traffic is coming from differs from the IP address resolved by res_pjsip_endpoint_identifier_ip. Currently that module is dumb and just does an A record lookup, it does not do any SRV or NAPTR lookup (which sip2sip likely uses). As a result when the INVITE comes in it does not identify it. You will need to determine the possible IP addresses and create your own identify section to match on them as the correct endpoint (I don’t use wizards so don’t know how to configure it with them).
The current IP addresses possible being the following:
proxy.sipthor.net. 60 IN A 22.214.171.124
proxy.sipthor.net. 60 IN A 126.96.36.199
proxy.sipthor.net. 60 IN A 188.8.131.52
Gaaaah! 15 minutes after reading your answer, I had it working perfectly!
Before I type it up, here’s what works for me – can you see any obvious flaws or hidden dangers here?