[Freeswitch-users] esl phpmod background_job events not complete

Anthony Minessale anthony.minessale at gmail.com
Wed Jun 23 11:54:30 PDT 2010


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 at 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 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
>



-- 
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
Twitter: http://twitter.com/FreeSWITCH_wire

AIM: anthm
MSN:anthony_minessale at hotmail.com <MSN%3Aanthony_minessale at hotmail.com>
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com<PAYPAL%3Aanthony.minessale at gmail.com>
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org <sip%3A888 at conference.freeswitch.org>
googletalk:conf+888 at conference.freeswitch.org<googletalk%3Aconf%2B888 at conference.freeswitch.org>
pstn:+19193869900
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100623/f2ff5c5c/attachment.html 


More information about the FreeSWITCH-users mailing list