On May 21, 2005, at 5:51 PM, Michael Giagnocavo wrote:
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.
Agreed. I will say the MaxMind GeoIP system works wonderfully,
though. I embedded it into the SMTP server I wrote for work (in
C)... it looks up the country of the sending IP and adds a header.
The mail system processes millions of messages per hour and we
haven't had a single hiccup.
-Steve
-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
_______________________________________________
Asterisk-Biz mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-biz