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:
Anthony Minessale
2009-10-08 18:09:06 +00:00
parent 5b6d1cd33c
commit 539bccffe1
4 changed files with 30 additions and 10 deletions

View File

@@ -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