~ 2 min read

HUDLITE-SERVER on Debian

share this story on
how to get Hudlite telephony Linux system working

The guys at Fonality didn’t care enough to get a .deb package for us debian guys so here’s a quick
copy and paste guide to get hudlite-server installed on debian (unstable in my case).

Perl module dependencies:

apt-get update  
apt-get install libnet-dns-perl  
apt-get install libxml-parser-perl libxml-simple-perl  
apt-get install libpoe-component-client-dns-perl libpoe-filter-ircd-perl libpoe-filter-xml-perl libpoe-perl libpoe-component-client-dns-perl libacme-poe-knee-perl  

IRCd install:

apt-get install ircd-hybrid  
mv /etc/ircd-hybrid/ircd.conf /etc/ircd-hybrid/ircd.conf.orig  
nano /etc/ircd-hybrid/ircd.conf make sure it looks like this:# ircd.conf for HUD IRC server  
logging {  
log_level = L_ERROR;  
};


serverinfo {  
name="HUDserver";  
description="Server IRC";  
network_name="ExampleNet";  
network_desc="Example Network";  
hub=no;  
};

class {  
name="users";  
ping_time=90 seconds;  
number_per_ip=200;  
max_number=200;  
sendq=100000;  
};

class {  
name="opers";  
ping_time=90 seconds;  
number_per_ip=10;  
max_number=10;  
sendq=500000;  
};

class {  
name="server";  
ping_time=5 minutes;  
connectfreq=15 minutes;  
max_number=5;  
sendq=1 megabytes;  
};

define what class and block for auth users

auth {  
user="*@*";  
class="users";  
password="password";  
can_flood = yes;  
have_ident = no;  
true_no_oper_flood = yes;  
flags = exceed_limit, \  
can_flood, \  
can_idle, \  
true_no_oper_flood;  
};

listen {  
port=6600;  
};

general {  
default_floodcount = 1000000;  
anti_nick_flood = no;  
max_nick_time = 20 seconds;  
max_nick_changes = 5;  
anti_spam_exit_message_time = 0 minutes;  
fname_userlog="/var/log/ircd/user.log";  
fname_operlog="/var/log/ircd/oper.log";  
fname_foperlog="/var/log/ircd/foper.log";  
warn_no_nline=yes;  
pace_wait_simple = 0 second;  
pace_wait = 00 seconds;  
ping_cookie = yes;  
no_oper_flood = yes;  
true_no_oper_flood = yes;  
max_targets = 999;  
client_flood = 0;  
use_help = yes;  
throttle_time = 0;  
};

And:

chown irc:irc ircd.conf  
/etc/init.d/ircd-hybrid restart  

hudlite-server install:

alien hudlite-server-1.3.1-1.i386.rpm  
dpkg -i hudlite-server_1.3.1-2_i386.deb  
nano /etc/init.d/hudlite-server  

comment out all the conflicting lines.

nano /usr/local/fonality/hud/conf/context.xml  

check the manager configuration for the password cause it’ll have to be adjusted
to be the same one in /etc/asterisk/manager.conf which you’ll edit next

nano /etc/asterisk/manager.conf  

add the following:

[hud]  
secret=admin  
permit=localhost  
read = system,call,log,verbose,command,agent,user  
write = system,call,log,verbose,command,agent,user  

Create the following symlinks:

  1. ln -s /usr/share/perl5/POE /usr/lib/perl5/5.8.5/
  2. ln -s /usr/share/perl/5.8.8/PerlIO.pm /usr/lib/perl5/5.8.5/
  3. ln -s /usr/share/perl5/POE /usr/lib/perl5/5.8.5/

Attempt to start hudlite-server now.

Resources: http://www.voipphreak.ca/archives/296-Gentoo,-Asterisk-and-HudLite-Installation-and-Setup-Howto.html