Monday, May 15, 2006

Hosted callcenter with nated agents.



I installed asterisk@home2.1 in pentium 4 1.8 Mhz and 512 MB memory. This center start-up from 5 agents and expand up to 10 for two weeks. Monthly call logs of 60k minutes. This is pretty simple config, i just setup sip extens and one trunk provider. The nated asterisk server also act as router for internet browsing and email.

NAT config of the server:

######rc.local#####

touch /var/lock/subsys/local
/usr/local/sbin/motd.sh > /etc/motd
/usr/sbin/amportal start
modprobe iptable_nat
iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
sysctl -w net.ipv4.ip_forward=1

Trunk config:

Outgoing Settings
trunkname=providername
host=ip.address
type=peer

Incoming Settings
context=from-pstn

Thats it.

Thursday, May 04, 2006

Sip Express Router over CeNtOS

Install Centos Operating System in your Computer.
Update system using YUM command:> yum -y update
Reference commands:
yum search
yum install

Requirements:

- gcc or icc : gcc >= 2.9x; 3.[12] recommended (it will work with older version
but it might require some options tweaking for best performance)
- bison or yacc (Berkley yacc)
- flex
- GNU make (on Linux this is the standard "make", on *BSD and Solaris is
called "gmake") version >= 3.79.
- sed and tr (used in the makefiles)
- GNU tar ("gtar" on Solaris) and gzip if you want "make tar" to work
- GNU install, BSD install or Solaris install if you want "make
install", "make bin", "make sunpkg" to work
- libmysqlclient & libz (zlib) if you want mysql support (the mysql module)
- libexpat if you want the jabber gateway support (the jabber module)
- libxml2 if you want to compile the cpl-c (CPL support) or pa (presence)
modules
- libradiusclient-ng (> 5.0) if you need radius support (the auth_radius,
group_radius, uri_radius and avp_radius modules)
- libpq if you need postgres support (the postgres module)
- ethereal for debugging

Thats it register your windows messenger and call each other.