add new xml call detail function to the core and a way to use it from javascript

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4257 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale
2007-02-14 15:19:01 +00:00
parent b0901fe4ce
commit fdac4282b6
3 changed files with 242 additions and 0 deletions
+9
View File
@@ -52,6 +52,15 @@ SWITCH_BEGIN_EXTERN_C
*/
/*!
\brief Generate an XML CDR report.
\param session the session to get the data from.
\param xml_cdr pointer to the xml_record
\return SWITCH_STATUS_SUCCESS if successful
\note on success the xml object must be freed
*/
SWITCH_DECLARE(switch_status_t) switch_ivr_generate_xml_cdr(switch_core_session_t *session, switch_xml_t *xml_cdr);
/*!
\brief Parse command from an event
\param session the session to send the message to