<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
<head>
|
<link rel="stylesheet" type="text/css" href="css/default.css">
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
<title>Fraud Trace</title>
|
</head>
|
<body>
|
<div class="pageHeader">Fraud Trace</div>
|
<br /><br />
|
Welcome to the fraud trace website
|
|
<cfif IsDefined("url.msisdn")>
|
<cfset msisdn=#url.msisdn#>
|
<cfelse>
|
<cfset msisdn="27832221127">
|
</cfif>
|
|
|
|
<!--- Get the MSC and the IMSI for the MSISDN --->
|
<cfinvoke
|
component="fraudtrace.components.fraudtrace"
|
method="getMSCandImsi" returnvariable="getMSCandImsi">
|
<cfinvokeargument name="msisdn" value="#msisdn#"/>
|
</cfinvoke>
|
|
<!--- If found the MSC, try get the STATUS of the subscriber using the MSC and IMSI --->
|
<cfif getMSCandImsi.msc NEQ "">
|
<cfoutput>For MSISDN #msisdn#, IMSI is #getMSCandImsi.imsi#, MSC is #getMSCandImsi.msc#.<br /></cfoutput>
|
<cfinvoke
|
component="fraudtrace.components.fraudtrace"
|
method="getStatus" returnvariable="getStatus">
|
<cfinvokeargument name="imsi" value="#getMSCandImsi.imsi#"/>
|
<cfinvokeargument name="msc" value="#getMSCandImsi.msc#"/>
|
</cfinvoke>
|
<cfoutput>Status is #getStatus.status#, #getStatus.description#<br /></cfoutput>
|
|
<!--- If the STATUS is BUSY then can determine the subsciber's location --->
|
<cfif #getStatus.status# is "BUSY">
|
<cfinvoke
|
component="fraudtrace.components.fraudtrace"
|
method="getSiteId" returnvariable="getSiteId">
|
<cfinvokeargument name="imsi" value="#getMSCandImsi.imsi#"/>
|
<cfinvokeargument name="msc" value="#getMSCandImsi.msc#"/>
|
</cfinvoke>
|
<cfoutput>SiteID is orig=#getSiteId.originalSiteId#, cleaned=#getSiteId.siteId#, sector=#getSiteId.sector#<br /></cfoutput>
|
<cfoutput>SiteID is name=#getSiteId.siteName#, lat=#getSiteId.lat#, lon=#getSiteId.lon#<br /></cfoutput>
|
|
</cfif>
|
<cfelse>
|
Can't determine the MSC
|
</cfif>
|
|
</body>
|
</html>
|