this patch was wrong, correct fix is added to latest GIT, please switch to GIT for development and also please report bugs on jira bugs reported on the list are not easy to maintain. On Wed, Jun 23, 2010 at 10:37 AM, Helmut Kuper <helmut.kuper@ewetel.de>wrote:
Hi,
I found the problem. Here is my patch:
Index: src/esl_event.c =================================================================== --- src/esl_event.c (Revision 17782) +++ src/esl_event.c (Arbeitskopie) @@ -548,7 +548,7 @@ if (blen && !clen) { snprintf(buf + len, dlen - len, "Content-Length: %d\n\n%s", (int)strlen(event->body), event->body); } else { - snprintf(buf + len, dlen - len, "\n"); + snprintf(buf + len, dlen - len, "\n%s", event->body); } } else { snprintf(buf + len, dlen - len, "\n");
Please review this to avoid side effects.
regards Helmut
On 23.06.2010 15:25, Helmut Kuper wrote:
Hello
I found that when I sent a non existent api command via bgapi. The corresponding background_job event isn't complete:
_______________________________________________ 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
-- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale@hotmail.com <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:+19193869900