[Freeswitch-users] enter only existing conferences in dialplan.

Anthony Minessale anthony.minessale at gmail.com
Tue Apr 3 19:06:24 MSD 2012


Try this:

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




On Tue, Apr 3, 2012 at 6:33 AM, Avi Marcus <avi at avimarcus.net> wrote:

> A lua script should be able to handle that easier than doing it in the
> dialplan.
> But yeah, a regex of an api call to a list sounds like it would work.
>
> Also - how does the FIRST person get in without this same safety mechanism
> kicking in?
> -Avi
>
>
> On Tue, Apr 3, 2012 at 1:49 PM, Stephen Dame <sdame at 207me.com> wrote:
>
>> I currently accept any “75xxx” numbers  and transfer to a conference with
>> pin with no problem, however currently if they mistype the number they end
>> up creating a new conference and sit there all by their self waiting.****
>>
>> ** **
>>
>> I want to setup dialpllan entry that only allows a user to join a
>> conference that already exists and is active.****
>>
>> ** **
>>
>> Have read thru the wiki, and the 2  FreeSWITCH books looking for examples
>> on how to do this without  creating database tables to store conference
>> state…****
>>
>> ** **
>>
>> In reading, looks like I can use ${} and get a “conference list” and with
>> regex patterns might be able to check for existence of valid conference ID
>> before joining them.****
>>
>> ** **
>>
>> Does anyone have a simple approach to do this?   ****
>>
>> ** **
>>
>> Thanks****
>>
>> Stephen****
>>
>> ** **
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>>
>> 
>> 
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://wiki.freeswitch.org
>> http://www.cluecon.com
>>
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
>>
>>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>


-- 
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
Twitter: http://twitter.com/FreeSWITCH_wire

AIM: anthm
MSN:anthony_minessale at hotmail.com
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org
googletalk:conf+888 at conference.freeswitch.org
pstn:+19193869900
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120403/85c6b497/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 145 bytes
Desc: not available
Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120403/85c6b497/attachment.gif 


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