Merge pull request #922 in FS/freeswitch from ~WHENRY/freeswitch:feature/FS-9403-fifo_push_timestamp to master

* commit '1ba5f069478dccdb05d0eccddfd03a0075d1ba44':
  FS-9403 #resolve [add timestamp for when user was pushed into queue that lives with the channel]
This commit is contained in:
Mike Jerris 2016-08-04 10:59:31 -05:00
commit db61f4d52b
1 changed files with 1 additions and 0 deletions

View File

@ -2756,6 +2756,7 @@ SWITCH_STANDARD_APP(fifo_function)
switch_strftime_nocheck(date, &retsize, sizeof(date), "%Y-%m-%d %T", &tm);
switch_channel_set_variable(channel, "fifo_status", "WAITING");
switch_channel_set_variable(channel, "fifo_timestamp", date);
switch_channel_set_variable(channel, "fifo_push_timestamp", date);
switch_channel_set_variable(channel, "fifo_serviced_uuid", NULL);
switch_channel_set_app_flag_key(FIFO_APP_KEY, channel, FIFO_APP_BRIDGE_TAG);