You are far better off playing a prompt saying "Press one if you in North America" and them timing out by calling the 911 centre.
As I'm sure you know, IPs are not physical and thus aren't restricted to a geographical region. An IP-to-country lookup can work many times, but not in a critical system like this. -Michael -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ben Price Sent: Thursday, May 19, 2005 7:48 PM To: Commercial and Business-Oriented Asterisk Discussion Subject: [Asterisk-biz] IP to Location for 911 Support Here is my situation: I have a 911 provider that will provide me with basic 911 service for all of North America (Note: I am a Canadian provider and am not required (yet) to provide e911). Here is what I need: I need a way to determine based on the IP connecting to my asterisk server for a clients account # if they are in North America or not. I will give an example below. This will determine what to do when 911 is dialed. Example: Caller 1: Dials 911 while in Canada - IP is checked if in North America (True) - call gets routed to my 911 call centre. Caller 2: Dials 911 from China (or anywhere outside of North America) - IP is checked if in North America (False) - a wav file is played directing the caller to find the nearest available land line, etc. Does anyone know a way to add this to my dial plan? Thanks, Ben Price FWD: 641915 _______________________________________________ Asterisk-Biz mailing list [email protected] http://lists.digium.com/mailman/listinfo/asterisk-biz _______________________________________________ Asterisk-Biz mailing list [email protected] http://lists.digium.com/mailman/listinfo/asterisk-biz
