<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Am 23.02.2012 18:07, schrieb Michael Collins:
    <blockquote
cite="mid:CAKzWOxV__Np4khOVN9D33rP=miJa5UxrUYcFm67ZRnUJU6ru0g@mail.gmail.com"
      type="cite">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
        moz-do-not-send="true" 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>
      &lt;action application="curl"<br>
      data="<a moz-do-not-send="true"
        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>
      /&gt;<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">&lt;<a moz-do-not-send="true"
            href="mailto:freeswitch@top-nachhilfe.de">freeswitch@top-nachhilfe.de</a>&gt;</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>
          &lt;action application="curl"<br>
          data="<a moz-do-not-send="true"
            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"/&gt;<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>
          &lt;action application="set"
          data="hurra=${curl_response_data}"/&gt;<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 moz-do-not-send="true"
            href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
          <a moz-do-not-send="true"
            href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
          <br>
          FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
          <a moz-do-not-send="true" href="http://www.cudatel.com"
            target="_blank">http://www.cudatel.com</a><br>
          <br>
          Official FreeSWITCH Sites<br>
          <a moz-do-not-send="true" href="http://www.freeswitch.org"
            target="_blank">http://www.freeswitch.org</a><br>
          <a moz-do-not-send="true" href="http://wiki.freeswitch.org"
            target="_blank">http://wiki.freeswitch.org</a><br>
          <a moz-do-not-send="true" href="http://www.cluecon.com"
            target="_blank">http://www.cluecon.com</a><br>
          <br>
          FreeSWITCH-users mailing list<br>
          <a moz-do-not-send="true"
            href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
          <a moz-do-not-send="true"
            href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
            target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
          UNSUBSCRIBE:<a moz-do-not-send="true"
            href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
            target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
          <a moz-do-not-send="true" href="http://www.freeswitch.org"
            target="_blank">http://www.freeswitch.org</a><br>
        </blockquote>
      </div>
      <br>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
<a class="moz-txt-link-abbreviated" href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a>

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
<a class="moz-txt-link-freetext" href="http://www.cudatel.com">http://www.cudatel.com</a>

Official FreeSWITCH Sites
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://wiki.freeswitch.org">http://wiki.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.cluecon.com">http://www.cluecon.com</a>

FreeSWITCH-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
</pre>
    </blockquote>
    I bought the book and started reading :-)<br>
    <br>
    Thank you for the answer !!!!<br>
  </body>
</html>