[Freeswitch-svn] [commit] r6487 - freeswitch/trunk/scripts/contrib/trixter/xml-cdr

Freeswitch SVN trixter at freeswitch.org
Tue Dec 4 06:46:53 EST 2007


Author: trixter
Date: Tue Dec  4 06:46:52 2007
New Revision: 6487

Modified:
   freeswitch/trunk/scripts/contrib/trixter/xml-cdr/Parse_XML_CDR.php

Log:
minor fix



Modified: freeswitch/trunk/scripts/contrib/trixter/xml-cdr/Parse_XML_CDR.php
==============================================================================
--- freeswitch/trunk/scripts/contrib/trixter/xml-cdr/Parse_XML_CDR.php	(original)
+++ freeswitch/trunk/scripts/contrib/trixter/xml-cdr/Parse_XML_CDR.php	Tue Dec  4 06:46:52 2007
@@ -79,6 +79,8 @@
             break;
         case "caller_profile":
         case "times":
+        case "originator":
+        case "originator_caller_profile":
             $this->currentTag = $name;
             break;
         default:
@@ -110,6 +112,15 @@
         case "app_log":
             return;
             break;
+        case "originator_caller_profile":
+            if(isset($data) && $this->_ElementName != "" &&
+               !isset($this->_CDR[$this->currentTag][$this->_ElementName])
+               ) {
+
+                $this->_CDR['callflow'][$this->_callflowcnt]['originator'][$this->currentTag][$this->_ElementName]=$data;
+            }
+            return;
+            break;
         case "caller_profile":
         case "times":
             if(isset($data) && $this->_ElementName != "" &&



More information about the Freeswitch-svn mailing list