<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">I'm not sure exactly what you are
      asking, but the lua is actually using the API call anyway. 
      mod_curl also exposes APP calls (for use in the dialplans), so you
      also have that method.  Functionally and performance wise, there's
      really no difference between what method you choose to execute
      'curl' or 'curl_sendfile'.<br>
      <br>
      -Yossi<br>
      <br>
      On 02/11/2015 12:58 PM, Aqs Younas wrote:<br>
    </div>
    <blockquote
cite="mid:CAGVOjVVOLmVUw7LbmNcgEomYU1AGBxSS=5kz78AVt9TeDOnO=A@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div>Hi, users.<br>
          <br>
          I have ivr based lua script which uses mod_curl of freeswitch
          to get response from an API. Just curious which method is more
          preferable to get response from API mod_curl of freeswitch or
          lua on curl.?<br>
          <br>
        </div>
        <div>Thanks<br>
        </div>
      </div>
      <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>

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://confluence.freeswitch.org">http://confluence.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>
    <br>
  </body>
</html>