[Asterisk-Dev] Re: [Asterisk-Users] Asterisk and SIP phones

Jeff Clark h0tw1r3 at gmail.com
Thu Oct 7 14:59:52 MST 2004


On Fri, 8 Oct 2004 06:56:58 +0900, Benjamin on Asterisk Mailing Lists
<benjk.on.asterisk.ml at gmail.com> wrote:
> On Thu, 7 Oct 2004 17:49:56 -0400 (EDT), alex at pilosoft.com
> <alex at pilosoft.com> wrote:
> > Yeah, only it wouldn't be "correct" - You have no idea if 66.250.54.1 and
> > 66.250.54.9 are on the same subnet (in fact, they aren't), as you have no
> > idea what is the netmask in use.
> 
> Yes you do.
> 
> We are only talking about the scenario where the Asterisk server is on
> the LAN where the phones are. So the netmask will be the netmask of
> that NIC of the Asterisk server which is used to talk to the local SIP
> phones.
> 

Perhaps testing against the localnet variable is an option?
-Jeff



More information about the asterisk-dev mailing list