Hi:<div><br></div><div>I am using mod_java. And in my script I was able to achieve using:</div><div><br></div><div><font class="Apple-style-span" color="#3366FF">execute(&quot;sched_hangup&quot;, &quot;+300 alloted_timeout&quot;);</font></div>
<div><br></div><div>However, when I try to run sched_api in the same way, system log returns that it&#39;s an invalid application. I have also tried to trigger it with many conditional channel variable api calls , but non of them seemed to execute the api command (because I turned on the highest level of debugging and see no where the sched_api is being called. </div>
<div><br></div><div>The closest thing I got was by using &quot;api_after_bridge&quot; like the following, but it only launches when the bridge is teared down(which is not what I want). I originally thought after bridge means right after the 2 party is connected. All I want is to be able to play some message to leg A at certain time.</div>
<div><br></div><div><font class="Apple-style-span" color="#3366FF">setVariable(&quot;api_after_bridge&quot;, &quot;sched_api +10 none uuid_displace ${uuid} start /path/to/some.wav 20 mux&quot;);</font></div><div><font class="Apple-style-span" color="#3366FF"><br>
</font></div><div>I have been struggling with different combination for a week now.. Please shed some light if you know something. </div><div><br></div><div>Thanks,</div><div><br>-- <br>Henry Huang<br>UniC Solution - Communication Unified<br>
VoIP &amp; Open Source software Consultant<br>
</div>