<div>So it sounds like &quot;set&quot; can work. But you&#39;d still have to parse it. And even then it&#39;s not recommended.</div>
<div> </div>
<div>I have another couple of possible methods for you:</div>
<div>1) modification of mod_conference.</div>
<div>2) event socket.</div>
<div> </div>
<div>If you modify mod_conference, you can probably do what you want, but it obviously requires using C and modifying existing code.</div>
<div> </div>
<div>If you use the event socket, you&#39;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.<br>

</div>
<div>Good luck with whatever you end up doing.</div>
<div> </div>
<div>BB<br></div>
<div class="gmail_quote">On Thu, Aug 13, 2009 at 12:11 AM, Alan Chandler <span dir="ltr">&lt;<a href="mailto:alan@chandlerfamily.org.uk">alan@chandlerfamily.org.uk</a>&gt;</span> wrote:<br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">Bradley Brashier wrote:<br>
<div class="im"> &gt;  I wrote:<br>&gt;  &gt;This is a significant new fact for me.  What you seem to be doing is<br>&gt;  &gt;calling the commands referenced in the conference api here<br>&gt;  &gt;<br>&gt;  &gt;<a href="http://wiki.freeswitch.org/wiki/Mod_conference#API_Reference" target="_blank">http://wiki.freeswitch.org/wiki/Mod_conference#API_Reference</a><br>

&gt;  &gt;<br>&gt;  &gt;by using application=&quot;conference&quot; and then the data string as the second<br>&gt;  &gt;part of the command.  Am I correct in the assumption that you can do this.<br>&gt;<br>&gt; I agree that that&#39;s what it looks like. What I don&#39;t know is if it<br>

&gt; works. I got this example from the page<br>&gt; <a href="http://wiki.freeswitch.org/wiki/Conferencing_and_Intercom" target="_blank">http://wiki.freeswitch.org/wiki/Conferencing_and_Intercom</a>. I never did<br>&gt; exactly what you&#39;re trying, and never tried using the API in this fashion.<br>

<br></div>I just found this - which I think helps<br><br><a href="http://wiki.freeswitch.org/wiki/Mod_commands#From_the_Dialplan" target="_blank">http://wiki.freeswitch.org/wiki/Mod_commands#From_the_Dialplan</a><br><br>
An API can be called from the dialplan but it is not recommended. Example:<br>
<br> &lt;extension name=&quot;Make API call from Dialplan&quot;&gt;<br>   &lt;condition field=&quot;destination_number&quot; expression=&quot;^(999)$&quot;&gt;<br>     &lt;!-- next line calls hupall, so be careful! --&gt;<br>

     &lt;action application=&quot;set&quot;<br>data=&quot;api_result=${hupall(normal_clearing)}&quot;/&gt;<br>   &lt;/condition&gt;<br> &lt;/extension&gt;<br><br>Anyway - thanks for you help - I am going away to rethink that<br>

particular interface again.  Its getting so complicated that it might be<br>better to copy the Javascript approach in the examples.<br><font color="#888888"><br><br><br>--<br></font>
<div>
<div></div>
<div class="h5">Alan Chandler<br><a href="http://www.chandlerfamily.org.uk/" target="_blank">http://www.chandlerfamily.org.uk</a><br><br><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" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>

UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br><a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org</a><br>

</div></div></blockquote></div><br>