Hi Lon,
As far as I've been told, Freeswitch doesn't always wait for the
entire event contents to be sent before sending the double newline;
sometimes it'll do that in chunks.
That makes it extremely difficult for Liverpie to judge when and what
to process, but then it'd make it difficult for any app working
directly with Freeswitch, so Liverpie simply massages everything into
the HTTP parameters that it sends to the webapp. Washes its hands of
the problem :)
Thanks for your contribution, I'll give it a try and if it solves any
issues I'll add it; in the meantime, could you be a little more
descriptive about the error which you say Liverpie threw? Or could
you help me replicate a context in which events aren't handled?
Alex
P.S. It's not the goal of Liverpie to handle *ALL* FS events; in fact
it only handles DTMF events (if so requested), and whatever event YOU
tell it to wait for after having sent FS a command via Liverpie.
Everything else is duly ignored. Indeed it would be nice for it to
better handle hangup / answer events, but I haven't yet found a
satisfactory way to do that yet.