<div dir="ltr">Hi Dave,<div><br></div><div>Answers below...<br><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Oct 29, 2015 at 10:58 PM, Dave Horton <span dir="ltr"><<a href="mailto:dave@dchorton.com" target="_blank">dave@dchorton.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">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).<br>
<br>
I am using the (outbound) event socket, and I have two things that are puzzling me.<br>
<br>
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?<br></blockquote><div><br></div><div>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.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<br>
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:<br>
<br>
filter Conference-Unique-ID 5de34a49-4384-4ab4-9a26-4bb2a8610239<br>
<br>
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: <a href="https://freeswitch.org/confluence/display/FREESWITCH/mod_event_socket" rel="noreferrer" target="_blank">https://freeswitch.org/confluence/display/FREESWITCH/mod_event_socket</a>, and I am trying to follow that model but it is not working for me.<br>
<br>
Thanks in advance for any advice/direction/assistance.<br></blockquote><div><br></div><div>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:</div><div><br></div><div><action application="socket" data="<a href="http://127.0.0.1:8084">127.0.0.1:8084</a> full"/><br></div><div><br></div><div>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.</div><div><br></div><div>For more info: <a href="https://freeswitch.org/confluence/display/FREESWITCH/Event+Socket+Outbound#EventSocketOutbound-Keywords">https://freeswitch.org/confluence/display/FREESWITCH/Event+Socket+Outbound#EventSocketOutbound-Keywords</a></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<br>
Dave<br>
<br>
<br>
<br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr">Ítalo Rossi<div><a href="mailto:italo@freeswitch.org" target="_blank">italo@freeswitch.org</a></div></div></div>
</div></div></div>