Olle E. Johansson wrote:

Actually, we could solve Matthew's problem by checking the IP addresses
against the localnet setting and checking if both phones are on the same side. If both are within the localnet, we can reinvite. If both are on public side, we can reinvite. But if one is localnet and one is public, we could automagitically disable reinvite.

Yes, that is a start. As long as you are comparing the "perceived" addresses (which I know you would be, I'm just clarifying for others who are reading this thread), that will work, because it won't matter what private addresses the remote peers may be using behind their NATs.


It will still break in bizarre routing scenarios, but people who build those networks are used to dealing with stuff like that.

This should really be the default behaviour if canreinvite=yes and
localnet is set to something.

Agreed. _______________________________________________ Asterisk-Users mailing list [email protected] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to