I have a collection of extensions set up as conferences, each of which have one channel from verto and one to an Asterisk server. I would like each conference to close shortly after the verto user hangs up.
I tried to make it work by setting each extension in my dialplan to have entries like this:
<action application="conference_set_auto_outcall" data="[conference_member_flags=endconf]sofia/gateway/asterisk/${as_ext}"/>
<action application="conference" data="${destination_number}@myconference+flags{endconf}"/>
In particular, I added "+flags{endconf}" to the verto channel, and only the verto channel, so that its hangup would be treated as a trigger to close the conference.
Also, in the "myconference" profile, I try to make the closing of the conference happen 5 seconds after the verto user hangs up:
<param name="endconf-grace-time" value="5"/>
But when I make test calls, there's no evidence that the conference ends even a minute after my hangup. In particular, the Asterisk channel remains active (when I check "core show channels" in its commandline interface). I can't make another call to any of my extensions, unless I kill the conference via Asterisk.
Is there anything else I need to configure in FreeSwitch?
Cheers,
David