<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://wiki.parspooyesh.com/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="fa">
		<id>http://wiki.parspooyesh.com/index.php?action=history&amp;feed=atom&amp;title=How_To_Install_contact-center</id>
		<title>How To Install contact-center - تاریخچهٔ ویرایش‌ها</title>
		<link rel="self" type="application/atom+xml" href="http://wiki.parspooyesh.com/index.php?action=history&amp;feed=atom&amp;title=How_To_Install_contact-center"/>
		<link rel="alternate" type="text/html" href="http://wiki.parspooyesh.com/index.php?title=How_To_Install_contact-center&amp;action=history"/>
		<updated>2026-06-24T09:52:22Z</updated>
		<subtitle>تاریخچهٔ ویرایشهای صفحه در ویکی</subtitle>
		<generator>MediaWiki 1.19.0</generator>

	<entry>
		<id>http://wiki.parspooyesh.com/index.php?title=How_To_Install_contact-center&amp;diff=1062&amp;oldid=prev</id>
		<title>Behnaz در ‏۲۶ نوامبر ۲۰۱۲، ساعت ۱۲:۰۱</title>
		<link rel="alternate" type="text/html" href="http://wiki.parspooyesh.com/index.php?title=How_To_Install_contact-center&amp;diff=1062&amp;oldid=prev"/>
				<updated>2012-11-26T12:01:40Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-right'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
			&lt;tr valign='top'&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;→ نسخهٔ قدیمی‌تر&lt;/td&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;نسخهٔ ‏۲۶ نوامبر ۲۰۱۲، ساعت ۱۲:۰۱&lt;/td&gt;
			&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;سطر ۱:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;سطر ۱:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;div dir=ltr lang=en&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;div dir=ltr lang=en&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;INSTALL&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; '''&amp;lt;big&amp;gt;&lt;/ins&gt;INSTALL&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;/big&amp;gt;'''&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Easy Way!&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;'''&lt;/ins&gt;Easy Way!&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;'''&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;First of all you should create an image of the stable server (currently 192.168.1.24). We name this file root.tar.gz. You can find the document here: HowToInstall/CreateImage&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;First of all you should create an image of the stable server (currently 192.168.1.24). We name this file root.tar.gz. You can find the document here: HowToInstall/CreateImage&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Behnaz</name></author>	</entry>

	<entry>
		<id>http://wiki.parspooyesh.com/index.php?title=How_To_Install_contact-center&amp;diff=1061&amp;oldid=prev</id>
		<title>Behnaz: صفحه‌ای جدید حاوی ' &lt;div dir=ltr lang=en&gt; INSTALL Easy Way!  First of all you should create an image of the stable server (currently 192.168.1.24). We name this...' ایجاد کرد</title>
		<link rel="alternate" type="text/html" href="http://wiki.parspooyesh.com/index.php?title=How_To_Install_contact-center&amp;diff=1061&amp;oldid=prev"/>
				<updated>2012-11-26T12:00:24Z</updated>
		
		<summary type="html">&lt;p&gt;صفحه‌ای جدید حاوی &amp;#039; &amp;lt;div dir=ltr lang=en&amp;gt; INSTALL Easy Way!  First of all you should create an image of the stable server (currently 192.168.1.24). We name this...&amp;#039; ایجاد کرد&lt;/p&gt;
&lt;p&gt;&lt;b&gt;صفحهٔ جدید&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&lt;br /&gt;
&amp;lt;div dir=ltr lang=en&amp;gt;&lt;br /&gt;
INSTALL&lt;br /&gt;
Easy Way!&lt;br /&gt;
&lt;br /&gt;
First of all you should create an image of the stable server (currently 192.168.1.24). We name this file root.tar.gz. You can find the document here: HowToInstall/CreateImage&lt;br /&gt;
&lt;br /&gt;
Boot the server via a live cd (plux, ubuntu desktop, ...) In case it is plux, select IBSng installation and follow the steps till you see the message about enabling ssh (after IP setting) (If you use ubuntu desktop, you can choose live and then start a shell)&lt;br /&gt;
&lt;br /&gt;
Now you can continue installing by either doing SSH or inserting your cool disk.&lt;br /&gt;
&lt;br /&gt;
(Note: If you use ubuntu, you should install openssh-server)&lt;br /&gt;
&lt;br /&gt;
'''SSH'''&lt;br /&gt;
&lt;br /&gt;
'''ssh to the server''' &lt;br /&gt;
&lt;br /&gt;
     fdisk &amp;lt;hard&amp;gt;: delete partitions, create 2 primary partitions (one for OS and other data, another for swap)&lt;br /&gt;
     mkfs.ext3 &amp;lt;main partition&amp;gt;&lt;br /&gt;
     mkdir /mnt/hard&lt;br /&gt;
     mount &amp;lt;main partition&amp;gt; /mnt/hard -t ext3&lt;br /&gt;
&lt;br /&gt;
You should copy root file to the server(In this section ِyou can set ip/gw ..continue from ssh connection ):&lt;br /&gt;
&lt;br /&gt;
    scp root.tar.gz root@&amp;lt;server IP&amp;gt;:/mnt/hard&lt;br /&gt;
    tar xzf &amp;lt;path to root.tar.gz&amp;gt; -C /mnt/hard&lt;br /&gt;
    mount /dev /mnt/hard/dev -o bind&lt;br /&gt;
    chroot /mnt/hard&lt;br /&gt;
    rm -f /boot/grub/menu.lst&lt;br /&gt;
    update-grub&lt;br /&gt;
    grub-install &amp;lt;hard&amp;gt; --recheck&lt;br /&gt;
&lt;br /&gt;
'''Attention: If your hard is known as /dev/sda, you have to put /dev/sda here; not /dev/sda1'''&lt;br /&gt;
&lt;br /&gt;
   edit /etc/network/interfaces&lt;br /&gt;
   exit&lt;br /&gt;
   umount /mnt/hard/dev&lt;br /&gt;
   umount /mnt/hard&lt;br /&gt;
   reboot&lt;br /&gt;
&lt;br /&gt;
'''If you have problem during installation procedure, please reat Troubleshooting part Please read After Installation part'''&lt;br /&gt;
&lt;br /&gt;
via Cool Disk&lt;br /&gt;
&lt;br /&gt;
If you use Cool Disk, follow these steps:&lt;br /&gt;
&lt;br /&gt;
After setting IP, press Alt + F2 to start a shell  &lt;br /&gt;
   modprobe usb-storage&lt;br /&gt;
   mkdir /mnt/usb&lt;br /&gt;
   mount &amp;lt;cool disk partition&amp;gt; /mnt/usb&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   fdisk &amp;lt;hard&amp;gt;: delete partitions, create 2 primary partitions (one for OS and other data, another for swap)&lt;br /&gt;
   mkfs.ext3 &amp;lt;main partition&amp;gt;&lt;br /&gt;
   mkdir /mnt/hard&lt;br /&gt;
   mount &amp;lt;main partition&amp;gt; /mnt/hard -t ext3&lt;br /&gt;
   tar xzf &amp;lt;path to root.tar.gz&amp;gt; -C /mnt/hard&lt;br /&gt;
   mount /dev /mnt/hard/dev -o bind&lt;br /&gt;
   chroot /mnt/hard&lt;br /&gt;
   rm -f /boot/grub/menu.lst&lt;br /&gt;
   update-grub&lt;br /&gt;
   grub-install &amp;lt;hard&amp;gt; --recheck&lt;br /&gt;
&lt;br /&gt;
'''Attention: If your hard is known as /dev/sda, you have to put /dev/sda here; not /dev/sda1'''&lt;br /&gt;
&lt;br /&gt;
   edit /etc/network/interfaces&lt;br /&gt;
   exit&lt;br /&gt;
   umount /mnt/hard/dev&lt;br /&gt;
   umount /mnt/hard&lt;br /&gt;
   umount /mnt/usb&lt;br /&gt;
   reboot&lt;br /&gt;
&lt;br /&gt;
'''After Installation'''&lt;br /&gt;
&lt;br /&gt;
    Do ssh to the server. Its password is &amp;quot;parspooyesh&amp;quot;. Change it.&lt;br /&gt;
    See web page in order to check services. Default username and password are &amp;quot;admin&amp;quot;. You can check all services through &amp;quot;پیکر بندی سامانه&amp;quot;.&lt;br /&gt;
    mkswap the swap directory that you created before, and add this line to /etc/fstab if it there is not:&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;swap partition&amp;gt;       none                  swap defaults 0 0&lt;br /&gt;
&lt;br /&gt;
'''Troubleshooting'''&lt;br /&gt;
&lt;br /&gt;
    If server doesn't boot after installation, it may be due to the problems below:&lt;br /&gt;
 When you ran grub-install command, instead of hard name, you entered partition name (like /dev/sda1 instead of /dev/sda). &lt;br /&gt;
You may correct the problem by booting the server via Live CD again.&lt;br /&gt;
The hard name is not the same as hard name in grub. You can edit grub (hit e on first line in grub page), and change the partition name. For example,if it is /dev/hda1, you can change it to /dev/sda1. Remember you have to change the /etc/fstab after booting up the server. &lt;br /&gt;
&lt;br /&gt;
'''Hard Way! ='''&lt;br /&gt;
&lt;br /&gt;
Installing of CC is so easy but because it use bunch of tools and apps seems is hard !&lt;br /&gt;
&lt;br /&gt;
Anyway I write a quick how to install, it will be update soon&lt;br /&gt;
&lt;br /&gt;
'''Steps'''&lt;br /&gt;
&lt;br /&gt;
pre install : open /etc/httpd/conf/httpd.conf and change &amp;lt;AllowOverride? None&amp;gt; to &amp;lt;AllowOverride? All&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Install freepbx :'''&lt;br /&gt;
&lt;br /&gt;
    cd /home/contactcenter/freepbx/core&lt;br /&gt;
    ./install_amp&lt;br /&gt;
    cd /home/contactcenter/freepbx/modules/&lt;br /&gt;
    cp -r * /var/www/html/admin/modules/&lt;br /&gt;
    rm /etc/trixbox/httpdconf/trixbox.conf&lt;br /&gt;
&lt;br /&gt;
'''Install agents_admin'''&lt;br /&gt;
&lt;br /&gt;
    cd /home/contactcenter/agents_admin&lt;br /&gt;
    ./install.sh &lt;br /&gt;
&lt;br /&gt;
'''Install Asterisk Listener'''&lt;br /&gt;
&lt;br /&gt;
    yum install MySQL-python&lt;br /&gt;
    cd /home/contactcenter/misc/addons/asterisk-listener&lt;br /&gt;
    make install &lt;br /&gt;
    chkconfig --level 35 asterisk_listener on&lt;br /&gt;
    cd /usr/local/asterisk_listener/conf&lt;br /&gt;
    cp asterisk_listener.conf.default asterisk_listener.conf #( Edit this file if you want ! but always does not need any change )&lt;br /&gt;
&lt;br /&gt;
'''Install Queue Monitor :'''&lt;br /&gt;
&lt;br /&gt;
    cd /home/contactcenter/misc/addons/queue_monitor&lt;br /&gt;
    ./install&lt;br /&gt;
&lt;br /&gt;
'''Install sysinfo :'''&lt;br /&gt;
&lt;br /&gt;
        cd /home/contactcenter/misc/addons/sysinfo&lt;br /&gt;
        ./install &lt;br /&gt;
&lt;br /&gt;
'''Install fax'''&lt;br /&gt;
        &lt;br /&gt;
&lt;br /&gt;
   '''# Install Fax Server'''&lt;br /&gt;
&lt;br /&gt;
        yum -y install iaxmodem hylafax ImageMagick netpbm-progs&lt;br /&gt;
        /usr/sbin/faxsetup #enter defaults just in Q: Should I run faxmodem for each configured modem [yes]? type: no&lt;br /&gt;
        cd /etc/iaxmodem&lt;br /&gt;
        ;#####################################START CAT&lt;br /&gt;
        cat &amp;gt; ttyIAX0&lt;br /&gt;
        device /dev/ttyIAX0 ;each line should have it's own device node!&lt;br /&gt;
        owner uucp:uucp&lt;br /&gt;
        mode 660&lt;br /&gt;
        port 4570 ;each line should have it's own port number!&lt;br /&gt;
        refresh 300&lt;br /&gt;
        server 127.0.0.1&lt;br /&gt;
        peername 802 ;this is the local extension number in FreePBX (create it!)&lt;br /&gt;
        secret milad ;password for the extension&lt;br /&gt;
        cidname Fax1&lt;br /&gt;
        cidnumber 88241829&lt;br /&gt;
        codec alaw&lt;br /&gt;
        ;#########################################END CAT&lt;br /&gt;
        /etc/init.d/iaxmodem restart&lt;br /&gt;
&lt;br /&gt;
  '''# Install Fax GUI'''&lt;br /&gt;
&lt;br /&gt;
        pear install Mail Net_SMTP Mail_mime MDB2_driver_mysql fileinfo&lt;br /&gt;
        yum install php-pecl-Fileinfo&lt;br /&gt;
        cd /home/contactcenter/misc/ccfax&lt;br /&gt;
        mysql -u root -p asterisk &amp;lt; create_user.sql&lt;br /&gt;
        mysql -u root -p asterisk &amp;lt; create_tables.sql&lt;br /&gt;
        mysql -u root -p asterisk &amp;lt; ccfax-sql-patch.sql&lt;br /&gt;
        cp -r avantfax /var/www/html/&lt;br /&gt;
        chmod -R 777 /var/www/html/ccfax/tmp/ /var/www/html/ccfax/faxes/&lt;br /&gt;
        ln -s /var/www/html/ccfax/includes/faxrcvd.php /var/spool/hylafax/bin/faxrcvd.php&lt;br /&gt;
        ln -s /var/www/html/ccfax/includes/dynconf.php /var/spool/hylafax/bin/dynconf.php&lt;br /&gt;
        ln -s /var/www/html/ccfax/includes/notify.php /var/spool/hylafax/bin/notify.php&lt;br /&gt;
        cd /var/spool/hylafax/etc/&lt;br /&gt;
        cp config.ttyIAX config.ttyIA0&lt;br /&gt;
        cat &amp;gt;&amp;gt; config.ttyIA0&lt;br /&gt;
        #&lt;br /&gt;
        ## AvantFAX configuration&lt;br /&gt;
        #&lt;br /&gt;
        FaxrcvdCmd:     bin/faxrcvd.php&lt;br /&gt;
        DynamicConfig:  bin/dynconf.php&lt;br /&gt;
        UseJobTSI:      true&lt;br /&gt;
        #######END CAT&lt;br /&gt;
        cat &amp;gt;&amp;gt;  /var/spool/hylafax/etc/config&lt;br /&gt;
        #&lt;br /&gt;
        ## AvantFAX configuration&lt;br /&gt;
        #&lt;br /&gt;
        NotifyCmd:      bin/notify.php&lt;br /&gt;
        #######END CAT&lt;br /&gt;
        cat &amp;gt;&amp;gt; /etc/inittab&lt;br /&gt;
        #&lt;br /&gt;
        t2:23:respawn:/usr/sbin/faxgetty ttyIAX0&lt;br /&gt;
        #######END CAT&lt;br /&gt;
        mv /usr/bin/faxcover /usr/bin/faxcover.old&lt;br /&gt;
        ln -s /var/www/html/ccfax/includes/faxcover.php /usr/bin/faxcover&lt;br /&gt;
        ln -s /usr/share/file/magic* /usr/share/misc/&lt;br /&gt;
        cat &amp;gt;&amp;gt; /etc/crontab&lt;br /&gt;
        # runs once an hour to update the phone book&lt;br /&gt;
        0 * * * * /var/www/html/ccfax/includes/phb.php&lt;br /&gt;
        # runs once a day to remove old files&lt;br /&gt;
        0 0 * * * /var/www/html/ccfax/includes/avantfaxcron.php -t 2&lt;br /&gt;
        cat &amp;gt;&amp;gt; /etc/sudoers&lt;br /&gt;
        apache ALL = NOPASSWD: /sbin/reboot, /sbin/halt, /usr/sbin/faxdeluser, /usr/sbin/faxadduser -u * -p * *&lt;br /&gt;
        chown asterisk.asterisk -R ./includes/templates/main_theme/templates_c  ./includes/templates/admin_theme/templates_c&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Behnaz</name></author>	</entry>

	</feed>