Hello, I've successfully installed hudlite server 1.4.6 on a Debian GNU/Linux 3.1 r3 (Sarge) running a 2.6.8-3-k7 kernel. This server is also running Asterisk 1.2.14, ircd-hybrid 7.0.3-2 secure IRC server.
this is my connect.xml:
<?xml version="1.0" encoding="UTF-8"?>
localhost
5038
localhost
6600
password
IRC to Asterisk command bot
irc2asterisk_relay
I've tested my network and no problem telnetting from localhost or any other host on the LAN.
on port 5038, asterisk:
Trying 127.0.0.1...
Connected to localhost.localdomain.
Escape character is '^]'.
Asterisk Call Manager/1.0
on port 6600 ircd-hybrid
Trying 127.0.0.1...
Connected to localhost.localdomain.
Escape character is '^]'.
NOTICE AUTH :*** Looking up your hostname...
NOTICE AUTH :*** Checking Ident
NOTICE AUTH :*** Got Ident response
NOTICE AUTH :*** Couldn't look up your hostname
quit
ERROR :Closing Link: 127.0.0.1 ()
Connection closed by foreign host.
However I guess that the problem is on the server not in the network.
This is my hudlite server log:
2007-01-30 19:53:43: socketError> attempting reconnect to asterisk in 5 seconds
2007-01-30 19:53:49: socketError> Could not keep/initiate a connection with the asterisk mananger interface. Client socket encountered read error 104: Conexión reinicializada por la máquina remota. Is Aserisk running? Is HUD and your Asterisk manager interface configured properly?
I don't know much about hudlite but asterisk and irc deamon are running both.
Maybe need to configure ircd and add an irc2asterisk_relay user?
If I strace hudlite server:
read(7, "Asterisk Call Manager/1.0\r\n", 65536) = 27
write(7, "Action: Login\r\nUsername: remote_"..., 60) = 60
write(7, "Action: Command\r\nCommand: sip sh"..., 46) = 46
write(7, "Action: Command\r\nActionID: neo_a"..., 105) = 105
write(7, "Action: Command\r\nActionID: \r\nCom"..., 57) = 57
gettimeofday({1170184769, 923220}, NULL) = 0
select(8, [6 7], [], [], {4, 867832}) = 1 (in [7], left {3, 869000})
gettimeofday({1170184770, 923627}, NULL) = 0
gettimeofday({1170184770, 924119}, NULL) = 0
read(7, "Response: Error\r\nMessage: Authen"..., 65536) = 51
gettimeofday({1170184770, 925880}, NULL) = 0
select(8, [6 7], [], [], {3, 865172}) = 1 (in [7], left {3, 866000})
gettimeofday({1170184770, 926478}, NULL) = 0
gettimeofday({1170184770, 926825}, NULL) = 0
read(7, 0xa773740, 65536) = -1 ECONNRESET (Connection reset by peer)
time([1170184770]) = 1170184770
write(3, "2007-01-30 20:19:30: socketError"..., 285) = 285
time([1170184770]) = 1170184770
write(3, "2007-01-30 20:19:30: socketError"..., 80) = 80
time([1170184770]) = 1170184770
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigaction(SIGCHLD, NULL, {SIG_DFL}, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
nanosleep({5, 0}
Maybe this can help, the server is blocked here and go back (It's on a loop).
Sorry for my long post maybe something is not useful to solve my problem or maybe I've missed somthing.
Thanks in advance to everybody, and sorry for my poor english I could write and express myself better but it's the best I can do :(
Member Since:
2007-01-30