Re: [Freeswitch-users] please help!!! how to set flag 'endconf' in bridging conference
I think most people don't understand my problem, let me just clarify: I want a way so only when either one of the first 2 members of the bridging conference leaves the conference, the conference will be terminated even if there are 2 or more members in it. i'm trying to set 'endconf' flag in a bridging conference using 'bridge:confname+flag{endconf}:user/10', so the first member entering the conference will invite user extension 10, but its giving me config error while running. I only want to use 'bridging conference' since i want at least 2 people in the conference to start with. On 7/1/2011 9:46 AM, Michael Collins wrote:
On Fri, Jul 1, 2011 at 9:45 AM, ran zhang <rzhang@gosilverplus.com <mailto:rzhang@gosilverplus.com>> wrote:
do u understand my problem with the bridging conference? pl suggest on what to do.
Honestly, no. But I want this discussion on the public mailing list so that we all can talk about it. -MC
On Fri, Jul 1, 2011 at 9:59 AM, ran zhang <rzhang@gosilverplus.com> wrote:
** I think most people don't understand my problem, let me just clarify:
I want a way so only when either one of the first 2 members of the bridging conference leaves the conference, the conference will be terminated even if there are 2 or more members in it.
The problem with using the endconf flag is that *all* members with that flag must leave before the conference is torn down. I don't believe that this feature is presently in FS but with a feature request and possibly a modest bounty it could possibly be added. Something like a flag named "endconfabsolute" that would end the conference no matter what. Now your other problem was trying to do a "bridging" conference and also set the endconf flag and you were getting errors. I was able to reproduce the symptoms you saw, but I have not investigated any further at this point. If anyone knows the trick to making the members added to a "bridging" conference also have the endconf flag set (or any flags for that matter) please let me know and we can get it documented. -MC
Michael Collins <msc@...> writes:
On Fri, Jul 1, 2011 at 9:59 AM, ran zhang <rzhang <at> gosilverplus.com> wrote:
I think most people don't understand my problem, let me just clarify:I want a way so only when either one of the first 2 members of the bridging conference leaves the conference,
the conference will be terminated even if there are 2 or more members in it.
The problem with using the endconf flag is that *all* members with that flag
must leave before the conference is torn down. I don't believe that this feature is presently in FS but with a feature request and possibly a modest bounty it could possibly be added. Something like a flag named "endconfabsolute" that would end the conference no matter what. Now your other problem was trying to do a "bridging" conference and also set the endconf flag and you were getting errors. I was able to reproduce the symptoms you saw, but I have not investigated any further at this point.If anyone knows the trick to making the members added to a "bridging" conference also have the endconf flag set (or any flags for that matter) please let me know and we can get it documented. -MC
The "endconf" flag can be set from the dialplan application call IE: <extension name="wb_conferences_participant"> <condition field="destination_number" expression="^(31\d{2})0$"> <action application="answer"/> <action application="conference" data="$1-${domain_name}@wideband"/> </condition> </extension> <extension name="wb_conferences_moderator"> <condition field="destination_number" expression="^(31\d{2})1$"> <action application="answer"/> <action application="conference" data="$1-${domain_name}@wideband+flags{moderator,endconf}"/> </condition> </extension> PS: Bottom posting is awful.
participants (3)
-
Chris Thompson
-
Michael Collins
-
ran zhang