mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-12 04:27:06 +00:00
add park_state
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6771 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
3953014f24
commit
911db88a6e
8 files changed
+95
-8
No files matched your search
@@ -1494,6 +1494,13 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_generate_xml_cdr(switch_core_session_
|
||||
return SWITCH_STATUS_FALSE;
|
||||
}
|
||||
|
||||
SWITCH_DECLARE(void) switch_ivr_park_session(switch_core_session_t *session)
|
||||
{
|
||||
switch_channel_t *channel = switch_core_session_get_channel(session);
|
||||
switch_channel_set_state_flag(channel, CF_TRANSFER);
|
||||
switch_channel_set_state(channel, CS_PARK);
|
||||
}
|
||||
|
||||
SWITCH_DECLARE(void) switch_ivr_delay_echo(switch_core_session_t *session, uint32_t delay_ms)
|
||||
{
|
||||
stfu_instance_t *jb;
|
||||
|
||||
Reference in new issue
Block a user