<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">You might be better off using Mod_event_socket and some lua. &nbsp;Check out mod_lua and mod_event_socket on the wiki.<div><br></div><div>/b</div><div><br><div><div>On Jul 23, 2008, at 4:13 AM, Boris Krivonog wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr">That was fast :) <br><br>I'm struggling with the FreeSwitch documentation available on the net and cannot tie all parts together to see the big picture for what I'm trying to achieve:<br><br>From an external application drive operations like:<br> * originate a call to a call leg<br>* feed dtmf to call leg<br>* collect dtmf from a call leg<br>* play an announcement to a call leg<br>* join two call legs into a call<br>* ...<br><br>And for all above mentioned actions I would like to be notified about status of action, i.e. when an action is completed and its status (successful, failed, ...).<br> I was playing with the XML-RPC, but seems that actions like uuid_send_dtmf and uuid_broadcast are asynchronous and therefore client is not able to detect its completition. Is there something I'm missing here? Is the XML-RPC approach suitable for what I'm trying to accieve?<br> <br>Thanks in advance,<br>&nbsp; Boris<br><br><br><div class="gmail_quote">On Tue, Jul 22, 2008 at 11:55 PM, Michael Jerris &lt;<a href="mailto:mike@jerris.com">mike@jerris.com</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> <div style="">uuid_send_dtmf&nbsp;&lt;uuid> &lt;dtmf_data><div><br></div><div>Could somone please wiki this, it seems to not be documented.</div><div><br></div><div>Mike</div><div><div></div><div class="Wj3C7c"><div><br> <div><div>On Jul 22, 2008, at 5:52 PM, Boris Krivonog wrote:</div><br><blockquote type="cite"><div dir="ltr">Thanks for pointing me into the right direction. I manager to create a call from Java app without any problems using XML-RPC. Btw., is there a way to generate dtmf digits to a call leg using XML-RPC?<br> <br> Thanks in advance,<br>&nbsp; Boris<br><br><div class="gmail_quote">On Tue, Jul 22, 2008 at 8:53 PM, Brian West &lt;<a href="mailto:brian@freeswitch.org" target="_blank">brian@freeswitch.org</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> One option is to use XML-RPC and originate a call.<br> <br> <a href="http://wiki.freeswitch.org/wiki/Freeswitch_XML-RPC" target="_blank">http://wiki.freeswitch.org/wiki/Freeswitch_XML-RPC</a><br> <br> You can issue an "api originate" from an XML-RPC request with ease.<br> <br> /b<br> <div><div></div><div><br> On Jul 22, 2008, at 1:14 PM, Boris Krivonog wrote:<br> <br> > Hi all!<br> ><br> > I'm new to FreeSwitch and have a newby question: what is the best/<br> > preferred way to create a new call from some external application?<br> ><br> > For example: I have an application A (i.e. stand alone Java<br> > application) which will invoke a RMI/web service or whatever service<br> > which should reside within FreeSwitch and will, when called, create<br> > a new call leg, play an audio message to this call leg, ...<br> ><br> > I'm currently browsing some samples on how to write a Java<br> > application that resides within FreeSwitch using mod_java. Is this<br> > the right way to do it? The problem is that I want to create a call<br> > leg from scratch and not to handle an incoming call and do something<br> > with it; all samples only process an incoming call...<br> ><br> > Thanks in advance,<br> > &nbsp;Boris<br> <br> </div></div>Brian West<br> <a href="mailto:sip%3Abrian@freeswitch.org" target="_blank">sip:brian@freeswitch.org</a><br> <br> <br> <br> <br> _______________________________________________<br> Freeswitch-users mailing list<br> <a href="mailto:Freeswitch-users@lists.freeswitch.org" target="_blank">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> </blockquote></div><br></div> _______________________________________________<br>Freeswitch-users mailing list<br><a href="mailto:Freeswitch-users@lists.freeswitch.org" target="_blank">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></blockquote></div><br></div></div></div></div><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> <br></blockquote></div><br></div> _______________________________________________<br>Freeswitch-users mailing list<br><a href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a><br>http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<br>UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<br>http://www.freeswitch.org<br></blockquote></div><br><div apple-content-edited="true"> <span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Brian West</div><div><a href="sip:brian@freeswitch.org">sip:brian@freeswitch.org</a></div><div><br></div></div></span><br class="Apple-interchange-newline"> </div><br></div></body></html>