Well, the only difference is that one is executing an API and the other executes a dialplan application. AFAIK they should operate in a similar fashion. The only difference I see is that you have supplied an argument in your API call ("${recfile}") but not in your exec_after_bridge call.<br>
<br>-MC<br><br><div class="gmail_quote">On Sun, Oct 17, 2010 at 3:33 PM, Jeroen C. van Gelderen <span dir="ltr"><<a href="mailto:slim@thegreek.com">slim@thegreek.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi,<br>
<br>
My helpdesk extensions are recorded. When the recording is complete (after<br>
bridge) I want to run a script to create a ticket and attach said recording<br>
to it.<br>
<br>
Initially I tried to use<br>
<br>
[...]<br>
Dialplan: FreeTDM/3:1/ Action set(exec_after_bridge_app=system)<br>
Dialplan: FreeTDM/3:1/ Action<br>
set(exec_after_bridge_arg=/root/wav2ticket.php) <br></blockquote><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
[...]<br>
<br>
but this doesn't result in an invocation of my script and seemingly no<br>
helpful diagnostic messages.<br>
<br>
I changed to using<br>
<br>
<action application="set"<br>
data="api_after_bridge=system /root/wav2ticket.php ${recfile}"/><br>
<br>
which DOES work.<br>
<br>
Can anyone clarify the difference between the two approaches?<br>
<br>
Cheers,<br>
-Slim<br>
--<br>
Jeroen C. "Slim" van Gelderen<br>
Olympic Sports Data Services<br>
Email: <a href="mailto:slim@thegreek.com">slim@thegreek.com</a><br>
Phone: +1 876 953 6182 x128<br>
<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>
</blockquote></div><br>