[ * Added link in the trace window to jump to a different SIP Proxy Adrian Georgescu **20071115162129] hunk ./cdrlib_ser.phtml 4223 + $this->cdr_source = $cdr_source; + hunk ./cdrlib_ser.phtml 4228 - if (strlen($DATASOURCES[$cdr_source]['enableThor'])) { - $this->enableThor = $DATASOURCES[$cdr_source]['enableThor']; + if (strlen($DATASOURCES[$this->cdr_source]['enableThor'])) { + $this->enableThor = $DATASOURCES[$this->cdr_source]['enableThor']; hunk ./cdrlib_ser.phtml 4235 - if ($DATASOURCES[$cdr_source]['soapEngineId'] && in_array($DATASOURCES[$cdr_source]['soapEngineId'],array_keys($soapEngines))) { - $this->soapEngineId=$DATASOURCES[$cdr_source]['soapEngineId']; + if ($DATASOURCES[$this->cdr_source]['soapEngineId'] && in_array($DATASOURCES[$this->cdr_source]['soapEngineId'],array_keys($soapEngines))) { + $this->soapEngineId=$DATASOURCES[$this->cdr_source]['soapEngineId']; hunk ./cdrlib_ser.phtml 4257 - print "Error: soapEngineID not defined in datasource $cdr_source"; + print "Error: soapEngineID not defined in datasource $this->cdr_source"; hunk ./cdrlib_ser.phtml 4262 - $this->table = $DATASOURCES[$cdr_source]['table']; - $db_class = $DATASOURCES[$cdr_source]['db_class']; - $this->purgeRecordsAfter = $DATASOURCES[$cdr_source]['purgeRecordsAfter']; + $this->table = $DATASOURCES[$this->cdr_source]['table']; + $db_class = $DATASOURCES[$this->cdr_source]['db_class']; + $this->purgeRecordsAfter = $DATASOURCES[$this->cdr_source]['purgeRecordsAfter']; hunk ./cdrlib_ser.phtml 4272 - if (is_array($DATASOURCES[$cdr_source]['SIPProxies'])) { - $this->SIPProxies=$DATASOURCES[$cdr_source]['SIPProxies']; + if (is_array($DATASOURCES[$this->cdr_source]['SIPProxies'])) { + $this->SIPProxies=$DATASOURCES[$this->cdr_source]['SIPProxies']; hunk ./cdrlib_ser.phtml 4553 - printf ("%s
%s
",$isProxy,$_key); + if ($this->enableThor && in_array($justIP,array_keys($this->SIPProxies)) && $proxyIP != $justIP) { + $trace_link=sprintf("%s Click to trace", + urlencode($this->cdr_source), + urlencode($callid), + urlencode($fromtag), + $justIP, + $justIP + ); + printf ("%s
%s
",$isProxy,$trace_link); + } else { + printf ("%s
%s
",$isProxy,$_key); + } hunk ./debian/changelog 12 + * Added link in the trace window to jump to a different SIP Proxy hunk ./debian/changelog 14 - -- Adrian Georgescu Wed, 07 Nov 2007 17:02:04 +0100 + -- Adrian Georgescu Thu, 15 Nov 2007 17:20:37 +0100