update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4291 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
a080949e8f
commit
3b09790ba6
|
@ -4965,7 +4965,8 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_generate_xml_cdr(switch_core_session_
|
|||
|
||||
if (caller_profile->caller_extension) {
|
||||
switch_caller_application_t *ap;
|
||||
|
||||
int app_off = 0;
|
||||
|
||||
if (!(x_caller_extension = switch_xml_add_child_d(x_callflow, "extension", cf_off++))) {
|
||||
goto error;
|
||||
}
|
||||
|
@ -4976,7 +4977,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_generate_xml_cdr(switch_core_session_
|
|||
}
|
||||
|
||||
for(ap = caller_profile->caller_extension->applications; ap; ap = ap->next) {
|
||||
if (!(x_application = switch_xml_add_child_d(x_callflow, "application", cf_off++))) {
|
||||
if (!(x_application = switch_xml_add_child_d(x_caller_extension, "application", app_off++))) {
|
||||
goto error;
|
||||
}
|
||||
switch_xml_set_attr_d(x_application, "app_name", ap->application_name);
|
||||
|
|
Loading…
Reference in New Issue