[Freeswitch-users] esl phpmod background_job events not complete

Rupa Schomaker rupa at rupa.com
Wed Jun 23 08:48:18 PDT 2010


Please open a jira for this.

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
>



-- 
-Rupa
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100623/7c352bea/attachment.html 


More information about the FreeSWITCH-users mailing list