<div dir="ltr">The first thing you might do is verify that both of these call legs are going into the same conference. Run the script, let the call legs get answered, then from fs_cli run:<div>conference list</div><div><br></div><div>I suspect that you will have each user in his own conference. Check and see if you have a conference named &quot;9099&quot;. If you do then change the target of the originate from &quot;&amp;conference(9099)&quot; to just &quot;9099&quot;. The former calls the conference app directly while the latter sends the call through the dialplan, which is probably what you were trying to do.</div><div><br></div><div>-MSC</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Apr 19, 2016 at 4:55 AM, Deepika Yadav <span dir="ltr">&lt;<a href="mailto:deepikay@iiitd.ac.in" target="_blank">deepikay@iiitd.ac.in</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi All,<div><br></div><div>I want to set up a conference initiated from a python esl script.</div><div>My Dialplans are:</div><div><br></div><div><div>&lt;extension name=&quot;conf_demo&quot;&gt;</div><div>&lt;condition field=&quot;destination_number&quot; expression=&quot;^9099$&quot;&gt;</div><div>&lt;action application=&quot;conference&quot; data=&quot;radioHealth_${strftime(%Y-%m-%d)}+flags{endconf}&quot;/&gt;</div><div>&lt;/condition&gt;</div><div><br></div><div>&lt;extension name=&quot;conf_demo&quot;&gt;</div><div>&lt;condition field=&quot;destination_number&quot; expression=&quot;^9098$&quot;&gt;</div><div>&lt;action application=&quot;conference&quot; data=&quot;radioHealth_${strftime(%Y-%m-%d)}+flags{mute}&quot;/&gt;</div><div>&lt;/condition&gt;</div></div><div><br></div><div>Python script snippets:</div><div><br></div><div>Calling the first person in unmute mode :</div><div><br></div><div>freeswitchcon =  ESL.ESLconnection(&#39;127.0.0.2&#39;, &#39;8021&#39;, &#39;ClueCon&#39;)<br></div><div><br></div><div><div>freeswitchcon.api(&quot;originate&quot;,&quot;sofia/gateway/MySIP/91XXXXXXXXXX+&quot; &amp;conference(9099)&quot;</div></div><div><br></div><div>Calling the second persion</div><div><br></div><div><div>freeswitchcon.api(&quot;originate&quot;,&quot;sofia/gateway/MySIP/91XXXXXXXXXX+&quot; &amp;conference(radioHealth_${strftime(%Y-%m-%d)}+flags{mute})&quot;</div><div><br></div></div><div>Two outbound calls are created but these are not bridged, I can&#39;t hear the voice of first person </div><div><br></div><div>I tried bridge flags</div><div><br></div><div><div><div>&lt;extension name=&quot;conf_demo&quot;&gt;</div><div>&lt;condition field=&quot;destination_number&quot; expression=&quot;^9098$&quot;&gt;</div><div>&lt;action application=&quot;conference&quot; data=&quot;<font color="#ff0000">bridge</font>:radioHealth_${strftime(%Y-%m-%d)}+flags{mute}&quot;/&gt;</div><div>&lt;/condition&gt;</div></div></div><div><br></div><div> not sure if it is the correct way.</div><div><br></div><div>I also tried calling from SIP internal account :</div><div><br></div><div>freeswitchcon.api(&quot;originate&quot;,&quot;sofia/internal/1004@X&gt;X.X.X.X:5080 4446&quot;)<br></div><div><br></div><div>where 4446 transfers a call to the conference dialplan and called other members from the script to add them in the conference</div><div><br></div><div>but in this case, I get logs as:</div><div><br></div><div>switch_channel.c:1055 New Channel loopback/app=voicemail:default X.X.X.X 1004-<br></div><div><br></div><div> loopback/app=voicemail:default X.X.X.X 1004-a setup codec opus/<br></div><div><br></div><div>and conference is not setup</div><div><br></div><div>Any help would be appreciated</div><div><br></div><div>Regards,</div><div>Deepiak</div><div><br></div></div>
<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><br></blockquote></div><br></div>