forked from Mirrors/freeswitch
add fifo_position var
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14806 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
452fc6fd7d
commit
6a43975e5d
@ -888,6 +888,8 @@ SWITCH_STANDARD_APP(fifo_function)
|
||||
}
|
||||
|
||||
switch_queue_push(node->fifo_list[p], (void *) strdup(uuid));
|
||||
switch_snprintf(tmp, sizeof(tmp), "%d", switch_queue_size(node->fifo_list[p]));
|
||||
switch_channel_set_variable(channel, "fifo_position", tmp);
|
||||
|
||||
if (!pri) {
|
||||
switch_snprintf(tmp, sizeof(tmp), "%d", p);
|
||||
|
Loading…
Reference in New Issue
Block a user