<div dir="ltr">Ok. I got this. I am sending the response to liverpie as below, from my web app.<br><br>===<br> response.setStatus(200);<br> response.getWriter().println("event plain ALL");<br>===<br>
<br>And always find it crashed with this message. <br><br>===<br>** Exiting **<br>** Exiting... **<br>./lib/liverpie_server.rb:95:in `send': undefined method `+' for nil:NilClass (NoMethodError)<br> from ./lib/liverpie_server.rb:65:in `receive_data'<br>
from /usr/lib64/ruby/gems/1.8/gems/eventmachine-0.12.0/lib/eventmachine.rb:224:in `run_machine'<br> from /usr/lib64/ruby/gems/1.8/gems/eventmachine-0.12.0/lib/eventmachine.rb:224:in `run'<br> from ./bin/liverpie:20<br>
from ./lib/script_base.rb:87:in `start'<br> from ./lib/script_base.rb:52:in `initialize'<br> from ./bin/liverpie:19:in `new'<br> from ./bin/liverpie:19<br><br>===<br><br>Am I doing something wrong? Is there any other particular format to send?<br>
<br>Thanks.<br><br><br><div class="gmail_quote">On Mon, Sep 15, 2008 at 12:15 PM, Adeel Ansari <span dir="ltr"><<a href="mailto:adeel.gnome@gmail.com">adeel.gnome@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div dir="ltr">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.<br>
<br>Thanks.<div><div></div><div class="Wj3C7c"><br><br><div class="gmail_quote">On Mon, Sep 15, 2008 at 12:05 PM, Brian West <span dir="ltr"><<a href="mailto:brian@freeswitch.org" target="_blank">brian@freeswitch.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>Did liverpie replace telegraph?<div><br></div><div>/b</div><div><br><div><div><div>On Sep 14, 2008, at 10:40 PM, Adeel Ansari wrote:</div><br></div><blockquote type="cite"><div><div></div><div>
<div dir="ltr">Hi folks,<br><br>I am trying Liverpie. Its working fine, but sends nothing to my webapp. Below is the output from Liverpie console.<br><br>===<br><b>Liverpie FreeSWITCH PROXY - Now Accepts Connections.<br>
<br>
Mon Sep 15 02:38:37 UTC 2008: New Connection<br><br>Mon Sep 15 02:38:37 UTC 2008: Resetting webapp state machine...<br><br>Mon Sep 15 02:38:37 UTC 2008: Calling webapp...<br><br>Mon Sep 15 02:38:37 UTC 2008: PROBLEM: Didn't get any response from webapp<br>
UNBIND</b><br>===<br><br>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?<br>
<br> Thanks.<br clear="all"><br>-- <br>Best,<br>Adeel Ansari<br><br><a href="http://www.linkedin.com/in/adeelansari" target="_blank">http://www.linkedin.com/in/adeelansari</a><br> </div></div></div><div> _______________________________________________<br>
Freeswitch-users mailing list<br><a href="mailto:Freeswitch-users@lists.freeswitch.org" target="_blank">Freeswitch-users@lists.freeswitch.org</a><br><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br><a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</div></blockquote></div><div><br><div> <span style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><div>
<span style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><div>
<span style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><div>
<div>Brian West</div><div><a>sip:brian@freeswitch.org</a></div><div><br></div><div><br></div></div></span><br></div></span><br></div></span><br> </div><br></div></div></div><br>_______________________________________________<br>
Freeswitch-users mailing list<br>
<a href="mailto:Freeswitch-users@lists.freeswitch.org" target="_blank">Freeswitch-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Best,<br>Adeel Ansari<br><br><a href="http://www.linkedin.com/in/adeelansari" target="_blank">http://www.linkedin.com/in/adeelansari</a><br>
</div></div></div>
</blockquote></div><br><br clear="all"><br>-- <br>Best,<br>Adeel Ansari<br><br><a href="http://www.linkedin.com/in/adeelansari">http://www.linkedin.com/in/adeelansari</a><br>
</div>