I think this might be a classic case of not understanding dialplan phases. Remember, the FreeSWITCH dialplan is parsed then executed, which is very different from how Asterisk does it. If you want to understand this subject in detail then I highly recommend chapters 5 and 8 of the FreeSWITCH book. (See <a href="http://freeswitch.org">freeswitch.org</a> for links to purchasing it.) <br>
<br>The short answer for you is to try using the inline="true" attribute:<br><br><action application="curl"<br>
data="<a href="http://www.mywebseite.de/freeswitch/call_in.php/?id=1234356788" target="_blank">http://www.mywebseite.de/freeswitch/call_in.php/?id=1234356788</a> json"<br>inline="true"<br>/><br><br>
See if that makes a difference and let us know.<br>-MC<br><br><div class="gmail_quote">On Wed, Feb 22, 2012 at 5:56 AM, freeswitchtest <span dir="ltr"><<a href="mailto:freeswitch@top-nachhilfe.de">freeswitch@top-nachhilfe.de</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>
I am new in freeswitch but have used asterisk for more than 4 years.<br>
<br>
So I have scripts in php which connect to our internal mysql database an<br>
for example show who is calling.<br>
<br>
I trie in freeswitch with curl:<br>
<br>
<action application="curl"<br>
data="<a href="http://www.mywebseite.de/freeswitch/call_in.php/?id=1234356788" target="_blank">http://www.mywebseite.de/freeswitch/call_in.php/?id=1234356788</a> json"/><br>
<br>
If I make it at the CLI I can see the correcct answer - the number of<br>
our customer<br>
<br>
But how can I read the correct answer in the freeswitch dialplan. I<br>
thought of something like:<br>
<br>
<action application="set" data="hurra=${curl_response_data}"/><br>
<br>
I tried in different ways but never got the number.<br>
<br>
Where I am wrong ?<br>
<br>
Thanks for your help<br>
<br>
<br>
<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>
</blockquote></div><br>