switch_event_create(&my_params, SWITCH_EVENT_REQUEST_PARAMS);
status =
deliver_vm(profile, ux, domain, path, 0, read_flags, my_params, pool, cid_name, cid_num, forwarded_by,
- SWITCH_TRUE, session ? switch_core_session_get_uuid(session) : NULL, NULL);
+ SWITCH_TRUE, session ? switch_core_session_get_uuid(session) : NULL, session);
switch_event_destroy(&my_params);
}
continue;
switch_event_create(&my_params, SWITCH_EVENT_REQUEST_PARAMS);
status = deliver_vm(profile, ut, domain, path, 0, read_flags,
my_params, pool, cid_name, cid_num, forwarded_by, SWITCH_TRUE,
- session ? switch_core_session_get_uuid(session) : NULL, NULL);
+ session ? switch_core_session_get_uuid(session) : NULL, session);
switch_event_destroy(&my_params);
}
}
switch_event_create(&my_params, SWITCH_EVENT_REQUEST_PARAMS);
status = deliver_vm(profile, ut, domain, path, 0, read_flags,
my_params, pool, cid_name, cid_num, forwarded_by, SWITCH_TRUE,
- session ? switch_core_session_get_uuid(session) : NULL, NULL);
+ session ? switch_core_session_get_uuid(session) : NULL, session);
switch_event_destroy(&my_params);
}
}
switch_event_create(&my_params, SWITCH_EVENT_REQUEST_PARAMS);
status = deliver_vm(profile, ut, domain, path, 0, read_flags,
my_params, pool, cid_name, cid_num, forwarded_by, SWITCH_TRUE,
- session ? switch_core_session_get_uuid(session) : NULL, NULL);
+ session ? switch_core_session_get_uuid(session) : NULL, session);
switch_event_destroy(&my_params);
} else {
status = SWITCH_STATUS_FALSE;