<div dir="auto">First of all - be carefull with file uploading from the dialplan, because it can block call handling while you did not get response.<div dir="auto"><br></div><div dir="auto">Secondly - you also can use some external lua httpclient binding via require and use it to get response statuses that you need.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Oct 6, 2017 10:00, "Bilal Abbasi" <<a href="mailto:bilaln018@gmail.com">bilaln018@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Anybody here that can please help me out?<div><br></div><div>Regards</div><div>Abbasi</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Oct 4, 2017 at 3:38 PM, Bilal Abbasi <span dir="ltr"><<a href="mailto:bilaln018@gmail.com" target="_blank">bilaln018@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Users,<div>I am using lua script to actually call the curl_sendfile, i am able to successfully POST the file on URL, but i am only curious to know the response variables to get the status.</div><div>Like i used curl previously and there are two variables that are auto set curl_response_data and curl_response_code, i am looking same in the curl_sendfile.</div><div>CAn anybody help me in this?</div><div><br></div><div>P.S: i did tried to send file using curl, but i am not aware that how to do that using the curl -F(--form) option, i can upload a file using commandline linux curl command , but could not mapp the option -F in the freeswitch.</div><div><br></div><div>Regards</div><span class="m_-1544588803939955387HOEnZb"><font color="#888888"><div>Abbasi</div></font></span></div>
</blockquote></div><br></div>
<br>______________________________<wbr>______________________________<wbr>_____________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.<wbr>freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.<wbr>org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" 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.<wbr>freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/<wbr>mailman/listinfo/freeswitch-<wbr>users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.<wbr>freeswitch.org/mailman/<wbr>options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br></blockquote></div></div>