>> Is there a function in Nettalk that can tell me if the incoming Request IP is from LAN or WAN or should I know the local network's subnet my self ?
I don't think there's a utility function for this, at the moment.
but you're on the right track.
To determine if it's LAN or WAN compare the FROM IP address to the Subnet Mask, and see if the IP is in the subnet.