[Freeswitch-users] Closing a conference from verto

David P davidswalkabout at gmail.com
Tue May 22 22:16:09 UTC 2018


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've been following this as a guide:
https://freeswitch.org/confluence/display/FREESWITCH/mod_conference I
believe my version of FS is recent.

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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20180522/e1bc5aad/attachment.html>


More information about the FreeSWITCH-users mailing list