<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-2657441212639607916</id><updated>2024-08-30T07:41:20.185+05:30</updated><title type='text'>Linux Administration Tips and Tricks Asterisk ,FreeSwitch And Opensips</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://nagarjunamallampalli.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2657441212639607916/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://nagarjunamallampalli.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>nagarjuna</name><uri>http://www.blogger.com/profile/02751409694569731519</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='23' src='http://4.bp.blogspot.com/_VpLrAbiTi0U/TFk1XJVoXPI/AAAAAAAAADU/ugfPMACXhEM/S220/tux_phone.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>21</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-2657441212639607916.post-1237938925256017808</id><published>2011-10-07T13:30:00.002+05:30</published><updated>2011-10-07T14:02:50.057+05:30</updated><title type='text'>Shell Script  to monitor the services and ports running in the linux system in the different Format</title><content type='html'>The Script read the service running the Linux system in the different&amp;nbsp; format&lt;br /&gt;
&lt;br /&gt;
The Script read the port number from the sample.txt&amp;nbsp; file and service name&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;sample .txt&lt;span style=&quot;display: block; padding-left: 6em;&quot;&gt;#INSTANCE_NAME:PORT:USER:&lt;wbr&gt;&lt;/wbr&gt;EXTERNAL_PORT&lt;br /&gt;
http             80  root 81&lt;br /&gt;
https            443 root &lt;/span&gt;&lt;span style=&quot;display: block; padding-left: 6em;&quot;&gt;ssh 22 rrot &lt;/span&gt;&lt;span style=&quot;display: block; padding-left: 6em;&quot;&gt;mail 25 rrot&lt;/span&gt;&lt;span style=&quot;display: block; padding-left: 6em;&quot;&gt;ftp 21 root&lt;/span&gt;&lt;span style=&quot;display: block; padding-left: 6em;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;display: block; padding-left: 6em;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;pre&gt;#!/bin/bash

cat /root/sample.txt|grep -v &quot;^#&quot;| while read line
do
#echo $line

NETSTAT=/bin/netstat
# for old file
INSTANCE_NAME=`echo $line | awk &#39;{print $1}&#39;`
PORT_NO=`echo $line | awk &#39;{print $2}&#39;`
USER=`echo $line | awk &#39;{print $3}&#39;`
# for new file
#INSTANCE_NAME=`echo $line | awk -F&#39;:&#39; &#39;{ print $1 }&#39;`
#PORT_NO=`echo $line | awk -F&#39;:&#39; &#39;{ print $2 }&#39;`
#USER=`echo $line | awk -F&#39;:&#39; &#39;{ print $3 }&#39;`
echo $INSTANCE_NAME
echo  $PORT_NO
echo $USER
RPORTS=$($NETSTAT -utan|awk &#39;{print $4}&#39;&lt;/pre&gt;&lt;pre&gt;|sed -s &quot;s/::ffff:[[:digit:]]\+\.[[:digit:]]\+\.[[:digit:]]\+\.[[:digit:]]/::/g&quot;&lt;/pre&gt;&lt;pre&gt;|sed -s &quot;s/0.0.0.0/::/g&quot;|sed -s &quot;s/127.0.0.1/::/g&quot;|sed -s &quot;s/[[:digit:]]\+\.[[:digit:]]\+\.[[:digit:]]\+\.[[:digit:]]/::/g&quot;|&lt;/pre&gt;&lt;pre&gt;cut -f4 -d&quot;:&quot;|grep -v 127.0.0.1)

  status=&quot;NO&quot;
  for r in $RPORTS
  do
   if [ &quot;$r&quot; == &quot;$PORT_NO&quot; ]
   then
    status=&quot;YES&quot;
    break
   fi
  done
  echo -n &quot; $INSTANCE_NAME is running $status with user as $USER&quot;
  echo &quot;&quot;
done&lt;/pre&gt;&lt;pre&gt;&amp;nbsp;&lt;/pre&gt;&lt;pre&gt;&amp;nbsp;&lt;/pre&gt;&lt;pre&gt;it monitor the services&amp;nbsp;&lt;/pre&gt;&lt;pre&gt;&lt;/pre&gt;&lt;pre&gt;0.0.0.0:80&lt;/pre&gt;&lt;pre&gt;&amp;nbsp;:::8080
&lt;/pre&gt;&lt;pre&gt;::ffff:127.0.0.1:8005 &lt;/pre&gt;</content><link rel='replies' type='application/atom+xml' href='http://nagarjunamallampalli.blogspot.com/feeds/1237938925256017808/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://nagarjunamallampalli.blogspot.com/2011/10/shell-script-to-monitor-services-and.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2657441212639607916/posts/default/1237938925256017808'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2657441212639607916/posts/default/1237938925256017808'/><link rel='alternate' type='text/html' href='http://nagarjunamallampalli.blogspot.com/2011/10/shell-script-to-monitor-services-and.html' title='Shell Script  to monitor the services and ports running in the linux system in the different Format'/><author><name>nagarjuna</name><uri>http://www.blogger.com/profile/02751409694569731519</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='23' src='http://4.bp.blogspot.com/_VpLrAbiTi0U/TFk1XJVoXPI/AAAAAAAAADU/ugfPMACXhEM/S220/tux_phone.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2657441212639607916.post-2500138992409065859</id><published>2011-07-07T15:56:00.000+05:30</published><updated>2011-07-07T15:56:10.916+05:30</updated><title type='text'>Cricinfo International Scores</title><content type='html'>&lt;a href=&quot;http://www.cricinfo.com/ci/content/current/site/product/widgets/scores_sizes.html&quot;&gt;Cricinfo International Scores&lt;/a&gt;: &quot;Get the latest scores of all the international cricket matches from Cricinfo. Add the Cricinfo International Scores widget now!&quot;</content><link rel='replies' type='application/atom+xml' href='http://nagarjunamallampalli.blogspot.com/feeds/2500138992409065859/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://nagarjunamallampalli.blogspot.com/2011/07/cricinfo-international-scores.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2657441212639607916/posts/default/2500138992409065859'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2657441212639607916/posts/default/2500138992409065859'/><link rel='alternate' type='text/html' href='http://nagarjunamallampalli.blogspot.com/2011/07/cricinfo-international-scores.html' title='Cricinfo International Scores'/><author><name>nagarjuna</name><uri>http://www.blogger.com/profile/02751409694569731519</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='23' src='http://4.bp.blogspot.com/_VpLrAbiTi0U/TFk1XJVoXPI/AAAAAAAAADU/ugfPMACXhEM/S220/tux_phone.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2657441212639607916.post-6503643093893874416</id><published>2011-01-31T17:32:00.001+05:30</published><updated>2011-01-31T17:36:52.401+05:30</updated><title type='text'>Apache, Tomcat  cluster, load balancing using mod_jk</title><content type='html'>&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;b&gt;Apache&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
The Apache HTTP Server Project is a collaborative software development   effort aimed at creating a robust, commercial-grade, feature ful, and   freely-available source code implementation of an HTTP (Web) server.    The project is jointly managed by a group of volunteers located around   the world, using the Internet and the Web to communicate, plan, and  develop  the server and its related documentation.  This project is part  of the Apache Software Foundation.  In addition, hundreds of users have  contributed  ideas, code, and documentation to the project.  This file  is intended to  briefly describe the history of the Apache HTTP Server  and recognize the  many contributors.&amp;nbsp; &lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Tomcat&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Apache Tomcat is an open source software implementation of the Java  Servlet and JavaServer Pages technologies. The Java Servlet and  Java Server Pages specifications are developed under the Java Community  Process. &lt;br /&gt;
Apache Tomcat is developed in an open and participatory environment and  released under the Apache License version 2.  Apache Tomcat is intended  to be a collaboration of the best-of-breed developers from around the  world.  We invite you to participate in this open development project.&lt;/div&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;h3 style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&amp;nbsp;Download the required software&amp;nbsp;&lt;/h3&gt;&lt;ul style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;li&gt;                      Apache                      2.x Binaries&amp;nbsp;&lt;/li&gt;
&lt;li&gt;                                            Tomcat 6.x Binaries                   &lt;/li&gt;
&lt;li&gt;                      The JK module&lt;/li&gt;
&lt;/ul&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;Installing of Apache and Tomcat &amp;nbsp; please refer previous posting of installing of Apache and Tomcat&lt;/div&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;load the mod_jk.so module&amp;nbsp; &lt;/div&gt;&lt;pre style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;LoadModule jk_module modules/mod_jk.so&lt;/pre&gt;&lt;pre style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;JkWorkersFile conf/workers.properties
JkLogFile logs/mod_jk.log
JkLogLevel info&lt;/pre&gt;&lt;pre style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;/pre&gt;&lt;pre style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;below DOcument Root&lt;/pre&gt;&lt;pre style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;/pre&gt;&lt;pre style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;JkMount /*.jsp loadbalancer
JkMount /servlet/* loadbalancer&lt;/pre&gt;&lt;pre style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;/pre&gt;&lt;pre style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;And create worker.properties file in /etc/httpd/conf/ directory&lt;/pre&gt;&lt;pre style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;/pre&gt;&lt;pre style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;#
# workers.properties 
#

# In Unix, we use forward slashes:
ps=/

# list the workers by name

worker.list=tomcat1, tomcat2, loadbalancer

# ------------------------
# First tomcat server
# ------------------------
worker.tomcat1.port=8019
worker.tomcat1.host=localhost
worker.tomcat1.type=ajp13

# Specify the size of the open connection cache.
#worker.tomcat1.cachesize

#
# Specifies the load balance factor when used with
# a load balancing worker.
# Note:
#  ----&amp;gt; lbfactor must be &amp;gt; 0
#  ----&amp;gt; Low lbfactor means less work done by the worker.
worker.tomcat1.lbfactor=100


# ------------------------
# Second tomcat server
# ------------------------
worker.tomcat2.port=8029
worker.tomcat2.host=localhost
worker.tomcat2.type=ajp13

# Specify the size of the open connection cache.
#worker.tomcat2.cachesize

#
# Specifies the load balance factor when used with
# a load balancing worker.
# Note:
#  ----&amp;gt; lbfactor must be &amp;gt; 0
#  ----&amp;gt; Low lbfactor means less work done by the worker.
worker.tomcat2.lbfactor=100


# ------------------------
# Load Balancer worker
# ------------------------

#
# The loadbalancer (type lb) worker performs weighted round-robin
# load balancing with sticky sessions.
# Note:
#  ----&amp;gt; If a worker dies, the load balancer will check its state
#        once in a while. Until then all work is redirected to peer
#        worker.
worker.loadbalancer.type=lb
worker.loadbalancer.balanced_workers=tomcat1, tomcat2

#
# END workers.properties
#
&amp;nbsp;&lt;/pre&gt;&lt;pre style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&amp;nbsp;&lt;/pre&gt;&lt;pre style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;and goto the tomcat server1 and edit the file /opt/tomcat1/conf/server.xml&lt;/pre&gt;&lt;pre style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&amp;nbsp;&lt;/pre&gt;&lt;pre style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;/pre&gt;&lt;pre style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;edit  line&amp;nbsp;&lt;/pre&gt;&lt;pre style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&amp;nbsp;&lt;/pre&gt;&lt;pre style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;engine debug=&quot;0&quot; defaulthost=&quot;localhost&quot; name=&quot;Standalone&quot;&gt;
&amp;nbsp;                                                  to&lt;/engine&gt;&lt;/pre&gt;&lt;pre style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;engine debug=&quot;0&quot; defaulthost=&quot;localhost&quot; jvmroute=&quot;tomcat1&quot; name=&quot;Standalone&quot;&gt;
&amp;nbsp;&lt;/engine&gt;&lt;/pre&gt;&lt;pre style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;server port=&quot;8005&quot;&gt;
             to
     &lt;server port=&quot;8019&quot;&gt;
&lt;/server&gt;&lt;/server&gt;&lt;/pre&gt;&lt;pre style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&amp;nbsp;&lt;/pre&gt;&lt;pre style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;engine debug=&quot;0&quot; defaulthost=&quot;localhost&quot; jvmroute=&quot;tomcat1&quot; name=&quot;Standalone&quot;&gt;&lt;/engine&gt;&lt;/pre&gt;&lt;pre style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;/pre&gt;&lt;pre style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;and goto the tomcat server2 and edit the file /opt/tomcat2/conf/server.xml&lt;/pre&gt;&lt;pre style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;engine debug=&quot;0&quot; defaulthost=&quot;localhost&quot; name=&quot;Standalone&quot;&gt;
&lt;/engine&gt;&lt;/pre&gt;&lt;pre style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;/pre&gt;&lt;pre style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;to&lt;/pre&gt;&lt;pre style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;server port=&quot;8019&quot;&gt;
&lt;/server&gt; &lt;engine debug=&quot;0&quot; defaulthost=&quot;localhost&quot; jvmroute=&quot;tomcat2&quot; name=&quot;Standalone&quot;&gt;
&lt;server port=&quot;8019&quot;&gt;

  &lt;/server&gt;&lt;server port=&quot;8005&quot;&gt;&lt;server port=&quot;8009&quot;&gt;
             to
     &lt;/server&gt;&lt;server port=&quot;8029&quot;&gt;
&lt;/server&gt;&lt;/server&gt;&lt;/engine&gt;&lt;/pre&gt;&lt;pre style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&amp;nbsp;&lt;/pre&gt;&lt;pre style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&amp;nbsp;&lt;/pre&gt;&lt;pre style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;In  apache server&lt;/pre&gt;&lt;pre style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&amp;nbsp;&lt;/pre&gt;&lt;pre style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;/pre&gt;&lt;pre style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;NameVirtualHost *

&lt;virtualhost *=&quot;&quot;&gt;
ServerName localhost1
JkMount /*.jsp tomcat1
JkMount /servlet/* tomcat1&lt;/virtualhost&gt;

&lt;virtualhost *=&quot;&quot;&gt;
ServerName localhost2
JkMount /*.jsp tomcat2
JkMount /servlet/* tomcat2&lt;/virtualhost&gt;
 &lt;/pre&gt;&lt;pre style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;/pre&gt;&lt;pre style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;/pre&gt;&lt;pre style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;/pre&gt;&lt;pre style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;/pre&gt;&lt;pre style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;/pre&gt;&lt;pre style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;/pre&gt;&lt;pre style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&amp;nbsp;&lt;/pre&gt;&lt;pre style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;And save the files and restart the both tomcat1 and tomcat2 server and apache start&lt;/pre&gt;&lt;pre style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;/pre&gt;&lt;pre style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;/pre&gt;&lt;pre style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;/pre&gt;&lt;pre style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;and in browser&lt;/pre&gt;&lt;pre style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;/pre&gt;&lt;pre style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;a href=&quot;http://localhost/&quot;&gt;http://localhost&lt;/a&gt;&lt;/pre&gt;&lt;pre style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&amp;nbsp;&lt;/pre&gt;&lt;pre style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;apache index.html will dispaly&lt;/pre&gt;&lt;pre style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;/pre&gt;&lt;pre style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;and&lt;a href=&quot;http://www.blogger.com/goog_1560226095&quot;&gt; http://localhost/&lt;/a&gt;&lt;a href=&quot;http://index.jsp/&quot;&gt;index.jsp&lt;/a&gt;&lt;/pre&gt;&lt;pre style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&amp;nbsp;&lt;/pre&gt;&lt;pre style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;request go to server1 and continue if will server load heavy&lt;/pre&gt;&lt;pre&gt;&lt;span style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt; it will redirect to server2 or in case of fail over &lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;/pre&gt;</content><link rel='replies' type='application/atom+xml' href='http://nagarjunamallampalli.blogspot.com/feeds/6503643093893874416/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://nagarjunamallampalli.blogspot.com/2011/01/apache-tomcat-cluster-load-balancing.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2657441212639607916/posts/default/6503643093893874416'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2657441212639607916/posts/default/6503643093893874416'/><link rel='alternate' type='text/html' href='http://nagarjunamallampalli.blogspot.com/2011/01/apache-tomcat-cluster-load-balancing.html' title='Apache, Tomcat  cluster, load balancing using mod_jk'/><author><name>nagarjuna</name><uri>http://www.blogger.com/profile/02751409694569731519</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='23' src='http://4.bp.blogspot.com/_VpLrAbiTi0U/TFk1XJVoXPI/AAAAAAAAADU/ugfPMACXhEM/S220/tux_phone.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2657441212639607916.post-4636651327794721829</id><published>2011-01-31T17:16:00.002+05:30</published><updated>2011-04-11T10:47:23.445+05:30</updated><title type='text'>Redirecting Request from apache to tomcat Server using Mod jk</title><content type='html'>&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;b&gt;Apache&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;The Apache HTTP Server Project is a collaborative software development  effort aimed at creating a robust, commercial-grade, feature ful, and  freely-available source code implementation of an HTTP (Web) server.   The project is jointly managed by a group of volunteers located around  the world, using the Internet and the Web to communicate, plan, and develop  the server and its related documentation.  This project is part of the Apache Software Foundation.  In addition, hundreds of users have contributed  ideas, code, and documentation to the project.  This file is intended to  briefly describe the history of the Apache HTTP Server and recognize the  many contributors.&amp;nbsp; &lt;/div&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;b&gt;Tomcat&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;Apache Tomcat is an open source software implementation of the Java Servlet and Java Server Pages technologies. The Java Servlet and Java Server Pages specifications are developed under the Java Community Process. &lt;/div&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;Apache Tomcat is developed in an open and participatory environment and released under the Apache License version 2.  Apache Tomcat is intended to be a collaboration of the best-of-breed developers from around the world.  We invite you to participate in this open development project.&lt;/div&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;using mod_proxy.so and mod_proxy_ajp.so &lt;/div&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;load module in Apache&lt;/div&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;edit the file /etc/httpd/conf/httpd.conf&lt;/div&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;uncomment or add &lt;/div&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;Download Mod_jk binary from&lt;/div&gt;&lt;pre style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;wget http://www.apache.org/dist/tomcat/tomcat-connectors/jk/binaries/linux&lt;/pre&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;h3&gt;&lt;u&gt;workers.properties File&lt;/u&gt;&lt;/h3&gt;&lt;ul&gt;&lt;li&gt;Create the workers.properties in your apache configuration directory. Example:&lt;br /&gt;
&lt;pre&gt;touch /etc/apache2/workers.properties
&lt;/pre&gt;&lt;/li&gt;
&lt;li&gt;Using your favorite editor (I like to use vi), edit the file and add the following information (tailor it to suit your system):  &lt;pre&gt;&lt;span style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;   workers.tomcat_home=/opt/tomcat6
   workers.java_home=/opt/java
   ps=/
   worker.list=worker1

   worker.worker1.port=8009
   worker.worker1.host=127.0.0.1
   worker.worker1.type=ajp13
   worker.worker1.lbfactor=1&lt;/span&gt;
&lt;/pre&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;h3&gt;&lt;u&gt;Virtual Host File&lt;/u&gt;&lt;/h3&gt;&lt;br /&gt;
This is probably the most vital step that is missing in a lot of  how-to&#39;s. The JkMount directive must be added to the virtual host file  containing port 80. The virtual host definition may also be present in  your apache2.conf or httpd.conf file. If not, create a new file called  something like default.conf, add the contents below, and put  default.conf somewhere in which it can be properly loaded by  apache2.conf (or httpd.conf). &lt;ul&gt;&lt;pre style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;virtualhost *:80=&quot;&quot;&gt;
   ServerName your.hostname.com

   # Send servlet for context /jsp-examples to worker named worker1
   JkMount /jsp-examples worker1

   # Send JSPs for context /jsp-examples/* to worker named worker1
   JkMount /jsp-examples/* worker1
&lt;/virtualhost&gt;&lt;/pre&gt;&lt;pre&gt;&amp;nbsp;&lt;/pre&gt;&lt;pre&gt;&amp;nbsp;&lt;/pre&gt;&lt;/ul&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;save the file&amp;nbsp; and restart the httpd server&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;and goto tomcat install directory&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;conf directory and edit server.xml&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;and restart the tomcat server&lt;/div&gt;&lt;ul&gt;&lt;pre&gt;&lt;/pre&gt;&lt;/ul&gt;&lt;h3&gt;&lt;u&gt;Test It&lt;/u&gt;&lt;/h3&gt;&lt;br /&gt;
To test your setup, type &lt;a href=&quot;http://localhost/jsp-examples&quot;&gt;http://localhost/jsp-examples&lt;/a&gt;. It should also work with &lt;a href=&quot;http://localhost:8080/jsp-examples&quot;&gt;http://localhost:8080/jsp-examples&lt;/a&gt;.&lt;proxy *=&quot;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/proxy&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;it will redirect to tomcat jsp-examples&amp;nbsp; home page&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nagarjunamallampalli.blogspot.com/feeds/4636651327794721829/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://nagarjunamallampalli.blogspot.com/2011/01/redirecting-request-from-apache-to.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2657441212639607916/posts/default/4636651327794721829'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2657441212639607916/posts/default/4636651327794721829'/><link rel='alternate' type='text/html' href='http://nagarjunamallampalli.blogspot.com/2011/01/redirecting-request-from-apache-to.html' title='Redirecting Request from apache to tomcat Server using Mod jk'/><author><name>nagarjuna</name><uri>http://www.blogger.com/profile/02751409694569731519</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='23' src='http://4.bp.blogspot.com/_VpLrAbiTi0U/TFk1XJVoXPI/AAAAAAAAADU/ugfPMACXhEM/S220/tux_phone.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2657441212639607916.post-8760871231041478091</id><published>2011-01-31T17:06:00.001+05:30</published><updated>2011-01-31T17:39:39.584+05:30</updated><title type='text'>Creating Secure Site in Tomact and Apache</title><content type='html'>&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;b&gt;Apache Tomcat&lt;/b&gt; &lt;/div&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;Apache Tomcat is an open source software implementation of the Java Servlet and Java Server Pages technologies. The Java Servlet and Java Server Pages specifications are developed under the Java Community Process. &lt;/div&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;Apache Tomcat is developed in an open and participatory environment and released under the Apache License version 2.  Apache Tomcat is intended to be a collaboration of the best-of-breed developers from around the world.  We invite you to participate in this open development project.&amp;nbsp;&lt;/div&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;Installation of Apache Tomcat&lt;/div&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;Downloads the tar file for&lt;/div&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;http://apache.cs.utah.edu/tomcat/tomcat-6/v6.0.30/bin/apache-tomcat-6.0.30.tar.gz&lt;/div&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;tar -zxvf&amp;nbsp; Apache-tomcat-6.0.30.tar.gz&lt;/div&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;cp -r&amp;nbsp;&amp;nbsp; tomcat /opt/tomcat&lt;/div&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;and write a start up scripts&lt;/div&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;create a file tomcat in /etc/init.d&amp;nbsp; give chmod 777 permissions to tomcat file&lt;/div&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;copy the&amp;nbsp;&lt;/div&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;#!/bin/bash&lt;br /&gt;
# chkconfig: - 10 20&lt;br /&gt;
# Source function library.&lt;br /&gt;
. /etc/rc.d/init.d/functions&lt;br /&gt;
# Source networking configuration.&lt;br /&gt;
. /etc/sysconfig/network&lt;br /&gt;
PATH=/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/bin:$PATH:$HOME/bin:./&lt;br /&gt;
export PATH&lt;br /&gt;
&amp;nbsp;export JAVA_HOME=/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre&lt;br /&gt;
export CLASSPATH=/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/lib/tools.jar:/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/lib/dt.jar:./&lt;br /&gt;
export CATALINA_HOME=/opt/tomcat/&lt;br /&gt;
export CATALINA_TMPDIR=/opt/tomcat/temp&lt;br /&gt;
unset USERNAME&lt;br /&gt;
&lt;br /&gt;
start()&lt;br /&gt;
{&lt;br /&gt;
cd /opt/tomcat6/bin/&lt;br /&gt;
sh startup.sh&lt;br /&gt;
}&lt;br /&gt;
stop()&lt;br /&gt;
{&lt;br /&gt;
cd /opt/tomcat/bin/&lt;br /&gt;
sh shutdown.sh&lt;br /&gt;
}&lt;br /&gt;
case &quot;$1&quot; in&lt;br /&gt;
start)&lt;br /&gt;
start&lt;br /&gt;
;;&lt;br /&gt;
stop)&lt;br /&gt;
stop&lt;br /&gt;
;;&lt;br /&gt;
restart)&lt;br /&gt;
stop&lt;br /&gt;
start&lt;br /&gt;
;;&lt;br /&gt;
*)&lt;br /&gt;
echo &quot;start | stop | restart&quot;&lt;br /&gt;
esac&lt;/div&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;save the file&lt;/div&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;and&amp;nbsp; start tomcat&amp;nbsp; /etc/init.d/tomcat start &lt;/div&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;and stop tomcat /etc/init.d/tomcat stop&lt;/div&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;http://localhost:8080&lt;/div&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;to create Secure site https&lt;/div&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;goto&amp;nbsp;&lt;/div&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;cd /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/bin&lt;/div&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;keytool -genkey -alias name-keypass admin123&amp;nbsp; -keystore domainnamecom.bin -storepass admin123&lt;/div&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;Note:keypass&amp;nbsp; and storepass&amp;nbsp; must be same password&lt;/div&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;it generate a file with name domainnamecom.bin in same directory&lt;/div&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;copy the file domainnamecom.bin to /opt/tomcat/webapps&lt;/div&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;and Goto cd /opt/tomcat/conf&lt;/div&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;and edit server.xml&lt;/div&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;and uncommmnet &lt;/div&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;connector port=&quot;8443&quot; protocol=&quot;HTTP/1.1&quot; sslenabled=&quot;true&quot;&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; maxThreads=&quot;150&quot; scheme=&quot;https&quot; secure=&quot;true&quot;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; clientAuth=&quot;false&quot; sslProtocol=&quot;TLS&quot; keystoreFile=&quot;../webapps/domainnamecom.bin&quot; keystorePass=&quot;admin123&quot;&amp;nbsp; /&amp;gt;&lt;/connector&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;and save the server.xml&lt;/div&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;and restart the tomcat server&lt;/div&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;https://localhost:8443&lt;/div&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;b&gt;Apache Server&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;The Apache HTTP Server Project is a collaborative software development  effort aimed at creating a robust, commercial-grade, feature ful, and  freely-available source code implementation of an HTTP (Web) server.   The project is jointly managed by a group of volunteers located around  the world, using the Internet and the Web to communicate, plan, and develop  the server and its related documentation.  This project is part of the Apache Software Foundation.  In addition, hundreds of users have contributed  ideas, code, and documentation to the project.  This file is intended to  briefly describe the history of the Apache HTTP Server and recognize the  many contributors.&amp;nbsp;&lt;/div&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;Compiling and Installing&lt;/div&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;Downloads source tar &lt;code&gt;http://httpd.apache.org/download.cgi&lt;/code&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;code&gt;tar -zxvf&amp;nbsp; &lt;/code&gt;&lt;code&gt;httpd-&lt;i&gt;NN&lt;/i&gt;.tar&lt;/code&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;code&gt;cd httpd&lt;/code&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;code&gt;./configure --prefix=&lt;i&gt;PREFIX&lt;/i&gt;&lt;/code&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;code&gt;&lt;i&gt;make&lt;/i&gt;&lt;/code&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;code&gt;&lt;i&gt;make install&lt;/i&gt;&lt;/code&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;code&gt;&lt;i&gt;configuration file is in&amp;nbsp;&lt;/i&gt;&lt;/code&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;code&gt;&lt;i&gt;/etc/httpd/conf/httpd.conf&lt;/i&gt;&lt;/code&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;code&gt;&lt;i&gt;to start&lt;/i&gt;&lt;/code&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;code&gt;&lt;i&gt;/et&lt;/i&gt;&lt;/code&gt;&lt;code&gt;c/init.d/httpd start&lt;/code&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;code&gt;to stop&lt;/code&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;code&gt;&amp;nbsp;/etc/init.d/httpd stop&amp;nbsp;&lt;/code&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;code&gt;and in browser&amp;nbsp;&lt;/code&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;code&gt;http://localhost&lt;/code&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;code&gt;To Create secure site&amp;nbsp;&lt;/code&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;code&gt;install mod_ssl and open_ssl&lt;/code&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;code&gt;then generate a key file&lt;/code&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;code&gt;&amp;nbsp;openssl genrsa -out /etc/httpd/ssl/domain.com.key 1024&lt;/code&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;code&gt;and using the key file generate certiifcate for 999 days&lt;/code&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;code&gt;&lt;br /&gt;
&lt;/code&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;code&gt;openssl req -new -key /etc/httpd/ssl/domain.com.key -x509 -out /etc/httpd/ssl/domainname.crt -days 999&lt;/code&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;code&gt;&lt;/code&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;code&gt;and edit the /etc/httpd/conf/httpd.conf&lt;/code&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;code&gt;&lt;/code&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;code&gt;&lt;/code&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;code&gt;&lt;/code&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;code&gt;&lt;br /&gt;
&amp;nbsp;copy the lines&lt;/code&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;code&gt;&lt;br /&gt;
&lt;/code&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;code&gt;DocumentRoot &quot;/var/www/html/ssl_doc_root/&quot;&lt;br /&gt;
ServerAdmin you@mycorp.com&lt;br /&gt;
ServerName servername&lt;br /&gt;
SSLEngine On&lt;br /&gt;
SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL&lt;br /&gt;
SSLCertificateFile /etc/httpd/ssl/domain.crt&lt;br /&gt;
SSLCertificateKeyFile /etc/httpd/ssl/domain.com.key&lt;br /&gt;
SetEnvIf User-Agent &quot;.*MSIE.*&quot; \&lt;br /&gt;
nokeepalive ssl-unclean-shutdown \&lt;br /&gt;
downgrade-1.0 force-response-1.0&lt;/code&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;code&gt;&lt;br /&gt;
&lt;/code&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;code&gt;&lt;br /&gt;
&lt;/code&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;code&gt;save the file&lt;/code&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;code&gt;restart the httpd server&lt;/code&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;code&gt;&lt;br /&gt;
&lt;/code&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;code&gt;&lt;br /&gt;
&lt;/code&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;code&gt;and in browser&lt;/code&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;code&gt;&lt;br /&gt;
&lt;/code&gt;&lt;/div&gt;&lt;code&gt;&lt;span style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;https://localhost&lt;/span&gt;&lt;/code&gt;&lt;br /&gt;
&lt;code&gt; &amp;nbsp;&lt;/code&gt;&lt;code&gt; &lt;/code&gt;</content><link rel='replies' type='application/atom+xml' href='http://nagarjunamallampalli.blogspot.com/feeds/8760871231041478091/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://nagarjunamallampalli.blogspot.com/2011/01/creating-secure-site-in-tomact-and.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2657441212639607916/posts/default/8760871231041478091'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2657441212639607916/posts/default/8760871231041478091'/><link rel='alternate' type='text/html' href='http://nagarjunamallampalli.blogspot.com/2011/01/creating-secure-site-in-tomact-and.html' title='Creating Secure Site in Tomact and Apache'/><author><name>nagarjuna</name><uri>http://www.blogger.com/profile/02751409694569731519</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='23' src='http://4.bp.blogspot.com/_VpLrAbiTi0U/TFk1XJVoXPI/AAAAAAAAADU/ugfPMACXhEM/S220/tux_phone.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2657441212639607916.post-2917890458297897603</id><published>2011-01-20T13:09:00.000+05:30</published><updated>2011-01-20T13:09:17.564+05:30</updated><title type='text'>FreeSwitch Installation Steps in centos and Debain</title><content type='html'>&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;Freeswitch&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span&gt;FreeSWITCH is a scalable open source cross-platform telephony  platform designed to route and interconnect popular communication  protocols using audio, video, text or any other form of media.&amp;nbsp; It was  created in 2006 to fill the void left by proprietary commercial  solutions.  FreeSWITCH also provides a stable telephony platform on  which many telephony applications can be developed using a wide range of  free tools.&lt;br /&gt;
&lt;br /&gt;
FreeSWITCH was originally designed and implemented by Anthony Minessale  with the help of Brian West and Michael Jerris.  All 3 are former  developers of the popular Asterisk open source PBX.&amp;nbsp; The project was  initiated to focus on several design goals including modularity,  cross-platform support, scalability and stability. Today, many more  developers and users contribute to the project on a daily basis.&lt;br /&gt;
&lt;br /&gt;
We support various communication technologies such as Skype, SIP, H.323  and GoogleTalk making it easy to interface with other open source PBX  systems such as sipXecs, Call Weaver, Bayonne, YATE or Asterisk.&lt;br /&gt;
&lt;br /&gt;
FreeSWITCH supports many advanced SIP features such as presence/BLF/SLA as well as TCP TLS and sRTP. It also can be used as a transparent proxy  with and without media in the path to act as a SBC (session border  controller) and proxy T.38 and other end to end protocols.  &lt;br /&gt;
&lt;br /&gt;
FreeSWITCH supports both wide and narrow band codecs making it an ideal  solution to bridge legacy devices to the future.  The voice channels and  the conference bridge module all can operate at 8, 12, 16, 24, 32 or 48  kilohertz and can bridge channels of different rates.  The G.729 codec  is also available under a commercial license.&lt;br /&gt;
&lt;br /&gt;
FreeSWITCH builds natively and runs standalone on several operating  systems including Windows, Max OS X, Linux, BSD and Solaris on both 32  and 64 bit platforms.&lt;br /&gt;
&lt;br /&gt;
FreeSWITCH supports FAX, both over audio and T.38, and can gateway between the two.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;span&gt;Centos Or Redhat&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span&gt;Installation Steps&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;pre style=&quot;font-family: inherit;&quot;&gt;yum install subversion autoconf automake libtool gcc-c++ ncurses-devel make expat-devel zlib zlib-devel&lt;/pre&gt;&lt;pre style=&quot;font-family: inherit;&quot;&gt;&lt;/pre&gt;&lt;pre style=&quot;font-family: inherit;&quot;&gt;Dependencies For Additional Modules in freeswitch&lt;/pre&gt;&lt;pre style=&quot;font-family: inherit;&quot;&gt;&lt;/pre&gt;&lt;pre style=&quot;font-family: inherit;&quot;&gt;yum install nano unixODBC-devel openssl-devel gnutls-devel libogg-devel libvorbis-devel curl-devel&lt;/pre&gt;&lt;pre style=&quot;font-family: inherit;&quot;&gt;&lt;/pre&gt;&lt;pre style=&quot;font-family: inherit;&quot;&gt;Installation git in centos&lt;/pre&gt;&lt;pre style=&quot;font-family: inherit;&quot;&gt;&lt;/pre&gt;&lt;pre style=&quot;font-family: inherit;&quot;&gt;yum install gettext-devel expat-devel curl-devel zlib-devel openssl-devel&lt;/pre&gt;&lt;pre style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/pre&gt;&lt;pre style=&quot;font-family: inherit;&quot;&gt;wget http://kernel.org/pub/software/scm/git/git-1.6.1.tar.gz&lt;/pre&gt;&lt;pre style=&quot;font-family: inherit;&quot;&gt;&lt;/pre&gt;&lt;pre style=&quot;font-family: inherit;&quot;&gt;untar the git source code&lt;/pre&gt;&lt;pre style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/pre&gt;&lt;pre style=&quot;font-family: inherit;&quot;&gt;tar xvfz git-1.6.1.tar.gz&amp;nbsp;&lt;/pre&gt;&lt;pre style=&quot;font-family: inherit;&quot;&gt;cd git-1.6.1.tar.gz&lt;/pre&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;make prefix=/usr/local all&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;make prefix=/usr/local install&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;Downloads the source of Freeswitch from git and install&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;pre style=&quot;font-family: inherit;&quot;&gt;cd /usr/src/
git clone git://git.freeswitch.org/freeswitch.git
cd /usr/src/freeswitch
./bootstrap.sh
./configure
make install
make cd-sounds-install
make cd-moh-install&lt;/pre&gt;&lt;pre style=&quot;font-family: inherit;&quot;&gt;&lt;/pre&gt;&lt;pre style=&quot;font-family: inherit;&quot;&gt;it install  default modules of Freeswitch if you needed additional modules&lt;/pre&gt;&lt;pre style=&quot;font-family: inherit;&quot;&gt;&lt;/pre&gt;&lt;pre style=&quot;font-family: inherit;&quot;&gt;go to /usr/src/freeswitch&amp;nbsp;&lt;/pre&gt;&lt;pre style=&quot;font-family: inherit;&quot;&gt;&lt;/pre&gt;&lt;pre style=&quot;font-family: inherit;&quot;&gt;edit the modules.conf&lt;/pre&gt;&lt;pre style=&quot;font-family: inherit;&quot;&gt;uncomment the modules need&lt;/pre&gt;&lt;pre style=&quot;font-family: inherit;&quot;&gt;and&amp;nbsp;&lt;/pre&gt;&lt;pre style=&quot;font-family: inherit;&quot;&gt;make install&lt;/pre&gt;&lt;pre style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/pre&gt;&lt;pre style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/pre&gt;&lt;pre style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;In Debian&lt;/b&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style=&quot;font-family: inherit;&quot;&gt;&lt;/pre&gt;&lt;pre style=&quot;font-family: inherit;&quot;&gt;apt-get install autoconf automake g++ git-core libjpeg62-dev libncurses5-dev libtool make&lt;/pre&gt;&lt;pre style=&quot;font-family: inherit;&quot;&gt;&lt;/pre&gt;&lt;pre style=&quot;font-family: inherit;&quot;&gt;cd /usr/src/
git clone git://git.freeswitch.org/freeswitch.git
cd /usr/src/freeswitch
./bootstrap.sh
./configure
make install
make cd-sounds-install
make cd-moh-install&lt;/pre&gt;&lt;pre style=&quot;font-family: inherit;&quot;&gt;&lt;/pre&gt;&lt;pre style=&quot;font-family: inherit;&quot;&gt;&lt;/pre&gt;&lt;pre style=&quot;font-family: inherit;&quot;&gt;&lt;/pre&gt;&lt;pre style=&quot;font-family: inherit;&quot;&gt;&lt;/pre&gt;&lt;pre style=&quot;font-family: inherit;&quot;&gt;&lt;/pre&gt;&lt;pre style=&quot;font-family: inherit;&quot;&gt;it install  default modules of Freeswitch if you needed additional modules
go to /usr/src/freeswitch 
edit the modules.conf
uncomment the modules need
and 
make install&lt;/pre&gt;&lt;pre style=&quot;font-family: inherit;&quot;&gt;&lt;/pre&gt;&lt;pre style=&quot;font-family: inherit;&quot;&gt;&lt;/pre&gt;&lt;pre style=&quot;font-family: inherit;&quot;&gt;&lt;/pre&gt;&lt;pre style=&quot;font-family: inherit;&quot;&gt;&lt;/pre&gt;&lt;pre style=&quot;font-family: inherit;&quot;&gt;Start and stop commands&lt;/pre&gt;&lt;pre style=&quot;font-family: inherit;&quot;&gt;&lt;/pre&gt;&lt;pre style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;start&lt;/b&gt;
/usr/local/freeswitch/bin/freeswitch -nc  ;non console&lt;/pre&gt;&lt;pre style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;stop &lt;/b&gt;&lt;/pre&gt;&lt;pre style=&quot;font-family: inherit;&quot;&gt;/usr/local/freeswitch/bin/freeswitch -stop&amp;nbsp;&lt;/pre&gt;&lt;pre style=&quot;font-family: inherit;&quot;&gt;&lt;/pre&gt;&lt;pre style=&quot;font-family: inherit;&quot;&gt;&lt;/pre&gt;&lt;pre style=&quot;font-family: inherit;&quot;&gt;&lt;/pre&gt;&lt;pre style=&quot;font-family: inherit;&quot;&gt;start up scripts&lt;/pre&gt;&lt;pre style=&quot;font-family: inherit;&quot;&gt;&lt;/pre&gt;&lt;pre style=&quot;font-family: inherit;&quot;&gt;create a file in /etc/init.d/freeswitch&lt;/pre&gt;&lt;pre style=&quot;font-family: inherit;&quot;&gt;&lt;/pre&gt;&lt;pre style=&quot;font-family: inherit;&quot;&gt;#!/bin/sh
#
# freeswitch.sh - startup script for freeswitch on FreeBSD
#
# This goes in /usr/local/etc/rc.d and gets run at boot-time.

case &quot;$1&quot; in

    start)
    if [ -x /usr/local/freeswitch/bin/freeswitch ] ; then
        echo -n &quot; freeswitch&quot;
        /usr/local/freeswitch/bin/freeswitch -nc &amp;amp;
    fi
    ;;

    stop)
    if [ -x /usr/local/freeswitch/bin/freeswitch ] ; then
        echo -n &quot; freeswitch&quot;
        /usr/local/freeswitch/bin/freeswitch -stop &amp;amp;
    fi
    ;;

    *)
    echo &quot;usage: $0 { start | stop }&quot; &amp;gt;&amp;amp;2
    exit 1
    ;;

esac&amp;nbsp;&lt;/pre&gt;&lt;pre style=&quot;font-family: inherit;&quot;&gt;&lt;/pre&gt;&lt;pre style=&quot;font-family: inherit;&quot;&gt;and give permissions of&amp;nbsp;&lt;/pre&gt;&lt;pre style=&quot;font-family: inherit;&quot;&gt;chmod 755&lt;/pre&gt;&lt;pre style=&quot;font-family: inherit;&quot;&gt;&lt;/pre&gt;&lt;pre style=&quot;font-family: inherit;&quot;&gt;chkconfig --add freeswitch
chkconfig --level 5 freeswitch on
chkconfig --list freeswitch&lt;/pre&gt;&lt;pre style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/pre&gt;&lt;pre style=&quot;font-family: inherit;&quot;&gt;&lt;/pre&gt;&lt;pre&gt;&lt;/pre&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt; &lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt; &lt;/div&gt;&lt;pre style=&quot;font-family: inherit;&quot;&gt;&lt;/pre&gt;&lt;span&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://nagarjunamallampalli.blogspot.com/feeds/2917890458297897603/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://nagarjunamallampalli.blogspot.com/2011/01/freeswitch-installation-steps-in-centos.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2657441212639607916/posts/default/2917890458297897603'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2657441212639607916/posts/default/2917890458297897603'/><link rel='alternate' type='text/html' href='http://nagarjunamallampalli.blogspot.com/2011/01/freeswitch-installation-steps-in-centos.html' title='FreeSwitch Installation Steps in centos and Debain'/><author><name>nagarjuna</name><uri>http://www.blogger.com/profile/02751409694569731519</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='23' src='http://4.bp.blogspot.com/_VpLrAbiTi0U/TFk1XJVoXPI/AAAAAAAAADU/ugfPMACXhEM/S220/tux_phone.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2657441212639607916.post-5671600519058365689</id><published>2011-01-20T11:48:00.000+05:30</published><updated>2011-01-20T11:48:43.714+05:30</updated><title type='text'>Read the File With Comma separte  and copy the files to directory using Perl script</title><content type='html'>To read the File and copy the files to the directorywith comma separate need the the Package&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; FileHandle.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
#!/usr/bin/perl&lt;br /&gt;
&lt;br /&gt;
use FileHandle;&lt;br /&gt;
&lt;br /&gt;
if (@ARGV != 2) {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; print&amp;nbsp; &quot; the argument is invalided \n&quot; &amp;nbsp; ;&lt;br /&gt;
&amp;nbsp; exit 1;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
$file_name = shift;&lt;br /&gt;
$output_path = shift;&lt;br /&gt;
&lt;br /&gt;
print &quot;$file_name ,$output_path \n&quot;;&lt;br /&gt;
$dir1 = &quot;/opt/test&quot;;&lt;br /&gt;
&lt;br /&gt;
open (FILE, &quot;$file_name&quot;) or die &quot;Cannot open $file_name $!\n&quot;;&lt;br /&gt;
&lt;br /&gt;
@fields;&lt;br /&gt;
while (&lt;file&gt;) {&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; chomp;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; @fields = split(/\,/);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; foreach my $item (@fields) {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; #print &quot;$item&amp;nbsp; \n&quot;;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; if ($#fields &amp;lt; 1) {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; print &quot; Error in file format \n&quot;;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; next;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp; $file_id = $fields[4];&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; print&amp;nbsp; &quot; $file_id \n&quot;; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; `cp -r &quot;$dir1/$file_id&quot; &quot;$output_path/$file_id&quot; `;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;}&lt;br /&gt;
close (FILE); &lt;/file&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
give permissons to file of script and&lt;br /&gt;
&lt;br /&gt;
perl test.pl new.txt&amp;nbsp; /opt/test/copy&lt;br /&gt;
&lt;br /&gt;
new.txt file format&lt;br /&gt;
1,wer,2,root,welcome.txt&lt;br /&gt;
2,wee,3,root,welcome1.log&lt;br /&gt;
3,333,4,root,sysd.log</content><link rel='replies' type='application/atom+xml' href='http://nagarjunamallampalli.blogspot.com/feeds/5671600519058365689/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://nagarjunamallampalli.blogspot.com/2011/01/read-file-with-comma-separte-and-copy.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2657441212639607916/posts/default/5671600519058365689'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2657441212639607916/posts/default/5671600519058365689'/><link rel='alternate' type='text/html' href='http://nagarjunamallampalli.blogspot.com/2011/01/read-file-with-comma-separte-and-copy.html' title='Read the File With Comma separte  and copy the files to directory using Perl script'/><author><name>nagarjuna</name><uri>http://www.blogger.com/profile/02751409694569731519</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='23' src='http://4.bp.blogspot.com/_VpLrAbiTi0U/TFk1XJVoXPI/AAAAAAAAADU/ugfPMACXhEM/S220/tux_phone.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2657441212639607916.post-1988154302777690572</id><published>2011-01-20T11:35:00.000+05:30</published><updated>2011-01-20T11:35:59.006+05:30</updated><title type='text'>Reading the Csv File and inser into Database using the Perl Script</title><content type='html'>To read the CSV File or Xls file the following packages is needed&lt;br /&gt;
&lt;br /&gt;
Spreadsheet::ParseExcel::Simple&lt;br /&gt;
Spreadsheet::ParseExcel&lt;br /&gt;
DBI &lt;br /&gt;
&lt;br /&gt;
the perl script&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
#!/usr/bin/perl&lt;br /&gt;
&lt;br /&gt;
use DBI;&lt;br /&gt;
use Spreadsheet::ParseExcel::Simple;&lt;br /&gt;
use Spreadsheet::ParseExcel;&lt;br /&gt;
&lt;br /&gt;
my $workbook = Spreadsheet::ParseExcel::Workbook-&amp;gt;Parse(&#39;Agent Details.xls&#39;);&lt;br /&gt;
&lt;br /&gt;
#==================================================&lt;br /&gt;
#==================================================&lt;br /&gt;
foreach $sheet (@{$workbook-&amp;gt;{Worksheet}}) {&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; foreach $col ($sheet-&amp;gt;{MinCol} .. $sheet-&amp;gt;{MaxCol}) {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if ($sheet-&amp;gt;{Cells}[0][$col]-&amp;gt;{Val} eq &quot;COL1&quot;) {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $col1= $col;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if ($sheet-&amp;gt;{Cells}[0][$col]-&amp;gt;{Val} eq &quot;COL2&quot;) {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $col2= $col;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; if ($sheet-&amp;gt;{Cells}[0][$col]-&amp;gt;{Val} eq &quot;COL3&quot;) {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $col3= $col;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; if ($sheet-&amp;gt;{Cells}[0][$col]-&amp;gt;{Val} eq &quot;COL4&quot;) {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $col4= $col;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
#==================================================&lt;br /&gt;
#==================================================&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; foreach $row ($sheet-&amp;gt;{MinRow}+1 .. $sheet-&amp;gt;{MaxRow}) {&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $col_1 = $sheet-&amp;gt;{Cells}[$row][$col1]-&amp;gt;{Val};&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $col_2 = $sheet-&amp;gt;{Cells}[$row][$col2]-&amp;gt;{Val};&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $col_3 = $sheet-&amp;gt;{Cells}[$row][$col3]-&amp;gt;{Val};&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $col_4 = $sheet-&amp;gt;{Cells}[$row][$col4]-&amp;gt;{Val};&lt;br /&gt;
&lt;br /&gt;
#==================================================&lt;br /&gt;
#==================================================&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if( $col_1!= &#39; &#39; &amp;amp;&amp;amp; $col_2!= &#39; &#39; &amp;amp;&amp;amp; col_3 !=&#39; &#39; &amp;amp;&amp;amp; col_4 != &#39; &#39;)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; $dbh = DBI-&amp;gt;connect(&quot;DBI:mysql:databasename:localhost:3306&quot;, &quot;username&quot;, &quot;password&quot;)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;or die &quot;Couldn&#39;t connect to database: &quot; . DBI-&amp;gt;errstr;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; $stmt = &quot;INSERT INTO databasename.tablename (col1,col2,col3,col4) values ( &#39;$col_1&#39; ,&#39;$col_2&#39;,&#39;$col_3&#39;,&#39;$col_4&#39;);&quot;;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; $affected_rows = $dbh-&amp;gt;do($stmt);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
}&lt;br /&gt;
#==================================================&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjstNe-fwEfLeN_EWWq3mU9n_mXkIlgcea5dS7gcTDcp3KDMHiz_-vmAu_-kXcDQwSUJ1J-dtBAUF-MASw6aHK17icBjJe5z3VFdl7P0KHvE-YER38TL4aqD5MLN0f5soAgSYfwsLTy8Jeq/s1600/xls.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;272&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjstNe-fwEfLeN_EWWq3mU9n_mXkIlgcea5dS7gcTDcp3KDMHiz_-vmAu_-kXcDQwSUJ1J-dtBAUF-MASw6aHK17icBjJe5z3VFdl7P0KHvE-YER38TL4aqD5MLN0f5soAgSYfwsLTy8Jeq/s640/xls.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://nagarjunamallampalli.blogspot.com/feeds/1988154302777690572/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://nagarjunamallampalli.blogspot.com/2011/01/reading-csv-file-and-inser-into.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2657441212639607916/posts/default/1988154302777690572'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2657441212639607916/posts/default/1988154302777690572'/><link rel='alternate' type='text/html' href='http://nagarjunamallampalli.blogspot.com/2011/01/reading-csv-file-and-inser-into.html' title='Reading the Csv File and inser into Database using the Perl Script'/><author><name>nagarjuna</name><uri>http://www.blogger.com/profile/02751409694569731519</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='23' src='http://4.bp.blogspot.com/_VpLrAbiTi0U/TFk1XJVoXPI/AAAAAAAAADU/ugfPMACXhEM/S220/tux_phone.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjstNe-fwEfLeN_EWWq3mU9n_mXkIlgcea5dS7gcTDcp3KDMHiz_-vmAu_-kXcDQwSUJ1J-dtBAUF-MASw6aHK17icBjJe5z3VFdl7P0KHvE-YER38TL4aqD5MLN0f5soAgSYfwsLTy8Jeq/s72-c/xls.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2657441212639607916.post-6840774545043438231</id><published>2010-12-10T12:48:00.000+05:30</published><updated>2010-12-10T12:48:43.107+05:30</updated><title type='text'>Asterisk Integration With Openldap</title><content type='html'>&lt;h1 style=&quot;font-weight: normal;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: small;&quot;&gt;LDAP integration for Asterisk &lt;/span&gt;&lt;/b&gt;&lt;/h1&gt;The &quot;light weight directory&quot; offers a means for central user administration for your network, including VoIP data. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To integration openldap with Asterisk&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
First Install and Configure the Openldap Server&lt;br /&gt;
After Installation Asterisk&lt;br /&gt;
In Extconfig.config do Following Changes&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sipusers =&amp;gt; ldap,&quot;dc=myDomain,dc=myDomainExt&quot;,sip&lt;br /&gt;
; &amp;nbsp;&amp;nbsp;&amp;nbsp; sippeers =&amp;gt; ldap,&quot;dc=myDomain,dc=myDomainExt&quot;,sip&lt;br /&gt;
; &amp;nbsp;&amp;nbsp;&amp;nbsp; extensions =&amp;gt; ldap,&quot;dc=myDomain,dc=myDomainExt&quot;,extensions&lt;br /&gt;
; &amp;nbsp;&amp;nbsp;&amp;nbsp; sip.conf =&amp;gt; ldap,&quot;dc=myDomain,dc=myDomainExt&quot;,config&lt;br /&gt;
;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; voicemail =&amp;gt; ldap,&quot;dc=myDomain,dc=myDomainExt&quot;,voicemail&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
And In res_ldap.conf&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;[_general]&lt;br /&gt;
; Specify one of either host and port OR url.&amp;nbsp; URL is preferred, as you can&lt;br /&gt;
; use more options.&lt;br /&gt;
;host=192.168.1.1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ; LDAP host&lt;br /&gt;
;port=389&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ;Ldap port&lt;br /&gt;
;url=ldap://ldap3.mydomain.com:3890&lt;br /&gt;
;protocol=3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ; Version of the LDAP protocol to use; default is 3.&lt;br /&gt;
;basedn=MyRootDN&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ; Base DN&lt;br /&gt;
;user=MyDN&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ; Bind DN&lt;br /&gt;
;pass=MyPassword&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ; Bind password&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
And&lt;br /&gt;
[config]&lt;br /&gt;
;&lt;br /&gt;
; additionalFilter - This specifies an additional set of criteria to be used&lt;br /&gt;
; when querying the LDAP server.&lt;br /&gt;
additionalFilter=(objectClass=AstConfig)&lt;br /&gt;
;&lt;br /&gt;
filename = AstConfigFilename&lt;br /&gt;
category = AstConfigCategory&lt;br /&gt;
variable_name = AstConfigVariableName&lt;br /&gt;
variable_value = AstConfigVariableValue&lt;br /&gt;
cat_metric = AstConfigCategoryMetric&lt;br /&gt;
commented = AstConfigCommented&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[extensions]&lt;br /&gt;
context&amp;nbsp; =&amp;nbsp; AstExtensionContext&lt;br /&gt;
exten&amp;nbsp; =&amp;nbsp; AstExtensionExten&lt;br /&gt;
priority = AstExtensionPriority&lt;br /&gt;
app = AstExtensionApplication&lt;br /&gt;
appdata = AstExtensionApplicationData&lt;br /&gt;
additionalFilter=(objectClass=AstExtension)&lt;br /&gt;
&lt;br /&gt;
[sip]&lt;br /&gt;
name = cn&lt;br /&gt;
amaflags = AstAccountAMAFlags&lt;br /&gt;
callgroup = AstAccountCallGroup&lt;br /&gt;
callerid = AstAccountCallerID&lt;br /&gt;
directmedia = AstAccountDirectMedia&lt;br /&gt;
context = AstAccountContext&lt;br /&gt;
dtmfmode = AstAccountDTMFMode&lt;br /&gt;
fromuser = AstAccountFromUser&lt;br /&gt;
fromdomain = AstAccountFromDomain&lt;br /&gt;
fullcontact = AstAccountFullContact&lt;br /&gt;
fullcontact = gecos&lt;br /&gt;
host = AstAccountHost&lt;br /&gt;
insecure = AstAccountInsecure&lt;br /&gt;
mailbox = AstAccountMailbox&lt;br /&gt;
md5secret = realmedPassword&amp;nbsp;&amp;nbsp;&amp;nbsp; ; Must be an MD5 hash. Field value can start with ,{md5} but it is not required.&lt;br /&gt;
nat = AstAccountNAT&lt;br /&gt;
deny = AstAccountDeny&lt;br /&gt;
permit = AstAccountPermit&lt;br /&gt;
pickupgroup = AstAccountPickupGroup&lt;br /&gt;
port = AstAccountPort&lt;br /&gt;
qualify = AstAccountQualify&lt;br /&gt;
restrictcid = AstAccountRestrictCID&lt;br /&gt;
rtptimeout = AstAccountRTPTimeout&lt;br /&gt;
rtpholdtimeout = AstAccountRTPHoldTimeout&lt;br /&gt;
type = AstAccountType&lt;br /&gt;
disallow = AstAccountDisallowedCodec&lt;br /&gt;
allow = AstAccountAllowedCodec&lt;br /&gt;
MusicOnHold = AstAccountMusicOnHold&lt;br /&gt;
regseconds = AstAccountExpirationTimestamp&lt;br /&gt;
regcontext = AstAccountRegistrationContext&lt;br /&gt;
regexten = AstAccountRegistrationExten&lt;br /&gt;
CanCallForward = AstAccountCanCallForward&lt;br /&gt;
ipaddr = AstAccountIPAddress&lt;br /&gt;
defaultuser = AstAccountDefaultUser&lt;br /&gt;
regserver = AstAccountRegistrationServer&lt;br /&gt;
lastms = AstAccountLastQualifyMilliseconds&lt;br /&gt;
additionalFilter=(objectClass=AsteriskSIPUser)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[voicemail]&lt;br /&gt;
context = AstAccountContext&lt;br /&gt;
mailbox = AstAccountMailbox&lt;br /&gt;
password=AstAccountPassword&lt;br /&gt;
email=AstAccountEmail&lt;br /&gt;
pager=AstAccountPager&lt;br /&gt;
tz=AstAccountTz&lt;br /&gt;
attach=AstAccountAttach&lt;br /&gt;
saycid=AstAccountSaycid&lt;br /&gt;
dialout=AstAccountDialout&lt;br /&gt;
callback=AstAccountCallback&lt;br /&gt;
review=AstAccountReview&lt;br /&gt;
operator=AstAccountOperator&lt;br /&gt;
envelope=AstAccountEnvelope&lt;br /&gt;
sayduration=AstAccountSayduration&lt;br /&gt;
saydurationm=AstAccountSaydurationm&lt;br /&gt;
&lt;br /&gt;
sendvoicemail=AstAccountSendvoicemail &lt;br /&gt;
delete=AstAccountDelete&lt;br /&gt;
forcename=AstAccountForcename&lt;br /&gt;
forcegreetings=AstAccountForcegreetings&lt;br /&gt;
hidefordir=AstAccountHidefordir&lt;br /&gt;
stamp=AstAccountStamp&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In extensions.conf&lt;br /&gt;
&lt;span style=&quot;font-family: monospace;&quot;&gt;&amp;nbsp; exten&amp;nbsp;=&amp;gt;&amp;nbsp;1234,1,LDAPget(CIDNAME=cidname/${CALLERIDNUM},${CALLERIDNUM},${CALLERIDNUM})&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: monospace;&quot;&gt;exten&amp;nbsp;=&amp;gt;&amp;nbsp;1234,2,SetCIDName(${CIDNAME})&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;font-family: monospace;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: monospace;&quot;&gt;&lt;/span&gt;&lt;span style=&quot;font-family: monospace;&quot;&gt;exten&amp;nbsp;=&amp;gt;&amp;nbsp;1234,3,Dial(SIP/${EXTEN},15&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://nagarjunamallampalli.blogspot.com/feeds/6840774545043438231/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://nagarjunamallampalli.blogspot.com/2010/12/asterisk-integration-with-openldap.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2657441212639607916/posts/default/6840774545043438231'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2657441212639607916/posts/default/6840774545043438231'/><link rel='alternate' type='text/html' href='http://nagarjunamallampalli.blogspot.com/2010/12/asterisk-integration-with-openldap.html' title='Asterisk Integration With Openldap'/><author><name>nagarjuna</name><uri>http://www.blogger.com/profile/02751409694569731519</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='23' src='http://4.bp.blogspot.com/_VpLrAbiTi0U/TFk1XJVoXPI/AAAAAAAAADU/ugfPMACXhEM/S220/tux_phone.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2657441212639607916.post-2402716390760034945</id><published>2010-11-15T14:49:00.001+05:30</published><updated>2010-11-15T14:51:23.091+05:30</updated><title type='text'>Asterisk Queues Log In to Database</title><content type='html'>&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;In order to properly manage ACD queues, it is important to be able to keep track of details of call setups and teardowns in much greater detail&amp;nbsp; than traditional call detail records provide.  In order to support this, &lt;br /&gt;
extensive and detailed tracing of every queued call is stored in the&amp;nbsp; queue log, located (by default) in /var/log/asterisk/queue_log.&amp;nbsp;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;For asterisk 1.6.1Above &lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;Create a table queue_log in MYSQL DB&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;/div&gt;&lt;pre style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;code&gt;CREATE TABLE `asterisk.queue_log` (
  `id` int(10) unsigned NOT NULL auto_increment,
  `time` int(10) unsigned default NULL,
  `callid` varchar(32) NOT NULL default &#39;&#39;,
  `queuename` varchar(32) NOT NULL default &#39;&#39;,
  `agent` varchar(32) NOT NULL default &#39;&#39;,
  `event` varchar(32) NOT NULL default &#39;&#39;,
  `data` varchar(255) NOT NULL default &#39;&#39;,&lt;/code&gt;&lt;/pre&gt;&lt;pre style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;code&gt;  `data1` varchar(255) NOT NULL default &#39;&#39;,&lt;/code&gt;
&lt;code&gt;  `data2` varchar(255) NOT NULL default &#39;&#39;,&lt;/code&gt; &lt;/pre&gt;&lt;pre style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;code&gt;  `data3` varchar(255) NOT NULL default &#39;&#39;,&lt;/code&gt;
&amp;nbsp;&lt;code&gt; `data4` varchar(255) NOT NULL default &#39;&#39;,&lt;/code&gt;
&lt;code&gt;  PRIMARY KEY (`id`)
);&lt;/code&gt;&lt;/pre&gt;&lt;pre style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;code&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;pre style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;code&gt;mysql&amp;gt; select * from queue_log;
+----+------------+--------------+------------------+-------+------------+-------+
| id | time       | callid       | queuename        | agent | event      | data  |
+----+------------+--------------+------------------+-------+------------+-------+
| 1  | 1198356717 | 1198356717.0 | voipsolutions.ru | NONE  | ENTERQUEUE | |serg |
| 2  | 1198356719 | 1198356717.0 | voipsolutions.ru | NONE  | ABANDON    | 1|1|2 |
+----+------------+--------------+------------------+-------+------------+-------+&lt;/code&gt;&lt;code&gt;&amp;nbsp;&lt;/code&gt;&lt;/pre&gt;&lt;pre style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;code&gt;Data field values is separated by Pipe(|) symbols&amp;nbsp;&lt;/code&gt;&lt;/pre&gt;&lt;pre style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;code&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;pre style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;CREATE TABLE IF NOT EXISTS `agent_status` (
&amp;nbsp;`agentId`&amp;nbsp;varchar(40)&amp;nbsp;NOT&amp;nbsp;NULL&amp;nbsp;default&amp;nbsp;&#39;&#39;,
&amp;nbsp;`agentName`&amp;nbsp;varchar(40)&amp;nbsp;default&amp;nbsp;NULL,
&amp;nbsp;`agentStatus`&amp;nbsp;varchar(30)&amp;nbsp;default&amp;nbsp;NULL,
&amp;nbsp;`timestamp`&amp;nbsp;timestamp&amp;nbsp;NULL&amp;nbsp;default&amp;nbsp;NULL,
&amp;nbsp;`callid`&amp;nbsp;double(18,6)&amp;nbsp;unsigned&amp;nbsp;default&amp;nbsp;&#39;0.000000&#39;,
&amp;nbsp;`queue`&amp;nbsp;varchar(20)&amp;nbsp;default&amp;nbsp;NULL,
&amp;nbsp;PRIMARY&amp;nbsp;KEY&amp;nbsp;&amp;nbsp;(`agentId`),
&amp;nbsp;KEY&amp;nbsp;`agentName`&amp;nbsp;(`agentName`),
&amp;nbsp;KEY&amp;nbsp;`agentStatus`&amp;nbsp;(`agentStatus`,`timestamp`,`callid`),
&amp;nbsp;KEY&amp;nbsp;`queue`&amp;nbsp;(`queue`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;


CREATE TABLE IF NOT EXISTS `call_status` (
&amp;nbsp;`callId`&amp;nbsp;double(18,6)&amp;nbsp;NOT&amp;nbsp;NULL,
&amp;nbsp;`callerId`&amp;nbsp;varchar(13)&amp;nbsp;NOT&amp;nbsp;NULL,
&amp;nbsp;`status`&amp;nbsp;varchar(30)&amp;nbsp;NOT&amp;nbsp;NULL,
&amp;nbsp;`timestamp`&amp;nbsp;timestamp&amp;nbsp;NULL&amp;nbsp;default&amp;nbsp;NULL,
&amp;nbsp;`queue`&amp;nbsp;varchar(25)&amp;nbsp;NOT&amp;nbsp;NULL,
&amp;nbsp;`position`&amp;nbsp;varchar(11)&amp;nbsp;NOT&amp;nbsp;NULL,
&amp;nbsp;`originalPosition`&amp;nbsp;varchar(11)&amp;nbsp;NOT&amp;nbsp;NULL,
&amp;nbsp;`holdtime`&amp;nbsp;varchar(11)&amp;nbsp;NOT&amp;nbsp;NULL,
&amp;nbsp;`keyPressed`&amp;nbsp;varchar(11)&amp;nbsp;NOT&amp;nbsp;NULL,
&amp;nbsp;`callduration`&amp;nbsp;int(11)&amp;nbsp;NOT&amp;nbsp;NULL,
&amp;nbsp;PRIMARY&amp;nbsp;KEY&amp;nbsp;&amp;nbsp;(`callId`),
&amp;nbsp;KEY&amp;nbsp;`callerId`&amp;nbsp;(`callerId`),
&amp;nbsp;KEY&amp;nbsp;`status`&amp;nbsp;(`status`),
&amp;nbsp;KEY&amp;nbsp;`timestamp`&amp;nbsp;(`timestamp`),
&amp;nbsp;KEY&amp;nbsp;`queue`&amp;nbsp;(`queue`),
&amp;nbsp;KEY&amp;nbsp;`position`&amp;nbsp;(`position`,`originalPosition`,`holdtime`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;&lt;/pre&gt;&lt;pre style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;code&gt;&amp;nbsp;&lt;/code&gt;&lt;/pre&gt;&lt;pre style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;code&gt;&amp;nbsp;&lt;/code&gt;&lt;/pre&gt;&lt;pre style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;code&gt;And then Created a trigger on the DB asterisk&lt;/code&gt;&lt;/pre&gt;&lt;pre style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;code&gt;&amp;nbsp;&lt;/code&gt;&lt;/pre&gt;&lt;pre style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;code&gt;DROP TRIGGER IF EXISTS `asterisk`.`queueEvents`;
DELIMITER //
CREATE TRIGGER `asterisk`.`queueEvents` BEFORE INSERT ON `asterisk`.`queue_log`
FOR EACH ROW BEGIN
 IF NEW.event = &#39;ADDMEMBER&#39; THEN
   INSERT INTO agent_status (agentId,agentStatus,timestamp,callid) VALUES&lt;/code&gt;&lt;/pre&gt;&lt;pre style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;code&gt; (NEW.agent,&#39;READY&#39;,NEW.time,NULL) ON DUPLICATE KEY UPDATE agentStatus = &quot;READY&quot;, timestamp = NEW.time, callid = NULL; 
 ELSEIF NEW.event = &#39;REMOVEMEMBER&#39; THEN
   INSERT INTO `agent_status` (agentId,agentStatus,timestamp,callid) VALUES&amp;nbsp;&lt;/code&gt;&lt;/pre&gt;&lt;pre style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;code&gt;(NEW.agent,&#39;LOGGEDOUT&#39;,NEW.time,NULL) ON DUPLICATE KEY UPDATE agentStatus = &quot;LOGGEDOUT&quot;, timestamp = NEW.time, callid = NULL;
 ELSEIF NEW.event = &#39;PAUSE&#39; THEN
   INSERT INTO agent_status (agentId,agentStatus,timestamp,callid) VALUES&lt;/code&gt;&lt;/pre&gt;&lt;pre style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;code&gt; (NEW.agent,&#39;PAUSE&#39;,NEW.time,NULL) ON DUPLICATE KEY UPDATE agentStatus = &quot;PAUSE&quot;, timestamp = NEW.time, callid = NULL; 
 ELSEIF NEW.event = &#39;UNPAUSE&#39; THEN
   INSERT INTO `agent_status` (agentId,agentStatus,timestamp,callid) VALUES&lt;/code&gt;&lt;/pre&gt;&lt;pre style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;code&gt; (NEW.agent,&#39;READY&#39;,NEW.time,NULL) ON DUPLICATE KEY UPDATE agentStatus = &quot;READY&quot;, timestamp = NEW.time, callid = NULL;
 ELSEIF NEW.event = &#39;ENTERQUEUE&#39; THEN
   REPLACE INTO `call_status` VALUES (NEW.callid,replace(replace(substring(substring_index(NEW.data, &#39;|&#39;, 2), length(substring_index(New.data, &#39;|&#39;, 2 - 1)) + 1), &#39;|&#39;, &#39;&#39;), &#39;|&#39;, &#39;&#39;),&#39;inQue&#39;,NEW.time,NEW.queuename,&#39;&#39;,&#39;&#39;,&#39;&#39;,&#39;&#39;,0);
 ELSEIF NEW.event = &#39;CONNECT&#39; THEN
   UPDATE `call_status` SET callid = NEW.callid,status = NEW.event,timestamp = NEW.time,queue = NEW.queuename,holdtime =&amp;nbsp;&lt;/code&gt;&lt;/pre&gt;&lt;pre style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;code&gt;replace(substring(substring_index(NEW.data, &#39;|&#39;, 1), length(substring_index(NEW.data, &#39;|&#39;, 1 - 1)) + 1), &#39;|&#39;, &#39;&#39;) where callid = NEW.callid;
INSERT INTO agent_status (agentId,agentStatus,timestamp,callid) VALUES(NEW.agent,NEW.event,NEW.time,NEW.callid)ON DUPLICATE KEY UPDATEagentStatus = NEW.event,timestamp = NEW.time,callid = NEW.callid;
 ELSEIF NEW.event in (&#39;COMPLETECALLER&#39;,&#39;COMPLETEAGENT&#39;) THEN
   UPDATE `call_status` SET callid = NEW.callid,status = NEW.event,timestamp = NEW.time,queue = NEW.queuename,originalPosition =&lt;/code&gt;&lt;/pre&gt;&lt;pre style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;code&gt; replace(substring(substring_index(NEW.data, &#39;|&#39;, 3), length(substring_index(NEW.data, &#39;|&#39;, 3 - 1)) + 1), &#39;|&#39;, &#39;&#39;),holdtime =&amp;nbsp;&lt;/code&gt;&lt;/pre&gt;&lt;pre style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;code&gt;replace(substring(substring_index(NEW.data, &#39;|&#39;, 1), length(substring_index(NEW.data, &#39;|&#39;, 1 - 1)) + 1), &#39;|&#39;, &#39;&#39;),callduration = replace(substring(substring_index(NEW.data, &#39;|&#39;, 2), length(substring_index(NEW.data, &#39;|&#39;, 2 - 1)) + 1), &#39;|&#39;, &#39;&#39;)&amp;nbsp;&lt;/code&gt;&lt;/pre&gt;&lt;pre style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;code&gt;where callid = NEW.callid;
INSERT INTO agent_status (agentId,agentStatus,timestamp,callid) VALUES (NEW.agent,NEW.event,NEW.time,NULL) ON DUPLICATE KEY&amp;nbsp;&lt;/code&gt;&lt;/pre&gt;&lt;pre style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;code&gt;UPDATE agentStatus = &quot;READY&quot;, timestamp = NEW.time, callid = NULL;
 ELSEIF NEW.event in (&#39;TRANSFER&#39;) THEN
   UPDATE `call_status` SET callid = NEW.callid,status = NEW.event,timestamp = NEW.time,queue = NEW.queuename,holdtime = replace(substring(substring_index(NEW.data, &#39;|&#39;, 1), length(substring_index(NEW.data, &#39;|&#39;, 1 - 1)) + 1), &#39;|&#39;, &#39;&#39;),callduration =&lt;/code&gt;&lt;/pre&gt;&lt;pre style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;code&gt; replace(substring(substring_index(NEW.data, &#39;|&#39;, 3), length(substring_index(NEW.data, &#39;|&#39;, 3 - 1)) + 1), &#39;|&#39;, &#39;&#39;) where callid = NEW.callid;
INSERT INTO agent_status (agentId,agentStatus,timestamp,callid) VALUES(NEW.agent,&#39;READY&#39;,NEW.time,NULL)ON DUPLICATE KEY&amp;nbsp;&lt;/code&gt;&lt;/pre&gt;&lt;pre style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;code&gt;UPDATE agentStatus = &quot;READY&quot;,timestamp = NEW.time,callid = NULL;
 ELSEIF NEW.event in (&#39;ABANDON&#39;,&#39;EXITEMPTY&#39;) THEN 
   UPDATE `call_status` SET callid = NEW.callid,status = NEW.event,timestamp = NEW.time,queue = NEW.queuename,position = replace(substring(substring_index(NEW.data, &#39;|&#39;, 1), length(substring_index(NEW.data, &#39;|&#39;, 1 - 1)) + 1), &#39;|&#39;, &#39;&#39;),originalPosition =&amp;nbsp;&lt;/code&gt;&lt;/pre&gt;&lt;pre style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;code&gt;replace(substring(substring_index(NEW.data, &#39;|&#39;, 2), length(substring_index(NEW.data, &#39;|&#39;, 2 - 1)) + 1), &#39;|&#39;, &#39;&#39;),holdtime = replace(substring(substring_index(NEW.data, &#39;|&#39;, 3), length(substring_index(NEW.data, &#39;|&#39;, 3 - 1)) + 1), &#39;|&#39;, &#39;&#39;)&amp;nbsp;&lt;/code&gt;&lt;/pre&gt;&lt;pre style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;code&gt;where callid = NEW.callid;
 ELSEIF NEW.event = &#39;EXITWITHKEY&#39;THEN 
   UPDATE `call_status` SET callid = NEW.callid,status = NEW.event,timestamp = NEW.time,queue = NEW.queuename,position = replace(substring(substring_index(NEW.data, &#39;|&#39;, 2), length(substring_index(NEW.data, &#39;|&#39;, 2 - 1)) + 1), &#39;|&#39;, &#39;&#39;),keyPressed =&lt;/code&gt;&lt;/pre&gt;&lt;pre style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;code&gt; replace(substring(substring_index(NEW.data, &#39;|&#39;, 1), length(substring_index(NEW.data, &#39;|&#39;, 1 - 1)) + 1), &#39;|&#39;, &#39;&#39;) where callid = NEW.callid;
 ELSEIF NEW.event = &#39;EXITWITHTIMEOUT&#39; THEN 
   UPDATE `call_status` SET callid = NEW.callid,status = NEW.event,timestamp = NEW.time,queue = NEW.queuename,position =&amp;nbsp;&lt;/code&gt;&lt;/pre&gt;&lt;pre style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;code&gt;replace(substring(substring_index(NEW.data, &#39;|&#39;, 1), length(substring_index(NEW.data, &#39;|&#39;, 1 - 1)) + 1), &#39;|&#39;, &#39;&#39;)&amp;nbsp;&lt;/code&gt;&lt;/pre&gt;&lt;pre style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;code&gt;where callid = NEW.callid;
END IF;
 END
//
DELIMITER ;&lt;/code&gt;&lt;/pre&gt;&lt;pre style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;code&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;pre&gt;&lt;code&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;pre&gt;&lt;code&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;pre&gt;&lt;code&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;pre&gt;&lt;code&gt;
&lt;/code&gt;&lt;/pre&gt;</content><link rel='replies' type='application/atom+xml' href='http://nagarjunamallampalli.blogspot.com/feeds/2402716390760034945/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://nagarjunamallampalli.blogspot.com/2010/11/asterisk-queues-log-in-to-database.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2657441212639607916/posts/default/2402716390760034945'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2657441212639607916/posts/default/2402716390760034945'/><link rel='alternate' type='text/html' href='http://nagarjunamallampalli.blogspot.com/2010/11/asterisk-queues-log-in-to-database.html' title='Asterisk Queues Log In to Database'/><author><name>nagarjuna</name><uri>http://www.blogger.com/profile/02751409694569731519</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='23' src='http://4.bp.blogspot.com/_VpLrAbiTi0U/TFk1XJVoXPI/AAAAAAAAADU/ugfPMACXhEM/S220/tux_phone.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2657441212639607916.post-8322077903705492798</id><published>2010-08-11T15:53:00.001+05:30</published><updated>2010-08-11T16:15:30.555+05:30</updated><title type='text'>Configuration of Digium  TE110p with Asterisk With Difference E1 Provider</title><content type='html'>&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;E1 is a physical layer protocol, like ethernet. It defines a 2Mbps link between two endpoints.&lt;br /&gt;
&lt;br /&gt;
T1 is similar to E1. It is used in North America and is 1.544Mbps&lt;br /&gt;
A more in depth difference between the two can be found here&lt;br /&gt;
&lt;br /&gt;
A J1 card is the Japanse version of a T1. (the tiny differences between T1 and J1 can be found here&lt;br /&gt;
&lt;br /&gt;
Both T1 and E1 can be used to transmit data or voice, or a mixture of both.&lt;br /&gt;
&lt;br /&gt;
For example: if an E1 is reserved for voice channels only, the 2mbit  will be split into 32 64Kbps telephone channels. 30 of these channels  can carry one telephone conversation each, and 2 carry signalling and  timing information.&lt;br /&gt;
&lt;br /&gt;
A t1 could carry 24 telephone channels, each of which can carry a telephone conversation.&lt;br /&gt;
&lt;br /&gt;
Please note that in the states, its a common practice for carriers to  offer fractional T1s, these have only some of the 24 channels  provisoned.&lt;br /&gt;
&lt;br /&gt;
Lets have a look at the supported audio operating modes:&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;tab&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;u&gt;&lt;b&gt;Supported Audio Modes on E1/T1:&lt;/b&gt;&lt;/u&gt;&lt;br /&gt;
&lt;div class=&quot;tab&quot;&gt;&lt;br /&gt;
There are a number of protocols which can run on top of E1.&lt;br /&gt;
These protocols are grouped into 3 big subgroups, CAS, CCS, RBS.&lt;br /&gt;
Lets have a closer look on these subgroups:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;u&gt;a) CAS signalling&lt;/u&gt;&lt;br /&gt;
&lt;br /&gt;
CAS stands for Channel Associated Signalling. Examples are FXS&lt;br /&gt;
loop start and E&amp;amp;M wink start. These protocols provide information  such as the number that was called, and what state the call is in.  They&#39;re limited in what information they can carry, and are slow to set  up.&lt;br /&gt;
&lt;br /&gt;
With this kind of signalling, a set of bits is used to replicate opening  and closing the circuit (as if picking up the telephone receiver and  pulsing digits on a rotary phone), or using tone signalling which is  passed through on the voice circuits themselves&lt;br /&gt;
&lt;br /&gt;
CAS is the original signaling system used by E1. In CAS, channel 16 is  reserved for signaling. In recent years, the term RBS has been replaced  by CAS which is now used to refer to bits that are associated with a  specific channel whether it is in the T1 or E1 format. &lt;br /&gt;
&lt;br /&gt;
Different subprotocols are:&lt;br /&gt;
&lt;div class=&quot;tab&quot;&gt;&lt;br /&gt;
- E&amp;amp;M&lt;br /&gt;
&lt;div class=&quot;tab&quot;&gt;&lt;br /&gt;
- Wink (this might be only RBS, if you know this for sure, please leave a comment.)&lt;br /&gt;
- Feature Group B&lt;br /&gt;
- Feature Group D&lt;/div&gt;&lt;br /&gt;
- FXO &amp;amp; FXS: this seems to only use CAS on E1&#39;s&lt;br /&gt;
&lt;div class=&quot;tab&quot;&gt;&lt;br /&gt;
- Ground Start&lt;br /&gt;
- Loop Start&lt;br /&gt;
- Loop Start with Disconnect Detect&lt;/div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;u&gt;CCS signalling&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Common Channel signalling: A  more recent kind of signalling, which  resolves the problems associated with CAS signalling.  In this kind of  signalling, short messages are sent over the signalling channel, with  more information about the call, including caller ID, type of  transmission required, etc. etc.&lt;br /&gt;
&lt;br /&gt;
CCS is used by either T1 or E1 and refers to a system that does not use a  specific bit structure for signaling. Instead, all or part of a channel  is used to pass messages between two systems to indicate how a channel  is being used. &lt;br /&gt;
&lt;br /&gt;
CCS is used by either T1 or E1 and refers to a system that does not use a  specific bit structure for signaling. Instead, all or part of a channel  is used to pass messages between two systems to indicate how a channel  is being used. This type of system is commonly found in ISDN which uses a  D channel to pass messages.&lt;br /&gt;
&lt;br /&gt;
ISDN signalling and ss7 signalling are a subgroup of CCS signalling.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;tab&quot;&gt;- ISDN (PRI CPE &amp;amp; PRI NET) &lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;tab&quot;&gt;ISDN uses one channel (called the D channel) for  signalling call information. On E1, this is one of the 2 signalling  channels, leaving 30 channels for voice (called B channels). On T1,  there aren&#39;t any spare signalling channels, so one of the voice channels  is used, leaving 23 B channels for voice.&lt;br /&gt;
&lt;br /&gt;
A PRI (Primary Rate ISDN) is simply an E1 or T1 with ISDN on top of it.  ISDN gives fast, reliable call setup and hangup detection, and detailed  information about the call. In the UK, PRI is also called ISDN30.&lt;br /&gt;
&lt;br /&gt;
An important extension to ISDN is Q.SIG, which provides extra signalling information that is used when connecting PBX systems.&lt;br /&gt;
&lt;br /&gt;
Currently, asterisk has limited support for Q.SIG, it can make and receive calls and retrieve some of the extra information.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;tab&quot;&gt;&lt;br /&gt;
- On E1, EuroISDN is the standard for ISDN signalling.&lt;br /&gt;
&lt;br /&gt;
- On T1, there are different standards from different providers:&lt;br /&gt;
&lt;div class=&quot;tab&quot;&gt;- NI1&lt;br /&gt;
- NI2&lt;br /&gt;
- 4ESS (AT&amp;amp;T)&lt;br /&gt;
- 5ESS (Lucent)&lt;br /&gt;
- DMS100&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;tab&quot;&gt;- SS7 &lt;/div&gt;&lt;br /&gt;
&lt;b&gt;&lt;u&gt;RBS: Robbed Bit Signalling&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
RBS is the original signaling system used by T1 and provides either 2 or  4 signaling bits per channel depending on the multiframe format. In  recent years, the term RBS has been replaced by CAS which is now used to  refer to bits that are associated with a specific channel whether it is  in the T1 or E1 format. &lt;br /&gt;
&lt;div class=&quot;tab&quot;&gt;&lt;br /&gt;
- E&amp;amp;M&lt;br /&gt;
&lt;div class=&quot;tab&quot;&gt;&lt;br /&gt;
- Wink&lt;br /&gt;
- Feature Group B&lt;br /&gt;
- Feature Group D&lt;/div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;br /&gt;
&lt;div class=&quot;tab&quot;&gt;- FXO &amp;amp; FXS: this seems to only use RBS on T1&#39;s&lt;br /&gt;
&lt;div class=&quot;tab&quot;&gt;&lt;br /&gt;
- Ground Start&lt;br /&gt;
- Loop Start&lt;br /&gt;
- Loop Start with Disconnect Detect&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;tab&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;u&gt;&lt;b&gt;Framing&lt;/b&gt;&lt;/u&gt;&lt;br /&gt;
&lt;br /&gt;
AMI, B8ZS, and HDB3 are different types of line coding used in T1 and E1  communications systems. AMI stands for alternate mark inversion and is  used in both T1 and E1 systems. B8ZS stands for Bipolar with 8 Zeros  Substitution and is used in T1 systems while HDB3 stands for  High-Density Bipolar 3 and is used in E1 systems.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;tab&quot;&gt;- HDB3: High-Density Bipolar 3 -&amp;gt; E1 only &lt;br /&gt;
- AMI: Aternate Mark Inversion -&amp;gt; E1 and T1, the T1 version exists with both ESF (extended super frame) and SF (super frame)&lt;br /&gt;
- B8ZS: Bipolar with 8 Zeros Substitution -&amp;gt; T1 only, exists with both ESF (extended super frame) and SF (super frame)&lt;/div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;tab&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;u&gt;&lt;b&gt;What signalling and framing should i ask my carrier? &lt;/b&gt;&lt;/u&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;tab&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;u&gt;&lt;b&gt;Timing or clock sources&lt;/b&gt;&lt;/u&gt;&lt;br /&gt;
&lt;div class=&quot;tab&quot;&gt;&lt;br /&gt;
A T1/E1 connection needs a timing device on one of both ends.&lt;br /&gt;
A T1/E1 line can be clocked internally or can be clocked by the telco.&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;u style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;b&gt;Asterisk Compatible E1/T1 cards&lt;/b&gt;&lt;/u&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;tab&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;u&gt;available cards&lt;/u&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;u&gt;Digium:&lt;/u&gt;&lt;br /&gt;
&lt;div class=&quot;tab&quot;&gt;&lt;br /&gt;
- TE110p:  1 port T1/E1 for use in 3.3 or 5 volt pci slots. &lt;br /&gt;
- TE205p: 2 port T1/E1 for use in 5 volt pci slots&lt;br /&gt;
- TE210p: 2 port T1/E1 for use in 3.3 volt pci slots&lt;br /&gt;
- TE405p: 4 port T1/E1 for use in 5 volt pci slots&lt;br /&gt;
- TE410p: 4 port T1/E1 for use in 3.3 volt pci slots&lt;br /&gt;
- TE406p:   2nd generation 4 port T1/E1 for use in 5 volt pci slots, with hardware  DTMF recognition and echo cancellation. (now discontinued, but still  supported)&lt;br /&gt;
- TE411p:  2nd generation 4 port T1/E1 for use in 3.3 volt pci slots, with  hardware DTMF  recognition and echo cancellation. (now discontinued, but  still supported)&lt;br /&gt;
- TE407p:  3rd generation 4 port T1/E1 for use in 5 volt pci slots, with octasic hardware DTMF recognition and echo cancellation.&lt;br /&gt;
- TE412p: 3rd generation 4 port T1/E1 for use in 3.3 volt pci slots, with octasic hardware DTMF recognition and echo cancellation. &lt;br /&gt;
&lt;br /&gt;
- Tormenta 2: Discontinued cards based on the open source project zapatatelephony &lt;br /&gt;
These cards were known as: Wildcard T100P, T400P, E100P, E400P&lt;/div&gt;&lt;br /&gt;
&lt;u&gt;intel&lt;/u&gt;&lt;br /&gt;
&lt;div class=&quot;tab&quot;&gt;&lt;br /&gt;
- Dialogic D/41JCT-LS: quad t1/e1 board, requires additional (paid) drivers from digium to make it work.&lt;/div&gt;&lt;br /&gt;
&lt;u&gt;sangoma&lt;/u&gt;&lt;br /&gt;
&lt;div class=&quot;tab&quot;&gt;&lt;br /&gt;
- A101: One port T1/E1 card&lt;br /&gt;
- A102 :Two port T1/E1 card&lt;br /&gt;
- A104:  Four port T1/E1 card&lt;/div&gt;&lt;br /&gt;
&lt;u&gt;varion&lt;/u&gt;&lt;br /&gt;
&lt;div class=&quot;tab&quot;&gt;&lt;br /&gt;
- V400P-E: 4 port E1 card, based on the open source zapata telephony project.&lt;br /&gt;
These are the same cards as the discontinued digium cards.&lt;br /&gt;
&lt;br /&gt;
- V400P-T: 4 port E1 card, based on the open source zapata telephony project.&lt;br /&gt;
These are the same cards as the discontinued digium cards.&lt;/div&gt;&lt;br /&gt;
&lt;u&gt;Eikon&lt;/u&gt;&lt;br /&gt;
&lt;br /&gt;
- none public available yet.&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;&lt;br /&gt;
&lt;div class=&quot;tab&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;u&gt;What card should you pick ?&lt;/u&gt;&lt;br /&gt;
&lt;br /&gt;
I recommend against using cards based on the tormenta project, they are  way older and take up a lot more cpu. (and their development seems  stalled).&lt;br /&gt;
&lt;br /&gt;
The newest digium cards (TE406p and TE411p) as well as the latest  firmware versions of the te405p and te410p are optimized for speed.&lt;br /&gt;
&lt;br /&gt;
Only the digium TE406p and the digiun TE411p have hardware echo  cancellation,  causing a big difference in cpu usage. But this comes at a  slightly higher cost.&lt;br /&gt;
&lt;br /&gt;
If you need the 40% speed gain with on board echo cancellers, go for  these cards, otherwise go for the cheaper te410p or te405p. (or the 1 or  2 port versions).&lt;br /&gt;
&lt;br /&gt;
It is said on the mailinglists that the hardware echo canceller also has  better quality than the echo cancellation done in software. (I can  confirm nor deny this claim - it&#39;s based on a single source).&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;u style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;b&gt;Asterisk E1/T1 channel drivers&lt;/b&gt;&lt;/u&gt;&lt;br /&gt;
&lt;div class=&quot;tab&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;br /&gt;
There are two ways to get the E1/T1 cards to work:&lt;br /&gt;
&lt;br /&gt;
First one is chan_zap (requires the zaptel kernel modules), this is recommended for all digium + sangoma cards.&lt;br /&gt;
&lt;br /&gt;
The second one is chan_mISDN (requires the mISDN kernel patches)&lt;br /&gt;
&lt;br /&gt;
This is probably only usefull for eicon cards. chan_misdn is written for BRI cards, but also supports some E1/T1 cards.&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;br /&gt;
&lt;u&gt;&lt;b&gt;Building, installing and configuring asterisk with E1/T1 cards&lt;/b&gt;&lt;/u&gt;&lt;br /&gt;
&lt;br /&gt;
We will only discuss using chan_zap for now (its the only recommended thing to do).&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;b&gt;Tata IndiCom Provider&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span class=&quot;postbody&quot;&gt; Cross cable with tata indicom PRI line&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span class=&quot;postbody&quot;&gt;Few Things&amp;nbsp; need to Conform from Provider&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;ul style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;li&gt;&lt;span class=&quot;postbody&quot;&gt;check with your provider if CRC is on&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;postbody&quot;&gt; signaling type&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;postbody&quot;&gt;Cross Cable or not&amp;nbsp;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span class=&quot;postbody&quot;&gt;&amp;nbsp;Configuration In&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span class=&quot;postbody&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; zaptel.conf  &lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp; span=1,1,0,ccs,hdb3 &lt;br /&gt;
&amp;nbsp;&amp;nbsp; bchan=1-15,17-31 &lt;br /&gt;
&amp;nbsp;&amp;nbsp; dchan=16 &lt;br /&gt;
&amp;nbsp;&amp;nbsp; loadzone=uk &lt;br /&gt;
&amp;nbsp;&amp;nbsp; defaultzone=uk&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span class=&quot;postbody&quot;&gt;&amp;nbsp;&amp;nbsp; zapata.conf  &lt;br /&gt;
&amp;nbsp;&amp;nbsp; [trunkgroups] &lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp; [channels] &lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp; language=en &lt;br /&gt;
&amp;nbsp;&amp;nbsp; context=from-zaptel &lt;br /&gt;
&amp;nbsp;&amp;nbsp; switchtype=euroisdn &lt;br /&gt;
&amp;nbsp;&amp;nbsp; pridialplan=unknown &lt;br /&gt;
&amp;nbsp;&amp;nbsp; priindication=outofband &lt;br /&gt;
&amp;nbsp;&amp;nbsp; usecallerid=yes &lt;br /&gt;
&amp;nbsp;&amp;nbsp; hidecallerid=no &lt;br /&gt;
&amp;nbsp;&amp;nbsp; callwaiting=yes &lt;br /&gt;
&amp;nbsp;&amp;nbsp; usecallingpres=yes &lt;br /&gt;
&amp;nbsp;&amp;nbsp; threewaycalling=yes &lt;br /&gt;
&amp;nbsp;&amp;nbsp; transfer=yes &lt;br /&gt;
&amp;nbsp;&amp;nbsp; cancallforward=yes &lt;br /&gt;
&amp;nbsp;&amp;nbsp; callreturn=yes &lt;br /&gt;
&amp;nbsp;&amp;nbsp; callgroup=1 &lt;br /&gt;
&amp;nbsp;&amp;nbsp; pickupgroup=1 &lt;br /&gt;
&amp;nbsp;&amp;nbsp; immediate=no &lt;br /&gt;
&amp;nbsp;&amp;nbsp; echotraining=800 &lt;br /&gt;
&amp;nbsp;&amp;nbsp; echocancel=yes &lt;br /&gt;
&amp;nbsp;&amp;nbsp; echocancelwhenbridged=no &lt;br /&gt;
&amp;nbsp;&amp;nbsp; relaxdtmf=yes &lt;br /&gt;
&amp;nbsp;&amp;nbsp; musiconhold=default &lt;br /&gt;
&amp;nbsp;&amp;nbsp; immediate=no &lt;br /&gt;
&amp;nbsp;&amp;nbsp; txgain=0.0 &lt;br /&gt;
&amp;nbsp;&amp;nbsp; rxgain=0.0 &lt;br /&gt;
&amp;nbsp;&amp;nbsp; group=1 &lt;br /&gt;
&amp;nbsp;&amp;nbsp; signalling=pri_cpe &lt;br /&gt;
&amp;nbsp;&amp;nbsp; channel=&amp;gt;1-15,17-31 &lt;br /&gt;
&amp;nbsp;&amp;nbsp; overlapdial=yes&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span class=&quot;postbody&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span class=&quot;postbody&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span class=&quot;postbody&quot;&gt;Hardware Configuration for&amp;nbsp; &lt;/span&gt;&lt;span class=&quot;postbody&quot;&gt;TE110 digium card or Sangoma A101 card&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span class=&quot;postbody&quot;&gt;2 CPU dual core Xeon 2.6/3.0 Ghz &lt;br /&gt;
4 GB RAM &lt;br /&gt;
15 k RPM SAS 4 disks raid 10 or 2 disks raid 1 or single disk raid 0( for recordings) or SATA disk for no recordings &lt;br /&gt;
1000 mbps ethernet NIC &lt;br /&gt;
&lt;br /&gt;
The motherboard should have a PCI 3.3v/5v slot depending on the card or  you may need to get a PCI express card or a PCI riser card, order the  card after u check the PCI slots on the board&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;postbody&quot;&gt; &lt;/span&gt;&lt;span class=&quot;postbody&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;b&gt;&lt;span class=&quot;postbody&quot;&gt;Airtel&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
E1 PRI working perfectly fine..&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
/etc/dahdi/system.conf &lt;br /&gt;
&lt;br /&gt;
loadzone = uk&lt;br /&gt;
defaultzone = uk&lt;br /&gt;
span = 1,1,0,ccs,hdb3,crc4 &lt;br /&gt;
bchan = 1-15,17-31 &lt;br /&gt;
dchan = 16 &lt;br /&gt;
&lt;br /&gt;
/etc/asterisk/chan_dahdi.conf &lt;br /&gt;
&lt;br /&gt;
[trunkgroups] &lt;br /&gt;
&lt;br /&gt;
[channels] &lt;br /&gt;
context=airtel &lt;br /&gt;
switchtype=euroisdn&lt;br /&gt;
pridialplan=unknown&lt;br /&gt;
;prilocaldialplan=unknown &lt;br /&gt;
;overlapdial=yes &lt;br /&gt;
signalling=pri_cpe &lt;br /&gt;
;rxwink=300             ; Atlas seems to use long (250ms) winks &lt;br /&gt;
usecallerid=yes &lt;br /&gt;
hidecallerid=no &lt;br /&gt;
callwaiting=yes &lt;br /&gt;
usecallingpres=yes &lt;br /&gt;
callwaitingcallerid=yes &lt;br /&gt;
threewaycalling=yes &lt;br /&gt;
;transfer=yes &lt;br /&gt;
canpark=yes &lt;br /&gt;
cancallforward=yes &lt;br /&gt;
callreturn=yes &lt;br /&gt;
echocancel=no &lt;br /&gt;
echocancelwhenbridged=no &lt;br /&gt;
rxgain=0.0 &lt;br /&gt;
txgain=0.0 &lt;br /&gt;
group=1 &lt;br /&gt;
inbanddisconnect=yes&lt;br /&gt;
callgroup=1 &lt;br /&gt;
pickupgroup=1 &lt;br /&gt;
immediate=no &lt;br /&gt;
channel =&amp;gt; 1-15,17-31 &lt;span class=&quot;postbody&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;postbody&quot;&gt; &lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span class=&quot;postbody&quot;&gt;&lt;br /&gt;
&amp;nbsp;  &lt;/span&gt;&lt;span class=&quot;postbody&quot;&gt;&lt;/span&gt;&lt;span class=&quot;postbody&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nagarjunamallampalli.blogspot.com/feeds/8322077903705492798/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://nagarjunamallampalli.blogspot.com/2010/08/configuration-of-digium-te110p-with.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2657441212639607916/posts/default/8322077903705492798'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2657441212639607916/posts/default/8322077903705492798'/><link rel='alternate' type='text/html' href='http://nagarjunamallampalli.blogspot.com/2010/08/configuration-of-digium-te110p-with.html' title='Configuration of Digium  TE110p with Asterisk With Difference E1 Provider'/><author><name>nagarjuna</name><uri>http://www.blogger.com/profile/02751409694569731519</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='23' src='http://4.bp.blogspot.com/_VpLrAbiTi0U/TFk1XJVoXPI/AAAAAAAAADU/ugfPMACXhEM/S220/tux_phone.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2657441212639607916.post-5702783144754830234</id><published>2010-08-06T17:48:00.001+05:30</published><updated>2010-08-06T17:49:27.451+05:30</updated><title type='text'>FTP Server Installation and Configuration In Linux Server</title><content type='html'>&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;Linux comes with various ftp servers to setup FTP service such as:&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;ul style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;li&gt;&lt;b&gt;proftpd&lt;/b&gt; - Versatile, virtual-hosting FTP daemon&lt;b&gt;&amp;nbsp;&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;vsftpd&lt;/b&gt; - The Very Secure FTP Daemon&lt;/li&gt;
&lt;li&gt;&lt;b&gt;ftpd&lt;/b&gt; - FTP server&lt;/li&gt;
&lt;li&gt; &lt;b&gt;wu-ftpd&lt;/b&gt; - powerful and widely used FTP server&lt;/li&gt;
&lt;li&gt;&lt;b&gt;wzdftpd&lt;/b&gt; - A portable, modular, small and efficient ftp server&lt;/li&gt;
&lt;li&gt;&lt;b&gt;pure-ftpd&lt;/b&gt; - Pure-FTPd FTP server&lt;/li&gt;
&lt;/ul&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;Install and Configuration of vsftpd&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;i&gt;In centos&amp;nbsp;&lt;/i&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;yum install vsftpd&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;h3 style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-weight: normal;&quot;&gt;Configure /etc/vsftpd/vsftpd.conf&lt;/h3&gt;&lt;pre style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;# Allow anonymous FTP?
anonymous_enable=YES
...
# The directory which vsftpd will try to change
# into after an anonymous login. (Default = /var/ftp)
anon_root=/data/directory
...
# Uncomment this to allow local users to log in.
local_enable=YES
...
# Uncomment this to enable any form of FTP write command.
# (Needed even if you want local users to be able to upload files)
write_enable=YES
...
# Uncomment to allow the anonymous FTP user to upload files. This only
# has an effect if global write enable is activated. Also, you will
# obviously need to create a directory writable by the FTP user.
#anon_upload_enable=YES
...
# Uncomment this if you want the anonymous FTP user to be able to create
# new directories.
#anon_mkdir_&lt;span style=&quot;font-size: small;&quot;&gt;write&lt;/span&gt;_enable=YES
...
# Activate logging of uploads/downloads.
xferlog_enable=YES
...
# You may override where the log file goes if you like.
# The default is shown below.
xferlog_file=/var/log/vsftpd.log&lt;/pre&gt;&lt;pre style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;...&lt;/pre&gt;&lt;pre style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;anon_root=/data/directory   the root directory that visitors will visit&lt;/pre&gt;&lt;h3 style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-weight: normal;&quot;&gt;&amp;nbsp;&lt;span class=&quot;mw-headline&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/h3&gt;&lt;h3 style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-weight: normal;&quot;&gt;&lt;span class=&quot;mw-headline&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;FTP Security&lt;/span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/h3&gt;&lt;h3 style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-weight: normal;&quot;&gt;&lt;span class=&quot;mw-headline&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;In /etc/vsftpd/ftpusers&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/h3&gt;&lt;h3 style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-weight: normal;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span class=&quot;mw-headline&quot;&gt;&amp;nbsp;&lt;/span&gt;For added security, you may restrict FTP access to certain users by  adding them to the list of users in the /etc/vsftpd.ftpusers file. The  VSFTPD package creates this file with a number of entries for privileged  users that normally shouldn&#39;t have FTP access. As FTP doesn&#39;t encrypt  passwords, thereby increasing the risk of data or passwords being  compromised, it is a good idea to let these entries remain and add new  entries for additional security&lt;/span&gt;&lt;/h3&gt;&lt;h2 style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span class=&quot;mw-headline&quot;&gt;Anonymous Upload&lt;/span&gt;&lt;/h2&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;If you want remote users to write data to your FTP server, then you  should create a write-only directory within /var/ftp/pub. This will  allow your users to upload but not access other files uploaded by other  users&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;. The commands you need are: &lt;/div&gt;&lt;pre style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;# mkdir /var/ftp/pub/upload
# chmod 722 /var/ftp/pub/upload&lt;/pre&gt;&lt;pre style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;/pre&gt;&lt;h2 style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span class=&quot;mw-headline&quot;&gt;FTP Greeting Banner&lt;/span&gt;&lt;/h2&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;Change the default greeting banner in the vsftpd.conf file to make it  harder for malicious users to determine the type of system you have.  The directive in this file is.&amp;nbsp;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;pre style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;ftpd_banner= New Banner Here&lt;/pre&gt;&lt;h2 style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span class=&quot;mw-headline&quot;&gt;&lt;/span&gt;Start VSFTP&amp;nbsp;&lt;/h2&gt;&lt;h2 style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;service vsftpd start &lt;/span&gt;&lt;/span&gt;&lt;/h2&gt;&lt;h2 style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span class=&quot;mw-headline&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/h2&gt;&lt;h3 style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-weight: normal;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;mw-headline&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/h3&gt;&lt;h3 style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-weight: normal;&quot;&gt;&amp;nbsp;&lt;/h3&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nagarjunamallampalli.blogspot.com/feeds/5702783144754830234/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://nagarjunamallampalli.blogspot.com/2010/08/ftp-server-install-and-configuration-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2657441212639607916/posts/default/5702783144754830234'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2657441212639607916/posts/default/5702783144754830234'/><link rel='alternate' type='text/html' href='http://nagarjunamallampalli.blogspot.com/2010/08/ftp-server-install-and-configuration-in.html' title='FTP Server Installation and Configuration In Linux Server'/><author><name>nagarjuna</name><uri>http://www.blogger.com/profile/02751409694569731519</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='23' src='http://4.bp.blogspot.com/_VpLrAbiTi0U/TFk1XJVoXPI/AAAAAAAAADU/ugfPMACXhEM/S220/tux_phone.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2657441212639607916.post-319021905238796182</id><published>2010-08-05T15:41:00.001+05:30</published><updated>2010-08-05T15:42:01.236+05:30</updated><title type='text'>Monitoring the Linux Server Using Nagios</title><content type='html'>&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&amp;nbsp;How to&quot; install, configure and secure your&amp;nbsp;monitoring server the&amp;nbsp;most simply possible.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;ul style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;li&gt;Download the nagios and plugins&lt;/li&gt;
&lt;li&gt;Take care of the prerequisites&lt;/li&gt;
&lt;li&gt;Create user and group for nagios&lt;/li&gt;
&lt;li&gt;Install nagios&lt;/li&gt;
&lt;li&gt;Configure the web interface&lt;/li&gt;
&lt;li&gt;Compile and install nagios plugins&lt;/li&gt;
&lt;li&gt;Start Nagios&lt;/li&gt;
&lt;li&gt;Login to web interface&lt;/li&gt;
&lt;/ul&gt;&lt;h3 style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;Download the nagios and plugins&lt;/h3&gt;&lt;h3 style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;from the website&lt;/span&gt;&lt;/span&gt; : &lt;span style=&quot;font-size: small; font-weight: normal;&quot;&gt;http://www.nagios.org/download/core/thanks/&lt;/span&gt;&lt;/h3&gt;&lt;h3 style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;Take care of the prerequisites&lt;/h3&gt;&lt;h3 style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;yum install gcc &lt;/span&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;gd&lt;/span&gt;&lt;/span&gt;&lt;/h3&gt;&lt;h3 style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;Create user and group for nagios&lt;/h3&gt;&lt;pre style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;useradd nagios&lt;/pre&gt;&lt;pre style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;groupadd nagios&lt;/pre&gt;&lt;pre style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;usermod -G nagios nagios&lt;/pre&gt;&lt;pre style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;usermod -G nagios apache&lt;/pre&gt;&lt;pre style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&amp;nbsp;&lt;/pre&gt;&lt;h3 style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;Install nagios&lt;/h3&gt;&lt;pre style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;tar xvf nagios-3.x.x.tar.gz&lt;/pre&gt;&lt;pre style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;cd nagios&lt;/pre&gt;&lt;pre style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;/configure --with-command-group=nagios&lt;/pre&gt;&lt;pre style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;make all&lt;/pre&gt;&lt;pre style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;make install&lt;/pre&gt;&lt;pre style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;make install-config&lt;/pre&gt;&lt;pre style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;make install-commandmode&lt;/pre&gt;&lt;pre style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;/pre&gt;&lt;h3 style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;Configure the web interface.&lt;/h3&gt;&lt;pre style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;make install-webconf&lt;/pre&gt;&lt;pre style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;htpasswd -c /usr/local/nagios/etc/htpasswd.users nagiosadmin&lt;/pre&gt;&lt;pre style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;/pre&gt;&lt;h3 style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;Compile and install nagios plugins&lt;/h3&gt;&lt;pre style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;tar xvf nagios-plugins-1.4.xx.tar.gz&lt;/pre&gt;&lt;pre style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;cd nagios-plugins&lt;/pre&gt;&lt;pre style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;./configure --with-nagios-user=nagios --with-nagios-group=nagios&lt;/pre&gt;&lt;pre style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;make&lt;/pre&gt;&lt;pre style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;make install&lt;/pre&gt;&lt;pre style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;/pre&gt;&lt;h3 style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;Start Nagios&lt;/h3&gt;&lt;pre style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;chkconfig --add nagios&lt;/pre&gt;&lt;pre style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;chkconfig nagios on&lt;/pre&gt;&lt;pre style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&amp;nbsp;&lt;/pre&gt;&lt;pre style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;command line&lt;/pre&gt;&lt;pre style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg&lt;/pre&gt;&lt;pre style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;/pre&gt;&lt;pre style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;service nagios start&lt;/pre&gt;&lt;pre style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;/pre&gt;&lt;h3 style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;Login to web interface&lt;/h3&gt;&lt;h3 style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;http://localhost/nagios/&lt;/span&gt;&lt;/span&gt; &lt;/h3&gt;&lt;h3 style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;Configuration File located at /usr/local/nagios/etc/&lt;/h3&gt;&lt;ul style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;li&gt;&lt;b&gt;nagios.cfg&lt;/b&gt; –    This is the primary Nagios configuration file where lot of global parameters that controls the nagios can be defined.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;cgi.cfg &lt;/b&gt;- This files has configuration information for nagios web interface.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;resource.cfg &lt;/b&gt; – If you have to pass some sensitive  information (username, password etc.) to a plugin to monitor a specific  service, you can define them here. This file is readable only by nagios  user and group.&lt;/li&gt;
&lt;/ul&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;Following are the other configuration files under /usr/local/nagios/etc/objects directory:&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;ul style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;li&gt;&lt;b&gt;contacts.cfg:&lt;/b&gt; All the contacts who needs to be  notified should be defined here. You can specify name, email address,  what type of notifications they need to receive and what is the time  period this particular contact should be receiving notifications etc.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;commands.cfg&lt;/b&gt; – All the commands to check services  are defined here. You can use $HOSTNAME$ and $HOSTADDRESS$ macro on the  command execution that will substitute the corresponding hostname or  host ip-address automatically.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;timeperiods.cfg&lt;/b&gt; –    Define the timeperiods. for  e.g. if you want a service to be monitored only during the business  hours, define a time period called businesshours and specify the hours  that you would like to monitor.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;templates.cfg&lt;/b&gt; – Multiple host or service definition  that has similar characteristics can use a template, where all the  common characteristics can be defined. Use template is a time saver.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;localhost.cfg &lt;/b&gt; – Defines the monitoring for the  local host. This is a sample configuration file that comes with nagios  installation that you can use as a baseline to define other hosts that  you would like to monitor.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;printer.cfg&lt;/b&gt; – Sample config file for printer&lt;/li&gt;
&lt;li&gt;&lt;b&gt;switch.cfg – &lt;/b&gt;Sample config file for switch&lt;/li&gt;
&lt;li&gt;&lt;b&gt;windows.cfg&lt;/b&gt; – Sample config file for a windows machine&lt;/li&gt;
&lt;/ul&gt;&lt;pre&gt;&lt;/pre&gt;&lt;h3&gt;&amp;nbsp;&lt;/h3&gt;&lt;pre&gt;&amp;nbsp;&lt;/pre&gt;&lt;h3&gt;&amp;nbsp;&lt;/h3&gt;&lt;pre&gt;&lt;/pre&gt;&lt;h3&gt;&amp;nbsp;&lt;/h3&gt;&lt;pre&gt;&lt;/pre&gt;&lt;h3&gt;&amp;nbsp;&lt;/h3&gt;&lt;pre&gt;&amp;nbsp;&lt;/pre&gt;&lt;h3&gt;&amp;nbsp;&lt;/h3&gt;&lt;h3&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;/span&gt;&lt;/h3&gt;&lt;h3&gt;&lt;/h3&gt;&lt;h3&gt;&lt;/h3&gt;&lt;h3&gt;&amp;nbsp;&lt;/h3&gt;</content><link rel='replies' type='application/atom+xml' href='http://nagarjunamallampalli.blogspot.com/feeds/319021905238796182/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://nagarjunamallampalli.blogspot.com/2010/08/monitoring-linux-server-using-nagios.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2657441212639607916/posts/default/319021905238796182'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2657441212639607916/posts/default/319021905238796182'/><link rel='alternate' type='text/html' href='http://nagarjunamallampalli.blogspot.com/2010/08/monitoring-linux-server-using-nagios.html' title='Monitoring the Linux Server Using Nagios'/><author><name>nagarjuna</name><uri>http://www.blogger.com/profile/02751409694569731519</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='23' src='http://4.bp.blogspot.com/_VpLrAbiTi0U/TFk1XJVoXPI/AAAAAAAAADU/ugfPMACXhEM/S220/tux_phone.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2657441212639607916.post-5408442067267616724</id><published>2010-08-04T16:12:00.001+05:30</published><updated>2010-08-05T15:43:34.707+05:30</updated><title type='text'>Asterisk Channels Chanspy and Barging  for Manager To Monitor the Agents</title><content type='html'>&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Allows eavesdropping on a conversation on any specified channel     (this is different from &lt;code class=&quot;code&quot;&gt;ZapBarge()&lt;/code&gt;/&lt;code class=&quot;code&quot;&gt;ZapScan()&lt;/code&gt;     which are bound to Zap channels only). Note that this application only     listens on single channels, rather than the conversation &lt;/span&gt;&lt;span class=&quot;emphasis&quot; style=&quot;font-size: small;&quot;&gt;&lt;i&gt;per     se&lt;/i&gt;&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;, even though it does capture incoming and outgoing audio on     the channel.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Chanspy([&lt;chanprefix&gt;][,&lt;options&gt;]) &lt;br /&gt;
&lt;br /&gt;
Valid Options: &lt;br /&gt;
-&amp;nbsp;b:&amp;nbsp;Only&amp;nbsp;spy&amp;nbsp;on&amp;nbsp;channels&amp;nbsp;involved&amp;nbsp;in&amp;nbsp;a&amp;nbsp;bridged&amp;nbsp;call. &lt;br /&gt;
-&amp;nbsp;g(grp):&amp;nbsp;Match&amp;nbsp;only&amp;nbsp;channels&amp;nbsp;where&amp;nbsp;their&amp;nbsp;${SPYGROUP}&amp;nbsp;variable&amp;nbsp;is&amp;nbsp;set&amp;nbsp;to&amp;nbsp;contain&amp;nbsp;&#39;grp&#39;&amp;nbsp;in&amp;nbsp;an&amp;nbsp;optional&amp;nbsp;:&amp;nbsp;delimited&amp;nbsp;list. &lt;br /&gt;
-&amp;nbsp;q:&amp;nbsp;Don&#39;t&amp;nbsp;play&amp;nbsp;a&amp;nbsp;beep&amp;nbsp;when&amp;nbsp;beginning&amp;nbsp;to&amp;nbsp;spy&amp;nbsp;on&amp;nbsp;a&amp;nbsp;channel,&amp;nbsp;or&amp;nbsp;speak&amp;nbsp;the&amp;nbsp;selected&amp;nbsp;channel&amp;nbsp;name. &lt;br /&gt;
-&amp;nbsp;r[(basename)]:&amp;nbsp;Record&amp;nbsp;the&amp;nbsp;session&amp;nbsp;to&amp;nbsp;the&amp;nbsp;monitor&amp;nbsp;spool&amp;nbsp;directory.&amp;nbsp;An&amp;nbsp;optional&amp;nbsp;base&amp;nbsp;for&amp;nbsp;the&amp;nbsp;filename&amp;nbsp;may&amp;nbsp;be&amp;nbsp;specified. &lt;br /&gt;
&amp;nbsp;&amp;nbsp;The&amp;nbsp;default&amp;nbsp;is&amp;nbsp;&#39;chanspy&#39;.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
-&amp;nbsp;v([value]):&amp;nbsp;Adjust&amp;nbsp;the&amp;nbsp;initial&amp;nbsp;volume&amp;nbsp;in&amp;nbsp;the&amp;nbsp;range&amp;nbsp;from&amp;nbsp;-4&amp;nbsp;to&amp;nbsp;4.&amp;nbsp;A&amp;nbsp;negative&amp;nbsp;value&amp;nbsp;refers&amp;nbsp;to&amp;nbsp;a&amp;nbsp;quieter&amp;nbsp;setting. &lt;br /&gt;
&lt;br /&gt;
Since 1.4: &lt;br /&gt;
-&amp;nbsp;w&amp;nbsp;Enable&amp;nbsp;&#39;whisper&#39;&amp;nbsp;mode,&amp;nbsp;so&amp;nbsp;the&amp;nbsp;spying&amp;nbsp;channel&amp;nbsp;can&amp;nbsp;talk&amp;nbsp;to&amp;nbsp;the&amp;nbsp;spied-on&amp;nbsp;channel. &lt;br /&gt;
-&amp;nbsp;W&amp;nbsp;Enable&amp;nbsp;&#39;private&amp;nbsp;whisper&#39;&amp;nbsp;mode,&amp;nbsp;so&amp;nbsp;the&amp;nbsp;spying&amp;nbsp;channel&amp;nbsp;can&amp;nbsp;talk&amp;nbsp;to&amp;nbsp;the&amp;nbsp;spied-on &lt;br /&gt;
&amp;nbsp;&amp;nbsp;channel&amp;nbsp;but&amp;nbsp;cannot&amp;nbsp;listen&amp;nbsp;to&amp;nbsp;that&amp;nbsp;channel.&amp;nbsp;&amp;nbsp;&lt;/options&gt;&lt;/chanprefix&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Since 1.6&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&amp;nbsp; -b :Only spy on channels involved in a bridged call&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&amp;nbsp;&amp;nbsp; -d&amp;nbsp; :Override the typical numeric DTMF functionality and instead&amp;nbsp; use DTMF to switch between spy modes &lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4 -spy mode&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 5 -wispher mode&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; 6 -Bridge mode&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&amp;nbsp;-g :Only spy on channels in which one or more of the groups listed in&lt;replaceable&gt;grp&lt;/replaceable&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; matches one or more groups from the SPYGROUP&amp;nbsp; variable set on the channel to be spied upon.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;-n :Say the name of the person being spied on if that person has recorded his/her name. If a context is&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; specified, then that voicemail context will be searched when retrieving the name, otherwise the default contextbe used when searching for the name (i.e. if SIP/1000 is the channel being&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; spied on and no mailbox is specified, then1000 will be used when searching for the name).&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;-q : Don&#39;t play a beep when beginning to spy on a channel, or speak the selected channel name.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;-r :Record the session to the monitor spool directory. An optional base for the filename &amp;nbsp;may be specified. The default is chanspy.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;-v : Adjust the initial volume in the range from -4&amp;nbsp; to 4. A negative value refers to a quieter setting.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;-o:Only listen to audio coming from this channel&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;-X:Allow the user to exit ChanSpy to a valid single digit&amp;nbsp;numeric extension in the current context or the context specified by the SPY_EXIT_CONTEXT channel variable. The name of the last channel that was spied on will be stored in the SPY_CHANNEL variable. &lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;-s :Skip the playback of the channel type (i.e. SIP, IAX, etc) when&amp;nbsp;speaking the selected channel name&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;-e :Enable enforced mode, so the spying channel can only monitor extensions whose name is in the ext&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;-B:Instead of whispering on a single channel barge in on both channels involved in the call. &lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;exten&amp;nbsp;=&amp;gt; 007,1,ChanSpy(SIP/${EXTEN}|dq) &lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nagarjunamallampalli.blogspot.com/feeds/5408442067267616724/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://nagarjunamallampalli.blogspot.com/2010/08/asterisk-channels-chanspy-and-barging.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2657441212639607916/posts/default/5408442067267616724'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2657441212639607916/posts/default/5408442067267616724'/><link rel='alternate' type='text/html' href='http://nagarjunamallampalli.blogspot.com/2010/08/asterisk-channels-chanspy-and-barging.html' title='Asterisk Channels Chanspy and Barging  for Manager To Monitor the Agents'/><author><name>nagarjuna</name><uri>http://www.blogger.com/profile/02751409694569731519</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='23' src='http://4.bp.blogspot.com/_VpLrAbiTi0U/TFk1XJVoXPI/AAAAAAAAADU/ugfPMACXhEM/S220/tux_phone.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2657441212639607916.post-7879229996026986163</id><published>2010-08-04T15:41:00.002+05:30</published><updated>2010-08-05T15:44:42.643+05:30</updated><title type='text'>Linux Monitoring Tools</title><content type='html'>&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Need to monitor Linux server performance? Try these built-in command and  a few add-on tools. Most Linux distributions are equipped with tons of  monitoring. These tools provide metrics which can be used to get  information about system activities. You can use these tools to find the  possible causes of a performance problem. The commands discussed below  are some of the most basic commands when it comes to system analysis and  debugging server&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;Monitoring the system:&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;table style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;pstree&lt;/span&gt;&lt;/td&gt;                 &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Processes and parent-child relationships&lt;/span&gt;&lt;/td&gt;               &lt;/tr&gt;
&lt;tr&gt;                 &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;top&lt;/span&gt;&lt;/td&gt;                 &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Show top processes&lt;/span&gt;&lt;/td&gt;               &lt;/tr&gt;
&lt;tr&gt;                 &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;iostat&lt;/span&gt;&lt;/td&gt;                 &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Report CPU statistics and input/output statistics for devices and partitions.&lt;/span&gt;&lt;/td&gt;               &lt;/tr&gt;
&lt;tr&gt;                 &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;ps -auxw&lt;/span&gt;&lt;/td&gt;                 &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;process status&lt;/span&gt;&lt;/td&gt;               &lt;/tr&gt;
&lt;tr&gt;                 &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;uname -a&lt;/span&gt;&lt;/td&gt;                 &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;print system information&lt;/span&gt;&lt;/td&gt;               &lt;/tr&gt;
&lt;tr&gt;                 &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;cat /proc/version &lt;/span&gt;&lt;/td&gt;                 &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Display Linux kernel version in use.&lt;/span&gt;&lt;/td&gt;               &lt;/tr&gt;
&lt;tr&gt;                 &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;cat /etc/redhat-release &lt;/span&gt;&lt;/td&gt;                 &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Display Red Hat Linux Release. (also /etc/issue)&lt;/span&gt;&lt;/td&gt;               &lt;/tr&gt;
&lt;tr&gt;                 &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;uptime&lt;/span&gt;&lt;/td&gt;                 &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Tell how long the system has been running. Also number of users and system&#39;s load average.&lt;/span&gt;&lt;/td&gt;               &lt;/tr&gt;
&lt;tr&gt;                 &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;w&lt;/span&gt;&lt;/td&gt;                 &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Show who is logged on and what they are doing.&lt;/span&gt;&lt;/td&gt;               &lt;/tr&gt;
&lt;tr&gt;                 &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;/sbin/lsmod&lt;/span&gt;&lt;/td&gt;                 &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;List all currently loaded kernel modules.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;Same as cat /proc/modules&lt;/span&gt;&lt;/td&gt;               &lt;/tr&gt;
&lt;tr&gt;                 &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;/sbin/runlevel&lt;/span&gt;&lt;/td&gt;                 &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Displays the system&#39;s current runlevel.&lt;/span&gt;&lt;/td&gt;               &lt;/tr&gt;
&lt;tr&gt;                 &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;hostname&lt;/span&gt;&lt;/td&gt;                 &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Displays/changes the system&#39;s node name. (Must also manually change hostname setting in /etc/sysconfig/network. Command will change entry in /etc/hosts)&lt;/span&gt;&lt;/td&gt;               &lt;/tr&gt;
&lt;tr&gt;                 &lt;td valign=&quot;top&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;service&lt;/span&gt;&lt;/td&gt;                 &lt;td valign=&quot;top&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Red Hat/Fedora command to display status of system services.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;Example: service --status-all&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;Help: service --help&lt;/span&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot;&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot;&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;Process Management:&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;ul style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;li&gt;&lt;span style=&quot;font-size: small;&quot;&gt;pstree -p&lt;br /&gt;
OR         &lt;/span&gt;           &lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-size: small;&quot;&gt;ps -auxw&lt;br /&gt;
OR         &lt;/span&gt;         &lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-size: small;&quot;&gt;top&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-size: small;&quot;&gt;kill &amp;lt;&lt;i&gt;process-id-number&lt;/i&gt;&amp;gt;&lt;/span&gt;            &lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-size: small;&quot;&gt;killall &amp;lt;&lt;i&gt;command-name&lt;/i&gt;&amp;gt;&lt;/span&gt; &lt;/li&gt;
&lt;/ul&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;Memory Usage:&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;table style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;vmstat&lt;/span&gt;&lt;/td&gt;                 &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Monitor virtual memory&lt;/span&gt;&lt;/td&gt;               &lt;/tr&gt;
&lt;tr&gt;                 &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;free&lt;/span&gt;&lt;/td&gt;                 &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Display amount of free and used memory in the system. (Also: cat /proc/meminfo)&lt;/span&gt;&lt;/td&gt;               &lt;/tr&gt;
&lt;tr&gt;                 &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;pamp&lt;/span&gt;&lt;/td&gt;                 &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Display/examine memory map and libraries (so). Usage: pmap &lt;i&gt;pid&lt;/i&gt;&lt;/span&gt;&lt;/td&gt;               &lt;/tr&gt;
&lt;tr&gt;                 &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;top&lt;/span&gt;&lt;/td&gt;                 &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Show top processes&lt;/span&gt;&lt;/td&gt;               &lt;/tr&gt;
&lt;tr&gt;                 &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;sar -B&lt;/span&gt;&lt;/td&gt;                 &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Show statistics on page swapping.&lt;/span&gt;&lt;/td&gt;               &lt;/tr&gt;
&lt;tr&gt;                 &lt;td valign=&quot;top&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;time -v date &lt;/span&gt;&lt;/td&gt;                 &lt;td valign=&quot;top&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Show system page size, page faults, etc of a process during execution. Note you must fully qualify the command as &quot;/usr/bin/time&quot; to avoid using the bash shell command &quot;time&quot;.&lt;/span&gt;&lt;/td&gt;               &lt;/tr&gt;
&lt;tr&gt;                 &lt;td valign=&quot;top&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;cat /proc/sys/vm/freepages&lt;/span&gt;&lt;/td&gt;                 &lt;td valign=&quot;top&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Display virtual memory &quot;free pages&quot;. &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;One may increase/decrease this limit: echo 300 400 500 &amp;gt; /proc/sys/vm/freepages&lt;/span&gt;&lt;/td&gt;               &lt;/tr&gt;
&lt;tr&gt;                 &lt;td valign=&quot;top&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;cat /proc/meminfo&lt;/span&gt; &lt;/td&gt;                 &lt;td valign=&quot;top&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Show memory size and usage.&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;&amp;nbsp;&lt;/b&gt;&lt;/span&gt; &lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;&amp;nbsp;&lt;/b&gt;&lt;b&gt; &lt;/b&gt;&lt;b&gt;Filesystems and Storage Devices:&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;table style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;df -k&lt;/span&gt;&lt;/td&gt;                 &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;report filesystem disk space usage. (-k reports in Kbytes)&lt;/span&gt;&lt;/td&gt;               &lt;/tr&gt;
&lt;tr&gt;                 &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;du -sh&lt;/span&gt;&lt;/td&gt;                 &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Calculates file space usage for a given directory. (and everything under it) (-s option summarizes)&lt;/span&gt;&lt;/td&gt;               &lt;/tr&gt;
&lt;tr&gt;                 &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;mount&lt;/span&gt;&lt;/td&gt;                 &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Displays all mounted devices, their mount point, filesystem, and access. Used with command line arguments to mount file system.&lt;/span&gt;&lt;/td&gt;               &lt;/tr&gt;
&lt;tr&gt;                 &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;cat /proc/filesystems &lt;/span&gt;&lt;/td&gt;                 &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Display filesystems currently in use.&lt;/span&gt;&lt;/td&gt;               &lt;/tr&gt;
&lt;tr&gt;                 &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;cat /proc/mounts &lt;/span&gt;&lt;/td&gt;                 &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Display mounted filesystems currently in use.&lt;/span&gt;&lt;/td&gt;               &lt;/tr&gt;
&lt;tr&gt;                 &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;showmount&lt;/span&gt;&lt;/td&gt;                 &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Displays mount info for NFS filesystems.&lt;/span&gt;&lt;/td&gt;               &lt;/tr&gt;
&lt;tr&gt;                 &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;cat /proc/swaps&lt;/span&gt;&lt;/td&gt;                 &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Displays swap partition(s) size, type and quantity used.&lt;/span&gt;&lt;/td&gt;               &lt;/tr&gt;
&lt;tr&gt;                 &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;cat /proc/ide/hda/&lt;i&gt;any-file&lt;/i&gt;&lt;/span&gt;&lt;/td&gt;                 &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Displays disk information held by kernel.&lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;ul style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;li&gt;&lt;span style=&quot;font-size: small;&quot;&gt;cfdisk - Curses based disk partition table manipulator. (very nice)         &lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-size: small;&quot;&gt;fdisk- Manipulate/configure the partition table.         &lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-size: small;&quot;&gt;sfdisk - Manipulate/configure the partition table.         &lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-size: small;&quot;&gt;fsck - Manipulate/configure the partition table.&amp;nbsp;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;User Info:&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;table style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;who&lt;/span&gt;&lt;/td&gt;                 &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Displays currently logged in users. &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;Use who -uH for idle time and terminal info.&lt;/span&gt;&lt;/td&gt;               &lt;/tr&gt;
&lt;tr&gt;                 &lt;td valign=&quot;top&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/td&gt;                 &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/td&gt;               &lt;/tr&gt;
&lt;tr&gt;                 &lt;td valign=&quot;top&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;w&lt;/span&gt;&lt;/td&gt;                 &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Displays currently logged in users and processes they are running. &lt;/span&gt;&lt;/td&gt;               &lt;/tr&gt;
&lt;tr&gt;                 &lt;td valign=&quot;top&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;whoami&amp;nbsp; &lt;/span&gt;&lt;/td&gt;                 &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Displays user id.&lt;/span&gt;&lt;/td&gt;               &lt;/tr&gt;
&lt;tr&gt;                 &lt;td valign=&quot;top&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;groups&lt;/span&gt;&lt;/td&gt;                 &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Display groups you are part of.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;Use groups &lt;i&gt;&lt;b&gt;user-id&lt;/b&gt;&lt;/i&gt; to display groups for a given user. &lt;/span&gt;&lt;/td&gt;               &lt;/tr&gt;
&lt;tr&gt;                 &lt;td valign=&quot;top&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;set&lt;/span&gt;&lt;/td&gt;                 &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Display all environment variables in your current environment. &lt;/span&gt;&lt;/td&gt;               &lt;/tr&gt;
&lt;tr&gt;                 &lt;td valign=&quot;top&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;id&lt;/span&gt;&lt;/td&gt;                 &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Display user and all group ids. &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;Use id &lt;i&gt;&lt;b&gt;user-id&lt;/b&gt;&lt;/i&gt; to display info for another user id.&lt;/span&gt;&lt;/td&gt;               &lt;/tr&gt;
&lt;tr&gt;                 &lt;td valign=&quot;top&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;last&lt;/span&gt;&lt;/td&gt;                 &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Listing of most recent logins by users. Show where from, date and time of login (ftp, ssh, ...) Also see lastlog command.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;Show last 100 logins: last -100&lt;/span&gt;&lt;/td&gt;               &lt;/tr&gt;
&lt;tr&gt;                 &lt;td valign=&quot;top&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;history&lt;/span&gt;&lt;/td&gt;                 &lt;td&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Shell command to display previously entered commands. &lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nagarjunamallampalli.blogspot.com/feeds/7879229996026986163/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://nagarjunamallampalli.blogspot.com/2010/08/linux-monitoring-tools.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2657441212639607916/posts/default/7879229996026986163'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2657441212639607916/posts/default/7879229996026986163'/><link rel='alternate' type='text/html' href='http://nagarjunamallampalli.blogspot.com/2010/08/linux-monitoring-tools.html' title='Linux Monitoring Tools'/><author><name>nagarjuna</name><uri>http://www.blogger.com/profile/02751409694569731519</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='23' src='http://4.bp.blogspot.com/_VpLrAbiTi0U/TFk1XJVoXPI/AAAAAAAAADU/ugfPMACXhEM/S220/tux_phone.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2657441212639607916.post-6102190049518281718</id><published>2010-08-03T16:13:00.002+05:30</published><updated>2010-08-05T15:45:00.607+05:30</updated><title type='text'>Virtualization Software on CentOS using Xen</title><content type='html'>&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Xen is a free open source software virtual machine monitor for Intel / PowerPC architectures. It is software that runs on a host operating system and allows several guest operating systems to be run on top of the host on the same computer hardware at the same time (just like VMWare software). Luckily Installing and managing XEN is quite easy under CentOS 5 Linux. &lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Xen lets you create guest operating systems (*nix operating systems like Linux and FreeBSD), so called &quot;virtual machines&quot; or domUs, under a host operating system (dom0). Using Xen you can separate your applications into different virtual machines that are totally independent from each other (e.g. a virtual machine for a mail server, a virtual machine for a high-traffic web site, another virtual machine that serves your customers&#39; web sites, a virtual machine for DNS, etc.), but still use the same hardware. This saves money, and what is even more important, it&#39;s more secure. If the virtual machine of your DNS server gets hacked, it has no effect on your other virtual machines. Plus, you can move virtual machines from one Xen server to the next one.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;I will use CentOS 5.0 (i386) for both the host OS (dom0) and the guest OS (domU).&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;yum install xen virt-manager kernel-xen&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;chkconfig xend on&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;reboot &lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Before Reboot &lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Change the file /boot/grub/menu.lst then you should probably use &lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;to default =0&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;After Login &lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;type command &lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;uname -r&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;2.6.18-8.1.4.el5xen&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Xen commands&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;xm list&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;CentOS comes with a nice tool called virt-install with which we can create virtual machines for Xen. To start it, we simply run&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;virt-install &lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;What is the name of your virtual machine? &amp;lt;-- vm01&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;How much RAM should be allocated (in megabytes)? &amp;lt;-- 256&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;What would you like to use as the disk (path)? &amp;lt;-- /vm/vm01.img&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;How large would you like the disk (/vm/vm01.img) to be (in gigabytes)? &amp;lt;-- 4&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Would you like to enable graphics support? (yes or no) &amp;lt;-- no&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;What is the install location? &amp;lt;-- http://wftp.tu-chemnitz.de/pub/linux/centos/5.0/os/i386&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;virt-install has created the vm01 configuration file /etc/xen/vm01 for us (in dom0).&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;It should look like this:  # Automatically generated xen&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;config file name = &quot;vm01&quot; memory = &quot;256&quot; disk = [ &#39;tap:aio:/vm/vm01.img,xvda,w&#39;, ] vif = [ &#39;mac=00:16:3e:13:e4:81, bridge=xenbr0&#39;, ]  uuid = &quot;5aafecf1-dd66-401d-69cc-151c1cb8ac9e&quot; bootloader=&quot;/usr/bin/pygrub&quot; vcpus=1 on_reboot   = &#39;restart&#39; on_crash    = &#39;restart&#39;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;to login into&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;vm01  xm console vm01&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;To shut down vm01,&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;do this: xm shutdown vm01&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;To start vm01 again,&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;run xm create /etc/xen/vm01&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;If you want vm01 to start automatically at the next boot of the system,&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;then do&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;this:  ln -s /etc/xen/vm01 /etc/xen/auto&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Here are the most important Xen commands:&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;xm create -c /path/to/config - Start a virtual machine. xm shutdown &lt;name&gt; - Stop a virtual machine.&lt;br /&gt;
xm destroy &lt;name&gt; - Stop a virtual machine immediately without shutting it down. It&#39;s as if you switch off the power button.&lt;br /&gt;
xm list - List all running systems.&lt;br /&gt;
xm console &lt;name&gt; - Log in on a virtual machine.&lt;/name&gt;&lt;/name&gt;&lt;/name&gt;&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nagarjunamallampalli.blogspot.com/feeds/6102190049518281718/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://nagarjunamallampalli.blogspot.com/2010/08/virtualization-software-on-centos-using.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2657441212639607916/posts/default/6102190049518281718'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2657441212639607916/posts/default/6102190049518281718'/><link rel='alternate' type='text/html' href='http://nagarjunamallampalli.blogspot.com/2010/08/virtualization-software-on-centos-using.html' title='Virtualization Software on CentOS using Xen'/><author><name>nagarjuna</name><uri>http://www.blogger.com/profile/02751409694569731519</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='23' src='http://4.bp.blogspot.com/_VpLrAbiTi0U/TFk1XJVoXPI/AAAAAAAAADU/ugfPMACXhEM/S220/tux_phone.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2657441212639607916.post-8568050533400748792</id><published>2010-08-03T15:08:00.001+05:30</published><updated>2010-08-05T15:45:23.163+05:30</updated><title type='text'>Linux BackUp Tools</title><content type='html'>&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;If you’ve ever lost data due to a system crash, you know how crucial backing up important files can be. Here are 5 Linux Backup Solutions you should check out. I recommend you implement at least one of these Linux Backup Solutions before it’s too late.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small; font-weight: bold;&quot;&gt;rsync&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;There are tons of Linux users and administrators out there who have customized rsync scripts to handle incremental backups automatically on a daily, weekly, or monthly schedule. From the manual, rsync is described as a program that behaves in much the same way that rcp does, but has many more options and uses the rsync remote-update protocol to greatly speed up file transfers when the destination file is being updated. The rsync remote-update protocol allows rsync to transfer just the differences between two sets of files across the network connection, using an efficient checksum-search algorithm described in the technical report that accompanies this package.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;In centos &lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;yum -y install rsync xinetd&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Add xinetd service to system&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;# chkconfig --add xinetd&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Make sure xinetd running on init 3 and 5&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;# chkconfig --list xinetd&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Enable rsync&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;# vi /etc/xinetd.d/rsync&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Change disable = yes into disable = no&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Create username and password for rsync client to use&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;# vi /etc/rsyncd.secrets&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;root:hispassword&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Create configuration and shares for rsync daemon&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;# vi /etc/rsyncd.conf&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;———————-&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;max connections = 2&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;log file = /var/log/rsync.log&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;timeout = 300&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;[shares]&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;comment = shared data stored here&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;path = /home/adminname/shares&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;read only = false&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;list = yes&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;uid = root&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;gid = root&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;auth users = root&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;secrets file = /etc/rsyncd.secrets&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;hosts allow = mac1.hostname.com mac2.hostname.com mac3.hostname.com&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;———————-&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Secure /etc/rsyncd.*&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;# chown root.root /etc/rsyncd.*&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;# chmod 600 /etc/rsyncd.*&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Restart xinetd&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;# service xinetd restart&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Make sure rsync now running&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;# chkconfig --list&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;testing &lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;rsync -a -e ssh /www/backup.tar.gz root@mac2.hostname.com:/home/backup&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small; font-weight: bold;&quot;&gt;mondorescue&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Mondorescue backs up your GNU/Linux server or workstation to tape, CD-R, CD-RW, DVD-R[W], DVD+R[W], NFS or hard disk partition. In the event of catastrophic data loss, you will be able to restore all of your data [or as much as you want], from bare metal if necessary. Personally, I like using Mondorescue to create DVD disk images of my system periodically. Upon initial installation and configuration of my Linux or Windows machine, I create a DVD disk image with Mondo so that if anything ever gets screwed up, I can pop in the DVD disk and restore back to my original configuration. The mondorescue team is great and the lead developers of the project are very active on the public mailing list offering help to normal users whenever needed.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;For CentOS Downloads&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;http://mondorescue.muskokamug.org/rhel/5/&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;rpm -ivh afio&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;rpm -ivh buffer&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;yum install mkisofs&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;rpm -ivh mindi-busybox&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;rpm -ivh mindi&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;rpm –ivh mondo&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;After Installation &lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Rum commands&lt;/span&gt;&lt;span style=&quot;font-size: small; font-weight: bold;&quot;&gt; mondoarchive &lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small; font-weight: bold;&quot;&gt;Amanda&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;AMANDA, the Advanced Maryland Automatic Network Disk Archiver, is a backup system that allows the administrator to set up a single master backup server to back up multiple hosts over network to tape drives/changers or disks or optical media. Amanda uses native dump and/or GNU tar facilities and can back up a large number of workstations running multiple versions of Unix. Amanda uses Samba or Cygwin to back up Microsoft Windows desktops and servers.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;For CentOS&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Step 1:&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;yum -y install amanda*&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Step 2:&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;after install Modify &lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;/etc/xinetd.d/amanda&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;/etc/xinetd.d/amandaidx&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;/etc/xinetd.d/amidxtape&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small; font-style: italic;&quot;&gt;&lt;br /&gt;
Change Disable = yes to Disable = no.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Step 3:&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;cp -r /etc/amanda/DailySet1 /etc/amanda/intra&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Step 4:&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Edit Your Amanda.conf file&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;/etc/amanda/intra/amanda.conf&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Step 5:&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Edit /etc/amanda/intra/disklist&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Step 6:&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Edit hosts file: /etc/hosts&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Step 7:&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Create backup directory&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;mkdir -p -m 770 /backup/intra/slots&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;chown -R amanda:disk /backup&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Step 8:&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Create tape File&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;touch /etc/amanda/intra/tapelist&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Step 9:&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Create slots&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;su - amanda&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;cd /backup/intra/slots&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;for ((i=1; $i&amp;lt;=15; i++)); do mkdir slot$i; done&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;ln -s slot1 data&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Step 10:&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Test virtual tapes: &lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;/usr/sbin/ammt -f file:/backup/intra/slots status&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Step 11:&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Edit .amandahosts to allow communications from clients:&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;/var/lib/amanda/.amandahosts&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Step 12:&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Start service&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;service xinetd start&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;chkconfig --list&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nagarjunamallampalli.blogspot.com/feeds/8568050533400748792/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://nagarjunamallampalli.blogspot.com/2010/08/linux-backup-tools.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2657441212639607916/posts/default/8568050533400748792'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2657441212639607916/posts/default/8568050533400748792'/><link rel='alternate' type='text/html' href='http://nagarjunamallampalli.blogspot.com/2010/08/linux-backup-tools.html' title='Linux BackUp Tools'/><author><name>nagarjuna</name><uri>http://www.blogger.com/profile/02751409694569731519</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='23' src='http://4.bp.blogspot.com/_VpLrAbiTi0U/TFk1XJVoXPI/AAAAAAAAADU/ugfPMACXhEM/S220/tux_phone.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2657441212639607916.post-6726796761396157135</id><published>2010-06-18T09:56:00.000+05:30</published><updated>2010-06-18T11:24:24.126+05:30</updated><title type='text'>BroadCast Voice message through Asterisk</title><content type='html'>&lt;span style=&quot;font-weight: bold;&quot;&gt;Broad casting Message through &lt;/span&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Asterisk&lt;/span&gt;&lt;br /&gt;&lt;pre&gt;&lt;code&gt;Creating a call file to call 1000 context default in the sip.conf file&lt;br /&gt;; set the caller ID to sales call placing the call&lt;br /&gt;; A correct Caller ID may be required when using some VOIP to PSTN gateway services.&lt;br /&gt;;&lt;br /&gt;; cat &lt;&lt;eof&gt; /var/spool/asterisk/tmpoutgoing&lt;br /&gt;; Channel: SIP/1000&lt;br /&gt;; Callerid: sales call&lt;br /&gt;; MaxRetries: 5&lt;br /&gt;; RetryTime: 300&lt;br /&gt;; WaitTime: 45&lt;br /&gt;; Context: &lt;/eof&gt;&lt;/code&gt;&lt;code&gt;default&lt;/code&gt;&lt;br /&gt;&lt;code&gt;; Extension: 1234&lt;br /&gt;; Priority: 1&lt;br /&gt;; EOF&lt;br /&gt;; mv /var/spool/asterisk/tmp01 /var/spool/asterisk/outgoing&lt;span class=&quot; transl_class&quot; title=&quot;Click to correct&quot; id=&quot;3&quot;&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/code&gt;&lt;code&gt;This is a sample section from an extensions.conf file showing how to auto-dial an outbound &lt;span class=&quot; transl_class&quot; title=&quot;Click to correct&quot; id=&quot;4&quot;&gt;కాల్&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;[default]&lt;br /&gt;&lt;br /&gt;exten=&gt; 1234,1,Answer()&lt;br /&gt;&lt;/code&gt;&lt;code&gt;exten =&gt; &lt;/code&gt;&lt;code&gt;1234&lt;/code&gt;&lt;code&gt;,2,Wait(1)&lt;br /&gt;exten =&gt; &lt;/code&gt;&lt;code&gt;1234&lt;/code&gt;&lt;code&gt;,3,Background(welcome to company)         ; &quot;play outbound msg&quot;&lt;br /&gt;exten =&gt; &lt;/code&gt;&lt;code&gt;1234&lt;/code&gt;&lt;code&gt;,4,Background(preview&lt;span class=&quot; transl_class&quot; title=&quot;Click to correct&quot; id=&quot;13&quot;&gt;&lt;/span&gt; )   ; &quot;Press 1 to replay or 2 to acknowledge receiving this &lt;span class=&quot; transl_class&quot; title=&quot;Click to correct&quot; id=&quot;14&quot;&gt;మెసేజ్&lt;/span&gt; &lt;span class=&quot; transl_class&quot; title=&quot;Click to correct&quot; id=&quot;15&quot;&gt;ప్రెస్&lt;/span&gt; &lt;span class=&quot; transl_class&quot; title=&quot;Click to correct&quot; id=&quot;16&quot;&gt;౯&lt;/span&gt; &lt;span class=&quot; transl_class&quot; title=&quot;Click to correct&quot; id=&quot;17&quot;&gt;తో&lt;/span&gt; &lt;span class=&quot; transl_class&quot; title=&quot;Click to correct&quot; id=&quot;18&quot;&gt;కాంటాక్ట్&lt;/span&gt; &lt;span class=&quot; transl_class&quot; title=&quot;Click to correct&quot; id=&quot;19&quot;&gt;యువర్&lt;/span&gt; agent&quot;&lt;br /&gt;exten =&gt; 1,1,Goto(default ,1234,3)   ; replay message&lt;br /&gt;exten =&gt; 2,1,Goto(bye,1,1) ; acknowledge message&lt;br /&gt;exten =&gt; t,1,Playback(vm-goodbye) timeout  play bye&lt;br /&gt;exten =&gt; t,2,hangup hangup&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;[bye]&lt;br /&gt;&lt;br /&gt;&lt;span class=&quot; transl_class&quot; title=&quot;Click to correct&quot; id=&quot;21&quot;&gt;exten&lt;/span&gt;=&gt; 1,Playback(thank u for your valuable time)&lt;br /&gt;&lt;span class=&quot; transl_class&quot; title=&quot;Click to correct&quot; id=&quot;28&quot;&gt;exten&lt;/span&gt;=&gt; 2,palyback(goodbye)&lt;br /&gt;&lt;span class=&quot; transl_class&quot; title=&quot;Click to correct&quot; id=&quot;31&quot;&gt;exten &lt;/span&gt;=&gt; 3,Hangup()&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;If you have good knowledge in agi scripting&lt;span class=&quot; transl_class&quot; title=&quot;Click to correct&quot; id=&quot;50&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;through orignate commands&lt;br /&gt;&lt;br /&gt;&lt;/code&gt;Agi scritping using agi::asterisk and net ::telenet&lt;br /&gt;&lt;br /&gt;#!/usr/bin/perl&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;# Namespace Declarartion&lt;br /&gt;#####################################################################################################&lt;br /&gt;use Asterisk::AGI;&lt;br /&gt;use Net::Telnet;&lt;br /&gt;&lt;br /&gt;$US=&#39;_&#39;;&lt;br /&gt;######################################################################################################&lt;br /&gt;&lt;br /&gt;$AGI = new Asterisk::AGI;&lt;br /&gt;&lt;br /&gt; $|=1;&lt;br /&gt;while(&lt;stdin&gt;) {&lt;br /&gt;       chomp;&lt;br /&gt;       last unless length($_);&lt;br /&gt;       if ($V)&lt;br /&gt;      {&lt;br /&gt;&lt;br /&gt;               if (/^agi_(\w+)\:\s+(.*)$/)&lt;br /&gt;               {&lt;br /&gt;                      $AGI{$1} = $2;&lt;br /&gt;               }&lt;br /&gt;       }&lt;br /&gt;&lt;br /&gt;       if (/^agi_uniqueid\:\s+(.*)$/)          {$unique_id = $1;}&lt;br /&gt;       if (/^agi_channel\:\s+(.*)$/)           {$channel = $1;}&lt;br /&gt;       if (/^agi_extension\:\s+(.*)$/)         {$extension = $1;}&lt;br /&gt;       if (/^agi_type\:\s+(.*)$/)              {$type = $1;}&lt;br /&gt;       if (/^agi_callerid\:\s+(.*)$/)          {$callerid = $1;}&lt;br /&gt;       if (/^agi_context\:\s+(.*)$/)           {$context = $1;}&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&amp;amp;Originate();&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;sub Originate&lt;br /&gt;{&lt;br /&gt;&lt;br /&gt;	$Username       = &quot;cron&quot;;&lt;br /&gt;	$Secret         = &quot;1234&quot;;&lt;br /&gt;	$MyPhone        = &quot;SIP/1000&quot;;&lt;br /&gt;	$MyPhoneEscaped = &quot;SIP\\/1000&quot;;&lt;br /&gt;&lt;br /&gt;	# Connect to localhost via telnet on the Asterisk manager port.&lt;br /&gt;	$TelnetClient = new Net::Telnet (Timeout =&gt; 10,&lt;br /&gt;									 Errmode =&gt; &quot;die&quot;,&lt;br /&gt;					  Host    =&gt; &quot;localhost&quot;,&lt;br /&gt;					  Port    =&gt; 5038);&lt;br /&gt;&lt;br /&gt;	# Login with our username and secret.&lt;br /&gt;	$TelnetClient-&gt;open  ();&lt;br /&gt;	$TelnetClient-&gt;print (&quot;Action: Login&quot;);&lt;br /&gt;	$TelnetClient-&gt;print (&quot;Username: $Username&quot;);&lt;br /&gt;	$TelnetClient-&gt;print (&quot;Secret: $Secret&quot;);&lt;br /&gt;	$TelnetClient-&gt;print (&quot;&quot;);&lt;br /&gt;&lt;br /&gt;	# Check for login success.&lt;br /&gt;	($Prematch, $Match) = $TelnetClient-&gt;waitfor (&quot;/Message: .*/&quot;);&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;	if (($Prematch =~ m/Success/) &amp;amp;&amp;amp; ($Match =~ m/Authentication/)) {&lt;br /&gt;	  print &quot;Good authentication.\n&quot;;&lt;br /&gt;	}&lt;br /&gt;	else {&lt;br /&gt;	  print &quot;Authentication failed.\n&quot;;&lt;br /&gt;	  exit;&lt;br /&gt;	} &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;    print &quot;Dialing $CurrentNumber...\n&quot;;&lt;br /&gt;   $TelnetClient-&gt;print (&quot;Action: Originate&quot;);&lt;br /&gt;   $TelnetClient-&gt;print (&quot;Channel: $MyPhone&quot;);&lt;br /&gt;   $TelnetClient-&gt;print (&quot;Exten: 1234&quot;);&lt;br /&gt;   $TelnetClient-&gt;print (&quot;Priority: 2&quot;);&lt;br /&gt;   $TelnetClient-&gt;print (&quot;Callerid: \&quot;nagarjuna\&quot; &lt;$CurrentNumber&gt;&quot;);&lt;br /&gt;   $TelnetClient-&gt;print (&quot;&quot;);&lt;br /&gt;&lt;br /&gt;   ($Prematch, $Match) = $TelnetClient-&gt;waitfor (&quot;/Message: .*/&quot;);&lt;br /&gt;&lt;br /&gt;   if (($Match =~ m/Originate/) &amp;amp;&amp;amp; ($Prematch =~ m/Success/)) {&lt;br /&gt;     $OriginateSuccess = 1;&lt;br /&gt;     print &quot;Origination success.\n&quot;;&lt;br /&gt;   }&lt;br /&gt;   else {&lt;br /&gt;     print &quot;Origination failure.\n&quot;;&lt;br /&gt;     sleep (2);&lt;br /&gt;   }&lt;br /&gt;&lt;br /&gt;	 print &quot;Waiting...\n&quot;;&lt;br /&gt;&lt;br /&gt; $OnThePhone = 1;&lt;br /&gt;&lt;br /&gt; while ($OnThePhone) {&lt;br /&gt;   ($Prematch, $Match) = $TelnetClient-&gt;waitfor (match   =&gt; &quot;/Uniqueid: .*/&quot;,&lt;br /&gt;                                                 timeout =&gt; 60);&lt;br /&gt;   print &quot;Event detected.\n&quot;;&lt;br /&gt;&lt;br /&gt;   if (($Prematch =~ m/Hangup/) &amp;amp;&amp;amp; ($Prematch =~ m/$MyPhoneEscaped/)) {&lt;br /&gt;     $OnThePhone = 0;&lt;br /&gt;   }&lt;br /&gt; }&lt;br /&gt;}&lt;br /&gt;##################################Check 200 Reply ####################################&lt;br /&gt;&lt;br /&gt;sub checkresult {&lt;br /&gt;       my ($res) = @_;&lt;br /&gt;       my $retval;&lt;br /&gt;       $tests++;&lt;br /&gt;       chomp $res;&lt;br /&gt;       if ($res =~ /^200/) {&lt;br /&gt;               $res =~ /result=(-?\d+)/;&lt;br /&gt;               if (!length($1)) {&lt;br /&gt;                       print STDERR &quot;FAIL ($res)\n&quot;;&lt;br /&gt;                       $fail++;&lt;br /&gt;               } else {&lt;br /&gt;                       print STDERR &quot;PASS ($1)\n&quot;;&lt;br /&gt;                       $pass++;&lt;br /&gt;               }&lt;br /&gt;       }&lt;br /&gt;        else {&lt;br /&gt;               print STDERR &quot;FAIL (unexpected result &#39;$res&#39;)\n&quot;;&lt;br /&gt;               $fail++;&lt;br /&gt;              }&lt;br /&gt;}&lt;br /&gt;&lt;code&gt;&lt;span class=&quot; transl_class&quot; title=&quot;Click to correct&quot; id=&quot;3&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://nagarjunamallampalli.blogspot.com/feeds/6726796761396157135/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://nagarjunamallampalli.blogspot.com/2010/06/blog-post.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2657441212639607916/posts/default/6726796761396157135'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2657441212639607916/posts/default/6726796761396157135'/><link rel='alternate' type='text/html' href='http://nagarjunamallampalli.blogspot.com/2010/06/blog-post.html' title='BroadCast Voice message through Asterisk'/><author><name>nagarjuna</name><uri>http://www.blogger.com/profile/02751409694569731519</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='23' src='http://4.bp.blogspot.com/_VpLrAbiTi0U/TFk1XJVoXPI/AAAAAAAAADU/ugfPMACXhEM/S220/tux_phone.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2657441212639607916.post-6211190931155567455</id><published>2010-01-01T14:55:00.000+05:30</published><updated>2010-01-01T15:03:50.029+05:30</updated><title type='text'>noika code</title><content type='html'>&lt;span style=&quot;font-family:arial;&quot;&gt;just note, I found from http://&lt;a href=&quot;http://www.programmerworld.net/articles/tips/nokia_codes.php&quot;&gt;www.programmerworld.net/articles/tips/nokia_codes.ఫ్ప్&lt;/a&gt;&lt;br /&gt;&lt;/span&gt;&lt;a href=&quot;http://www.programmerworld.net/articles/tips/nokia_codes.php&quot;&gt; &lt;/a&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;* *3370#&lt;/span&gt; This Nokia code activates Enhanced Full Rate Codec (EFR) - Your Nokia cell phone uses the best sound quality but talk time is reduced my approx. 5%&lt;/span&gt; &lt;span style=&quot;font-family:arial;&quot;&gt;   &lt;span style=&quot;font-weight: bold;&quot;&gt;*&lt;br /&gt; #3370#&lt;/span&gt; Deactivate Enhanced Full Rate Codec (EFR) .&lt;/span&gt;&lt;br /&gt; &lt;span style=&quot;font-family:arial;&quot;&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;* *#4720#&lt;/span&gt; Activate Half Rate Codec - Your phone uses a lower quality sound but you should gain approx 30% more Talk Time.&lt;/span&gt;    &lt;span style=&quot;font-weight: bold;font-family:arial;&quot; &gt;&lt;br /&gt;* *#4720#&lt;/span&gt;&lt;span style=&quot;font-family:arial;&quot;&gt; With this Nokia code you can deactivate the Half Rate Codec.&lt;/span&gt; &lt;span style=&quot;font-family:arial;&quot;&gt;   &lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;br /&gt;* *#0000# &lt;/span&gt;Displays your phones software version, 1st Line : Software Version, 2nd Line : Software Release Date, 3rd Line : Compression Type .&lt;/span&gt;&lt;br /&gt; &lt;span style=&quot;font-family:arial;&quot;&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;* *#9999#&lt;/span&gt; Phones software version if *#0000# does not work.&lt;/span&gt;&lt;br /&gt; &lt;span style=&quot;font-family:arial;&quot;&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;* *#06#&lt;/span&gt; For checking the International Mobile Equipment Identity (IMEI Number) .&lt;/span&gt; &lt;span style=&quot;font-family:arial;&quot;&gt;   &lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;br /&gt;* #pw+1234567890+1#&lt;/span&gt; Provider Lock Status. (use the &quot;*&quot; button to obtain the &quot;p,w&quot; and &quot;+&quot; symbols).&lt;br /&gt;&lt;/span&gt; &lt;span style=&quot;font-family:arial;&quot;&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;* #pw+1234567890+2#&lt;/span&gt; Network Lock Status. (use the &quot;*&quot; button to obtain the &quot;p,w&quot; and &quot;+&quot; symbols) .&lt;/span&gt;&lt;br /&gt; &lt;span style=&quot;font-family:arial;&quot;&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;* #pw+1234567890+3#&lt;/span&gt; Country Lock Status. (use the &quot;*&quot; button to obtain the &quot;p,w&quot; and &quot;+&quot; symbols).&lt;/span&gt;&lt;br /&gt; &lt;span style=&quot;font-family:arial;&quot;&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;* #pw+1234567890+4# &lt;/span&gt;SIM Card Lock Status. (use the &quot;*&quot; button to obtain the &quot;p,w&quot; and &quot;+&quot; symbols) .&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;   &lt;span style=&quot;font-weight: bold;&quot;&gt;* *#147#&lt;/span&gt; This lets you know who called you last (Only vodofone).&lt;/span&gt; &lt;span style=&quot;font-family:arial;&quot;&gt;   &lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;br /&gt;* *#1471#&lt;/span&gt; Last call (Only vodofone) .&lt;/span&gt; &lt;span style=&quot;font-family:arial;&quot;&gt;   &lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;br /&gt;* *#21#&lt;/span&gt; This phone code allows you to check the number that &quot;All Calls&quot; are diverted to.&lt;/span&gt; &lt;span style=&quot;font-family:arial;&quot;&gt;   &lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;br /&gt;* *#2640#&lt;/span&gt; Displays phone security code in use .&lt;/span&gt;&lt;br /&gt; &lt;span style=&quot;font-family:arial;&quot;&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;* *#30#&lt;/span&gt; Lets you see the private number.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;   &lt;span style=&quot;font-weight: bold;&quot;&gt;* *#43# &lt;/span&gt;Allows you to check the &quot;Call Waiting&quot; status of your cell phone.&lt;/span&gt;&lt;br /&gt; &lt;span style=&quot;font-family:arial;&quot;&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;* *#61#&lt;/span&gt; Allows you to check the number that &quot;On No Reply&quot; calls are diverted to .&lt;/span&gt;&lt;br /&gt; &lt;span style=&quot;font-family:arial;&quot;&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;* *#62#&lt;/span&gt; Allows you to check the number that &quot;Divert If Unreachable (no service)&quot; calls are diverted to .&lt;/span&gt;&lt;br /&gt; &lt;span style=&quot;font-family:arial;&quot;&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;* *#67#&lt;/span&gt; Allows you to check the number that &quot;On Busy Calls&quot; are diverted తో&lt;br /&gt;&lt;/span&gt; &lt;span style=&quot;font-family:arial;&quot;&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;* *#67705646#&lt;/span&gt; Phone code that removes operator logo on 3310 &amp;amp; 3330&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;   &lt;span style=&quot;font-weight: bold;&quot;&gt;* *#73#&lt;/span&gt; Reset phone timers and game scores.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;   &lt;span style=&quot;font-weight: bold;&quot;&gt;* *#746025625#&lt;/span&gt; Displays the SIM Clock status, if your phone supports this power saving feature &quot;SIM Clock Stop Allowed&quot;, it means you will get the best standby time possible .&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;   &lt;span style=&quot;font-weight: bold;&quot;&gt;* *#7760#&lt;/span&gt; Manufactures code.&lt;/span&gt;&lt;br /&gt; &lt;span style=&quot;font-family:arial;&quot;&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;* *#7780#&lt;/span&gt; Restore factory settings.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;   &lt;span style=&quot;font-weight: bold;&quot;&gt;* *#8110#&lt;/span&gt; Software version for the nokia 8110.&lt;/span&gt;&lt;br /&gt; &lt;span style=&quot;font-family:arial;&quot;&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;* *#92702689#&lt;/span&gt; Displays - 1.Serial Number, 2.Date Made, 3.Purchase Date, 4.Date of last repair (0000 for no repairs), 5.Transfer User Data. To exit this mode you need to switch your phone off then on again.&lt;/span&gt;&lt;br /&gt; &lt;span style=&quot;font-family:arial;&quot;&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;* *#94870345123456789#&lt;/span&gt; Deactivate the PWM-Mem.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;   &lt;span style=&quot;font-weight: bold;&quot;&gt;* **21*&lt;/span&gt; number# Turn on &quot;All Calls&quot; diverting to the phone number entered.&lt;/span&gt;&lt;br /&gt; &lt;span style=&quot;font-family:arial;&quot;&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;* **61*&lt;/span&gt; number# Turn on &quot;No Reply&quot; diverting to the phone number entered .&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family:arial;&quot;&gt;   &lt;span style=&quot;font-weight: bold;&quot;&gt;* **67*&lt;/span&gt; number# Turn on &quot;On Busy&quot; diverting to the phone number entered .&lt;/span&gt;&lt;br /&gt; &lt;span style=&quot;font-family:arial;&quot;&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;* 12345&lt;/span&gt; This is the default security code .&lt;/span&gt; &lt;span style=&quot;font-family:arial;&quot;&gt;   &lt;span style=&quot;font-weight: bold;&quot;&gt;*&lt;/span&gt; press and hold # Lets you switch between lines.&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://nagarjunamallampalli.blogspot.com/feeds/6211190931155567455/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://nagarjunamallampalli.blogspot.com/2010/01/noika-code.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2657441212639607916/posts/default/6211190931155567455'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2657441212639607916/posts/default/6211190931155567455'/><link rel='alternate' type='text/html' href='http://nagarjunamallampalli.blogspot.com/2010/01/noika-code.html' title='noika code'/><author><name>nagarjuna</name><uri>http://www.blogger.com/profile/02751409694569731519</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='23' src='http://4.bp.blogspot.com/_VpLrAbiTi0U/TFk1XJVoXPI/AAAAAAAAADU/ugfPMACXhEM/S220/tux_phone.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2657441212639607916.post-3167514521994171801</id><published>2010-01-01T14:51:00.000+05:30</published><updated>2010-01-01T15:00:59.448+05:30</updated><title type='text'>Asterisk  integration with Opensips</title><content type='html'>&lt;span style=&quot;font-family: times new roman;&quot;&gt;Only voicemail and conference services do require DB support. While the conference DB table will be exclusively be used by Asterisk (OpenSIPS does not require any information form there), the voicemail service do require a tight sharing of DB information about users between OpenSIPS and Asterisk.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;Considering OpenSIPS as the core SIP element of the platform, the core DB will be also belonging to OpenSIPS - we will use the OpenSIPS DB to drive both OpenSIPS and Asterisk. The tables required by Asterisk (for voicemail service) will be mapped over the OpenSIPS tables.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;This approach assumes two steps:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;  1. creating the OpenSIP tables and extend them to contain also the fields (info) required by Asterisk.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;  2. creating the mysql views over the OpenSIPS tables, in order to simulate the Asterisk tables&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;Creating the OpenSIPS tables&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;In file /etc/opensips/opensipsctlrc enable the mysql backend (see DBENGINE) and also configure the host where the mysql server is located, the name to be used for creating the opensips table, the read-only (ro) and read-write (rw) usernames and passwords to be created for accessing the opensips DB - see all the varaibles with DB prefix in the file.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;Proceed with creation of the OpenSIPS standard database:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;  $ opensipsdbctl create&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;If you use the default values to DB host and mysql access users, you can access the DB by:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;  $ mysql -h&#39;localhost&#39; -u&#39;opensips&#39; -p&#39;opensipsrw&#39; opensips&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;    &gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;Once the default tables are created, we need to alter the subscriber table in order to add some additional fields required by the Asterisk DB view. These changes are:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;   * add vm_password to be used as voicemail pin&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;   * add first_name and last_name as subscriber name&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;   * add email_address as subscriber&#39;s email address&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;   * add datetime_created as timestamp of the subscriber creation.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;Login to the opensips database (use the above login command) and run:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt; &gt; alter table subscriber add column `vmail_password` varchar(8) NOT NULL default &#39;1234&#39;;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt; &gt; alter table subscriber add column `first_name` varchar(25) NOT NULL default &#39;&#39;;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt; &gt; alter table subscriber add column `last_name` varchar(45) NOT NULL default &#39;&#39;;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt; &gt; alter table subscriber add column `email_address` varchar(50) NOT NULL default &#39;&#39;;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt; &gt; alter table subscriber add column `datetime_created` datetime NOT NULL default &#39;0000-00-00 00:00:00&#39;;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;Creating the Asterisk tables&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;Create a separate database to be used by Asterisk - login as root into mysql server and run:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt; &gt; create database asterisk;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt; &gt; GRANT ALL PRIVILEGES ON asterisk.* TO &#39;asterisk&#39; IDENTIFIED  BY &#39;asterisk_pwd&#39;;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;Create the Asterisk tables which are exclusively used only by Asterisk (as mysql tables):&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;# create table for the meetme service&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;CREATE TABLE `meetme` (&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt; `confno` varchar(80) NOT NULL default &#39;0&#39;,&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt; `username` varchar(64) NOT NULL default &#39;&#39;,&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt; `domain` varchar(128) NOT NULL default &#39;&#39;,&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt; `pin` varchar(20) default NULL,&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt; `adminpin` varchar(20) default NULL,&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt; `members` int(11) NOT NULL default &#39;0&#39;,&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt; PRIMARY KEY  (`confno`)&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;) ENGINE=MyISAM&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;# create table to store the voicemail massages&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;CREATE TABLE `voicemessages` (&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt; `id` int(11) NOT NULL auto_increment,&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt; `msgnum` int(11) NOT NULL default &#39;0&#39;,&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt; `dir` varchar(80) default &#39;&#39;,&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt; `context` varchar(80) default &#39;&#39;,&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt; `macrocontext` varchar(80) default &#39;&#39;,&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt; `callerid` varchar(40) default &#39;&#39;,&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt; `origtime` varchar(40) default &#39;&#39;,&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt; `duration` varchar(20) default &#39;&#39;,&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt; `mailboxuser` varchar(80) default &#39;&#39;,&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt; `mailboxcontext` varchar(80) default &#39;&#39;,&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt; `recording` longblob,&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt; PRIMARY KEY  (`id`),&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt; KEY `dir` (`dir`)&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;) ENGINE=MyISAM&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;Create the Asterisk tables (as mysql views) that import the information from OpenSIPS tables:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;# create the asterisk users tables as a view over the OpenSIPS subscriber table&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;CREATE VIEW `asterisk`.`sipusers` AS select&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt; `opensips`.`subscriber`.`username` AS `name`,&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt; `opensips`.`subscriber`.`username` AS `username`,&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt; _latin1&#39;friend&#39; AS `type`,&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt; NULL AS `secret`,&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt; `opensips`.`subscriber`.`domain` AS `host`,&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt; concat(`opensips`.`subscriber`.`rpid`,_latin1&#39; &#39;,_latin1&#39;&lt;&#39;,`opensips`.`subscriber`.`username`,_latin1&#39;&gt;&#39;) AS `callerid`,&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt; _latin1&#39;default&#39; AS `context`,&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt; `opensips`.`subscriber`.`username` AS `mailbox`,&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt; _latin1&#39;yes&#39; AS `nat`,&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt; _latin1&#39;no&#39; AS `qualify`,&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt; `opensips`.`subscriber`.`username` AS `fromuser`,&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt; NULL AS `authuser`,&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt; `opensips`.`subscriber`.`domain` AS `fromdomain`,&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt; NULL AS `insecure`,&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt; _latin1&#39;no&#39; AS `canreinvite`,&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt; NULL AS `disallow`,&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt; NULL AS `allow`,&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt; NULL AS `restrictcid`,&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt; `opensips`.`subscriber`.`domain` AS `defaultip`,&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt; `opensips`.`subscriber`.`domain` AS `ipaddr`,&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt; _latin1&#39;5060&#39; AS `port`,&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt; NULL AS `regseconds`&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;from `opensips`.`subscriber`;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;# create the asterisk voceimail users table as a view over the OpenSIPS subscriber table&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;CREATE VIEW `asterisk`.`vmusers` AS select&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt; concat(`opensips`.`subscriber`.`username`,`opensips`.`subscriber`.`domain`) AS  AS `uniqueid`,&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt; `opensips`.`subscriber`.`username` AS `customer_id`,&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt; _latin1&#39;default&#39; AS `context`,&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt; `opensips`.`subscriber`.`username` AS `mailbox`,&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt; `opensips`.`subscriber`.`vmail_password` AS `password`,&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt; concat(`opensips`.`subscriber`.`first_name`,_latin1&#39; &#39;,`opensips`.`subscriber`.`last_name`) AS `fullname`,&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt; `opensips`.`subscriber`.`email_address` AS `email`,&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt; NULL AS `pager`,&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt; `opensips`.`subscriber`.`datetime_created` AS `stamp`&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;from `opensips`.`subscriber`;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;#create the asterisk voicemail aliases table as a view over the OpenSIPS dbaliases table&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;CREATE VIEW `asterisk`.`vmaliases` AS select&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt; `opensips`.`dbaliases`.`alias_username` AS `alias`,&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt; _latin1&#39;default&#39; AS `context`,&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt; `opensips`.`dbaliases`.`username` AS `mailbox`&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;from `opensips`.`dbaliases`;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;Configure the access for Asterisk to the created database (via unixodbc):&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;   * in etc/odbcinst.ini&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;[MySQL]&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;Description     = MySQL driver&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;Driver      = /usr/lib/odbc/libmyodbc.so&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;Setup       = /usr/lib/odbc/libodbcmyS.so&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;CPTimeout       =&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;CPReuse     =&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;UsageCount      = 1&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;   * in /etc/odbc.ini&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;[MySQL-asterisk]&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;Description = MySQL Asterisk database&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;Trace       = Off&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;TraceFile   = stderr&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;Driver      = MySQL&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;SERVER      = localhost&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;USER        = asterisk&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;PASSWORD    = asterisk_pwd&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;PORT        = 3306&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;DATABASE    = asterisk&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;   * in /etc/asterisk/res_odbc.conf&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;[asterisk]&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;enabled =&gt; yes&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;dsn =&gt; MySQL-asterisk&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;username =&gt; asterisk&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;password =&gt; asterisk_pwd&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;pre-connect =&gt; yes&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;   * in /etc/asterisk/extconfig.conf&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;sipusers =&gt; odbc,asterisk,sipusers&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;sippeers =&gt; odbc,asterisk,sipusers&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;voicemail =&gt; odbc,asterisk,vmusers&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;meetme =&gt; odbc,asterisk,meetme&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;1.7  Asterisk dialplan&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;The following extensions are set for Asterisk:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;  1. VMR_ prefix indicates that the caller (identify by SIP FROM header) leaves a voicemail message to the user indicated by the RURI (after the prefix).&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;  2. VM_pickup RURI indicates that the caller (identify by SIP FROM header) accesses his own voicemailbox IVR (to listen his messages); the access is done directly, without any PIN required from Asterisk&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;  3. AN_notavailable plays the &quot;Not Available&quot; audio message&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;  4. AN_time plays the current time message (for the given timezone)&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;  5. AN_date plays the current time message (for the given timezone)&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;  6. AN_echo accesses the echo audio service&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;  7. CR_ prefix indicates access to a conference room; the number of the room is part of the RURI, after the prefix (like CR_3322); Asterisk will perform the checks for conference room existence and for the access PIN code.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;Set in /etc/asterisk/extensions.conf&#39; :&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;[general]&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;static=yes&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;writeprotect=no&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;[default]&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;; Voicemail&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;exten =&gt; _VMR_.,n,Ringing&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;exten =&gt; _VMR_.,n,Wait(1)&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;exten =&gt; _VMR_.,n,Answer&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;exten =&gt; _VMR_.,n,Wait(1)&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;exten =&gt; _VMR_.,n,Voicemail(${EXTEN:4}|u)&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;exten =&gt; _VMR_.,n,Hangup&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;; Allow users to call their Voicemail directly&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;exten =&gt; VM_pickup,n,Ringing&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;exten =&gt; VM_pickup,n,wait(1)&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;exten =&gt; VM_pickup,n,VoicemailMain(${CALLERIDNUM}|s)&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;exten =&gt; VM_pickup,n,Hangup&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;; announcement: not available&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;exten =&gt; AN_notavailable,1,Ringing&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;exten =&gt; AN_notavailable,2,Playback(notavailable)&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;exten =&gt; AN_notavailable,3,Hangup&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;; announcement: time&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;exten =&gt; AN_time,1,Ringing&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;exten =&gt; AN_time,2,Wait(1)&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;exten =&gt; AN_time,3,SayUnixTime(,Europe/Bucharest,HMp)&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;exten =&gt; AN_time,4,Hangup&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;; announcement:date&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;exten =&gt; AN_date,1,Ringing&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;exten =&gt; AN_date,2,SayUnixTime(,Europe/Bucharest,ABdY)&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;exten =&gt; AN_date,3,Hangup&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;; announcement: echo&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;exten =&gt; AN_echo,1,Ringing&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;exten =&gt; AN_echo,2,Answer&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;exten =&gt; AN_echo,3,Echo&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;; Conference service&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;exten =&gt; _CR_.,1,Ringing&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;exten =&gt; _CR_.,n,Wait(1)&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;exten =&gt; _CR_.,n,MeetMe(${EXTEN:3}|Mi)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;1.8  OpenSIPS configuration&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;In this example we take the OpenSIPS default config file that provides user registration and authentication against the DB and extends the script for adding the following media oriented services:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;  1. voicemail&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;        1. leaving a message - if the called user is not registered on OpenSIPS, the call will be forwarded by OpenSIPS (by adding VMR_ prefix) to Asterisk&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;        2. listening messages -if a subscriber calls to the *1111 number, OpenSIPS will rewrite it to VM_pickup and send it to Asterisk&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;  2. announcements&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;        1. service number *2111 for listening the current time message - OpenSIPS will rewrite it to AN_time and send it to Asterisk&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;        2. service number *2112 for listening the current date message - OpenSIPS will rewrite it to AN_date and send it to Asterisk&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;        3. service number *2113 for accessing the echo service - OpenSIPS will rewrite it to AN_echo and send it to Asterisk&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;  3. conference&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;        1. service number *3XXX for dialling into the conference room XXX - OpenSIPS will rewrite it to CR_XXX and send it to Asterisk&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;In /etc/opensips/opensips.cfg place (see the ASTERISK_HOOKS markers to find the script parts relevant to Asterisk integration):&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;####### Global Parameters #########&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;debug=3&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;log_stderror=no&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;log_facility=LOG_LOCAL0&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;fork=yes&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;children=4&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;/* uncomment the following lines to enable debugging */&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;#debug=6&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;#fork=no&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;#log_stderror=yes&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;port=5060&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;/* uncomment and configure the following line if you want opensips to&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;  bind on a specific interface/port/proto (default bind on all available) */&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;#listen=udp:192.168.1.2:5060&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;####### Modules Section ########&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;#set module path&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;mpath=&quot;/lib/opensips/modules/&quot;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;loadmodule &quot;db_mysql.so&quot;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;loadmodule &quot;signaling.so&quot;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;loadmodule &quot;sl.so&quot;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;loadmodule &quot;tm.so&quot;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;loadmodule &quot;rr.so&quot;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;loadmodule &quot;maxfwd.so&quot;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;loadmodule &quot;usrloc.so&quot;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;loadmodule &quot;registrar.so&quot;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;loadmodule &quot;textops.so&quot;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;loadmodule &quot;mi_fifo.so&quot;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;loadmodule &quot;uri_db.so&quot;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;loadmodule &quot;uri.so&quot;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;loadmodule &quot;xlog.so&quot;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;loadmodule &quot;acc.so&quot;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;loadmodule &quot;auth.so&quot;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;loadmodule &quot;auth_db.so&quot;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;loadmodule &quot;domain.so&quot;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;# ----------------- setting module-specific parameters ---------------&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;# ----- mi_fifo params -----&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;modparam(&quot;mi_fifo&quot;, &quot;fifo_name&quot;, &quot;/tmp/opensips_fifo&quot;)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;# ----- rr params -----&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;# add value to ;lr param to cope with most of the UAs&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;modparam(&quot;rr&quot;, &quot;enable_full_lr&quot;, 1)&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;# do not append from tag to the RR (no need for this script)&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;modparam(&quot;rr&quot;, &quot;append_fromtag&quot;, 0)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;# ----- usrloc params -----&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;modparam(&quot;usrloc&quot;, &quot;db_mode&quot;,   2)&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;modparam(&quot;usrloc&quot;, &quot;db_url&quot;,&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt; &quot;mysql://opensips:opensipsrw@localhost/opensips&quot;)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;# ----- uri_db params -----&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;modparam(&quot;uri_db&quot;, &quot;use_uri_table&quot;, 0)&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;modparam(&quot;uri_db&quot;, &quot;db_url&quot;, &quot;&quot;)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;# ----- acc params -----&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;/* what sepcial events should be accounted ? */&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;modparam(&quot;acc&quot;, &quot;early_media&quot;, 1)&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;modparam(&quot;acc&quot;, &quot;report_ack&quot;, 1)&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;modparam(&quot;acc&quot;, &quot;report_cancels&quot;, 1)&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;/* account triggers (flags) */&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;modparam(&quot;acc&quot;, &quot;failed_transaction_flag&quot;, 3)&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;modparam(&quot;acc&quot;, &quot;log_flag&quot;, 1)&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;modparam(&quot;acc&quot;, &quot;log_missed_flag&quot;, 2)&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;/* uncomment the following lines to enable DB accounting also */&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;modparam(&quot;acc&quot;, &quot;db_flag&quot;, 1)&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;modparam(&quot;acc&quot;, &quot;db_missed_flag&quot;, 2)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;# ----- auth_db params -----&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;modparam(&quot;auth_db&quot;, &quot;calculate_ha1&quot;, yes)&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;modparam(&quot;auth_db&quot;, &quot;password_column&quot;, &quot;password&quot;)&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;modparam(&quot;auth_db&quot;, &quot;db_url&quot;,&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt; &quot;mysql://opensips:opensipsrw@localhost/opensips&quot;)&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;modparam(&quot;auth_db&quot;, &quot;load_credentials&quot;, &quot;&quot;)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;# ----- domain params -----&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;modparam(&quot;domain&quot;, &quot;db_url&quot;,&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt; &quot;mysql://opensips:opensipsrw@localhost/opensips&quot;)&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;modparam(&quot;domain&quot;, &quot;db_mode&quot;, 1)   # Use caching&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;# ----- multi-module params -----&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;/* uncomment the following line if you want to enable multi-domain support&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;  in the modules (dafault off) */&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;modparam(&quot;alias_db|auth_db|usrloc|uri_db&quot;, &quot;use_domain&quot;, 1)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;####### Routing Logic ########&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;# main request routing logic&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;route{&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt; if (!mf_process_maxfwd_header(&quot;10&quot;)) {&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;  send_reply(&quot;483&quot;,&quot;Too Many Hops&quot;);&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;  exit;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt; }&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt; if (has_totag()) {&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;  # sequential request withing a dialog should&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;  # take the path determined by record-routing&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;  if (loose_route()) {&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;   if (is_method(&quot;BYE&quot;)) {&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;    setflag(1); # do accounting ...&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;    setflag(3); # ... even if the transaction fails&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;   } else if (is_method(&quot;INVITE&quot;)) {&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;    # even if in most of the cases is useless, do RR for&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;    # re-INVITEs alos, as some buggy clients do change route set&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;    # during the dialog.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;    record_route();&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;   }&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;   # route it out to whatever destination was set by loose_route()&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;   # in $du (destination URI).&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;   route(1);&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;  } else {&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;   if ( is_method(&quot;ACK&quot;) ) {&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;    if ( t_check_trans() ) {&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;     # non loose-route, but stateful ACK; must be an ACK after&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;     # a 487 or e.g. 404 from upstream server&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;     t_relay();&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;     exit;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;    } else {&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;     # ACK without matching transaction -&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;     # ignore and discard&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;     exit;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;    }&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;   }&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;   send_reply(&quot;404&quot;,&quot;Not here&quot;);&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;  }&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;  exit;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt; }&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt; #initial requests&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt; # CANCEL processing&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt; if (is_method(&quot;CANCEL&quot;)) {&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;  if (t_check_trans())&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;   t_relay();&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;  exit;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt; }&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt; t_check_trans();&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt; # authenticate if from local subscriber&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt; if (!(method==&quot;REGISTER&quot;) &amp;amp;&amp;amp; is_from_local()) {&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;  if (!proxy_authorize(&quot;&quot;, &quot;subscriber&quot;)) {&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;   proxy_challenge(&quot;&quot;, &quot;0&quot;);&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;   exit;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;  }&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;  if (!check_from()) {&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;   send_reply(&quot;403&quot;,&quot;Forbidden auth ID&quot;);&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;   exit;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;  }&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;  consume_credentials();&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;  # caller authenticated&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt; }&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt; # preloaded route checking&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt; if (loose_route()) {&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;  xlog(&quot;L_ERR&quot;,&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;  &quot;Attempt to route with preloaded Route&#39;s [$fu/$tu/$ru/$ci]&quot;);&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;  if (!is_method(&quot;ACK&quot;))&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;   send_reply(&quot;403&quot;,&quot;Preload Route denied&quot;);&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;  exit;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt; }&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt; # record routing&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt; if (!is_method(&quot;REGISTER|MESSAGE&quot;))&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;  record_route();&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt; # account only INVITEs&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt; if (is_method(&quot;INVITE&quot;)) {&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;  setflag(1); # do accounting&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt; }&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt; # if not a targetting a local SIP domain, just send it out&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt; # based on DNS (calls to foreign SIP domains)&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt; if (!is_uri_host_local()) {&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;  append_hf(&quot;P-hint: outbound\r\n&quot;);&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;  route(1);&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt; }&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt; # requests for my domain&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt; if (is_method(&quot;REGISTER&quot;)) {&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;  # authenticate the REGISTER requests&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;  if (!www_authorize(&quot;&quot;, &quot;subscriber&quot;)) {&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;   www_challenge(&quot;&quot;, &quot;0&quot;);&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;   exit;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;  }&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;  if (!check_to()) {&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;   send_reply(&quot;403&quot;,&quot;Forbidden auth ID&quot;);&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;   exit;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;  }&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;  if (!save(&quot;location&quot;))&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;   sl_reply_error();&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;  exit;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt; }&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt; if ($rU==NULL) {&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;  # request with no Username in RURI&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;  send_reply(&quot;484&quot;,&quot;Address Incomplete&quot;);&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;  exit;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt; }&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt; # ASTERISK HOOK - BEGIN&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt; # media service number? (digits starting with *)&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt; if ($rU=~&quot;^\*[1-9]+&quot;) {&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;  # we do provide access to media services only to our&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;  # subscribers, who were previously authenticated&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;  if (!is_from_local()) {&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;   send_reply(&quot;403&quot;,&quot;Forbidden access to media service&quot;);&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;   exit;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;  }&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;  #identify the services and translate to Asterisk extensions&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;  if ($rU==&quot;*1111&quot;) {&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;   # access to own voicemail IVR&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;   seturi(&quot;sip:VM_pickup@ASTERISK_IP:ASTERISK_PORT&quot;);&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;  } else&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;  if ($rU==&quot;*2111&quot;) {&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;   # access to the &quot;say time&quot; announcement&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;   seturi(&quot;sip:AN_time@ASTERISK_IP:ASTERISK_PORT&quot;);&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;  } else&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;  if ($rU==&quot;*2112&quot;) {&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;   # access to the &quot;say date&quot; announcement&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;   seturi(&quot;sip:AN_date@ASTERISK_IP:ASTERISK_PORT&quot;);&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;  } else&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;  if ($rU==&quot;*2113&quot;) {&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;   # access to the &quot;echo&quot; service&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;   seturi(&quot;sip:AN_echo@ASTERISK_IP:ASTERISK_PORT&quot;);&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;  } else&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;  if ($rU=~&quot;\*3[0-9]{3}&quot;) {&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;   # access to the conference service&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;   # remove the &quot;*3&quot; prefix and place the &quot;CR_&quot; prefix&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;   strip(2);&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;   prefix(&quot;CR_&quot;);&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;   rewritehostport(&quot;ASTERISK_IP:ASTERISK_PORT&quot;);&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;  } else {&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;   # unknown service&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;   seturi(&quot;sip:AN_notavailable@ASTERISK_IP:ASTERISK_PORT&quot;);&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;  }&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;  # after setting the proper RURI (to point to corresponding ASTERISK extension),&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;  # simply forward the call&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;  t_relay();&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;  exit;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt; }&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt; # ASTERISK HOOK - END&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt; # do lookup&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt; if (!lookup(&quot;location&quot;)) {&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;  # ASTERISK HOOK - BEGIN&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;  # callee is not registered, so different to Voicemail&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;  # First add the VM recording prefix to the RURI&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;  prefix(&quot;VMR_&quot;);&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;  # forward to the call to Asterisk (replace below with real IP and port)&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;  rewritehostport(&quot;ASTERISK_IP:ASTERISK_PORT&quot;);&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;  route(1);&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;  # ASTERISK HOOK - END&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;  exit;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt; }&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt; # when routing via usrloc, log the missed calls also&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt; setflag(2);&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt; # arm a failure route in order to catch failed calls&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt; # targeting local subscribers; if we fail to deliver&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt; # the call to the user, we send the call to voicemail&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt; t_on_failure(&quot;1&quot;);&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt; route(1);&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;route[1] {&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt; if (!t_relay()) {&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;  sl_reply_error();&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt; };&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt; exit;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;failure_route[1] {&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt; if (t_was_cancelled()) {&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;  exit;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt; }&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt; # if the failure code is &quot;408 - timeout&quot; or &quot;486 - busy&quot;,&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt; # forward the calls to voicemail recording&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt; if (t_check_status(&quot;486|408&quot;)) {&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;  # ASTERISK HOOK - BEGIN&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;  # First revert the RURI to get the original user in RURI&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;  # Then add the VM recording prefix to the RURI&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;  revert_uri();&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;  prefix(&quot;VMR_&quot;);&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;  # forward to the call to Asterisk (replace below with real IP and port)&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;  rewritehostport(&quot;ASTERISK_IP:ASTERISK_PORT&quot;);&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;  t_relay();&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;  # ASTERISK HOOK - END&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;  exit;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt; }&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: times new roman;&quot;&gt;}&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://nagarjunamallampalli.blogspot.com/feeds/3167514521994171801/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://nagarjunamallampalli.blogspot.com/2010/01/asterisk-integration-with-opensips.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2657441212639607916/posts/default/3167514521994171801'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2657441212639607916/posts/default/3167514521994171801'/><link rel='alternate' type='text/html' href='http://nagarjunamallampalli.blogspot.com/2010/01/asterisk-integration-with-opensips.html' title='Asterisk  integration with Opensips'/><author><name>nagarjuna</name><uri>http://www.blogger.com/profile/02751409694569731519</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='23' src='http://4.bp.blogspot.com/_VpLrAbiTi0U/TFk1XJVoXPI/AAAAAAAAADU/ugfPMACXhEM/S220/tux_phone.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2657441212639607916.post-4338119782020061817</id><published>2009-12-11T16:29:00.000+05:30</published><updated>2010-01-01T15:07:51.918+05:30</updated><title type='text'>Asterisk 1.6 Installation on Centos</title><content type='html'>&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;strong style=&quot;font-family: arial;&quot;&gt;INTRODUCTION&lt;br /&gt;&lt;br /&gt;Asterisk is a complete PBX in software.&lt;/strong&gt;&lt;/span&gt;&lt;span style=&quot;;font-family:arial;font-size:100%;&quot;  &gt; It runs on Linux BSD And Windows (emulated) and OS X &lt;/span&gt;&lt;span style=&quot;;font-family:arial;font-size:100%;&quot;  &gt;and provides all of the features you would expect from a PBX and more. Asterisk does voice over IP in four protocols, and can interoperate with almost all standards-based telephony equipment using relatively inexpensive hardware. &lt;/span&gt;   &lt;span style=&quot;;font-family:arial;font-size:100%;&quot;  &gt;Asterisk provides Voicemail services with Directory, Call Conferencing, Interactive Voice Response, Call Queuing. It has support for three-way calling, caller ID services.&lt;/span&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;   &lt;/span&gt;&lt;span style=&quot;;font-family:arial;font-size:100%;&quot;  &gt;Asterisk &lt;/span&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;strong style=&quot;font-family: arial;&quot;&gt;needs no additional hardware for Voice-over-IP&lt;/strong&gt;&lt;/span&gt;&lt;span style=&quot;;font-family:arial;font-size:100%;&quot;  &gt;, although it does expect a non-standard driver that implements dummy hardware as a non-portable timing mechanism (for certain applications such as conferencing). A single (or multiple) VOIP provider(s) can be used for outgoing and/or incoming calls (outgoing and incoming calls can be handled through entirely different VOIP and/or telco providers)&lt;/span&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;  &lt;/span&gt;&lt;span style=&quot;font-weight: bold;font-family:arial;font-size:100%;&quot;  &gt;DEPENDENCIES&lt;/span&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;  &lt;/span&gt;&lt;span style=&quot;;font-family:arial;font-size:100%;&quot;  &gt;Install Centos 5.3 from net Install cd&lt;/span&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;  &lt;/span&gt;&lt;span style=&quot;;font-family:arial;font-size:100%;&quot;  &gt;Asterisk Prerequests&lt;/span&gt;  &lt;meta equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=utf-8&quot;&gt;&lt;meta name=&quot;ProgId&quot; content=&quot;Word.Document&quot;&gt;&lt;meta name=&quot;Generator&quot; content=&quot;Microsoft Word 12&quot;&gt;&lt;meta name=&quot;Originator&quot; content=&quot;Microsoft Word 12&quot;&gt;&lt;link style=&quot;font-family: arial;&quot; rel=&quot;File-List&quot; href=&quot;file:///C:%5CDOCUME%7E1%5CNAGARJ%7E1%5CLOCALS%7E1%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_filelist.xml&quot;&gt;&lt;link style=&quot;font-family: arial;&quot; rel=&quot;themeData&quot; href=&quot;file:///C:%5CDOCUME%7E1%5CNAGARJ%7E1%5CLOCALS%7E1%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_themedata.thmx&quot;&gt;&lt;link style=&quot;font-family: arial;&quot; rel=&quot;colorSchemeMapping&quot; href=&quot;file:///C:%5CDOCUME%7E1%5CNAGARJ%7E1%5CLOCALS%7E1%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_colorschememapping.xml&quot;&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:worddocument&gt;   &lt;w:view&gt;Normal&lt;/w:View&gt;   &lt;w:zoom&gt;0&lt;/w:Zoom&gt;   &lt;w:trackmoves/&gt;   &lt;w:trackformatting/&gt;   &lt;w:punctuationkerning/&gt;   &lt;w:validateagainstschemas/&gt;   &lt;w:saveifxmlinvalid&gt;false&lt;/w:SaveIfXMLInvalid&gt;   &lt;w:ignoremixedcontent&gt;false&lt;/w:IgnoreMixedContent&gt;   &lt;w:alwaysshowplaceholdertext&gt;false&lt;/w:AlwaysShowPlaceholderText&gt;   &lt;w:donotpromoteqf/&gt;   &lt;w:lidthemeother&gt;EN-US&lt;/w:LidThemeOther&gt;   &lt;w:lidthemeasian&gt;X-NONE&lt;/w:LidThemeAsian&gt;   &lt;w:lidthemecomplexscript&gt;X-NONE&lt;/w:LidThemeComplexScript&gt;   &lt;w:compatibility&gt;    &lt;w:breakwrappedtables/&gt;    &lt;w:snaptogridincell/&gt;    &lt;w:wraptextwithpunct/&gt;    &lt;w:useasianbreakrules/&gt;    &lt;w:dontgrowautofit/&gt;    &lt;w:splitpgbreakandparamark/&gt;    &lt;w:dontvertaligncellwithsp/&gt;    &lt;w:dontbreakconstrainedforcedtables/&gt;    &lt;w:dontvertalignintxbx/&gt;    &lt;w:word11kerningpairs/&gt;    &lt;w:cachedcolbalance/&gt;   &lt;/w:Compatibility&gt;   &lt;m:mathpr&gt;    &lt;m:mathfont val=&quot;Cambria Math&quot;&gt;    &lt;m:brkbin val=&quot;before&quot;&gt;    &lt;m:brkbinsub val=&quot;--&quot;&gt;    &lt;m:smallfrac val=&quot;off&quot;&gt;    &lt;m:dispdef/&gt;    &lt;m:lmargin val=&quot;0&quot;&gt;    &lt;m:rmargin val=&quot;0&quot;&gt;    &lt;m:defjc val=&quot;centerGroup&quot;&gt;    &lt;m:wrapindent val=&quot;1440&quot;&gt;    &lt;m:intlim val=&quot;subSup&quot;&gt;    &lt;m:narylim val=&quot;undOvr&quot;&gt;   &lt;/m:mathPr&gt;&lt;/w:WordDocument&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:latentstyles deflockedstate=&quot;false&quot; defunhidewhenused=&quot;true&quot; defsemihidden=&quot;true&quot; defqformat=&quot;false&quot; defpriority=&quot;99&quot; latentstylecount=&quot;267&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;0&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Normal&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;9&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;heading 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;9&quot; qformat=&quot;true&quot; name=&quot;heading 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;9&quot; qformat=&quot;true&quot; name=&quot;heading 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;9&quot; qformat=&quot;true&quot; name=&quot;heading 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;9&quot; qformat=&quot;true&quot; name=&quot;heading 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;9&quot; qformat=&quot;true&quot; name=&quot;heading 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;9&quot; qformat=&quot;true&quot; name=&quot;heading 7&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;9&quot; qformat=&quot;true&quot; name=&quot;heading 8&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;9&quot; qformat=&quot;true&quot; name=&quot;heading 9&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; name=&quot;toc 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; name=&quot;toc 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; name=&quot;toc 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; name=&quot;toc 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; name=&quot;toc 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; name=&quot;toc 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; name=&quot;toc 7&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; name=&quot;toc 8&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; name=&quot;toc 9&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;35&quot; qformat=&quot;true&quot; name=&quot;caption&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;10&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Title&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;1&quot; name=&quot;Default Paragraph Font&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;11&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Subtitle&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;22&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Strong&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;20&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Emphasis&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;59&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Table Grid&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Placeholder Text&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;1&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;No Spacing&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;60&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Shading&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;61&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light List&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;62&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Grid&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;63&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;64&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;65&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;66&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;67&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;68&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;69&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;70&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Dark List&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;71&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Shading&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;72&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful List&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;73&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Grid&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;60&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Shading Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;61&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light List Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;62&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Grid Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;63&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 1 Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;64&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 2 Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;65&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 1 Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Revision&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;34&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;List Paragraph&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;29&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Quote&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;30&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Intense Quote&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;66&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 2 Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;67&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 1 Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;68&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 2 Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;69&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 3 Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;70&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Dark List Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;71&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Shading Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;72&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful List Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;73&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Grid Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;60&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Shading Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;61&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light List Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;62&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Grid Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;63&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 1 Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;64&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 2 Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;65&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 1 Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;66&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 2 Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;67&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 1 Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;68&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 2 Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;69&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 3 Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;70&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Dark List Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;71&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Shading Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;72&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful List Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;73&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Grid Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;60&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Shading Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;61&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light List Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;62&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Grid Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;63&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 1 Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;64&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 2 Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;65&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 1 Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;66&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 2 Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;67&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 1 Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;68&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 2 Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;69&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 3 Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;70&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Dark List Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;71&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Shading Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;72&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful List Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;73&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Grid Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;60&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Shading Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;61&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light List Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;62&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Grid Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;63&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 1 Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;64&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 2 Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;65&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 1 Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;66&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 2 Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;67&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 1 Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;68&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 2 Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;69&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 3 Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;70&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Dark List Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;71&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Shading Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;72&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful List Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;73&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Grid Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;60&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Shading Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;61&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light List Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;62&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Grid Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;63&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 1 Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;64&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 2 Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;65&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 1 Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;66&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 2 Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;67&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 1 Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;68&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 2 Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;69&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 3 Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;70&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Dark List Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;71&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Shading Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;72&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful List Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;73&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Grid Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;60&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Shading Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;61&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light List Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;62&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Grid Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;63&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 1 Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;64&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 2 Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;65&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 1 Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;66&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 2 Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;67&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 1 Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;68&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 2 Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;69&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 3 Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;70&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Dark List Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;71&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Shading Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;72&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful List Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;73&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Grid Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;19&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Subtle Emphasis&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;21&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Intense Emphasis&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;31&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Subtle Reference&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;32&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Intense Reference&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;33&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Book Title&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;37&quot; name=&quot;Bibliography&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; qformat=&quot;true&quot; name=&quot;TOC Heading&quot;&gt;  &lt;/w:LatentStyles&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;style&gt; &lt;!--  /* Font Definitions */  @font-face 	{font-family:&quot;Cambria Math&quot;; 	panose-1:2 4 5 3 5 4 6 3 2 4; 	mso-font-charset:0; 	mso-generic-font-family:roman; 	mso-font-pitch:variable; 	mso-font-signature:-1610611985 1107304683 0 0 159 0;} @font-face 	{font-family:Calibri; 	panose-1:2 15 5 2 2 2 4 3 2 4; 	mso-font-charset:0; 	mso-generic-font-family:swiss; 	mso-font-pitch:variable; 	mso-font-signature:-1610611985 1073750139 0 0 159 0;}  /* Style Definitions */  p.MsoNormal, li.MsoNormal, div.MsoNormal 	{mso-style-unhide:no; 	mso-style-qformat:yes; 	mso-style-parent:&quot;&quot;; 	margin-top:0in; 	margin-right:0in; 	margin-bottom:10.0pt; 	margin-left:0in; 	line-height:115%; 	mso-pagination:widow-orphan; 	font-size:11.0pt; 	font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;; 	mso-fareast-font-family:Calibri; 	mso-bidi-font-family:&quot;Times New Roman&quot;;} .MsoChpDefault 	{mso-style-type:export-only; 	mso-default-props:yes; 	font-size:10.0pt; 	mso-ansi-font-size:10.0pt; 	mso-bidi-font-size:10.0pt; 	mso-ascii-font-family:Calibri; 	mso-fareast-font-family:Calibri; 	mso-hansi-font-family:Calibri;} @page Section1 	{size:8.5in 11.0in; 	margin:1.0in 1.0in 1.0in 1.0in; 	mso-header-margin:.5in; 	mso-footer-margin:.5in; 	mso-paper-source:0;} div.Section1 	{page:Section1;} --&gt; &lt;/style&gt;&lt;!--[if gte mso 10]&gt; &lt;style&gt;  /* Style Definitions */  table.MsoNormalTable 	{mso-style-name:&quot;Table Normal&quot;; 	mso-tstyle-rowband-size:0; 	mso-tstyle-colband-size:0; 	mso-style-noshow:yes; 	mso-style-priority:99; 	mso-style-qformat:yes; 	mso-style-parent:&quot;&quot;; 	mso-padding-alt:0in 5.4pt 0in 5.4pt; 	mso-para-margin:0in; 	mso-para-margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:11.0pt; 	font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;; 	mso-ascii-font-family:Calibri; 	mso-ascii-theme-font:minor-latin; 	mso-fareast-font-family:&quot;Times New Roman&quot;; 	mso-fareast-theme-font:minor-fareast; 	mso-hansi-font-family:Calibri; 	mso-hansi-theme-font:minor-latin; 	mso-bidi-font-family:&quot;Times New Roman&quot;; 	mso-bidi-theme-font:minor-bidi;} &lt;/style&gt; &lt;![endif]--&gt;  &lt;p class=&quot;MsoNormal&quot;  style=&quot;margin: 13.7pt 0in; line-height: normal;font-family:arial;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;b&gt;Linux Package Requirements&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;  style=&quot;margin: 13.7pt 0in; line-height: normal;font-family:arial;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;b&gt;&lt;i&gt;ODBC:&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-size:100%;&quot;&gt; unixODBC unixODBC-devel libtool-ltdl libtool-ltdl-devel libtool.&lt;/span&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;  style=&quot;margin: 13.7pt 0in; line-height: normal;font-family:arial;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;b&gt;&lt;i&gt;Asterisk:&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;  style=&quot;margin: 13.7pt 0in; line-height: normal;font-family:arial;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;C ++ : &lt;/span&gt;gcc gcc-c++&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;  style=&quot;margin: 13.7pt 0in; line-height: normal;font-family:arial;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Kernel Prerequests :&lt;/span&gt; kernel-devel bison bison-devel&lt;/span&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;  gnutls-devel openssl openssl-devel libtermcap-devel  ncurses ncurses-devel doxygen curl-devel&lt;span style=&quot;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;libidn and libidn-devel .&lt;/span&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;meta equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=utf-8&quot;&gt;&lt;meta name=&quot;ProgId&quot; content=&quot;Word.Document&quot;&gt;&lt;meta name=&quot;Generator&quot; content=&quot;Microsoft Word 12&quot;&gt;&lt;meta name=&quot;Originator&quot; content=&quot;Microsoft Word 12&quot;&gt;&lt;link style=&quot;font-family: arial;&quot; rel=&quot;File-List&quot; href=&quot;file:///C:%5CDOCUME%7E1%5CNAGARJ%7E1%5CLOCALS%7E1%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_filelist.xml&quot;&gt;&lt;link style=&quot;font-family: arial;&quot; rel=&quot;themeData&quot; href=&quot;file:///C:%5CDOCUME%7E1%5CNAGARJ%7E1%5CLOCALS%7E1%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_themedata.thmx&quot;&gt;&lt;link style=&quot;font-family: arial;&quot; rel=&quot;colorSchemeMapping&quot; href=&quot;file:///C:%5CDOCUME%7E1%5CNAGARJ%7E1%5CLOCALS%7E1%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_colorschememapping.xml&quot;&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:worddocument&gt;   &lt;w:view&gt;Normal&lt;/w:View&gt;   &lt;w:zoom&gt;0&lt;/w:Zoom&gt;   &lt;w:trackmoves/&gt;   &lt;w:trackformatting/&gt;   &lt;w:punctuationkerning/&gt;   &lt;w:validateagainstschemas/&gt;   &lt;w:saveifxmlinvalid&gt;false&lt;/w:SaveIfXMLInvalid&gt;   &lt;w:ignoremixedcontent&gt;false&lt;/w:IgnoreMixedContent&gt;   &lt;w:alwaysshowplaceholdertext&gt;false&lt;/w:AlwaysShowPlaceholderText&gt;   &lt;w:donotpromoteqf/&gt;   &lt;w:lidthemeother&gt;EN-US&lt;/w:LidThemeOther&gt;   &lt;w:lidthemeasian&gt;X-NONE&lt;/w:LidThemeAsian&gt;   &lt;w:lidthemecomplexscript&gt;X-NONE&lt;/w:LidThemeComplexScript&gt;   &lt;w:compatibility&gt;    &lt;w:breakwrappedtables/&gt;    &lt;w:snaptogridincell/&gt;    &lt;w:wraptextwithpunct/&gt;    &lt;w:useasianbreakrules/&gt;    &lt;w:dontgrowautofit/&gt;    &lt;w:splitpgbreakandparamark/&gt;    &lt;w:dontvertaligncellwithsp/&gt;    &lt;w:dontbreakconstrainedforcedtables/&gt;    &lt;w:dontvertalignintxbx/&gt;    &lt;w:word11kerningpairs/&gt;    &lt;w:cachedcolbalance/&gt;   &lt;/w:Compatibility&gt;   &lt;m:mathpr&gt;    &lt;m:mathfont val=&quot;Cambria Math&quot;&gt;    &lt;m:brkbin val=&quot;before&quot;&gt;    &lt;m:brkbinsub val=&quot;--&quot;&gt;    &lt;m:smallfrac val=&quot;off&quot;&gt;    &lt;m:dispdef/&gt;    &lt;m:lmargin val=&quot;0&quot;&gt;    &lt;m:rmargin val=&quot;0&quot;&gt;    &lt;m:defjc val=&quot;centerGroup&quot;&gt;    &lt;m:wrapindent val=&quot;1440&quot;&gt;    &lt;m:intlim val=&quot;subSup&quot;&gt;    &lt;m:narylim val=&quot;undOvr&quot;&gt;   &lt;/m:mathPr&gt;&lt;/w:WordDocument&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:latentstyles deflockedstate=&quot;false&quot; defunhidewhenused=&quot;true&quot; defsemihidden=&quot;true&quot; defqformat=&quot;false&quot; defpriority=&quot;99&quot; latentstylecount=&quot;267&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;0&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Normal&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;9&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;heading 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;9&quot; qformat=&quot;true&quot; name=&quot;heading 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;9&quot; qformat=&quot;true&quot; name=&quot;heading 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;9&quot; qformat=&quot;true&quot; name=&quot;heading 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;9&quot; qformat=&quot;true&quot; name=&quot;heading 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;9&quot; qformat=&quot;true&quot; name=&quot;heading 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;9&quot; qformat=&quot;true&quot; name=&quot;heading 7&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;9&quot; qformat=&quot;true&quot; name=&quot;heading 8&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;9&quot; qformat=&quot;true&quot; name=&quot;heading 9&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; name=&quot;toc 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; name=&quot;toc 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; name=&quot;toc 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; name=&quot;toc 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; name=&quot;toc 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; name=&quot;toc 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; name=&quot;toc 7&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; name=&quot;toc 8&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; name=&quot;toc 9&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;35&quot; qformat=&quot;true&quot; name=&quot;caption&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;10&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Title&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;1&quot; name=&quot;Default Paragraph Font&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;11&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Subtitle&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;22&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Strong&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;20&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Emphasis&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;59&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Table Grid&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Placeholder Text&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;1&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;No Spacing&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;60&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Shading&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;61&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light List&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;62&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Grid&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;63&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;64&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;65&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;66&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;67&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;68&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;69&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;70&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Dark List&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;71&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Shading&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;72&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful List&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;73&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Grid&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;60&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Shading Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;61&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light List Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;62&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Grid Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;63&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 1 Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;64&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 2 Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;65&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 1 Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Revision&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;34&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;List Paragraph&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;29&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Quote&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;30&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Intense Quote&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;66&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 2 Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;67&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 1 Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;68&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 2 Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;69&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 3 Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;70&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Dark List Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;71&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Shading Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;72&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful List Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;73&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Grid Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;60&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Shading Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;61&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light List Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;62&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Grid Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;63&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 1 Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;64&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 2 Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;65&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 1 Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;66&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 2 Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;67&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 1 Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;68&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 2 Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;69&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 3 Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;70&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Dark List Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;71&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Shading Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;72&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful List Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;73&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Grid Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;60&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Shading Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;61&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light List Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;62&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Grid Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;63&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 1 Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;64&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 2 Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;65&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 1 Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;66&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 2 Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;67&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 1 Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;68&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 2 Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;69&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 3 Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;70&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Dark List Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;71&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Shading Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;72&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful List Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;73&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Grid Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;60&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Shading Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;61&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light List Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;62&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Grid Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;63&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 1 Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;64&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 2 Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;65&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 1 Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;66&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 2 Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;67&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 1 Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;68&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 2 Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;69&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 3 Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;70&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Dark List Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;71&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Shading Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;72&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful List Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;73&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Grid Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;60&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Shading Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;61&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light List Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;62&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Grid Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;63&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 1 Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;64&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 2 Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;65&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 1 Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;66&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 2 Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;67&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 1 Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;68&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 2 Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;69&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 3 Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;70&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Dark List Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;71&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Shading Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;72&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful List Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;73&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Grid Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;60&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Shading Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;61&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light List Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;62&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Grid Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;63&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 1 Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;64&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 2 Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;65&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 1 Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;66&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 2 Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;67&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 1 Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;68&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 2 Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;69&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 3 Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;70&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Dark List Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;71&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Shading Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;72&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful List Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;73&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Grid Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;19&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Subtle Emphasis&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;21&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Intense Emphasis&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;31&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Subtle Reference&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;32&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Intense Reference&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;33&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Book Title&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;37&quot; name=&quot;Bibliography&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; qformat=&quot;true&quot; name=&quot;TOC Heading&quot;&gt;  &lt;/w:LatentStyles&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;style&gt; &lt;!--  /* Font Definitions */  @font-face 	{font-family:&quot;Cambria Math&quot;; 	panose-1:2 4 5 3 5 4 6 3 2 4; 	mso-font-charset:0; 	mso-generic-font-family:roman; 	mso-font-pitch:variable; 	mso-font-signature:-1610611985 1107304683 0 0 159 0;} @font-face 	{font-family:Calibri; 	panose-1:2 15 5 2 2 2 4 3 2 4; 	mso-font-charset:0; 	mso-generic-font-family:swiss; 	mso-font-pitch:variable; 	mso-font-signature:-1610611985 1073750139 0 0 159 0;}  /* Style Definitions */  p.MsoNormal, li.MsoNormal, div.MsoNormal 	{mso-style-unhide:no; 	mso-style-qformat:yes; 	mso-style-parent:&quot;&quot;; 	margin-top:0in; 	margin-right:0in; 	margin-bottom:10.0pt; 	margin-left:0in; 	line-height:115%; 	mso-pagination:widow-orphan; 	font-size:11.0pt; 	font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;; 	mso-fareast-font-family:Calibri; 	mso-bidi-font-family:&quot;Times New Roman&quot;;} .MsoChpDefault 	{mso-style-type:export-only; 	mso-default-props:yes; 	font-size:10.0pt; 	mso-ansi-font-size:10.0pt; 	mso-bidi-font-size:10.0pt; 	mso-ascii-font-family:Calibri; 	mso-fareast-font-family:Calibri; 	mso-hansi-font-family:Calibri;} @page Section1 	{size:8.5in 11.0in; 	margin:1.0in 1.0in 1.0in 1.0in; 	mso-header-margin:.5in; 	mso-footer-margin:.5in; 	mso-paper-source:0;} div.Section1 	{page:Section1;} --&gt; &lt;/style&gt;&lt;!--[if gte mso 10]&gt; &lt;style&gt;  /* Style Definitions */  table.MsoNormalTable 	{mso-style-name:&quot;Table Normal&quot;; 	mso-tstyle-rowband-size:0; 	mso-tstyle-colband-size:0; 	mso-style-noshow:yes; 	mso-style-priority:99; 	mso-style-qformat:yes; 	mso-style-parent:&quot;&quot;; 	mso-padding-alt:0in 5.4pt 0in 5.4pt; 	mso-para-margin:0in; 	mso-para-margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:11.0pt; 	font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;; 	mso-ascii-font-family:Calibri; 	mso-ascii-theme-font:minor-latin; 	mso-fareast-font-family:&quot;Times New Roman&quot;; 	mso-fareast-theme-font:minor-fareast; 	mso-hansi-font-family:Calibri; 	mso-hansi-theme-font:minor-latin; 	mso-bidi-font-family:&quot;Times New Roman&quot;; 	mso-bidi-theme-font:minor-bidi;} &lt;/style&gt; &lt;![endif]--&gt;  &lt;p class=&quot;MsoNormal&quot;  style=&quot;margin: 13.7pt 0in; line-height: normal;font-family:arial;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;b&gt;&lt;i&gt;Zttool:&lt;/i&gt;&lt;/b&gt; newt-devel.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;  style=&quot;margin: 13.7pt 0in; line-height: normal;font-family:arial;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;b&gt;&lt;i&gt;DUNDi:&lt;/i&gt;&lt;/b&gt;&lt;i&gt; &lt;/i&gt;&lt;/span&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;zlib zlib-devel&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;  style=&quot;margin: 13.7pt 0in; line-height: normal;font-family:arial;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;  style=&quot;margin: 13.7pt 0in; line-height: normal;font-family:arial;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;Mysql comnnector -&lt;em&gt;yum install&lt;/em&gt; mysql-connector-odbc&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;  style=&quot;margin: 13.7pt 0in; line-height: normal;font-family:arial;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;Asterisk 1.6.2 and Higher &lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;  style=&quot;margin: 13.7pt 0in; line-height: normal;font-family:arial;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;Yum install libxml2 libxml2-python libxml2-devel &lt;/span&gt;&lt;/p&gt;  &lt;meta equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=utf-8&quot;&gt;&lt;meta name=&quot;ProgId&quot; content=&quot;Word.Document&quot;&gt;&lt;meta name=&quot;Generator&quot; content=&quot;Microsoft Word 12&quot;&gt;&lt;meta name=&quot;Originator&quot; content=&quot;Microsoft Word 12&quot;&gt;&lt;link rel=&quot;File-List&quot; href=&quot;file:///C:%5CDOCUME%7E1%5CNAGARJ%7E1%5CLOCALS%7E1%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_filelist.xml&quot;&gt;&lt;link rel=&quot;themeData&quot; href=&quot;file:///C:%5CDOCUME%7E1%5CNAGARJ%7E1%5CLOCALS%7E1%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_themedata.thmx&quot;&gt;&lt;link rel=&quot;colorSchemeMapping&quot; href=&quot;file:///C:%5CDOCUME%7E1%5CNAGARJ%7E1%5CLOCALS%7E1%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_colorschememapping.xml&quot;&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:worddocument&gt;   &lt;w:view&gt;Normal&lt;/w:View&gt;   &lt;w:zoom&gt;0&lt;/w:Zoom&gt;   &lt;w:trackmoves/&gt;   &lt;w:trackformatting/&gt;   &lt;w:punctuationkerning/&gt;   &lt;w:validateagainstschemas/&gt;   &lt;w:saveifxmlinvalid&gt;false&lt;/w:SaveIfXMLInvalid&gt;   &lt;w:ignoremixedcontent&gt;false&lt;/w:IgnoreMixedContent&gt;   &lt;w:alwaysshowplaceholdertext&gt;false&lt;/w:AlwaysShowPlaceholderText&gt;   &lt;w:donotpromoteqf/&gt;   &lt;w:lidthemeother&gt;EN-US&lt;/w:LidThemeOther&gt;   &lt;w:lidthemeasian&gt;X-NONE&lt;/w:LidThemeAsian&gt;   &lt;w:lidthemecomplexscript&gt;X-NONE&lt;/w:LidThemeComplexScript&gt;   &lt;w:compatibility&gt;    &lt;w:breakwrappedtables/&gt;    &lt;w:snaptogridincell/&gt;    &lt;w:wraptextwithpunct/&gt;    &lt;w:useasianbreakrules/&gt;    &lt;w:dontgrowautofit/&gt;    &lt;w:splitpgbreakandparamark/&gt;    &lt;w:dontvertaligncellwithsp/&gt;    &lt;w:dontbreakconstrainedforcedtables/&gt;    &lt;w:dontvertalignintxbx/&gt;    &lt;w:word11kerningpairs/&gt;    &lt;w:cachedcolbalance/&gt;   &lt;/w:Compatibility&gt;   &lt;m:mathpr&gt;    &lt;m:mathfont val=&quot;Cambria Math&quot;&gt;    &lt;m:brkbin val=&quot;before&quot;&gt;    &lt;m:brkbinsub val=&quot;--&quot;&gt;    &lt;m:smallfrac val=&quot;off&quot;&gt;    &lt;m:dispdef/&gt;    &lt;m:lmargin val=&quot;0&quot;&gt;    &lt;m:rmargin val=&quot;0&quot;&gt;    &lt;m:defjc val=&quot;centerGroup&quot;&gt;    &lt;m:wrapindent val=&quot;1440&quot;&gt;    &lt;m:intlim val=&quot;subSup&quot;&gt;    &lt;m:narylim val=&quot;undOvr&quot;&gt;   &lt;/m:mathPr&gt;&lt;/w:WordDocument&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:latentstyles deflockedstate=&quot;false&quot; defunhidewhenused=&quot;true&quot; defsemihidden=&quot;true&quot; defqformat=&quot;false&quot; defpriority=&quot;99&quot; latentstylecount=&quot;267&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;0&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Normal&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;9&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;heading 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;9&quot; qformat=&quot;true&quot; name=&quot;heading 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;9&quot; qformat=&quot;true&quot; name=&quot;heading 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;9&quot; qformat=&quot;true&quot; name=&quot;heading 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;9&quot; qformat=&quot;true&quot; name=&quot;heading 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;9&quot; qformat=&quot;true&quot; name=&quot;heading 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;9&quot; qformat=&quot;true&quot; name=&quot;heading 7&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;9&quot; qformat=&quot;true&quot; name=&quot;heading 8&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;9&quot; qformat=&quot;true&quot; name=&quot;heading 9&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; name=&quot;toc 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; name=&quot;toc 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; name=&quot;toc 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; name=&quot;toc 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; name=&quot;toc 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; name=&quot;toc 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; name=&quot;toc 7&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; name=&quot;toc 8&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; name=&quot;toc 9&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;35&quot; qformat=&quot;true&quot; name=&quot;caption&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;10&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Title&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;1&quot; name=&quot;Default Paragraph Font&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;11&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Subtitle&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;22&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Strong&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;20&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Emphasis&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;59&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Table Grid&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Placeholder Text&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;1&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;No Spacing&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;60&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Shading&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;61&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light List&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;62&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Grid&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;63&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;64&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;65&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;66&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;67&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;68&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;69&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;70&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Dark List&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;71&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Shading&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;72&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful List&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;73&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Grid&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;60&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Shading Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;61&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light List Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;62&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Grid Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;63&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 1 Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;64&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 2 Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;65&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 1 Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Revision&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;34&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;List Paragraph&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;29&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Quote&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;30&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Intense Quote&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;66&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 2 Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;67&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 1 Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;68&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 2 Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;69&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 3 Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;70&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Dark List Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;71&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Shading Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;72&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful List Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;73&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Grid Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;60&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Shading Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;61&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light List Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;62&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Grid Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;63&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 1 Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;64&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 2 Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;65&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 1 Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;66&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 2 Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;67&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 1 Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;68&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 2 Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;69&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 3 Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;70&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Dark List Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;71&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Shading Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;72&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful List Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;73&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Grid Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;60&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Shading Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;61&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light List Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;62&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Grid Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;63&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 1 Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;64&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 2 Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;65&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 1 Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;66&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 2 Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;67&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 1 Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;68&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 2 Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;69&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 3 Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;70&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Dark List Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;71&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Shading Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;72&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful List Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;73&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Grid Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;60&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Shading Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;61&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light List Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;62&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Grid Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;63&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 1 Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;64&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 2 Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;65&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 1 Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;66&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 2 Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;67&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 1 Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;68&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 2 Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;69&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 3 Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;70&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Dark List Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;71&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Shading Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;72&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful List Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;73&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Grid Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;60&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Shading Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;61&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light List Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;62&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Grid Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;63&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 1 Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;64&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 2 Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;65&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 1 Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;66&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 2 Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;67&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 1 Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;68&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 2 Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;69&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 3 Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;70&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Dark List Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;71&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Shading Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;72&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful List Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;73&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Grid Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;60&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Shading Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;61&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light List Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;62&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Grid Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;63&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 1 Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;64&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 2 Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;65&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 1 Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;66&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 2 Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;67&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 1 Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;68&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 2 Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;69&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 3 Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;70&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Dark List Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;71&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Shading Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;72&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful List Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;73&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Grid Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;19&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Subtle Emphasis&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;21&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Intense Emphasis&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;31&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Subtle Reference&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;32&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Intense Reference&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;33&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Book Title&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;37&quot; name=&quot;Bibliography&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; qformat=&quot;true&quot; name=&quot;TOC Heading&quot;&gt;  &lt;/w:LatentStyles&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;style&gt; &lt;!--  /* Font Definitions */  @font-face 	{font-family:&quot;Cambria Math&quot;; 	panose-1:2 4 5 3 5 4 6 3 2 4; 	mso-font-charset:0; 	mso-generic-font-family:roman; 	mso-font-pitch:variable; 	mso-font-signature:-1610611985 1107304683 0 0 159 0;} @font-face 	{font-family:Calibri; 	panose-1:2 15 5 2 2 2 4 3 2 4; 	mso-font-charset:0; 	mso-generic-font-family:swiss; 	mso-font-pitch:variable; 	mso-font-signature:-1610611985 1073750139 0 0 159 0;}  /* Style Definitions */  p.MsoNormal, li.MsoNormal, div.MsoNormal 	{mso-style-unhide:no; 	mso-style-qformat:yes; 	mso-style-parent:&quot;&quot;; 	margin-top:0in; 	margin-right:0in; 	margin-bottom:10.0pt; 	margin-left:0in; 	line-height:115%; 	mso-pagination:widow-orphan; 	font-size:11.0pt; 	font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;; 	mso-fareast-font-family:Calibri; 	mso-bidi-font-family:&quot;Times New Roman&quot;;} .MsoChpDefault 	{mso-style-type:export-only; 	mso-default-props:yes; 	font-size:10.0pt; 	mso-ansi-font-size:10.0pt; 	mso-bidi-font-size:10.0pt; 	mso-ascii-font-family:Calibri; 	mso-fareast-font-family:Calibri; 	mso-hansi-font-family:Calibri;} @page Section1 	{size:8.5in 11.0in; 	margin:1.0in 1.0in 1.0in 1.0in; 	mso-header-margin:.5in; 	mso-footer-margin:.5in; 	mso-paper-source:0;} div.Section1 	{page:Section1;} --&gt; &lt;/style&gt;&lt;!--[if gte mso 10]&gt; &lt;style&gt;  /* Style Definitions */  table.MsoNormalTable 	{mso-style-name:&quot;Table Normal&quot;; 	mso-tstyle-rowband-size:0; 	mso-tstyle-colband-size:0; 	mso-style-noshow:yes; 	mso-style-priority:99; 	mso-style-qformat:yes; 	mso-style-parent:&quot;&quot;; 	mso-padding-alt:0in 5.4pt 0in 5.4pt; 	mso-para-margin:0in; 	mso-para-margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:11.0pt; 	font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;; 	mso-ascii-font-family:Calibri; 	mso-ascii-theme-font:minor-latin; 	mso-fareast-font-family:&quot;Times New Roman&quot;; 	mso-fareast-theme-font:minor-fareast; 	mso-hansi-font-family:Calibri; 	mso-hansi-theme-font:minor-latin; 	mso-bidi-font-family:&quot;Times New Roman&quot;; 	mso-bidi-theme-font:minor-bidi;} &lt;/style&gt; &lt;![endif]--&gt;  &lt;p class=&quot;MsoNormal&quot;  style=&quot;margin: 13.7pt 0in; line-height: normal;font-family:arial;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;b&gt;### INSTALLING ZAPTEL ###&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-size:100%;&quot;&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;  style=&quot;margin: 13.7pt 0in; line-height: normal;font-family:arial;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;cd /usr/src/zaptel&lt;br /&gt;&lt;br /&gt;make clean&lt;br /&gt;make&lt;br /&gt;make install&lt;br /&gt;make config&lt;/span&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;  style=&quot;margin: 13.7pt 0in; line-height: normal;font-family:arial;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;If you have any zaptel hardware it is now recommended to edit /etc/default/zaptel or /etc/sysconfig/zaptel and set there an optimal value for the variable MODULES .. &lt;/span&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;  style=&quot;margin: 13.7pt 0in; line-height: normal;font-family:arial;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;chkconfig zaptel on&lt;br /&gt;service zaptel start&lt;/span&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;  style=&quot;margin: 13.7pt 0in; line-height: normal;font-family:arial;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;b&gt;### INSTALL LIBPRI ###&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-size:100%;&quot;&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;  style=&quot;margin: 13.7pt 0in; line-height: normal;font-family:arial;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;cd /usr/src/libpri&lt;br /&gt;&lt;br /&gt;make clean&lt;br /&gt;make&lt;br /&gt;make install &lt;/span&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;  style=&quot;margin: 13.7pt 0in; line-height: normal;font-family:arial;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;b&gt;### INSTALLING ASTERISK### &lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;  style=&quot;margin: 13.7pt 0in; line-height: normal;font-family:arial;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;cd /usr/src/asterisk/asterisk-VERSION&lt;br /&gt;make clean&lt;br /&gt;./configure&lt;/span&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;  style=&quot;margin: 13.7pt 0in; line-height: normal;font-family:arial;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;Choose which options to install (voicemail storage, codecs etc.) &lt;/span&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;  style=&quot;margin: 13.7pt 0in; line-height: normal;font-family:arial;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;make menuselect&lt;br /&gt;make&lt;br /&gt;make install&lt;/span&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;  style=&quot;margin: 13.7pt 0in; line-height: normal;font-family:arial;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;Install sample files in /etc/asterisk, install docs/manpages and set to start on boot. &lt;/span&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 13.7pt 0in; line-height: normal;&quot;&gt;&lt;span style=&quot;;font-family:arial;font-size:100%;&quot;  &gt;make samples&lt;br /&gt;make config&lt;br /&gt;chkconfig asterisk on&lt;br /&gt;service asterisk start&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 13.7pt 0in; line-height: normal;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 13.7pt 0in; line-height: normal;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 13.7pt 0in; line-height: normal;&quot;&gt;&lt;meta equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=utf-8&quot;&gt;&lt;meta name=&quot;ProgId&quot; content=&quot;Word.Document&quot;&gt;&lt;meta name=&quot;Generator&quot; content=&quot;Microsoft Word 12&quot;&gt;&lt;meta name=&quot;Originator&quot; content=&quot;Microsoft Word 12&quot;&gt;&lt;link rel=&quot;File-List&quot; href=&quot;file:///C:%5CDOCUME%7E1%5CNAGARJ%7E1%5CLOCALS%7E1%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_filelist.xml&quot;&gt;&lt;link rel=&quot;themeData&quot; href=&quot;file:///C:%5CDOCUME%7E1%5CNAGARJ%7E1%5CLOCALS%7E1%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_themedata.thmx&quot;&gt;&lt;link rel=&quot;colorSchemeMapping&quot; href=&quot;file:///C:%5CDOCUME%7E1%5CNAGARJ%7E1%5CLOCALS%7E1%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_colorschememapping.xml&quot;&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:worddocument&gt;   &lt;w:view&gt;Normal&lt;/w:View&gt;   &lt;w:zoom&gt;0&lt;/w:Zoom&gt;   &lt;w:trackmoves/&gt;   &lt;w:trackformatting/&gt;   &lt;w:punctuationkerning/&gt;   &lt;w:validateagainstschemas/&gt;   &lt;w:saveifxmlinvalid&gt;false&lt;/w:SaveIfXMLInvalid&gt;   &lt;w:ignoremixedcontent&gt;false&lt;/w:IgnoreMixedContent&gt;   &lt;w:alwaysshowplaceholdertext&gt;false&lt;/w:AlwaysShowPlaceholderText&gt;   &lt;w:donotpromoteqf/&gt;   &lt;w:lidthemeother&gt;EN-US&lt;/w:LidThemeOther&gt;   &lt;w:lidthemeasian&gt;X-NONE&lt;/w:LidThemeAsian&gt;   &lt;w:lidthemecomplexscript&gt;X-NONE&lt;/w:LidThemeComplexScript&gt;   &lt;w:compatibility&gt;    &lt;w:breakwrappedtables/&gt;    &lt;w:snaptogridincell/&gt;    &lt;w:wraptextwithpunct/&gt;    &lt;w:useasianbreakrules/&gt;    &lt;w:dontgrowautofit/&gt;    &lt;w:splitpgbreakandparamark/&gt;    &lt;w:dontvertaligncellwithsp/&gt;    &lt;w:dontbreakconstrainedforcedtables/&gt;    &lt;w:dontvertalignintxbx/&gt;    &lt;w:word11kerningpairs/&gt;    &lt;w:cachedcolbalance/&gt;   &lt;/w:Compatibility&gt;   &lt;m:mathpr&gt;    &lt;m:mathfont val=&quot;Cambria Math&quot;&gt;    &lt;m:brkbin val=&quot;before&quot;&gt;    &lt;m:brkbinsub val=&quot;--&quot;&gt;    &lt;m:smallfrac val=&quot;off&quot;&gt;    &lt;m:dispdef/&gt;    &lt;m:lmargin val=&quot;0&quot;&gt;    &lt;m:rmargin val=&quot;0&quot;&gt;    &lt;m:defjc val=&quot;centerGroup&quot;&gt;    &lt;m:wrapindent val=&quot;1440&quot;&gt;    &lt;m:intlim val=&quot;subSup&quot;&gt;    &lt;m:narylim val=&quot;undOvr&quot;&gt;   &lt;/m:mathPr&gt;&lt;/w:WordDocument&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:latentstyles deflockedstate=&quot;false&quot; defunhidewhenused=&quot;true&quot; defsemihidden=&quot;true&quot; defqformat=&quot;false&quot; defpriority=&quot;99&quot; latentstylecount=&quot;267&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;0&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Normal&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;9&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;heading 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;9&quot; qformat=&quot;true&quot; name=&quot;heading 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;9&quot; qformat=&quot;true&quot; name=&quot;heading 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;9&quot; qformat=&quot;true&quot; name=&quot;heading 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;9&quot; qformat=&quot;true&quot; name=&quot;heading 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;9&quot; qformat=&quot;true&quot; name=&quot;heading 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;9&quot; qformat=&quot;true&quot; name=&quot;heading 7&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;9&quot; qformat=&quot;true&quot; name=&quot;heading 8&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;9&quot; qformat=&quot;true&quot; name=&quot;heading 9&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; name=&quot;toc 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; name=&quot;toc 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; name=&quot;toc 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; name=&quot;toc 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; name=&quot;toc 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; name=&quot;toc 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; name=&quot;toc 7&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; name=&quot;toc 8&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; name=&quot;toc 9&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;35&quot; qformat=&quot;true&quot; name=&quot;caption&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;10&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Title&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;1&quot; name=&quot;Default Paragraph Font&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;11&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Subtitle&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;22&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Strong&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;20&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Emphasis&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;59&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Table Grid&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Placeholder Text&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;1&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;No Spacing&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;60&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Shading&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;61&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light List&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;62&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Grid&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;63&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;64&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;65&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;66&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;67&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;68&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;69&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;70&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Dark List&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;71&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Shading&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;72&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful List&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;73&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Grid&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;60&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Shading Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;61&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light List Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;62&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Grid Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;63&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 1 Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;64&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 2 Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;65&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 1 Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Revision&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;34&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;List Paragraph&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;29&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Quote&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;30&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Intense Quote&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;66&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 2 Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;67&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 1 Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;68&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 2 Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;69&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 3 Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;70&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Dark List Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;71&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Shading Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;72&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful List Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;73&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Grid Accent 1&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;60&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Shading Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;61&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light List Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;62&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Grid Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;63&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 1 Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;64&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 2 Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;65&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 1 Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;66&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 2 Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;67&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 1 Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;68&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 2 Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;69&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 3 Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;70&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Dark List Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;71&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Shading Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;72&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful List Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;73&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Grid Accent 2&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;60&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Shading Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;61&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light List Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;62&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Grid Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;63&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 1 Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;64&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 2 Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;65&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 1 Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;66&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 2 Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;67&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 1 Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;68&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 2 Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;69&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 3 Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;70&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Dark List Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;71&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Shading Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;72&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful List Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;73&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Grid Accent 3&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;60&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Shading Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;61&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light List Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;62&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Grid Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;63&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 1 Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;64&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 2 Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;65&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 1 Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;66&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 2 Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;67&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 1 Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;68&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 2 Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;69&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 3 Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;70&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Dark List Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;71&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Shading Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;72&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful List Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;73&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Grid Accent 4&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;60&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Shading Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;61&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light List Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;62&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Grid Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;63&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 1 Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;64&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 2 Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;65&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 1 Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;66&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 2 Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;67&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 1 Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;68&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 2 Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;69&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 3 Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;70&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Dark List Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;71&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Shading Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;72&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful List Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;73&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Grid Accent 5&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;60&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Shading Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;61&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light List Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;62&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Light Grid Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;63&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 1 Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;64&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Shading 2 Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;65&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 1 Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;66&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium List 2 Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;67&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 1 Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;68&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 2 Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;69&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Medium Grid 3 Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;70&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Dark List Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;71&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Shading Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;72&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful List Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;73&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; name=&quot;Colorful Grid Accent 6&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;19&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Subtle Emphasis&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;21&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Intense Emphasis&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;31&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Subtle Reference&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;32&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Intense Reference&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;33&quot; semihidden=&quot;false&quot; unhidewhenused=&quot;false&quot; qformat=&quot;true&quot; name=&quot;Book Title&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;37&quot; name=&quot;Bibliography&quot;&gt;   &lt;w:lsdexception locked=&quot;false&quot; priority=&quot;39&quot; qformat=&quot;true&quot; name=&quot;TOC Heading&quot;&gt;  &lt;/w:LatentStyles&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;style&gt; &lt;!--  /* Font Definitions */  @font-face 	{font-family:&quot;Cambria Math&quot;; 	panose-1:2 4 5 3 5 4 6 3 2 4; 	mso-font-charset:0; 	mso-generic-font-family:roman; 	mso-font-pitch:variable; 	mso-font-signature:-1610611985 1107304683 0 0 159 0;} @font-face 	{font-family:Calibri; 	panose-1:2 15 5 2 2 2 4 3 2 4; 	mso-font-charset:0; 	mso-generic-font-family:swiss; 	mso-font-pitch:variable; 	mso-font-signature:-1610611985 1073750139 0 0 159 0;}  /* Style Definitions */  p.MsoNormal, li.MsoNormal, div.MsoNormal 	{mso-style-unhide:no; 	mso-style-qformat:yes; 	mso-style-parent:&quot;&quot;; 	margin-top:0in; 	margin-right:0in; 	margin-bottom:10.0pt; 	margin-left:0in; 	line-height:115%; 	mso-pagination:widow-orphan; 	font-size:11.0pt; 	font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;; 	mso-fareast-font-family:Calibri; 	mso-bidi-font-family:&quot;Times New Roman&quot;;} .MsoChpDefault 	{mso-style-type:export-only; 	mso-default-props:yes; 	font-size:10.0pt; 	mso-ansi-font-size:10.0pt; 	mso-bidi-font-size:10.0pt; 	mso-ascii-font-family:Calibri; 	mso-fareast-font-family:Calibri; 	mso-hansi-font-family:Calibri;} @page Section1 	{size:8.5in 11.0in; 	margin:1.0in 1.0in 1.0in 1.0in; 	mso-header-margin:.5in; 	mso-footer-margin:.5in; 	mso-paper-source:0;} div.Section1 	{page:Section1;} --&gt; &lt;/style&gt;&lt;!--[if gte mso 10]&gt; &lt;style&gt;  /* Style Definitions */  table.MsoNormalTable 	{mso-style-name:&quot;Table Normal&quot;; 	mso-tstyle-rowband-size:0; 	mso-tstyle-colband-size:0; 	mso-style-noshow:yes; 	mso-style-priority:99; 	mso-style-qformat:yes; 	mso-style-parent:&quot;&quot;; 	mso-padding-alt:0in 5.4pt 0in 5.4pt; 	mso-para-margin:0in; 	mso-para-margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:11.0pt; 	font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;; 	mso-ascii-font-family:Calibri; 	mso-ascii-theme-font:minor-latin; 	mso-fareast-font-family:&quot;Times New Roman&quot;; 	mso-fareast-theme-font:minor-fareast; 	mso-hansi-font-family:Calibri; 	mso-hansi-theme-font:minor-latin; 	mso-bidi-font-family:&quot;Times New Roman&quot;; 	mso-bidi-theme-font:minor-bidi;} &lt;/style&gt; &lt;![endif]--&gt;  &lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 13.7pt 0in; line-height: normal;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;b&gt;&lt;span style=&quot;;font-family:&amp;quot;;&quot; &gt;How to uninstall Asterisk... &lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;;font-family:&amp;quot;;&quot; &gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 13.7pt 0in; line-height: normal;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;span style=&quot;;font-family:&amp;quot;;&quot; &gt;First you need stop Asterisk and unload its modules that it may be using, e.g Zaptel’s.&lt;/span&gt;&lt;span style=&quot;;font-family:&amp;quot;;&quot; &gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 13.7pt 0in; line-height: normal;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;span style=&quot;;font-family:&amp;quot;;&quot; &gt;You have to kill safe_asterisk first then asterisk second. (The safe_asterisk script is the preferred way to run Asterisk for most of us. This script starts Asterisk and monitors it to make sure it is still running. If the Asterisk process dies, the script will attempt to restart it.)&lt;/span&gt;&lt;span style=&quot;;font-family:&amp;quot;;&quot; &gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; line-height: normal;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;a href=&quot;http://img.hypemedianetwork.com/_link.proxy/?u,2=aHR0cDovL25vZGUxLnlvLWxpbnV4LmNvbS9jZ2ktYmluL21hbjJodG1sP2NnaV9jb21tYW5kPWtpbGxhbGw=&quot;&gt;&lt;span style=&quot;;font-family:&amp;quot;;color:blue;&quot;  &gt;killall&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;;font-family:&amp;quot;;&quot; &gt; -9 safe_asterisk&lt;/span&gt;&lt;span style=&quot;;font-family:&amp;quot;;&quot; &gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; line-height: normal;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;span style=&quot;;font-family:&amp;quot;;&quot; &gt;killall -9 asterisk&lt;/span&gt;&lt;span style=&quot;;font-family:&amp;quot;;&quot; &gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 13.7pt 0in; line-height: normal;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;span style=&quot;;font-family:&amp;quot;;&quot; &gt;Then you’ll have to unload the Zaptel drivers; check which ones are loaded by issuing a:&lt;/span&gt;&lt;span style=&quot;;font-family:&amp;quot;;&quot; &gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; line-height: normal;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;span style=&quot;;font-family:&amp;quot;;&quot; &gt;# lsmod | grep zaptel&lt;/span&gt;&lt;span style=&quot;;font-family:&amp;quot;;&quot; &gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; line-height: normal;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;span style=&quot;;font-family:&amp;quot;;&quot; &gt;zaptel 214820 2 wcfxo,wctdm&lt;/span&gt;&lt;span style=&quot;;font-family:&amp;quot;;&quot; &gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; line-height: normal;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;span style=&quot;;font-family:&amp;quot;;&quot; &gt;crc_ccitt 2113 1 zaptel&lt;/span&gt;&lt;span style=&quot;;font-family:&amp;quot;;&quot; &gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 13.7pt 0in; line-height: normal;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;span style=&quot;;font-family:&amp;quot;;&quot; &gt;This means that the submodules &lt;i&gt;wcfxo&lt;/i&gt; and &lt;i&gt;wctdm&lt;/i&gt; are loaded for zaptel. You will have to remove them in reverse order:&lt;/span&gt;&lt;span style=&quot;;font-family:&amp;quot;;&quot; &gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; line-height: normal;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;span style=&quot;;font-family:&amp;quot;;&quot; &gt;modprobe -r wcfxo&lt;/span&gt;&lt;span style=&quot;;font-family:&amp;quot;;&quot; &gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; line-height: normal;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;span style=&quot;;font-family:&amp;quot;;&quot; &gt;modprobe -r wctdm&lt;/span&gt;&lt;span style=&quot;;font-family:&amp;quot;;&quot; &gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; line-height: normal;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;span style=&quot;;font-family:&amp;quot;;&quot; &gt;..repeat for all zaptel submodules….&lt;/span&gt;&lt;span style=&quot;;font-family:&amp;quot;;&quot; &gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; line-height: normal;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;span style=&quot;;font-family:&amp;quot;;&quot; &gt;modprobe -r zaptel&lt;/span&gt;&lt;span style=&quot;;font-family:&amp;quot;;&quot; &gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 13.7pt 0in; line-height: normal;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;span style=&quot;;font-family:&amp;quot;;&quot; &gt;If you repeat the &lt;i&gt;lsmod | grep zaptel&lt;/i&gt; command now, it should find nothing.&lt;/span&gt;&lt;span style=&quot;;font-family:&amp;quot;;&quot; &gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; line-height: normal;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;span style=&quot;;font-family:&amp;quot;;&quot; &gt;Now to Delete Asterisk files :-&lt;br /&gt;rm -rf /etc/asterisk&lt;/span&gt;&lt;span style=&quot;;font-family:&amp;quot;;&quot; &gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; line-height: normal;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;span style=&quot;;font-family:&amp;quot;;&quot; &gt;rm -f /etc/zaptel.conf&lt;/span&gt;&lt;span style=&quot;;font-family:&amp;quot;;&quot; &gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; line-height: normal;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;span style=&quot;;font-family:&amp;quot;;&quot; &gt;rm -rf /var/log/asterisk &lt;/span&gt;&lt;span style=&quot;;font-family:&amp;quot;;&quot; &gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; line-height: normal;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;span style=&quot;;font-family:&amp;quot;;&quot; &gt;rm -rf /var/lib/asterisk &lt;/span&gt;&lt;span style=&quot;;font-family:&amp;quot;;&quot; &gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; line-height: normal;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;span style=&quot;;font-family:&amp;quot;;&quot; &gt;rm -rf /var/spool/asterisk &lt;/span&gt;&lt;span style=&quot;;font-family:&amp;quot;;&quot; &gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; line-height: normal;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;span style=&quot;;font-family:&amp;quot;;&quot; &gt;rm -rf /usr/lib/asterisk&lt;/span&gt;&lt;span style=&quot;;font-family:&amp;quot;;&quot; &gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 13.7pt 0in; line-height: normal;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;span style=&quot;;font-family:&amp;quot;;&quot; &gt;Now Asterisk has been removed from your system&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;;font-family:&amp;quot;;font-size:100%;&quot;  &gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;margin: 13.7pt 0in; line-height: normal;&quot;&gt;&lt;span style=&quot;;font-family:&amp;quot;;font-size:100%;&quot;  &gt;  &lt;!--[if !supportLineBreakNewLine]--&gt;  &lt;!--[endif]--&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;;font-family:&amp;quot;;font-size:100%;&quot;  &gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;p&gt;&lt;/p&gt;     </content><link rel='replies' type='application/atom+xml' href='http://nagarjunamallampalli.blogspot.com/feeds/4338119782020061817/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://nagarjunamallampalli.blogspot.com/2009/12/asterisk-16-installation-on-centos.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2657441212639607916/posts/default/4338119782020061817'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2657441212639607916/posts/default/4338119782020061817'/><link rel='alternate' type='text/html' href='http://nagarjunamallampalli.blogspot.com/2009/12/asterisk-16-installation-on-centos.html' title='Asterisk 1.6 Installation on Centos'/><author><name>nagarjuna</name><uri>http://www.blogger.com/profile/02751409694569731519</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='23' src='http://4.bp.blogspot.com/_VpLrAbiTi0U/TFk1XJVoXPI/AAAAAAAAADU/ugfPMACXhEM/S220/tux_phone.gif'/></author><thr:total>0</thr:total></entry></feed>