mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-03-12 20:27:19 +00:00
small tweak to last commit
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5546 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
189802c555
commit
e11dc4c611
@ -187,7 +187,7 @@ static void *audio_bridge_thread(switch_thread_t * thread, void *obj)
|
||||
msg.from = __FILE__;
|
||||
switch_core_session_receive_message(session_a, &msg);
|
||||
|
||||
|
||||
if (switch_channel_get_state(chan_a) < CS_HANGUP) {
|
||||
if ((app_name = switch_channel_get_variable(chan_a, SWITCH_EXEC_AFTER_BRIDGE_APP_VARIABLE))) {
|
||||
switch_caller_extension_t *extension = NULL;
|
||||
if ((extension = switch_caller_extension_new(session_a, app_name, app_name)) == 0) {
|
||||
@ -205,6 +205,7 @@ static void *audio_bridge_thread(switch_thread_t * thread, void *obj)
|
||||
switch_channel_set_state(chan_a, CS_EXECUTE);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
end:
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user