It will always be a dynamic list of called numbers - no groups, no nothing. So every call should be treated differently... That's why I need to have it very dynamic. On Wed, Jan 6, 2016 at 4:17 PM, Bote Man <bote_radio@botecomm.com> wrote:
I can't comment on Lua code as I am a total Lua newbie.
But I'm fearful that you are trying to complicate this where it is not necessary. If your extensions are fixed or can be parsed from a list or table, just assign each destination number to a channel variable and reference each channel variable in the _outcall app line like this:
<action application="conference_set_auto_outcall" data="${destination1}"/> <action application="conference_set_auto_outcall" data="${destination2}"/> ...
More at:
https://freeswitch.org/confluence/display/FREESWITCH/mod_conference#mod_conf...
If it's a variable quantity of destinations each time then you'll have to script it, but if it's a fixed quantity of destinations with varying numbers you can just use the channel variable approach, or just hard-code a dialplan extension that matches one number or string and blasts the auto_outcall to all those numbers and joins them to the conference as they answer.
I'll be out of communications for a bit in transit, but if they are holding the weekly conference call today at 13:00 ET you might strike gold there after the formal presentation is over.
Success to you!
Bote
On Wed, Jan 6, 2016 at 10:08 AM, Michael Nielsen <mic.niel84@gmail.com> wrote:
I'll try the following:
Create a LUA script placed in the dialplan directory. Match any destination_number which contains ; (semi-colon). Create the madboss example and loop through the destination_number split between semi-colons for conference_set_auto_outcall.
Does this make sense?
On Wed, Jan 6, 2016 at 4:05 PM, Bote Man <bote_radio@botecomm.com> wrote:
That's what the outbound conference call does, it originates outbound legs to the specified endpoints and joins them to the specified conference. I use it all the time in a fixed group application. I imagine that with a curl lookup you could fill in the blanks to be called with a little scripting magic.
Bote
On Wed, Jan 6, 2016 at 9:40 AM, Michael Nielsen <mic.niel84@gmail.com> wrote:
My idea was, whenever dialing from my SIP client: 1001;1002;1003, all of them would be called at the same time - and all of them would join a mutual call.
On Wed, Jan 6, 2016 at 3:38 PM, Michael Nielsen <mic.niel84@gmail.com> wrote:
I see, so I somehow need to dynamically create my dialplan upon dialing.
On Wed, Jan 6, 2016 at 3:13 AM, Brian West <brian@freeswitch.org> wrote:
Or better yet, look at the madboss example in our vanilla config!
<!--This extension will start a conference and invite several people upon entering -->
<extension name="mad_boss">
<condition field="destination_number" expression="^0913$">
<!--These params effect the outcalls made once you join-->
<action application="set" data="conference_auto_outcall_caller_id_name=Mad Boss"/>
<action application="set" data= "conference_auto_outcall_caller_id_number=0911"/>
<action application="set" data= "conference_auto_outcall_timeout=60"/>
<action application="set" data= "conference_auto_outcall_flags=none"/>
<!--<action application="set" data="conference_auto_outcall_announce=say:You have been called into an emergency conference"/>-->
<!--Add as many of these as you need, These are the people you are going to call-->
<action application="conference_set_auto_outcall" data= "loopback/9664"/>
<action application="conference" data="madboss3@default"/>
</condition>
</extension>
On Tue, Jan 5, 2016 at 8:01 PM, Bote Man <bote_radio@botecomm.com> wrote:
> There exists an API command for the conference called "relate" which > can mute one conferee relative to another specified conferee. If you wish > to keep conferees separate this might help you, but it requires some > scripting to implement at call setup time. Perhaps I don't understand your > question fully? > > Bote > > > On Tue, Jan 5, 2016 at 7:35 AM, Michael Nielsen < > mic.niel84@gmail.com> wrote: > >> Hi, >> >> Many thanks for the link - I'l have a look at it. But it seems >> quite "difficult" to do. After browsing on the mod_conference, I found this >> example: >> <action application="conference" >> data="bridge:$1-${domain_name}@default:user/1000@${domain_name}"/> >> >> Doesn't that do something similar? >> >> On Tue, Jan 5, 2016 at 1:01 PM, Stanislav Sinyagin < >> ssinyagin@gmail.com> wrote: >> >>> of course you can, you just use mod_conference and some magic. >>> >>> Here's my script which does approximately what you described, but >>> its >>> main purpose is test automation. >>> >>> https://github.com/voxserv/freeswitch-helper-scripts/blob/master/esl/confere... >>> >>> >>> >>> >>> >>> >>> On Tue, Jan 5, 2016 at 11:43 AM, Michael Nielsen < >>> mic.niel84@gmail.com> wrote: >>> > Is it possible to dial multiple users at once, for initiating a >>> conference >>> > call - without the need for a conference room. >>> > >>> > And without having the client as "connection-point" for all the >>> parties >>> > involved, but having FreeSWITCH handling the merging of calls, >>> so the RTP >>> > stream for each client is similar to a 1-1 call for all parties. >>> > >>> > >>> _________________________________________________________________________ >>> > Professional FreeSWITCH Consulting Services: >>> > consulting@freeswitch.org >>> > http://www.freeswitchsolutions.com >>> > >>> > Official FreeSWITCH Sites >>> > http://www.freeswitch.org >>> > http://confluence.freeswitch.org >>> > http://www.cluecon.com >>> > >>> > FreeSWITCH-users mailing list >>> > FreeSWITCH-users@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@freeswitch.org >>> http://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Sites >>> http://www.freeswitch.org >>> http://confluence.freeswitch.org >>> http://www.cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users@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@freeswitch.org >> http://www.freeswitchsolutions.com >> >> Official FreeSWITCH Sites >> http://www.freeswitch.org >> http://confluence.freeswitch.org >> http://www.cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users@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@freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users@lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org >
--
*Brian West* brian@freeswitch.org
*Twitter: @FreeSWITCH , @briankwest* http://www.freeswitchbook.com http://www.freeswitchcookbook.com
Got Bugs? Report them here <https://freeswitch.org/jira>! | Reddit: /r/freeswitch <https://www.reddit.com/r/freeswitch>
*T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@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@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@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@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@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@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@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@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org