[Better colors for traces Adrian Georgescu **20061014142654] hunk ./cdrlib_ser.phtml 2475 - 'toolbar=0,status=0,menubar=0,scrollbars=1,resizable=1,width=850,height=500')\">$this->callId  "; + 'toolbar=0,status=0,menubar=0,scrollbars=1,resizable=1,width=1000,height=600')\">$this->callId  "; hunk ./cdrlib_ser.phtml 4150 -

CDRTool trace for SIP session $callid +

CDRTool trace for SIP session $callid

+ + + + + +
URL for this traceClick on the SIP message to see the trace +
hunk ./cdrlib_ser.phtml 4194 - foreach ($trace_array as $_trace) { - $i++; - - $method = $_trace['method']; - $status = $_trace['status']; - $timestamp = $_trace['timestamp']; - $direction = $_trace['direction']; - - if ($i==1) $begin_timestamp = $timestamp; - $timeline=$timestamp-$begin_timestamp; - - if ($i > 1) print "| "; - if ($timeline > 0 && $timeline != $timeline_prev) printf ("+%ss ",$timeline); - - if ($status) { - print "$status $direction"; - } else { - print "$method $direction"; - } - - $method_prev = $method; - $timeline_prev = $timeline; - } - hunk ./cdrlib_ser.phtml 4202 + hunk ./cdrlib_ser.phtml 4268 - $i/$rows  - $date + + "; + + if (!$_seen_timeline[$timeline]) { + printf ("%s+%ds ",$status_color,$timeline); + $_seen_timeline[$timeline]++; + } + + print " + + $status_color$i/$rows  + $status_color$date hunk ./cdrlib_ser.phtml 4312 - +