[Freeswitch-users] detect if conference is active

Bote Man bote_radio at botecomm.com
Tue May 15 17:16:03 MSD 2012


Excellent! I will try that today.

 

Thanks!

 

Bote

 

 

From: Stephen Dame
Sent: Tuesday, 15 May, 2012 08:31



Bote,  I had asked the same question a few weeks ago,

 

If you have the latest freeswitch 

<condition field="${conference ${destination_number} list count}" expression="^\d+">

Will only allow some to join if conference exists.  It supports the conf xxxx list count in new versions of freeswitch.

 

I’m using an older version of freeswitch that doesn’t have that list count command yet so I use this, which also allows user to only join an existing conf if they know the number.

 

<extension name="phone conference">

<condition field="${conference ${confnum} list}" expression="/sofia/g" />

<condition field="destination_number" expression="^(SEND_TO_CONFERENCE)$">

<action application="conference" data="${confnum}@wideband"/>

</condition>

</extension>

 

Regards,

Stephen

 

From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Bote Man
Sent: Tuesday, May 15, 2012 2:14 AM
To: 'FreeSWITCH Users Help'
Subject: [Freeswitch-users] detect if conference is active

 

I have a situation where I am dialing a number of outbound calls using the conference module. This works for me.

 

BUT! If someone misses the call or just wants to join the existing outbound conference they can't just dial the extension that I have set up for it since I have coded logic in the dialplan to exclude the conference from dialing the originator--there's no sense in dialing the person who is initiating the conference after all. This is a small list of fixed, known extensions in a closed collection, nothing random.

 

So how could I detect if the conference room is already active so that I can just dump the late entry right into the room instead of falling through my initiator logic? I'm hoping it can all be done in the dialplan because I'm not proficient in the scripting and event socket approaches.

 

As a hacky workaround I could have the users dial a different extension to make it a standard inbound conference, but I want the switch to be smart enough to do the Right Thing when one extension number is dialed, either initiate the outbound group call or join the same existing conference room late.

 

Thanks!

 

 

Bote

 

http://www.botecomm.com/bote/radio – my hobby radio pages

http://www.trackstreamer.com <http://www.trackstreamer.com/>  – my streaming scanner feeds

 

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120515/5cc6b158/attachment.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list