mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-13 17:38:59 +00:00
fix att xfer to an app
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15122 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
@@ -2244,6 +2244,20 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_set_user(switch_core_session_t *sessi
|
||||
return status;
|
||||
}
|
||||
|
||||
SWITCH_DECLARE(switch_bool_t) switch_ivr_uuid_exists(const char *uuid)
|
||||
{
|
||||
switch_bool_t exists = SWITCH_FALSE;
|
||||
switch_core_session_t *psession = NULL;
|
||||
|
||||
if ((psession = switch_core_session_locate(uuid))) {
|
||||
switch_core_session_rwunlock(psession);
|
||||
exists = 1;
|
||||
}
|
||||
|
||||
return exists;
|
||||
}
|
||||
|
||||
|
||||
/* For Emacs:
|
||||
* Local Variables:
|
||||
* mode:c
|
||||
|
Reference in New Issue
Block a user