<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
documentation on how the number is stored:<br>
<a class="moz-txt-link-freetext" href="http://www.cisco.com/en/US/customer/products/sw/voicesw/ps556/products_programming_usage_guide09186a00806ed410.html#wp29039">http://www.cisco.com/en/US/customer/products/sw/voicesw/ps556/products_programming_usage_guide09186a00806ed410.html#wp29039</a><br>
<br>
<br>
i think this has octets out of order, but it's easy enuf to mod to your
needs:<br>
<br>
#!/usr/bin/perl<br>
<br>
my $raw = -1139627840;<br>
my @addr = unpack('C4', pack('i', $raw));<br>
<br>
my $ip = join('.', @addr);<br>
print $ip, "\n";<br>
<br>
/Wes<br>
<br>
<a class="moz-txt-link-abbreviated" href="mailto:CarlosOrtiz@bayviewfinancial.com">CarlosOrtiz@bayviewfinancial.com</a> wrote:
<blockquote
 cite="midOFF256D627.A725EE1C-ON8525732A.0046D683-8525732A.00471FF1@bftg.com"
 type="cite"><br>
  <font face="sans-serif" size="2">When viewing the DestIPAddr for a
call
in the CDR database of the calldetailrecord table a numeric number is
shown.
&nbsp;Anyone know how to convert this to IP address format?</font>
  <br>
  <br>
  <font face="sans-serif" size="2">Carlos</font>
  <pre wrap="">
<hr size="4" width="90%">
_______________________________________________
cisco-voip mailing list
<a class="moz-txt-link-abbreviated" href="mailto:cisco-voip@puck.nether.net">cisco-voip@puck.nether.net</a>
<a class="moz-txt-link-freetext" href="https://puck.nether.net/mailman/listinfo/cisco-voip">https://puck.nether.net/mailman/listinfo/cisco-voip</a>
  </pre>
</blockquote>
</body>
</html>