[Added ttag to getTrace from SIPThor Adrian Georgescu **20080329095356] hunk ./cdrlib_ser.phtml 2470 - if ($this->normalized) $found_print.='N'; + if ($this->normalized) $found_print.='N'; hunk ./cdrlib_ser.phtml 2475 - $accDS=$this->CDRS->sipTraceDataSource; - $callid_enc = urlencode($this->callId); - $fromtag_enc = urlencode($this->SipFromTag); + $trace_datasource = $this->CDRS->sipTraceDataSource; + $callid_enc = urlencode($this->callId); + $fromtag_enc = urlencode($this->SipFromTag); + $totag_enc = urlencode($this->SipToTag); hunk ./cdrlib_ser.phtml 2480 - $this->callIdPrint=" SipProxyServer', 'Trace', + $this->callIdPrint=" SipProxyServer', 'Trace', hunk ./cdrlib_ser.phtml 3039 - function getTraceFromThor($proxyIP,$callid,$fromtag) { + function getTraceFromThor($proxyIP,$callid,$fromtag,$totag) { hunk ./cdrlib_ser.phtml 3053 - $result = $this->soapclient->getTrace($proxyIP,$callid,$fromtag); + $result = $this->soapclient->getTrace($proxyIP,$callid,$fromtag,$totag); hunk ./cdrlib_ser.phtml 3156 - function getTrace ($callid,$fromtag,$proxyIP) { + function getTrace ($proxyIP,$callid,$fromtag,$totag) { hunk ./cdrlib_ser.phtml 3160 - $this->trace_array=$this->getTraceFromThor($proxyIP,$callid,$fromtag); + $this->trace_array=$this->getTraceFromThor($proxyIP,$callid,$fromtag,$totag); hunk ./cdrlib_ser.phtml 3180 - hunk ./cdrlib_ser.phtml 3249 - function show($callid,$fromtag,$proxyIP) { + function show($proxyIP,$callid,$fromtag,$totag) { hunk ./cdrlib_ser.phtml 3264 - $this->getTrace($callid,$fromtag,$proxyIP); + $this->getTrace($proxyIP,$callid,$fromtag,$totag); hunk ./sip-trace.phtml 42 +$proxyIP = $_REQUEST['proxyIP']; hunk ./sip-trace.phtml 45 -$proxyIP = $_REQUEST['proxyIP']; +$totag = $_REQUEST['totag']; hunk ./sip-trace.phtml 52 - $sipTrace->show($callid,$fromtag,$proxyIP); + $sipTrace->show($proxyIP,$callid,$fromtag,$totag);