popamatic nullage

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7951 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris 2008-03-24 16:22:33 +00:00
parent 1e21db8022
commit 656e2c1957
1 changed files with 3 additions and 0 deletions

View File

@ -388,6 +388,8 @@ SWITCH_STANDARD_APP(fifo_function)
while(switch_channel_ready(channel)) {
int x = 0 ;
pop = NULL;
if (moh) {
args.read_frame_callback = read_frame_callback;
args.user_data = node;
@ -423,6 +425,7 @@ SWITCH_STANDARD_APP(fifo_function)
}
uuid = (char *) pop;
pop = NULL;
if ((other_session = switch_core_session_locate(uuid))) {
switch_channel_t *other_channel = switch_core_session_get_channel(other_session);