On Tue, 19 Dec 2017 18:22:47 +0000
Phil Reynolds <phil-deb...@tinsleyviaduct.com> wrote:
> If I set up Zoiper to use the FQDN of the Asterisk box, it connects
> just fine when I am not at home. However, when I am at home, it still
> uses the public IP address (192.0.2.51) of the Asterisk box, which,
> because it can see the phone directly, then responds using its own
> private address (192.168.0.4) - this causes Zoiper to fail to
> register. (it is clear from a tcpdump that this is happening)
> 
> At no point does the router get involved in the communication between
> the phone and the Asterisk box. To do so might make things easier, or
> could just add an unnecessary layer of complexity.
> 
> The answer to the problem could lie in several places:
> 
> - If I could persuade the Asterisk box to respond on its public
> address rather than its private one, that would probably work.

... and, by adding two bindaddrs to the iax.conf, I have made this
happen. It no longer listens on 192.168.0.4, and my Android phone now
registers with it even when I'm at home, with no fiddling with anything
else.

Obviously, if I ever did need IAX on the local IPv4, I would have to
reopen this, so by no means do I consider this a permanent solution.
However, at present I can work with it. If some other solution (other
than the pinnacle, IPv6-enabled Zoiper) can be found, that would be
even better.

-- 
Phil Reynolds
mail: phil-deb...@tinsleyviaduct.com
Web: http://phil.tinsleyviaduct.com/

Reply via email to