MODAPP-287

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13897 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Brian West 2009-06-22 18:55:15 +00:00
parent 836f84100d
commit 1b14c58aea
1 changed files with 5 additions and 0 deletions

View File

@ -790,6 +790,11 @@ SWITCH_STANDARD_APP(fifo_function)
}
node_list[node_count++] = node;
}
if(switch_true(switch_channel_get_variable(channel, "fifo_destroy_after_use"))) {
node->ready = FIFO_DELAY_DESTROY;
}
switch_mutex_unlock(globals.mutex);
moh = switch_channel_get_variable(channel, "fifo_music");