I think you&#39;re correct to use ringback and ring_ready together. Set the ringback variable and then execute the ring_ready app and you should be golden.<br>-MC<br><br><div class="gmail_quote">On Tue, Sep 18, 2012 at 11:01 PM, Peter van Raamsdonk <span dir="ltr">&lt;<a href="mailto:peetzer@gmail.com" target="_blank">peetzer@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>Hi again <img style="MARGIN:0px 0.2ex;VERTICAL-ALIGN:middle" src="cid:330@goomoji.gmail" goomoji="330" height="12" width="12">,</div>

<div> </div>
<div>Simple question,</div>
<div> </div>
<div>In the dialplan there is a Local_Extension to handle calls.</div>
<div> </div>
<div>In this example, you have an action;</div>
<div> </div>
<div><b>&lt;action application=&quot;set&quot; data=&quot;ringback=${us-ring}&quot;/&gt;</b></div>
<div> </div>
<div>As api command (from ESL java outbound example) I put this like;</div>
<div> </div>
<div><font>
<p align="left">String result = doAction(</p></font><font color="#2a00ff"><font color="#2a00ff">&quot;global_getvar&quot;</font></font><font>, </font><font color="#2a00ff"><font color="#2a00ff">&quot;us-ring&quot;</font></font><font>);// using CLI (inbound), result  <font><b>%(2000,4000,440,480)</b> as defined in vars.xml</font>
<p align="left"></p>
<p align="left">SendMsg sendMsg = </p></font><b><font color="#7f0055"><font color="#7f0055">new</font></font></b><font> SendMsg();
<p align="left">sendMsg.addCallCommand(</p></font><font color="#2a00ff"><font color="#2a00ff">&quot;execute&quot;</font></font><font>);
<p align="left">sendMsg.addExecuteAppName(</p></font><font color="#2a00ff"><font color="#2a00ff">&quot;set&quot;</font></font><font>);
<p>sendMsg.addExecuteAppArg(</p></font><font color="#2a00ff"><font color="#2a00ff">&quot;ringback=&quot;</font></font><font> + result);</font>
<p><font>but I don&#39;t hear sound. I don&#39;t know if the string argument &quot;${us-string}&quot;, can be parsed directly.</font></p>
<p><font>I tried everything but no sound.</font></p>
<p><font>Only thing that I got working is by using &quot;execute&quot; and &quot;ring_ready&quot;</font></p>
<p><font>What I&#39;m doing wrong with ringback argument?</font></p>
<p><font>Kind regards,</font></p>
<p><font>Peter</font></p></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" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" 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" 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><br clear="all"><br>-- <br>Michael S Collins<br>Twitter: @mercutioviz<br><a href="http://www.FreeSWITCH.org" target="_blank">http://www.FreeSWITCH.org</a><br><a href="http://www.ClueCon.com" target="_blank">http://www.ClueCon.com</a><br>
<a href="http://www.OSTAG.org" target="_blank">http://www.OSTAG.org</a><br><br><br>