Confbridge maximum duration

Hi I would like to set a maximum duration of a confbridge conference dynamically, meaning if the conference has two callers in it and a third joins I would like to set all callers in that conference to hangup after 10 mins but if a caller leaves set the remaining callers in the conference to 30 mins.

I guess the question is, is there a facility to set a maximum time length for all callers on a confbridge call and if so can it be reset later in the call when the callers are already in the conference?

Any ideas welcome

Thanks

Confbridge does not offer such a feature. To accomplish that, you’d have to build something outside of Asterisk, likely connected via AMI, that watches participants in the conference and requests hangups on their channels at your desired times.

I put a request into the development team to add a feature like the following:

same => n,Set(CONFBRIDGE(bridge,max_time)=
and or
same => n,Set(CONFBRIDGE(bridge,max_datetime)=

Perhaps add the following to provide a hangup message:
same => n,Set(CONFBRIDGE(bridge,hangup_warning)=
same => n,Set(CONFBRIDGE(bridge,hangup_message)=

But then I was thinking a lot of what I would like to see as a feature is already available in (TIMEOUT(absolute)

Thinking about the the use of same => n,Set(TIMEOUT(absolute)= perhaps
an update to this would be better to set a marker or group number to all
that have the same marker.

For example
same => n,Set(TIMEOUT(absolute)=time,warning,warning-message,group,

As usual the time denotes the time when the call will expire, warning is the
time before the warning message is played, warning message is the audio file
which will be played and group puts the caller into a group. This will allow
you to update the timeout absolute for all that are in the same group via
dial plan.

Couple this with the ability to execute dialplan externally would
work for all sorts of applications not just conferencing.