[Freeswitch-users] Confused about conferences

Bradley Brashier bjbrashier at gmail.com
Thu Aug 13 08:48:13 PDT 2009

So it sounds like "set" can work. But you'd still have to parse it. And even
then it's not recommended.

I have another couple of possible methods for you:
1) modification of mod_conference.
2) event socket.

If you modify mod_conference, you can probably do what you want, but it
obviously requires using C and modifying existing code.

If you use the event socket, you've got a bigger learning curve, perhaps,
but you can use a variety of languages, your code is separate (and therefore
easier to maintain), and you then know how the event socket works in case
you need to do something else later.
 Good luck with whatever you end up doing.

On Thu, Aug 13, 2009 at 12:11 AM, Alan Chandler
<alan at chandlerfamily.org.uk>wrote:

> Bradley Brashier wrote:
>  >  I wrote:
> >  >This is a significant new fact for me.  What you seem to be doing is
> >  >calling the commands referenced in the conference api here
> >  >
> >  >http://wiki.freeswitch.org/wiki/Mod_conference#API_Reference
> >  >
> >  >by using application="conference" and then the data string as the
> second
> >  >part of the command.  Am I correct in the assumption that you can do
> this.
> >
> > I agree that that's what it looks like. What I don't know is if it
> > works. I got this example from the page
> > http://wiki.freeswitch.org/wiki/Conferencing_and_Intercom. I never did
> > exactly what you're trying, and never tried using the API in this
> fashion.
> I just found this - which I think helps
> http://wiki.freeswitch.org/wiki/Mod_commands#From_the_Dialplan
> An API can be called from the dialplan but it is not recommended. Example:
>  <extension name="Make API call from Dialplan">
>    <condition field="destination_number" expression="^(999)$">
>      <!-- next line calls hupall, so be careful! -->
>      <action application="set"
> data="api_result=${hupall(normal_clearing)}"/>
>    </condition>
>  </extension>
> Anyway - thanks for you help - I am going away to rethink that
> particular interface again.  Its getting so complicated that it might be
> better to copy the Javascript approach in the examples.
> --
>  Alan Chandler
> http://www.chandlerfamily.org.uk
> _______________________________________________
> 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/20090813/6d6b7d8c/attachment-0002.html 

More information about the FreeSWITCH-users mailing list