You could use the ACL support and check_acl.

http://wiki.freeswitch.org/wiki/Acl#check_acl

which would probably scale slightly better since u can create an ACL list of all hosts u want to treat the same way and just do 1 check_acl condition.

-- W