<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
Hello,<div>the web server expects the script to run without error and get any output from it to push back to the client (in this case - freeswitch).</div><div>If your script works (I assume it does, because you said that the data gets in the database), then using a simple 'print "OK"' in the end of the script will fix it.</div><br class="Apple-interchange-newline"><font size="3" face="Calibri" color="#000000 "><div>Cheers,</div><div>Iskren Hadzhinedev</div><div class="mb_sig"><p style="font-size: medium; "><font face="Calibri"><br></font></p></div></font><blockquote class="history_container" type="cite" style="border-left-style:solid;border-width:1px; margin-top:20px; margin-left:0px;padding-left:10px;">
<p style="color: #AAAAAA; margin-top: 10px;">On 23.12.2014 г. 20:40:49, Bilal Abbasi <bilaln018@gmail.com> wrote:</p><div dir="ltr">Hi All,<div>I am using Mod_json to store cdr in MySQLDB, i have successfully configured that and data is successfully inserted in Database.</div><div>But i got this error on CLI.</div><div>I don't know why i get this error and how can i get ride of that.</div><div><br></div><div><div><b style="background-color:rgb(255,255,255)"><font color="#ff0000">2014-12-23 10:03:53.157185 [ERR] mod_json_cdr.c:396 Got error [500] posting to web server [<a href="http://localhost/cgi-bin/bilal.py">http://localhost/cgi-bin/bilal.py</a>]</font></b></div><div><b style="background-color:rgb(255,255,255)"><font color="#ff0000">2014-12-23 10:03:53.157185 [ERR] mod_json_cdr.c:403 Retry will be with url [<a href="http://localhost/cgi-bin/bilal.py">http://localhost/cgi-bin/bilal.py</a>]</font></b></div><div><b style="background-color:rgb(255,255,255)"><font color="#ff0000">2014-12-23 10:03:53.157185 [ERR] mod_json_cdr.c:414 Unable to post to web server</font></b></div></div><div><br></div><div><br></div><div>Regards</div><div>Bilal Abbasi</div></div>
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
</blockquote>