SlideShare uma empresa Scribd logo
1 de 17
ICTFAX
Open Source Online Fax & Email to Fax Solution
ICTFAX 2.0
Introduction and Installation
Agenda
1.   Introduction
2.   Demo
3.   Download
4.   Installation of Basic Requirements
5.   Freeswitch Installation
6.   Plivo Installation
7.   ICT Fax Front End Installation
8.   Email to Fax / Fax to Email Service setup
1. Introduction
ICTFAX 2.0 is an open source multi-user and web based
software solution for service providers based on open source
Freeswitch, Plivo Framework and Drupal 7. ICTFAX is an email
to fax gateway, supports G.711 faxing , PSTN faxing and T.38
origination and termination.

Similar to previous version, ICTFAX 2.0 can be used in
following faxing scenarios
• Email to fax / web to fax / fax to email
• G.711 based Fax Origination / Termination / Gateway
• T.38 based Fax Origination / Termination
• PSTN based Fax Origination / Termination / Gateway
2. Demo
Visit ICTFAX Demo site and use following credential to login

• Admin Account
  Username: admin
  Username: demoictfax

• User Account
  Username: user
  Username: demoictfax
3. Download
http://sourceforge.net/projects/ictfax/files/ictfax-2.0.tar.gz/download
4. Installation of Basic Requirements
1. Installation
   ICT-FAX is a unique and complete faxing solution with billing featuring T.38 support,
   Email2Fax, Web2Fax, Fax2Email and Billing.

2. Install Basic System Requirements
    1. CentOs 6               15. Curl
    2. Apache 2                16. mysql-devel
    3. MySQL 5                 17. Sendmail
    4. PHP 5.3.3
    5. php-mysql
    6. php-gd
    7. php-curl
    8. php-imap
    9. perl
   10. perl-DBD-mysql
   11. libtiff
   12. ghostscript
   13. ImageMagick
   14. poppler-utils
To install above requirements issue following commands at shell prompt
yum -y install httpd mysql-server mysql mysql-devel
yum -y install php php-common php-cli php-gd php-imap php-curl php-mysql
yum -y install perl perl-DBD-mysql
yum -y install ghostscript ImageMagick poppler-utils curl sendmail sendmail-cf
following dependencies are required for Freeswitch installations
yum -y install git make
also install yudit for text to pdf support
cd /usr/src
wget "http://www.yudit.org/download/yudit-2.9.2.tar.gz"
tar xzf yudit-2.9.2.tar.gz
cd yudit*
./configure --prefix=/usr/local
make
make install
before continue, make sure that MySQL and Apache is running

chkconfig httpd on
chkconfig mysqld on
service httpd start
service mysqld start
5. Freeswitch Installation
ICTFax is based on Plivo Framework.
So you need to setup and run freeswitch provided by Plivo.org.
Instructions on how to install Freeswitch are given
at http://www.plivo.org/get-started/ and repeated here for your convenience:
Download and run the FreeSWITCH installer on your system

Note: Currently, this installer is tested on CentOS > 5.5 and Debian-based distros.
# wget --no-check-certificate https://github.com/plivo/plivo/raw/mast ... install.sh
# chmod +x install.sh
# ./install.sh
* Run FreeSWITCH
Run in Foreground
# ./usr/local/freeswitch/bin/freeswitch
Run in Background
# ./usr/local/freeswitch/bin/freeswitch -nc
6. Plivo Installation
Locate the folder "plivo-devel" in the extracted ICTFax directory.
1. Stop plivo service (if any) and clear /usr/local/plivo
2. Copy and Paste plivo-devel folder in /usr/
3. Go to /usr/plivo-devel and Run plivo_install.sh using following command:
    #./plivo_install.sh /usr/local/plivo
4. Go to /usr/local/plivo/bin directory and Run plivo service using the following
    command:
    #./plivo start

NOTE: There may be some errors while starting plivo cache server. But make sure that
  plivo default server is running.
Plivo Configurations
1. Go to /usr/local/plivo/etc/plivo/default.conf
2. Enable EXTRA_FS_VARS by removing # before it.
3. Set variable in plivo config as EXTRA_FS_VARS = variable_duration
4. Set Incoming DEFAULT_ANSWER_URL, DEFAULT_HANGUP_URL

DEFAULT_ANSWER_URL = http://127.0.0.1/ictfax/index.php?q=ictfax/receive_fax
DEFAULT_HANGUP_URL = http://127.0.0.1/ictfax/index.php?q=ictfax/receive_fax_billing

Modify above urls according to your installation settings.
Don't forget to remove “#” sign before DEFAULT_HANGUP_URL and EXTRA_FS_VARS.
7. ICTFax Front End Installation
1. Database
    Database Installation:
    Create "ictfax" database in mysql (Run 'CREATE DATABASE ictfax' query on mysql)

2. Frontend / Web GUI
    Locate the folder "wwwroot" in the extracted ICTFAX directory.
    Rename this folder to ictfax and copy-paste it to /usr directory.
    1. Create a symbolic link for /usr/ictfax in /var/www/html
     ln -s /usr/ictfax /var/www/html/ictfax
    2. Now visit http://DOMAIN.COM/ictfax
    and follow the installation instructions for
    ICTFax (drupal based) front end installation.
     3. Once you are done with installation, visit the website
     and login as site administrator with username and password
     that you provided during installation.
     4. Now comback to Web GUI and go to Modules menu and enable all modules in "ICTPBX
     System" Package.
     5. Now you'll see menu item Fax Account, ICTPBX System and others in your Navigation
     Menu.
8. Email to Fax / Fax to Email Service setup
1. make sure that your desired domain's MX records are properly configured for
email2fax server.
2. install sendmail service and enable sendmail service at startup.
2a. Also make sure you have created linux user "freeswitch".
3. enable sendmail to listen on public ip address look for following line in
/etc/mail/sendmail.mc
DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')dnl
4. and change line mentioned above into
DAEMON_OPTIONS(`Port=smtp, Addr=0.0.0.0, Name=MTA')dnl
5. apply changes
m4 /etc/mail/sendmail.mc > /etc/mail/sendmail.cf
6. Add freeswitch to list of trusted user
echo "freeswitch" >> /etc/mail/trusted-users
7. Add your domain name in allowed local domain list to let sendmail receive mails
for that domain
echo "FAX_DOMAIN.COM" >> /etc/mail/local-host-names
8. route all mails for none-existing addresses into freeswitch mailbox so we can
receive emails for addresses likexyz_number@FAX_DOMAIN.COM
echo '@FAX_DOMAIN.COM freeswitch' >> /etc/mail/virtusertable
makemap hash /etc/mail/virtusertable

9. grant proper permission to apache user on mail folder
chmod +t /var/spool/mail

10. restart sendmail service so changes can take affect
service sendmail restart

11. login at ictfax web interface as admin (ictfax)[[BR]]

12. goto administrator => mailhandler => Add Mailbox and set following fields
E-mail address: fax@FAX_DOMAIN.COM
Folder: /var/spool/mail/freeswitch
POP3 or IMAP Mailbox: IMAP
Mailbox domain: *** must be empty ***
Security: Require password (leave empty if you haven't set already)
Delete messages after they are processed?: TICK / Yes
13. setup cronjob so incoming email can be processed after every 5 minutes
echo 'MAILTO=""' > /tmp/freeswitch_cron.txt
echo "*/5 * * * * wget -O /dev/null
'http://FAX_DOMAIN.COM/cron.php?cron_key=your_key' 2>/dev/null" >>
/tmp/freeswitch_cron.txt
crontab -l >> /tmp/freeswitch_cron.txt
crontab /tmp/freeswitch_cron.txt

14. You can find your cron url by logging in at your web interface as admin. Go to
Reports -> Status Reports.
Copy your Cron URL and paste at the above URL and then run above lines at the
command prompt.
NOTE: make sure that /etc/hosts.allow is properly configured for accepting mails, and
smtp port (25) is not blocked by firewall. if so Add following line to
/etc/sysconfig/iptables above the last reject/drop rule:
-A INPUT -m state --state NEW -m tcp -p tcp --dport 25 -j ACCEPT
Also DO NOT enable CLEAN URLS, because plivo has been configured to use default
URLS.
15. Create a content type "fax" with three additional fields "to" of type text, "from"
of type text" and "file" of type file.
Go to Admin => Structure => Feeds Importer => Mailhandler nodes. Click Override
and then in Processor field make sure Fax Processor is selected. Click Mapping in
fax processor. Make sure that your to, from and file fields are correctly mapped to
toaddress, fromaddress and attachments respectively.

16. Now you are ready to send faxes through your email. See Admin/User Guide for
further details.
Thanks For Watching
      http://ictfax.org
Contact: info@ictinnovations.com

Mais conteúdo relacionado

Último

Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyKhushali Kathiriya
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingEdi Saputra
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...apidays
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodJuan lago vázquez
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDropbox
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobeapidays
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWERMadyBayot
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfOverkill Security
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...apidays
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024The Digital Insurer
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...Zilliz
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Jeffrey Haguewood
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...apidays
 

Último (20)

Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 

Destaque

PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Applitools
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at WorkGetSmarter
 
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...DevGAMM Conference
 
Barbie - Brand Strategy Presentation
Barbie - Brand Strategy PresentationBarbie - Brand Strategy Presentation
Barbie - Brand Strategy PresentationErica Santiago
 

Destaque (20)

PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
 
ChatGPT webinar slides
ChatGPT webinar slidesChatGPT webinar slides
ChatGPT webinar slides
 
More than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike RoutesMore than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike Routes
 
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
 
Barbie - Brand Strategy Presentation
Barbie - Brand Strategy PresentationBarbie - Brand Strategy Presentation
Barbie - Brand Strategy Presentation
 

ICTFAX , An Open Source Fax Over IP Server Software supporting Email to Fax and Fax to Email

  • 1. ICTFAX Open Source Online Fax & Email to Fax Solution
  • 3. Agenda 1. Introduction 2. Demo 3. Download 4. Installation of Basic Requirements 5. Freeswitch Installation 6. Plivo Installation 7. ICT Fax Front End Installation 8. Email to Fax / Fax to Email Service setup
  • 4. 1. Introduction ICTFAX 2.0 is an open source multi-user and web based software solution for service providers based on open source Freeswitch, Plivo Framework and Drupal 7. ICTFAX is an email to fax gateway, supports G.711 faxing , PSTN faxing and T.38 origination and termination. Similar to previous version, ICTFAX 2.0 can be used in following faxing scenarios • Email to fax / web to fax / fax to email • G.711 based Fax Origination / Termination / Gateway • T.38 based Fax Origination / Termination • PSTN based Fax Origination / Termination / Gateway
  • 5. 2. Demo Visit ICTFAX Demo site and use following credential to login • Admin Account Username: admin Username: demoictfax • User Account Username: user Username: demoictfax
  • 7. 4. Installation of Basic Requirements 1. Installation ICT-FAX is a unique and complete faxing solution with billing featuring T.38 support, Email2Fax, Web2Fax, Fax2Email and Billing. 2. Install Basic System Requirements 1. CentOs 6 15. Curl 2. Apache 2 16. mysql-devel 3. MySQL 5 17. Sendmail 4. PHP 5.3.3 5. php-mysql 6. php-gd 7. php-curl 8. php-imap 9. perl 10. perl-DBD-mysql 11. libtiff 12. ghostscript 13. ImageMagick 14. poppler-utils
  • 8. To install above requirements issue following commands at shell prompt yum -y install httpd mysql-server mysql mysql-devel yum -y install php php-common php-cli php-gd php-imap php-curl php-mysql yum -y install perl perl-DBD-mysql yum -y install ghostscript ImageMagick poppler-utils curl sendmail sendmail-cf following dependencies are required for Freeswitch installations yum -y install git make also install yudit for text to pdf support cd /usr/src wget "http://www.yudit.org/download/yudit-2.9.2.tar.gz" tar xzf yudit-2.9.2.tar.gz cd yudit* ./configure --prefix=/usr/local make make install before continue, make sure that MySQL and Apache is running chkconfig httpd on chkconfig mysqld on service httpd start service mysqld start
  • 9. 5. Freeswitch Installation ICTFax is based on Plivo Framework. So you need to setup and run freeswitch provided by Plivo.org. Instructions on how to install Freeswitch are given at http://www.plivo.org/get-started/ and repeated here for your convenience: Download and run the FreeSWITCH installer on your system Note: Currently, this installer is tested on CentOS > 5.5 and Debian-based distros. # wget --no-check-certificate https://github.com/plivo/plivo/raw/mast ... install.sh # chmod +x install.sh # ./install.sh * Run FreeSWITCH Run in Foreground # ./usr/local/freeswitch/bin/freeswitch Run in Background # ./usr/local/freeswitch/bin/freeswitch -nc
  • 10. 6. Plivo Installation Locate the folder "plivo-devel" in the extracted ICTFax directory. 1. Stop plivo service (if any) and clear /usr/local/plivo 2. Copy and Paste plivo-devel folder in /usr/ 3. Go to /usr/plivo-devel and Run plivo_install.sh using following command: #./plivo_install.sh /usr/local/plivo 4. Go to /usr/local/plivo/bin directory and Run plivo service using the following command: #./plivo start NOTE: There may be some errors while starting plivo cache server. But make sure that plivo default server is running.
  • 11. Plivo Configurations 1. Go to /usr/local/plivo/etc/plivo/default.conf 2. Enable EXTRA_FS_VARS by removing # before it. 3. Set variable in plivo config as EXTRA_FS_VARS = variable_duration 4. Set Incoming DEFAULT_ANSWER_URL, DEFAULT_HANGUP_URL DEFAULT_ANSWER_URL = http://127.0.0.1/ictfax/index.php?q=ictfax/receive_fax DEFAULT_HANGUP_URL = http://127.0.0.1/ictfax/index.php?q=ictfax/receive_fax_billing Modify above urls according to your installation settings. Don't forget to remove “#” sign before DEFAULT_HANGUP_URL and EXTRA_FS_VARS.
  • 12. 7. ICTFax Front End Installation 1. Database Database Installation: Create "ictfax" database in mysql (Run 'CREATE DATABASE ictfax' query on mysql) 2. Frontend / Web GUI Locate the folder "wwwroot" in the extracted ICTFAX directory. Rename this folder to ictfax and copy-paste it to /usr directory. 1. Create a symbolic link for /usr/ictfax in /var/www/html ln -s /usr/ictfax /var/www/html/ictfax 2. Now visit http://DOMAIN.COM/ictfax and follow the installation instructions for ICTFax (drupal based) front end installation. 3. Once you are done with installation, visit the website and login as site administrator with username and password that you provided during installation. 4. Now comback to Web GUI and go to Modules menu and enable all modules in "ICTPBX System" Package. 5. Now you'll see menu item Fax Account, ICTPBX System and others in your Navigation Menu.
  • 13. 8. Email to Fax / Fax to Email Service setup 1. make sure that your desired domain's MX records are properly configured for email2fax server. 2. install sendmail service and enable sendmail service at startup. 2a. Also make sure you have created linux user "freeswitch". 3. enable sendmail to listen on public ip address look for following line in /etc/mail/sendmail.mc DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')dnl 4. and change line mentioned above into DAEMON_OPTIONS(`Port=smtp, Addr=0.0.0.0, Name=MTA')dnl 5. apply changes m4 /etc/mail/sendmail.mc > /etc/mail/sendmail.cf 6. Add freeswitch to list of trusted user echo "freeswitch" >> /etc/mail/trusted-users 7. Add your domain name in allowed local domain list to let sendmail receive mails for that domain echo "FAX_DOMAIN.COM" >> /etc/mail/local-host-names
  • 14. 8. route all mails for none-existing addresses into freeswitch mailbox so we can receive emails for addresses likexyz_number@FAX_DOMAIN.COM echo '@FAX_DOMAIN.COM freeswitch' >> /etc/mail/virtusertable makemap hash /etc/mail/virtusertable 9. grant proper permission to apache user on mail folder chmod +t /var/spool/mail 10. restart sendmail service so changes can take affect service sendmail restart 11. login at ictfax web interface as admin (ictfax)[[BR]] 12. goto administrator => mailhandler => Add Mailbox and set following fields E-mail address: fax@FAX_DOMAIN.COM Folder: /var/spool/mail/freeswitch POP3 or IMAP Mailbox: IMAP Mailbox domain: *** must be empty *** Security: Require password (leave empty if you haven't set already) Delete messages after they are processed?: TICK / Yes
  • 15. 13. setup cronjob so incoming email can be processed after every 5 minutes echo 'MAILTO=""' > /tmp/freeswitch_cron.txt echo "*/5 * * * * wget -O /dev/null 'http://FAX_DOMAIN.COM/cron.php?cron_key=your_key' 2>/dev/null" >> /tmp/freeswitch_cron.txt crontab -l >> /tmp/freeswitch_cron.txt crontab /tmp/freeswitch_cron.txt 14. You can find your cron url by logging in at your web interface as admin. Go to Reports -> Status Reports. Copy your Cron URL and paste at the above URL and then run above lines at the command prompt. NOTE: make sure that /etc/hosts.allow is properly configured for accepting mails, and smtp port (25) is not blocked by firewall. if so Add following line to /etc/sysconfig/iptables above the last reject/drop rule: -A INPUT -m state --state NEW -m tcp -p tcp --dport 25 -j ACCEPT Also DO NOT enable CLEAN URLS, because plivo has been configured to use default URLS.
  • 16. 15. Create a content type "fax" with three additional fields "to" of type text, "from" of type text" and "file" of type file. Go to Admin => Structure => Feeds Importer => Mailhandler nodes. Click Override and then in Processor field make sure Fax Processor is selected. Click Mapping in fax processor. Make sure that your to, from and file fields are correctly mapped to toaddress, fromaddress and attachments respectively. 16. Now you are ready to send faxes through your email. See Admin/User Guide for further details.
  • 17. Thanks For Watching http://ictfax.org Contact: info@ictinnovations.com