[Freeswitch-users] Way to pass max-members from dialplan into conference?
Michael Jerris
mike at jerris.com
Tue Feb 9 15:03:43 PST 2010
We don 't have this right now where you can set a var, but you could add it with one line around line 5265, just set confierence->max_members there based on the result of switch_channel_get_variable. This would let you set max_members when you first create a conference. If you would like it to be re-set with any caller, you could do it later down.
Mike
On Feb 9, 2010, at 4:14 PM, Robert Hadley wrote:
> I have setting max-members=10 in conference.conf.xml working. However, is there are way to pass in the max-members=10 from the dialplan/default.xml to mod_conference? I tried using action application=”set” data=”max-members=10” but it didn’t work. Also tried action application=”export” data=”max-members=10” but it didn’t work either.
>
> From default.xml:
> <extension name="nb_conferences">
> <condition field="destination_number" expression="^(30\d{2})$">
> <action application="answer"/>
> <!-- tried set and export here to no avail -->
> <action application="conference" data="$1-${domain_name}@default"/>
>
> Thanks,
> Robert
> _______________________________________________
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100209/5f87f89a/attachment-0002.html
More information about the FreeSWITCH-users
mailing list