Ok. I got this. I am sending the response to liverpie as below, from my web app.

===
        response.setStatus(200);
        response.getWriter().println("event plain ALL");
===

And always find it crashed with this message.

===
** Exiting **
** Exiting... **
./lib/liverpie_server.rb:95:in `send': undefined method `+' for nil:NilClass (NoMethodError)
        from ./lib/liverpie_server.rb:65:in `receive_data'
        from /usr/lib64/ruby/gems/1.8/gems/eventmachine-0.12.0/lib/eventmachine.rb:224:in `run_machine'
        from /usr/lib64/ruby/gems/1.8/gems/eventmachine-0.12.0/lib/eventmachine.rb:224:in `run'
        from ./bin/liverpie:20
        from ./lib/script_base.rb:87:in `start'
        from ./lib/script_base.rb:52:in `initialize'
        from ./bin/liverpie:19:in `new'
        from ./bin/liverpie:19

===

Am I doing something wrong? Is there any other particular format to send?

Thanks.


On Mon, Sep 15, 2008 at 12:15 PM, Adeel Ansari <adeel.gnome@gmail.com> wrote:
Correct. :). Nevertheless, it looks like it doesn't send anything in the start, except a blank request. And then, our application needs to respond in event commands. Will come back, if it didn't work as expected and I couldn't figure out the things.

Thanks.


On Mon, Sep 15, 2008 at 12:05 PM, Brian West <brian@freeswitch.org> wrote:
Did liverpie replace telegraph?

/b

On Sep 14, 2008, at 10:40 PM, Adeel Ansari wrote:

Hi folks,

I am trying Liverpie. Its working fine, but sends nothing to my webapp. Below is the output from Liverpie console.

===
Liverpie FreeSWITCH PROXY - Now Accepts Connections.

Mon Sep 15 02:38:37 UTC 2008: New Connection

Mon Sep 15 02:38:37 UTC 2008: Resetting webapp state machine...

Mon Sep 15 02:38:37 UTC 2008: Calling webapp...

Mon Sep 15 02:38:37 UTC 2008: PROBLEM: Didn't get any response from webapp
UNBIND

===

Yes, thats true. I am not sending any response back to Liverpie. But should I not expect any information as request parameter from Liverpie, when it is making the first request to my web app?

Thanks.

--
Best,
Adeel Ansari

http://www.linkedin.com/in/adeelansari

_______________________________________________
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




--
Best,
Adeel Ansari

http://www.linkedin.com/in/adeelansari



--
Best,
Adeel Ansari

http://www.linkedin.com/in/adeelansari