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.

0 Comments:

Post a Comment

<< Home