[Renamed files Adrian Georgescu **20080531214307] hunk ./library/cdr_openser_lib.phtml 2221 - $this->traceLink="SipProxyServer', 'Trace', + $this->traceLink="SipProxyServer', 'Trace', hunk ./library/cdr_openser_lib.phtml 2360 - $this->mediaTraceLink="SipProxyServer', 'Trace', + $this->mediaTraceLink="SipProxyServer', 'Trace', hunk ./library/cdr_openser_lib.phtml 3102 - $this->mediaTraceLink=sprintf("

mediaTraceLink=sprintf("

"CDRTool_Session", - "auth" => "CDRTool_Auth", - "perm" => "CDRTool_Perm") - ); - -$title=sprintf("SIP session %s",$callid); -include("header.phtml"); -$cdr_source = $_REQUEST['cdr_source']; - -if (in_array($cdr_source,$CDRTool['dataSourcesAllowed'])) { - - $proxyIP = $_REQUEST['proxyIP']; - $callid = $_REQUEST['callid']; - $fromtag = $_REQUEST['fromtag']; - $totag = $_REQUEST['totag']; - - require("library/cdr_lib.phtml"); - - $mediaTrace = new Media_trace($cdr_source); - $mediaTrace->show($proxyIP,$callid,$fromtag,$totag); - -} else { - printf ("Error: Invalid datasource '%s' for user '%s'" ,$cdr_source,$auth->auth["uname"]); -} - -print " - - -"; -page_close(); -?> rmfile ./media-trace.phtml addfile ./media_trace.phtml hunk ./media_trace.phtml 1 + "CDRTool_Session", + "auth" => "CDRTool_Auth", + "perm" => "CDRTool_Perm") + ); + +$title=sprintf("SIP session %s",$callid); +include("header.phtml"); +$cdr_source = $_REQUEST['cdr_source']; + +if (in_array($cdr_source,$CDRTool['dataSourcesAllowed'])) { + + $proxyIP = $_REQUEST['proxyIP']; + $callid = $_REQUEST['callid']; + $fromtag = $_REQUEST['fromtag']; + $totag = $_REQUEST['totag']; + + require("library/cdr_lib.phtml"); + + $mediaTrace = new Media_trace($cdr_source); + $mediaTrace->show($proxyIP,$callid,$fromtag,$totag); + +} else { + printf ("Error: Invalid datasource '%s' for user '%s'" ,$cdr_source,$auth->auth["uname"]); +} + +print " + + +"; +page_close(); +?> hunk ./sip-trace.phtml 1 -query($query)) { - if ($db->num_rows()) { - $authorize=0; - } else { - $authorize=1; - } - } else { - $authorize=1; - } -} else { - $authorize=1; -} - -if ($authorize==1) { - page_open(array( - "sess" => "CDRTool_Session", - "auth" => "CDRTool_Auth", - "perm" => "CDRTool_Perm") - ); - -} else { - unset($auth); - unset($sess); - unset($perm); -} - -$proxyIP = $_REQUEST['proxyIP']; -$callid = $_REQUEST['callid']; -$fromtag = $_REQUEST['fromtag']; -$totag = $_REQUEST['totag']; -$cdr_source = $_REQUEST['cdr_source']; - -$title=sprintf("SIP session %s",$callid); - -include("header.phtml"); -require("library/cdr_lib.phtml"); - -if (!$authorize || in_array($cdr_source,$CDRTool['dataSourcesAllowed'])) { - - $sipTrace = new SIP_trace($cdr_source); - $sipTrace->show($proxyIP,$callid,$fromtag,$totag); - -} else { - printf ("Error: Invalid datasource '%s' for user '%s'" ,$cdr_source,$auth->auth["uname"]); -} - -print " - - -"; -if ($authorize=1) { - page_close(); -} -?> rmfile ./sip-trace.phtml addfile ./sip_trace.phtml hunk ./sip_trace.phtml 1 +query($query)) { + if ($db->num_rows()) { + $authorize=0; + } else { + $authorize=1; + } + } else { + $authorize=1; + } +} else { + $authorize=1; +} + +if ($authorize==1) { + page_open(array( + "sess" => "CDRTool_Session", + "auth" => "CDRTool_Auth", + "perm" => "CDRTool_Perm") + ); + +} else { + unset($auth); + unset($sess); + unset($perm); +} + +$proxyIP = $_REQUEST['proxyIP']; +$callid = $_REQUEST['callid']; +$fromtag = $_REQUEST['fromtag']; +$totag = $_REQUEST['totag']; +$cdr_source = $_REQUEST['cdr_source']; + +$title=sprintf("SIP session %s",$callid); + +include("header.phtml"); +require("library/cdr_lib.phtml"); + +if (!$authorize || in_array($cdr_source,$CDRTool['dataSourcesAllowed'])) { + + $sipTrace = new SIP_trace($cdr_source); + $sipTrace->show($proxyIP,$callid,$fromtag,$totag); + +} else { + printf ("Error: Invalid datasource '%s' for user '%s'" ,$cdr_source,$auth->auth["uname"]); +} + +print " + + +"; +if ($authorize=1) { + page_close(); +} +?>