[Freeswitch-users] [ERR][mod_json_cdr.c][Got error [500] posting to web server]

Iskren Hadzhinedev iskren.hadzhinedev at ikiji.com
Tue Dec 23 22:01:06 MSK 2014


Hello,
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).
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.

Cheers,
Iskren Hadzhinedev

On 23.12.2014 г. 20:40:49, Bilal Abbasi <bilaln018 at gmail.com> wrote:
Hi All,
I am using Mod_json to store cdr in MySQLDB, i have successfully configured that and data is successfully inserted in Database.
But i got this error on CLI.
I don't know why i get this error and how can i get ride of that.

2014-12-23 10:03:53.157185 [ERR] mod_json_cdr.c:396 Got error [500] posting to web server [http://localhost/cgi-bin/bilal.py [http://localhost/cgi-bin/bilal.py]]
2014-12-23 10:03:53.157185 [ERR] mod_json_cdr.c:403 Retry will be with url [http://localhost/cgi-bin/bilal.py [http://localhost/cgi-bin/bilal.py]]
2014-12-23 10:03:53.157185 [ERR] mod_json_cdr.c:414 Unable to post to web server


Regards
Bilal Abbasi
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at 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 at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20141223/b4903ab3/attachment.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list