[Freeswitch-users] mod_conference questions
italo at freeswitch.org
Fri Oct 30 15:14:41 MSK 2015
On Thu, Oct 29, 2015 at 10:58 PM, Dave Horton <dave at dchorton.com> wrote:
> I am trying to use mod_conference and have some questions (actually, a lot
> of questions — is there a forum/mailing list specifically devoted to
> conferencing? If so please let me know, that would be useful).
> I am using the (outbound) event socket, and I have two things that are
> puzzling me.
> The first is that when I send a ‘conference’ application request I get a
> CHANNEL_EXECUTE response from FSW but I never get a
> CHANNEL_EXECUTE_COMPLETE. The conference seems to be established fine, and
> I start getting conference::maintenance events, but I was expecting that I
> would get a CHANNEL_EXECUTE_COMPLETE event when the conference was
> established (or caller joined to existing conference). Is my expectation
> misplaced, or am I possibly doing something wrong?
You'll only get the CHANNEL_EXECUTE_COMPLETE once the conference
application finish running, that means when you exit the conference. For
example, if you Playback some audio to a channel, you'll get the
CHANNEL_EXECUTE and when the audio start playing and when it finishes
you'll get the CHANNEL_EXECUTE_COMPLETE.
> Secondly, I want the first call leg that I put into the conference to get
> all of the add-member (and other messages) from other call legs as they
> join and leave (this first leg I intend to use as a sort of “control leg”
> that will keep track of overall conference statistics and so forth). To do
> this, ater the first leg joins I issue this filter command:
> filter Conference-Unique-ID 5de34a49-4384-4ab4-9a26-4bb2a8610239
> and I get back a success response. However, when I then connect a second
> caller to the conference, that first leg does not get the ‘add-member’
> event (the _second_ leg does get this event). Am I doing something wrong?
> This was described here:
> and I am trying to follow that model but it is not working for me.
> Thanks in advance for any advice/direction/assistance.
Since you're using outbound socket you need to specify 'full' command when
placing the call to your socket, this keyword will give you permissions to
get global events and to execute all the api commands, example:
<action application="socket" data="127.0.0.1:8084 full"/>
You need to do some dialplan logic to see if this is the first call to join
the conference and place the 'full' in your data string.
For more info:
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> Official FreeSWITCH Sites
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
italo at freeswitch.org
-------------- next part --------------
An HTML attachment was scrubbed...
Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users