]> git.ipfire.org Git - thirdparty/freeswitch.git/commit
FS-10554: Refactor conference vid-res-id command, add 'force' option
authorChad Phillips <chad@apartmentlines.com>
Fri, 29 Sep 2017 10:15:12 +0000 (06:15 -0400)
committerChad Phillips <chad@apartmentlines.com>
Wed, 25 Jul 2018 19:24:30 +0000 (14:24 -0500)
commitcc084c9fb461a9180eeda0f428f0dbeac59db143
treeb6f3883e76147f8e1e04cfc4ea1ac11185d6023f
parent78aec0fe81336228f14c9870d099cea7aaaf4834
FS-10554: Refactor conference vid-res-id command, add 'force' option

The 'conference vid-res-id' sub command previously used the CONF_API_SUB_MEMBER_TARGET
command parsing strategy. The standard options exposed by that strategy didn't make
sense for this sub command, so it's now been switched to use the CONF_API_SUB_ARGS_SPLIT
command parsing strategy.

A third, optional 'force' argument has also been added. The default behavior of the
command is to toggle the user in and out of a reservation slot, use the force argument
to ensure the user is placed into the reservation slot provided.

The new signature of the sub command is:

  vid-res-id <member_id> <val>|clear [force]
src/mod/applications/mod_conference/conference_api.c
src/mod/applications/mod_conference/mod_conference.h