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

Freeswitch SVN trixter at freeswitch.org
Tue Dec 4 06:55:34 EST 2007


Author: trixter
Date: Tue Dec  4 06:55:33 2007
New Revision: 6488

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

Log:
doh!



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:55:33 2007
@@ -77,9 +77,15 @@
                 $this->_CDR[$this->currentTag][$this->_callflowcnt]['extension'][$key]=$value;
             }
             break;
+        case "originator":
+            if($this->_iscallflow) {
+                $this->currentTag = $name;
+            } else {
+                $this->_ElementName=$name;
+            }
+            break;
         case "caller_profile":
         case "times":
-        case "originator":
         case "originator_caller_profile":
             $this->currentTag = $name;
             break;



More information about the Freeswitch-svn mailing list