VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
brian at freeswitch.org Guest
|
Posted: Sun Sep 14, 2008 10:48 pm Post subject: [Freeswitch-users] Liverpie is not sending no parameters |
|
|
What exactly is Liverpie? And how does that relate to FreeSWITCH? Was this a miss-send?
/b
On Sep 14, 2008, at 10:40 PM, Adeel Ansari wrote:
Quote: | 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 (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
|
Brian West
[url=sip:brian@freeswitch.org]sip:brian@freeswitch.org[/url] |
|
Back to top |
|
|
brian at freeswitch.org Guest
|
Posted: Sun Sep 14, 2008 11:06 pm Post subject: [Freeswitch-users] Liverpie is not sending no parameters |
|
|
Did liverpie replace telegraph?
/b
On Sep 14, 2008, at 10:40 PM, Adeel Ansari wrote:
Quote: | 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 (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
|
Brian West
[url=sip:brian@freeswitch.org]sip:brian@freeswitch.org[/url] |
|
Back to top |
|
|
adeel.gnome at gmail.com Guest
|
Posted: Sun Sep 14, 2008 11:16 pm Post subject: [Freeswitch-users] Liverpie is not sending no parameters |
|
|
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 (brian@freeswitch.org)> wrote:
--
Best,
Adeel Ansari
http://www.linkedin.com/in/adeelansari |
|
Back to top |
|
|
adeel.gnome at gmail.com Guest
|
Posted: Mon Sep 15, 2008 2:58 am Post subject: [Freeswitch-users] Liverpie is not sending no parameters |
|
|
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 (adeel.gnome@gmail.com)> wrote:
Quote: | 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 (brian@freeswitch.org)> wrote:
--
Best,
Adeel Ansari
http://www.linkedin.com/in/adeelansari
|
--
Best,
Adeel Ansari
http://www.linkedin.com/in/adeelansari |
|
Back to top |
|
|
james.green at stealth... Guest
|
Posted: Mon Sep 15, 2008 3:31 am Post subject: [Freeswitch-users] Liverpie is not sending no parameters |
|
|
Adeel Ansari wrote:
Quote: | Ok. I got this. I am sending the response to liverpie as below, from my
web app.
|
Adeel,
I suggest contacting the author of Liverpie directly. He responded to my
email within a few minutes and updated his code to reflect Debian
requirements same-day. Most helpful.
_______________________________________________
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 |
|
Back to top |
|
|
adeel.gnome at gmail.com Guest
|
Posted: Mon Sep 15, 2008 11:55 pm Post subject: [Freeswitch-users] Liverpie is not sending no parameters |
|
|
James, I have posted it to the liverpie-support googlegroup, yesterday. Meanwhile, could you please provide me some hints, what you did and how. That would be great if you can share some of your example code snippets.
Thanks.
On Mon, Sep 15, 2008 at 4:29 PM, James Green <james.green@stealthnet.net (james.green@stealthnet.net)> wrote:
--
Best,
Adeel Ansari
http://www.linkedin.com/in/adeelansari |
|
Back to top |
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|