mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-07-27 04:05:04 +00:00
Merge pull request #547 in FS/freeswitch from ~GIGGSEY/freeswitch:bugfix/FS-8311-leave-message-verbose-data-for-forwarded to master
* commit 'c50d87a09cd04043e1d9223bbcaf4a448fcc47e3': FS-8311 [mod_voicemail] Pass session to deliver_vm
This commit is contained in:
commit
0a987a2502
@ -3290,7 +3290,7 @@ static switch_status_t voicemail_inject(const char *data, switch_core_session_t
|
|||||||
switch_event_create(&my_params, SWITCH_EVENT_REQUEST_PARAMS);
|
switch_event_create(&my_params, SWITCH_EVENT_REQUEST_PARAMS);
|
||||||
status =
|
status =
|
||||||
deliver_vm(profile, ux, domain, path, 0, read_flags, my_params, pool, cid_name, cid_num, forwarded_by,
|
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);
|
switch_event_destroy(&my_params);
|
||||||
}
|
}
|
||||||
continue;
|
continue;
|
||||||
@ -3300,7 +3300,7 @@ static switch_status_t voicemail_inject(const char *data, switch_core_session_t
|
|||||||
switch_event_create(&my_params, SWITCH_EVENT_REQUEST_PARAMS);
|
switch_event_create(&my_params, SWITCH_EVENT_REQUEST_PARAMS);
|
||||||
status = deliver_vm(profile, ut, domain, path, 0, read_flags,
|
status = deliver_vm(profile, ut, domain, path, 0, read_flags,
|
||||||
my_params, pool, cid_name, cid_num, forwarded_by, SWITCH_TRUE,
|
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_destroy(&my_params);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -3324,7 +3324,7 @@ static switch_status_t voicemail_inject(const char *data, switch_core_session_t
|
|||||||
switch_event_create(&my_params, SWITCH_EVENT_REQUEST_PARAMS);
|
switch_event_create(&my_params, SWITCH_EVENT_REQUEST_PARAMS);
|
||||||
status = deliver_vm(profile, ut, domain, path, 0, read_flags,
|
status = deliver_vm(profile, ut, domain, path, 0, read_flags,
|
||||||
my_params, pool, cid_name, cid_num, forwarded_by, SWITCH_TRUE,
|
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_destroy(&my_params);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -3339,7 +3339,7 @@ static switch_status_t voicemail_inject(const char *data, switch_core_session_t
|
|||||||
switch_event_create(&my_params, SWITCH_EVENT_REQUEST_PARAMS);
|
switch_event_create(&my_params, SWITCH_EVENT_REQUEST_PARAMS);
|
||||||
status = deliver_vm(profile, ut, domain, path, 0, read_flags,
|
status = deliver_vm(profile, ut, domain, path, 0, read_flags,
|
||||||
my_params, pool, cid_name, cid_num, forwarded_by, SWITCH_TRUE,
|
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_destroy(&my_params);
|
||||||
} else {
|
} else {
|
||||||
status = SWITCH_STATUS_FALSE;
|
status = SWITCH_STATUS_FALSE;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user