<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>http://wiki.integrics.com/index.php?action=history&amp;feed=atom&amp;title=Emergency_Address_Script_Example</id>
	<title>Emergency Address Script Example - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.integrics.com/index.php?action=history&amp;feed=atom&amp;title=Emergency_Address_Script_Example"/>
	<link rel="alternate" type="text/html" href="http://wiki.integrics.com/index.php?title=Emergency_Address_Script_Example&amp;action=history"/>
	<updated>2026-06-04T23:09:10Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.31.7</generator>
	<entry>
		<id>http://wiki.integrics.com/index.php?title=Emergency_Address_Script_Example&amp;diff=32&amp;oldid=prev</id>
		<title>Dcunningham: Created page with &quot;&lt;code&gt;&lt;pre&gt; #!/usr/bin/perl -w # # Sample of how to generate a Dash911 URL to update E911 addresses # This is sample code only, and should be modified to suit  use strict; use...&quot;</title>
		<link rel="alternate" type="text/html" href="http://wiki.integrics.com/index.php?title=Emergency_Address_Script_Example&amp;diff=32&amp;oldid=prev"/>
		<updated>2015-02-25T00:09:07Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt; #!/usr/bin/perl -w # # Sample of how to generate a Dash911 URL to update E911 addresses # This is sample code only, and should be modified to suit  use strict; use...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/usr/bin/perl -w&lt;br /&gt;
#&lt;br /&gt;
# Sample of how to generate a Dash911 URL to update E911 addresses&lt;br /&gt;
# This is sample code only, and should be modified to suit&lt;br /&gt;
&lt;br /&gt;
use strict;&lt;br /&gt;
use Digest::MD5;&lt;br /&gt;
use Digest::HMAC qw( hmac hmac_hex );&lt;br /&gt;
&lt;br /&gt;
our $company_id = 1234;&lt;br /&gt;
our $key = 'qwertyuiop';&lt;br /&gt;
our $url = 'https://e911update.telefinity.com/Default.aspx';&lt;br /&gt;
&lt;br /&gt;
my $number = $ARGV[0] || '';&lt;br /&gt;
$number or die &amp;quot;Syntax: $0 &amp;lt;number&amp;gt;\n&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
my ( $sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst ) = gmtime( time() );&lt;br /&gt;
my $date = sprintf( '%.4d%.2d%.2d%.2d%.2d', $year + 1900, $mon + 1, $mday, $hour, $min );&lt;br /&gt;
&lt;br /&gt;
my $hmac = Digest::HMAC-&amp;gt;new( $key, 'Digest::MD5' );&lt;br /&gt;
$hmac-&amp;gt;add( $number . $date );&lt;br /&gt;
my $auth = $hmac-&amp;gt;b64digest();&lt;br /&gt;
$auth =~ s/([^A-Za-z0-9])/sprintf(&amp;quot;%%%02X&amp;quot;, ord($1))/seg;&lt;br /&gt;
&lt;br /&gt;
printf( &amp;quot;%s?cid=%s&amp;amp;kn=0&amp;amp;tn=%s&amp;amp;date=%s&amp;amp;auth=%s%%3d%%3d\n&amp;quot;, $url, $company_id, $number, $date, $auth );&lt;br /&gt;
exit( 0 );&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;/div&gt;</summary>
		<author><name>Dcunningham</name></author>
		
	</entry>
</feed>