<div>So it sounds like "set" can work. But you'd still have to parse it. And even then it'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'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"><<a href="mailto:alan@chandlerfamily.org.uk">alan@chandlerfamily.org.uk</a>></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"> > I wrote:<br>> >This is a significant new fact for me. What you seem to be doing is<br>> >calling the commands referenced in the conference api here<br>> ><br>> ><a href="http://wiki.freeswitch.org/wiki/Mod_conference#API_Reference" target="_blank">http://wiki.freeswitch.org/wiki/Mod_conference#API_Reference</a><br>
> ><br>> >by using application="conference" and then the data string as the second<br>> >part of the command. Am I correct in the assumption that you can do this.<br>><br>> I agree that that's what it looks like. What I don't know is if it<br>
> works. I got this example from the page<br>> <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>> exactly what you'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> <extension name="Make API call from Dialplan"><br> <condition field="destination_number" expression="^(999)$"><br> <!-- next line calls hupall, so be careful! --><br>
<action application="set"<br>data="api_result=${hupall(normal_clearing)}"/><br> </condition><br> </extension><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>