Multi server
-
Hi everyone,
I have fop2, installed in of my server, I have another remote server (not locally), My FOP2 is working great wiht my main server, I am trying to and the remote server but, not working for me, if I run fop2_server --test, I have "connecting manager ok", which my 2 servers connections.
Here is what I have in fop2.cfg file
"
;Main_Server definition
manager_host=main_server_ip
manager_port=5038
manager_user=main_server_manager_user
manager_secret=main_server_manager_secret;Server02 definition
manager_host=server02_domain_host
manager_port=5038
manager_user=server02_manager_user
manager_secret=server02_manager_secret
"then when I logins to my flash I get "manager connection problem" error
Can you please help..
-
-
Thanks for the reply
Here is what I have after the debug.
Cannot send command to IO::Socket::INET=GLOB(0x115d9cf0) (unauthenticated or connection failed)
Cannot send command to IO::Socket::INET=GLOB(0x115d9cf0) (unauthenticated or connection failed)Cannot send command to (unauthenticated or connection failed)
Cannot send command to (unauthenticated or connection failed) -
-
I'm facing the same problem here:
"Cannot send command to IO::Socket::INET=GLOB(0x148ae5d0) (unauthenticated or connection failed)"But I can login to the remote server from the box where I'm running FOP2:
Trying 50.XXX.XXX.29...
Connected to rrcs-50-XXX-XXX-29.sw.biz.rr.com (50.XXX.XXX.29).
Escape character is '^]'.
Asterisk Call Manager/1.1Username and password on the remote server are correct and have been put in the .cfg file:
; Dallas
manager_host=50.XXX.XXX.29
manager_port=5038
manager_user=admin
manager_secret=blablablaWhat else I have to check ?
-
Start fop2_server in debug mode and look at the actual connection between the fop2 server and all of your manager_hosts:
service fop2 stop cd /usr/local/fop2 script capture.log ./fop2_server -X 3After things settle down, stop capturing:
ctrl-C exit service fop2 startYou will have a capture.log file to review, with the actual connection and authorization attempts and their replies.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login