Mike Mangino
2007-Jun-20 23:27 UTC
[Telegraph-users] Problems with remote AGI and redirect
Has anyone successfully used telegraph on a remote host? I''m having
problems with redirect failing.
I get:
Processing CallsController#index (for 0.0.0.0 at 2007-06-20 18:21:41)
[POST]
[2007-06-20 18:21:41] INFO Session ID:
7da03cac80a6c6b37b70a97b4ef18995
[2007-06-20 18:21:41] INFO Parameters:
{"action"=>"index",
"controller"=>"CallsController"}
nil
[2007-06-20 18:21:43] INFO Redirected to http://agi:84837/calls
Is this really looking at the host and making a new request? That''s
never going to work for me, since the port used is an ephemeral port.
On an unrelated note, how do I get the Caller id of the party dialing
in? It doesn''t look like it is in the params hash.
Mike
--
Mike Mangino
http://www.elevatedrails.com
> > > Is this really looking at the host and making a new request? That''s > never going to work for me, since the port used is an ephemeral port.The Agi server only connects to 127.0.0.1 There is a patch on the rubyforge site which fixes a bug and sets that to the config file. I also posted an email yesterday on how to set up a YAML file for production, testing and dev so you can specify your host accordingly.
Mike Mangino
2007-Jun-20 23:36 UTC
[Telegraph-users] Problems with remote AGI and redirect
I already fixed that. I can make the initial connection, I just can''t redirect. I''ll dig through the implementation of that tomorrow. At least I got something working! Mike On Jun 20, 2007, at 6:31 PM, Tim Uckun wrote:>> >> >> Is this really looking at the host and making a new request? That''s >> never going to work for me, since the port used is an ephemeral port. > > The Agi server only connects to 127.0.0.1 There is a patch on the > rubyforge site which fixes a bug and sets that to the config file. > > I also posted an email yesterday on how to set up a YAML file for > production, testing and dev so you can specify your host accordingly.-- Mike Mangino http://www.elevatedrails.com
On 6/21/07, Mike Mangino <mmangino at elevatedrails.com> wrote:> I already fixed that. I can make the initial connection, I just can''t > redirect. I''ll dig through the implementation of that tomorrow. At > least I got something working! > >Let us know your progress. I got some things working too but others I am not having so much luck with.