<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>The World of VoIP, Asterisk and Linux &#187; Zeeshan A Zakaria</title>
	<atom:link href="http://ilovetovoip.com/author/zeeshan/feed/" rel="self" type="application/rss+xml" />
	<link>http://ilovetovoip.com</link>
	<description>Sharing my knowledge with those who can benefit from it</description>
	<lastBuildDate>Fri, 10 Feb 2012 15:14:31 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>MySQL &#8211; Reset Password for `root` User</title>
		<link>http://ilovetovoip.com/2011/10/mysql-reset-password-for-root-user/</link>
		<comments>http://ilovetovoip.com/2011/10/mysql-reset-password-for-root-user/#comments</comments>
		<pubDate>Sat, 22 Oct 2011 12:35:35 +0000</pubDate>
		<dc:creator>Zeeshan A Zakaria</dc:creator>
				<category><![CDATA[MySQL]]></category>

		<guid isPermaLink="false">http://ilovetovoip.com/?p=842</guid>
		<description><![CDATA[<p>In case you happen to forget the root password, here is what you do to reset it.</p>
[sql-serv]# service mysqld stop
[sql-serv]# mysqld_safe --skip-grant-tables &#38;
<p>This will start MySQL without asking you for any password. Once started and you&#8217;re on MySQL CLI, you can update the root password:</p>
mysql &#62; UPDATE user SET Password=PASSWORD('new-password-here') WHERE User='root';
mysql &#62; flush privileges;
mysql &#62; exit
<p>Now you can start MySQL as normal.</p>
service mysqld start
<p>Try to login with your new password</p>
mysql -uroot -pnew-password-here
Other posts related to this topicNo Related Post]]></description>
			<content:encoded><![CDATA[<p>In case you happen to forget the root password, here is what you do to reset it.</p>
<pre>[sql-serv]# service mysqld stop
[sql-serv]# mysqld_safe --skip-grant-tables &amp;</pre>
<p>This will start MySQL without asking you for any password. Once started and you&#8217;re on MySQL CLI, you can update the root password:</p>
<pre>mysql &gt; UPDATE user SET Password=PASSWORD('new-password-here') WHERE User='root';
mysql &gt; flush privileges;
mysql &gt; exit</pre>
<p>Now you can start MySQL as normal.</p>
<pre>service mysqld start</pre>
<p>Try to login with your new password</p>
<pre>mysql -uroot -pnew-password-here</pre>
<h3  class="related_post_title">Other posts related to this topic</h3><ul class="related_post"><li>No Related Post</li></ul>]]></content:encoded>
			<wfw:commentRss>http://ilovetovoip.com/2011/10/mysql-reset-password-for-root-user/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Install OpenSIPS on CentOS 5.2 with MySQL</title>
		<link>http://ilovetovoip.com/2011/04/install-opensips-on-centos-5-2-with-mysql/</link>
		<comments>http://ilovetovoip.com/2011/04/install-opensips-on-centos-5-2-with-mysql/#comments</comments>
		<pubDate>Mon, 25 Apr 2011 16:03:40 +0000</pubDate>
		<dc:creator>Zeeshan A Zakaria</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://ilovetovoip.com/?p=709</guid>
		<description><![CDATA[How to install opensips in a Red Hat Enterprise Linux 5 server with mysql
How to install opensips 1.5 in a Red Hat Enterprise Linux 5
platform with Mysql Support.</p>
<p>The following document will guide you thru the installation
of the newly released opensips vesion 1.5 in Red Hat Enterprise
Linux 5.3 along with mysql. I will divide this process in 2 phases
1.- Installation of Red Hat Enterprise Linux 5.3
2.- Installation and configuration of Opensips, webmin and mysql</p>
<p>The following components and paramenters will be used for the purpose
of this installation guide, securing your opensips environment is
beyond this installation guide,</p>
<p>-Red Hat Enterprise Linux Server release 5.3 (Tikanga), 2.6.18-128.1.6.el5
-mysql-server-5.0.45-7.el5.i386
-An HP DL380 3.20 2gb of RAM
-Fully Qualified Domain Name of the server will be simulacro.sipcorner.com
-IP address of the server 10.10.10.101</p>
<p>1.-Installation of Red Hat Enterprise Linux 5 (Phase 1)</p>
<p>Let&#8217;s Proceed to install Red Hat Enterprise Linux 5
-Proceed to Insert the RHEL 5 DVD in your server
At the RHEL boot screen &#8220;press enter&#8221;
The system will ask you to either test the media or skip the media test,
I personally choose to skip the media since I know the integrity of the DVD
is good, but if you have doubts about the integrity of your media I will
suggest you to continue with the media test.
-At the RED HAT ENTERPRISE LINUX 5 initial Install screen select NEXT
-Proceed to select the language, I selected English(English)
-Proceed to select the appropriate keyboard for the System, I selected
U.S. English
-Proceed to enter the Red Hat installation number and select OK
-Select to Install Red Hat Enterprise Linux Server, then select OK
-Because I have RHEL 5 currently installed in my Hard Drive, and I
want to install a new copy of RHEL 5, the system will now asked me if
I want to remove all linux partitions on the selected drives and create a default
layot, since I want to do this, I will simply select the NEXT button
-As a precaution, the system will asked me if I really want to remove all the
existing Linux partitions in the Hard Drive, Since i want to do this I select
the Yes button.
-The system will now asked to configure the ethernet0 interface, since I want
the system to have an static IP address, I select the eth0 interface and I
select EDIT.
-The EDIT Interface screen will open, and I will now proceed to enter my network
information manually, then select OK, next I proceed to enter the FQDN for this
server, for example simulacro.sipcorner.com, next I will proceed to continue
entering my network information, such as my gateway, primary DNS and Secondar
DNS servers, then I will proceed to select the NEXT button
-Proceed to select your timezone accordinally
-Proceed to enter a Password for the Root Account
-Red Hat Enterprise Linux 5 default installation includes a set of software
applicable for general internet usage, although you can choose to install
additional components, such as servers and others, for the purposes of this
document, I will proceed to check the Web Server option and also I will proceed
to check the Customize now option, then I will select NEXT.
-Because I checked the customize option, I am now being presented with [...]]]></description>
			<content:encoded><![CDATA[<dt>How to install opensips in a Red Hat Enterprise Linux 5 server with mysql</dt>
<dd>How to install opensips 1.5 in a Red Hat Enterprise Linux 5<br />
platform with Mysql Support.</p>
<p>The following document will guide you thru the installation<br />
of the newly released opensips vesion 1.5 in Red Hat Enterprise<br />
Linux 5.3 along with mysql. I will divide this process in 2 phases<br />
1.- Installation of Red Hat Enterprise Linux 5.3<br />
2.- Installation and configuration of Opensips, webmin and mysql</p>
<p>The following components and paramenters will be used for the purpose<br />
of this installation guide, securing your opensips environment is<br />
beyond this installation guide,</p>
<p>-Red Hat Enterprise Linux Server release 5.3 (Tikanga), 2.6.18-128.1.6.el5<br />
-mysql-server-5.0.45-7.el5.i386<br />
-An HP DL380 3.20 2gb of RAM<br />
-Fully Qualified Domain Name of the server will be simulacro.sipcorner.com<br />
-IP address of the server 10.10.10.101</p>
<p>1.-Installation of Red Hat Enterprise Linux 5 (Phase 1)</p>
<p>Let&#8217;s Proceed to install Red Hat Enterprise Linux 5<br />
-Proceed to Insert the RHEL 5 DVD in your server<br />
At the RHEL boot screen &#8220;press enter&#8221;<br />
The system will ask you to either test the media or skip the media test,<br />
I personally choose to skip the media since I know the integrity of the DVD<br />
is good, but if you have doubts about the integrity of your media I will<br />
suggest you to continue with the media test.<br />
-At the RED HAT ENTERPRISE LINUX 5 initial Install screen select NEXT<br />
-Proceed to select the language, I selected English(English)<br />
-Proceed to select the appropriate keyboard for the System, I selected<br />
U.S. English<br />
-Proceed to enter the Red Hat installation number and select OK<br />
-Select to Install Red Hat Enterprise Linux Server, then select OK<br />
-Because I have RHEL 5 currently installed in my Hard Drive, and I<br />
want to install a new copy of RHEL 5, the system will now asked me if<br />
I want to remove all linux partitions on the selected drives and create a default<br />
layot, since I want to do this, I will simply select the NEXT button<br />
-As a precaution, the system will asked me if I really want to remove all the<br />
existing Linux partitions in the Hard Drive, Since i want to do this I select<br />
the Yes button.<br />
-The system will now asked to configure the ethernet0 interface, since I want<br />
the system to have an static IP address, I select the eth0 interface and I<br />
select EDIT.<br />
-The EDIT Interface screen will open, and I will now proceed to enter my network<br />
information manually, then select OK, next I proceed to enter the FQDN for this<br />
server, for example simulacro.sipcorner.com, next I will proceed to continue<br />
entering my network information, such as my gateway, primary DNS and Secondar<br />
DNS servers, then I will proceed to select the NEXT button<br />
-Proceed to select your timezone accordinally<br />
-Proceed to enter a Password for the Root Account<br />
-Red Hat Enterprise Linux 5 default installation includes a set of software<br />
applicable for general internet usage, although you can choose to install<br />
additional components, such as servers and others, for the purposes of this<br />
document, I will proceed to check the Web Server option and also I will proceed<br />
to check the Customize now option, then I will select NEXT.<br />
-Because I checked the customize option, I am now being presented with an screen<br />
where I can select different packages that I want the system to install for me<br />
during this installation, hence I will select the following packages:</p>
<p>Servers&gt;Mysql Database&gt;Optional Packages&gt;Default plus<br />
mysql-devel-5.0.45-7.el5.i386<br />
php-mysql-5.1.6-23.el5.i386<br />
mod_auth_mysql-3.0.0-3.1.i386</p>
<p>Servers&gt;Web Server&gt;Optional Packages&gt;Default plus<br />
mod_nss-1.0.3-6.el5.i386</p>
<p>Servers&gt;Mail Server&gt;Default</p>
<p>-The RHEL 5 Installation is now ready to begin, proceed by selecting the NEXT button<br />
-Once the system has finished the installation process the DVD will eject and<br />
a new screen will appear congratulating you, at this point select the Reboot<br />
button.<br />
-After the firs Reboot, you will be presented with a Welcome screen, proceed and<br />
select the Forward button, proceed to agree with the license agreement, proceed<br />
to configure your firewall. I will personally select Secure WWWW (HTTPS) and<br />
WWW (HTTP) ports, although under the Other Ports option, I will also proceed to add<br />
port 5060 TCP/UDP to allow SIP dialogs/sessions, although 5060 UDP is enough, but<br />
this is a test box so I decided to open both TCP and UDP, then I will also select<br />
port 10000 TCP for webmin, why webmin?, because if you are not an expert with mysql<br />
webmin can be useful to access mysql and other components via web, instead of the CLI<br />
although webmin is useful when it comes to administer the RHEL box, servers and other<br />
components,in the opensips environment it is highly likely that you will be using<br />
the CLI for almost everything. Next proceed to select the Forward button.<br />
-Proceed to configure SELinux accordinally, I will personally select the Enforcing<br />
option, then proceed to select the Forward button.<br />
-Proceed to configure Kdump accordinally, I personally like Kdump, although it may require<br />
you to do another reboot and do some memory allocation in order to properly work.<br />
-Proceed to configure the Date and Time accordinally, when configuring opensips, the time<br />
can be critical, so i will suggest you to enable NTP, and I personally will add another ntp<br />
server on top of the RHEL ntp servers, ncnoc.ncren.net (because I am in North Carolina), then<br />
I will proceed to select the forward button.<br />
-Proceed to Set up Software Updates at your discretion.<br />
-Proceed to create a User accordinally, it is not really safe for you to use the root account<br />
to login to the box, surf the internet, install software and others, although for the purposes<br />
of this guide, I will be using the root account during the installation process of opensips and<br />
webmin.<br />
-Proceed to configure the Sound Card, if any<br />
-If you would like to install additional software using CD&#8217;s, you may do so at this time, otherwise<br />
select the Finish button, the system will proceed to restart<br />
-Once the server has rebooted Proceed to access the Red Hat Enterprise Linux 5 console<br />
using your favorite console client, I personally use Secure CRT.</p>
<p>2.- Installation and configuration of Opensips, webmin and mysql (Phase 2)</p>
<p>Your system should have the following packages installed<br />
zlib-1.2.3-3.i386<br />
openssl-0.9.8e-7.el5.i686<br />
mysql-server-5.0.45-7.el5.i386</p>
<p>If the above packages are not installed in your system you can install them by using yum, ie<br />
yum install zlib openssl mysql-server</p>
<p>root@simulacro ~# yum install zlib openssl mysql-server</p>
<p>-Proceed to install the following packages using yum<br />
gcc, bison, flex, zlib-devel, openssl-devel</p>
<p>root@simulacro ~# yum gcc bison flex zlib-devel openssl-devel</p>
<p>-Proceed to download opensips 1.5 but first I will suggest you to<br />
go to the usr/src directory and download opensips 1.5 there.</p>
<p>root@simulacro src# wget <a rel="nofollow" href="http://ilovetovoip.com/Go" target="_blank">http://ilovetovoip.com/Go</a></p>
<p>-Proceed to untar opensips</p>
<p>root@simulacro src# tar -xzf opensips-1.5.0-notls_src.tar.gz</p>
<p>-Proceed to download and install webmin</p>
<p>root@simulacro src# wget <a rel="nofollow" href="http://ilovetovoip.com/V0" target="_blank">http://ilovetovoip.com/V0</a><br />
root@simulacro src# rpm -ivh webmin-1.470-1.noarch.rpm</p>
<p>-Proceed to rename opensips-1.5.0-notls to opensips</p>
<p>root@simulacro src# mv opensips-1.5.0-notls opensips</p>
<p>-Now lets proceed to EDIT the /usr/src/opensips/Makefile using nano, so<br />
we use mysql</p>
<p>root@simulacro src# nano opensips/Makefile</p>
<p>-Once in the Makefile configuration parameters, proceed to modify the<br />
following comment by removing the &#8220;db_mysql&#8221; module</p>
<p>if not set on the cmd. line or the env, exclude this modules:<br />
exclude_modules?= jabber cpl-c xmpp rls mi_xmlrpc xcap_client \<br />
db_mysql db_postgres db_unixodbc db_oracle db_berkeley \<br />
avp_radius auth_radius group_radius uri_radius \<br />
osp perl snmpstats perlvdb peering carrierroute mmgeoip \<br />
presence presence_xml presence_mwi presence_dialoginfo \<br />
pua pua_bla pua_mi pua_usrloc pua_xmpp pua_dialoginfo \<br />
ldap h350 identity regex</p>
<p>-Your comment should now look like this</p>
<p>if not set on the cmd. line or the env, exclude this modules:<br />
exclude_modules?= jabber cpl-c xmpp rls mi_xmlrpc xcap_client \<br />
db_postgres db_unixodbc db_oracle db_berkeley \<br />
avp_radius auth_radius group_radius uri_radius \<br />
osp perl snmpstats perlvdb peering carrierroute mmgeoip \<br />
presence presence_xml presence_mwi presence_dialoginfo \<br />
pua pua_bla pua_mi pua_usrloc pua_xmpp pua_dialoginfo \<br />
ldap h350 identity regex</p>
<p>-Proceed to save the configuration in nano by using ctrl + X then y</p>
<p>-Proceed to run the following commands, but first go to /usr/src/opensips</p>
<p>root@simulacro opensips#make clean<br />
root@simulacro opensips#make all include_modules=&#8221;mysql&#8221;<br />
root@simulacro opensips#make prefix=/usr/local install include_module=&#8221;mysql&#8221;</p>
<p>-Using nano proceed to edit /usr/local/etc/opensips/opensipsctlrc</p>
<p>root@simulacro opensips# nano /usr/local/etc/opensips/opensipsctlrc</p>
<p>and proceed to modify the following comment by removing the # sign</p>
<p>database type: MYSQL, PGSQL, ORACLE, DB_BERKELEY, or DBTEXT, by def$<br />
If you want to setup a database with opensipsdbctl, you must at leas$<br />
this parameter.<br />
DBENGINE=MYSQL</p>
<p>-It should look like this</p>
<p>database type: MYSQL, PGSQL, ORACLE, DB_BERKELEY, or DBTEXT, by def$<br />
If you want to setup a database with opensipsdbctl, you must at leas$<br />
this parameter.<br />
DBENGINE=MYSQL</p>
<p>-Proceed to save your file in nano using ctrl + X and Y</p>
<p>-Proceed to start mysql by typing the following command<br />
service mysqld start</p>
<p>root@simulacro opensips# service mysqld start<br />
Initializing MySQL database: Installing MySQL system tables&#8230;<br />
OK<br />
Filling help tables&#8230;<br />
OK</p>
<p>To start mysqld at boot time you have to copy<br />
support-files/mysql.server to the right place for your system</p>
<p>PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !<br />
To do so, start the server, then issue the following commands:<br />
/usr/bin/mysqladmin -u root password &#8216;new-password&#8217;<br />
/usr/bin/mysqladmin -u root -h simulacro.sipcorner.com password &#8216;new-password&#8217;<br />
See the manual for more instructions.<br />
You can start the MySQL daemon with:<br />
cd /usr ; /usr/bin/mysqld_safe &amp;</p>
<p>You can test the MySQL daemon with mysql-test-run.pl<br />
cd mysql-test ; perl mysql-test-run.pl</p>
<p>Please report any problems with the /usr/bin/mysqlbug script!</p>
<p>The latest information about MySQL is available on the web at<br />
<a rel="nofollow" href="http://ilovetovoip.com/IY" target="_blank">http://www.mysql.com</a><br />
Support MySQL by buying support/licenses at <a rel="nofollow" href="http://ilovetovoip.com/Wi" target="_blank">http://shop.mysql.com</a><br />
OK<br />
Starting MySQL: OK<br />
root@simulacro opensips#</p>
<p>-As stated above let&#8217;s proceed to set up a password for the root user</p>
<p>root@simulacro opensips# /usr/bin/mysqladmin -u root password yourpassword<br />
root@simulacro opensips# /usr/bin/mysqladmin -u root -h simulacro.sipcorner.com password &#8216;yourpassword&#8217;</p>
<p>-Now lets proceed to create the database for opensips using the following command<br />
/usr/local/sbin/opensipsdbctl create</p>
<p>root@simulacro opensips# /usr/local/sbin/opensipsdbctl create<br />
MySQL password for root:<br />
INFO: test server charset<br />
INFO: creating database opensips &#8230;<br />
INFO: Core OpenSIPS tables succesfully created.<br />
Install presence related tables? (y/n): y<br />
INFO: creating presence tables into opensips &#8230;<br />
INFO: Presence tables succesfully created.<br />
Install tables for imc cpl siptrace domainpolicy carrierroute userblacklist? (y/n): y<br />
INFO: creating extra tables into opensips &#8230;<br />
INFO: Extra tables succesfully created.<br />
root@simulacro opensips#</p>
<p>-Now proceed to edit the opensips.cfg file<br />
root@simulacro opensips# nano /usr/local/etc/opensips/opensips.cfg</p>
<p>-Proceed to modify the following comment (remove the #)</p>
<p>/* uncomment next line for MySQL DB support */</p>
<p>loadmodule &#8220;db_mysql.so&#8221;</p>
<p>-It should now look like this</p>
<p>/* uncomment next line for MySQL DB support */<br />
loadmodule &#8220;db_mysql.so&#8221;</p>
<p>-Proceed to also modify the following comment (remove couple #&#8217;s)</p>
<p>loadmodule &#8220;acc.so&#8221;<br />
/* uncomment next lines for MySQL based authentication support<br />
NOTE: a DB (like db_mysql) module must be also loaded */</p>
<p>loadmodule &#8220;auth.so&#8221;<br />
loadmodule &#8220;auth_db.so</p>
<p>-It should now look like this</p>
<p>loadmodule &#8220;acc.so&#8221;<br />
/* uncomment next lines for MySQL based authentication support<br />
NOTE: a DB (like db_mysql) module must be also loaded */<br />
loadmodule &#8220;auth.so&#8221;<br />
loadmodule &#8220;auth_db.so&#8221;</p>
<p>-Proceed to also modify the following comment (remove the #)</p>
<p>/* uncomment the following lines if you want to enable DB persistency<br />
for location entries */</p>
<p>modparam(&#8220;usrloc&#8221;, &#8220;db_mode&#8221;, 2)</p>
<p>-It should now look like this</p>
<p>/* uncomment the following lines if you want to enable DB persistency<br />
for location entries */<br />
modparam(&#8220;usrloc&#8221;, &#8220;db_mode&#8221;, 2)</p>
<p>-Proceed to also modify the following comment (remove couple #&#8217;s)</p>
<p>/* uncomment the following lines if you want to enable the DB based<br />
authentication */</p>
<p>modparam(&#8220;auth_db&#8221;, &#8220;calculate_ha1&#8243;, yes)<br />
modparam(&#8220;auth_db&#8221;, &#8220;password_column&#8221;, &#8220;password&#8221;)</p>
<p>-It should now look like this</p>
<p>/* uncomment the following lines if you want to enable the DB based<br />
authentication */<br />
modparam(&#8220;auth_db&#8221;, &#8220;calculate_ha1&#8243;, yes)<br />
modparam(&#8220;auth_db&#8221;, &#8220;password_column&#8221;, &#8220;password&#8221;)</p>
<p>-Proceed to modify the following &#8220;empty spaces&#8221; with your domain, in my<br />
case I will use the ip address of this box which is 10.10.10.101, the<br />
comment is the following</p>
<p>authenticate the REGISTER requests (uncomment to ena$<br />
##if (!www_authorize(&#8220;&#8221;, &#8220;subscriber&#8221;))<br />
##{<br />
## www_challenge(&#8220;&#8221;, &#8220;0&#8243;);<br />
## exit;</p>
<p>-It should now look like this</p>
<p>authenticate the REGISTER requests (uncomment to ena$<br />
if (!www_authorize(&#8220;10.10.10.101&#8243;,<br />
&#8220;subscriber&#8221;))<br />
##{<br />
www_challenge(&#8220;10.10.10.101&#8243;, &#8220;0&#8243;);<br />
## exit;</p>
<p>-Proceed to save the file in nano by using ctrl + X and Y</p>
<p>-Great!, now lets see if we can start opensips by typing opensipsctl start</p>
<p>root@simulacro opensips# opensipsctl start</p>
<p>INFO: Starting OpenSIPS :<br />
INFO: started (pid: 5474)<br />
root@simulacro opensips#</p>
<p>-And as we see above we can start succesfully opensips!</p>
<p>-Now lets proceed to copy /usr/src/opensips/packaging/fedora/opensips.init to<br />
/etc/init.d/opensips by doing the following</p>
<p>root@simulacro opensips# cp /usr/src/opensips/packaging/fedora/opensips.init /etc/init.d/opensips<br />
root@simulacro opensips#</p>
<p>-Now lets give the proper rights to opensips, by doing the following<br />
chmod 755 /etc/init.d/opensips</p>
<p>root@simulacro opensips# chmod 755 /etc/init.d/opensips</p>
<p>-Now so that we can start opensips properly, we need to make some configuration<br />
changes to /etc/init.d/opensips, using nano do the following</p>
<p>root@simulacro opensips# nano /etc/init.d/opensips</p>
<p>-Proceed to modify the following comment</p>
<p>Source function library.<br />
. /etc/rc.d/init.d/functions</p>
<p>oser=/usr/sbin/opensips<br />
prog=opensips<br />
RETVAL=0</p>
<p>It should now look like this</p>
<p>Source function library.<br />
. /etc/rc.d/init.d/functions</p>
<p>oser=/usr/local/sbin/opensips<br />
prog=opensips<br />
RETVAL=0</p>
<p>-Proceed to save the file using name ctrl + X and Y</p>
<p>-Now lets proceed to test service opensips start|status|stop</p>
<p>root@simulacro opensips# service opensips stop<br />
Stopping opensips: OK<br />
root@simulacro opensips# service opensips status<br />
opensips is stopped<br />
root@simulacro opensips# service opensips start<br />
Starting opensips: OK<br />
root@simulacro opensips# service opensips status<br />
opensips (pid 5624 5623 5620 5618 5615 5613 5612 5610 5608 5605 5603 5602 5600 5598 5595 5594 5590) is running&#8230;<br />
root@simulacro opensips#</p>
<p>-Using nano proceed to edit the startup script /etc/init.d/opensips, proceed<br />
to make changes to the following comment</p>
<p>Startup script for OpenSIPS</p>
<p>chkconfig: &#8211; 85 15</p>
<p>It should now look like</p>
<p>Startup script for OpenSIPS</p>
<p>chkconfig: 345 96 15</p>
<p>-Proceed to save the file using nano ctrl + X and Y</p>
<p>-Proceed to also do the following from the CLI</p>
<p>root@simulacro opensips# chkconfig &#8211;add opensips<br />
root@simulacro opensips# chkconfig mysqld on<br />
root@simulacro ~# export SIP_DOMAIN=10.10.10.101</p>
<p>-Proceed to reboot the server to make sure opensips and mysqld starts automatically</p>
<p>root@simulacro opensips# reboot</p>
<p>Broadcast message from root (pts/1) (Sun Apr 12 01:41:56 2009):</p>
<p>The system is going down for reboot NOW!<br />
root@simulacro opensips#</p>
<p>-Once the server have fully restarted we can proceed to add a new user,<br />
when adding a new user, you will be asked for the opensips password,<br />
the default opensips password is lowercase opensipsrw, I will suggest<br />
you to look at the opensipsctlrc file, I will strongly suggest you to<br />
change all the default values in this file, although becareful when<br />
making changes, because it could cause opensips to stop working.</p>
<p>-To add a new user simply issue the following command<br />
opensipsctl add newusername newuserpassword</p>
<p>root@simulacro src# opensipsctl add 2000 yourpassword<br />
MySQL password for user &#8216;opensips@localhost&#8217;: &lt;&#8212;enter opensipsrw<br />
new user &#8217;2000&#8242; added<br />
root@simulacro src#</p>
<p>-Using for example xlite you should now be able to register user 2000<br />
with opensips</p>
<p>-Also you can use the command opensipsctl to access your cli<br />
options.</p>
<p>This document was created by Cesar Fiestas</dd>
</p>
<div class='wp_likes' id='wp_likes_post-709'><a class='like' href="javascript:wp_likes.like(709);" title='' ><img src="http://ilovetovoip.com/wp-content/plugins/wp-likes/images/like.png" alt='' border='0'/>Like</a><span class='text'></span>
<div class='unlike'><a href="javascript:wp_likes.unlike(709);">Unlike</a></div>
</div>
<h3  class="related_post_title">Other posts related to this topic</h3><ul class="related_post"><li>No Related Post</li></ul>]]></content:encoded>
			<wfw:commentRss>http://ilovetovoip.com/2011/04/install-opensips-on-centos-5-2-with-mysql/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Reminder App for Facebook</title>
		<link>http://ilovetovoip.com/2011/03/reminder-app-for-facebook/</link>
		<comments>http://ilovetovoip.com/2011/03/reminder-app-for-facebook/#comments</comments>
		<pubDate>Tue, 15 Mar 2011 08:56:07 +0000</pubDate>
		<dc:creator>Zeeshan A Zakaria</dc:creator>
				<category><![CDATA[Asterisk]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[facebook]]></category>
		<category><![CDATA[reminders]]></category>

		<guid isPermaLink="false">http://ilovetovoip.com/?p=786</guid>
		<description><![CDATA[


Facebook reminder app &#8211; User Interface


<p style="text-align: left;">It was quite challenging, but I managed to convert this into a facebook app. It was challenging due to poor documentation at facebook how to make facebook apps, and obsolete tutorials and blogs on this subject, since facebook has updated their apps api in June 2010.</p>
<p>Anyways, now the reminder service is there, up and running. If you have a facebook account, all you need to do is search for &#8216;reminders&#8217;, and it&#8217;ll show you a reminders app with a telephone icon as follows:</p>
<p style="text-align: center;"></p>
<p>Just click it, and it&#8217;ll ask you that the app wants your basic info and your email address. Accept it, and you are all setup to use the reminder app.</p>
<p>Or even simpler, just click the app screenshot above and it&#8217;ll take you to facebook and install the app for you, if you gave it permission to do so.</p>
<p>The interface is simple to use, made in JavaScript, very user friendly.</p>
<p>All the items are self explanatory, along with a help icons which tell you how to use the associated fields.</p>
<p>As a new user, $10 are added to your account. You have to register your phone numbers where you would like to receive the reminder calls.</p>
<p>Give it a try and I am sure you&#8217;ll find it a very useful app. Just a note, that the phone reminder part is good only for North America. Rest of the world can use only email reminders. Based on demand, I&#8217;ll see if I can open the International routes to certain countries.</p>
Other posts related to this topicNo Related Post]]></description>
			<content:encoded><![CDATA[<div>
<dl id="attachment_794" class="wp-caption alignleft" style="width: 610px;">
<dt class="wp-caption-dt"><a href="http://ilovetovoip.com/1E" target="_blank"><img class="size-full wp-image-794   " style="border: 0pt none;" title="Reminder app at facebook" src="http://ilovetovoip.com/wp-content/uploads/2011/03/reminders_app02.jpg" alt="Reminder app at facebook" width="600" height="503" /></a></dt>
<dd class="wp-caption-dd">Facebook reminder app &#8211; User Interface</dd>
</dl>
</div>
<p style="text-align: left;">It was quite challenging, but I managed to convert this into a facebook app. It was challenging due to poor documentation at facebook how to make facebook apps, and obsolete tutorials and blogs on this subject, since facebook has updated their apps api in June 2010.</p>
<p>Anyways, now the reminder service is there, up and running. If you have a facebook account, all you need to do is search for &#8216;reminders&#8217;, and it&#8217;ll show you a reminders app with a telephone icon as follows:</p>
<p style="text-align: center;"><a href="http://ilovetovoip.com/lM"><img class="size-full wp-image-787 aligncenter" style="border: 0pt none;" title="Installing the facebook reminder app" src="http://ilovetovoip.com/lM" alt="Installing the facebook reminder app" width="368" height="111" /></a></p>
<p>Just click it, and it&#8217;ll ask you that the app wants your basic info and your email address. Accept it, and you are all setup to use the reminder app.</p>
<p>Or even simpler, just click the app screenshot above and it&#8217;ll take you to facebook and install the app for you, if you gave it permission to do so.</p>
<p>The interface is simple to use, made in JavaScript, very user friendly.</p>
<p>All the items are self explanatory, along with a help icons which tell you how to use the associated fields.</p>
<p>As a new user, $10 are added to your account. You have to register your phone numbers where you would like to receive the reminder calls.</p>
<p>Give it a try and I am sure you&#8217;ll find it a very useful app. Just a note, that the phone reminder part is good only for North America. Rest of the world can use only email reminders. Based on demand, I&#8217;ll see if I can open the International routes to certain countries.</p>
<h3  class="related_post_title">Other posts related to this topic</h3><ul class="related_post"><li>No Related Post</li></ul>]]></content:encoded>
			<wfw:commentRss>http://ilovetovoip.com/2011/03/reminder-app-for-facebook/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Enabling Telnet Root Access on CentOS</title>
		<link>http://ilovetovoip.com/2011/03/enabling-telnet-root-access-on-centos/</link>
		<comments>http://ilovetovoip.com/2011/03/enabling-telnet-root-access-on-centos/#comments</comments>
		<pubDate>Thu, 10 Mar 2011 17:59:04 +0000</pubDate>
		<dc:creator>Zeeshan A Zakaria</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[telnet]]></category>

		<guid isPermaLink="false">http://ilovetovoip.com/?p=782</guid>
		<description><![CDATA[<p>It is very annoying that almost all the answers on how to enable telnet root access on a Linux server are like, &#8216;why you want telnet access, don&#8217;t use it, use ssh, telnet is insecure&#8217;. Thank you very much but I know that already, and I also know why I need telnet root access.</p>
<p>Anyways, if you need to access your CentOS server via telnet and as root user, here is what you do:</p>
yum install telnet-server
service xinetd restart
<p>Next, edit /etc/pam.d/remote file and comment out the first line, i.e.</p>
#auth       required   pam_securetty.so
And this is all. Now you can telnet into your server as root user.
</p>
Like
Unlike

Other posts related to this topicNo Related Post]]></description>
			<content:encoded><![CDATA[<p>It is very annoying that almost all the answers on how to enable telnet root access on a Linux server are like, &#8216;why you want telnet access, don&#8217;t use it, use ssh, telnet is insecure&#8217;. Thank you very much but I know that already, and I also know why I need telnet root access.</p>
<p>Anyways, if you need to access your CentOS server via telnet and as root user, here is what you do:</p>
<pre>yum install telnet-server
service xinetd restart</pre>
<p>Next, edit <strong>/etc/pam.d/remote</strong> file and comment out the first line, i.e.</p>
<pre>#auth       required   pam_securetty.so</pre>
<div id="_mcePaste">And this is all. Now you can telnet into your server as root user.</div>
</p>
<div class='wp_likes' id='wp_likes_post-782'><a class='like' href="javascript:wp_likes.like(782);" title='' ><img src="http://ilovetovoip.com/wp-content/plugins/wp-likes/images/like.png" alt='' border='0'/>Like</a><span class='text'></span>
<div class='unlike'><a href="javascript:wp_likes.unlike(782);">Unlike</a></div>
</div>
<h3  class="related_post_title">Other posts related to this topic</h3><ul class="related_post"><li>No Related Post</li></ul>]]></content:encoded>
			<wfw:commentRss>http://ilovetovoip.com/2011/03/enabling-telnet-root-access-on-centos/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Proxmox and Two Subnets on the Same Network Interface, Properly Routed</title>
		<link>http://ilovetovoip.com/2011/03/proxmox-and-two-subnets-on-the-same-network-interface-properly-routed/</link>
		<comments>http://ilovetovoip.com/2011/03/proxmox-and-two-subnets-on-the-same-network-interface-properly-routed/#comments</comments>
		<pubDate>Thu, 10 Mar 2011 17:42:11 +0000</pubDate>
		<dc:creator>Zeeshan A Zakaria</dc:creator>
				<category><![CDATA[Configuration]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Asterisk]]></category>
		<category><![CDATA[network]]></category>
		<category><![CDATA[nic]]></category>
		<category><![CDATA[proxmox]]></category>
		<category><![CDATA[subnet]]></category>

		<guid isPermaLink="false">http://ilovetovoip.com/?p=776</guid>
		<description><![CDATA[<p>This was a little bit tricky, but thanks to the power of the freely available (though hard to find sometimes) knowledge on the Internet, and Google&#8217;s searches, I just finished this task and thought to write a blog about it. Though the following is for advance users only.</p>
<p>On a server running Proxmox VE with a few instances of CentOS 5.2, each with asterisk and other related stuff, and network interface 192.168.91.1/24, a colleague of mine wanted to hook up two extensions. The problem was that he was at 10.18.0.10/16, though on the same switch as the Proxmox server. There were no routers involved.</p>
<p>Those of you who know Proxmox, know that its network interface is a bridged interface and ifconfig shows it as vmbr0. The Asterisk server instance itself was at 192.168.91.13.</p>
<p>So what I did was as follows:</p>
<p>Assigned a new virtual IP address to vmbr0 to match my colleague&#8217;s network:</p>
ifconfig vmbr0:0 10.1.18.1 netmask 255.255.0.0 up
<p>Next, created the following iptables rule, to direct all the traffic on this new interface, coming from 10.1 network to the asterisk server at 192.168.91.13</p>
iptables -A PREROUTING -t nat -i vmbr0 --source 10.1.0.0/16 \
-j DNAT --to-destination 192.168.91.13
<p>And that was it. Now he could point his extensions to 10.1.18.1 to get to the asterisk server. SIP registrations and media all worked well with these settings. At this time I also learned something new, that in Windows XP Pro, you could have multiple IP addresses assigned to the same NIC. So I assigned my workstation a 10.1 address, and was able to reach the same asterisk server using both the IP addresses, without a need to disconnect any of my ssh sessions, and praise the age of amazing technologies we live in.</p>
Like
Unlike

Other posts related to this topicSetup SNMP on an Asterisk serverSNMP - Simple Network Monitoring Protocol, as it name suggests, is a protocol used to monitor various properties of network equipment. These properties are identified by something called OIDs (Object Identifiers) which are long numeric strings and id...Phone Reminders – Make your life easier
A phone reminder is a reminder which is sent to you over the phone. It amazingly makes various things in your life more manageable which otherwise would stay mismanaged because you simply forget about them. Life is busy for everyone in this age, an...Getting started with AELAEL stands for Asterisk Extensions Language. It is intended to make writing dialplans easier than the standard syntax used in extensions.conf. The standard syntax is not very user friendly, makes it difficult to write complex dialplans, and makes it ...Keep track of number of active calls in AsteriskHow to keep track of the total number of calls in Asterisk? There is no predefined variable yet which keeps track of this very important piece of information, which is sometimes very critical to make certain decisions in a dialplan.

There are vari...Scaling an Asterisk installationScaling basically means that if the hardware in your system can't handle any more load, then the system should be able to take additional hardware and share extra [...]]]></description>
			<content:encoded><![CDATA[<p>This was a little bit tricky, but thanks to the power of the freely available (though hard to find sometimes) knowledge on the Internet, and Google&#8217;s searches, I just finished this task and thought to write a blog about it. Though the following is for advance users only.</p>
<p>On a server running Proxmox VE with a few instances of CentOS 5.2, each with asterisk and other related stuff, and network interface 192.168.91.1/24, a colleague of mine wanted to hook up two extensions. The problem was that he was at 10.18.0.10/16, though on the same switch as the Proxmox server. There were no routers involved.</p>
<p>Those of you who know Proxmox, know that its network interface is a bridged interface and <em>ifconfig</em> shows it as vmbr0. The Asterisk server instance itself was at 192.168.91.13.</p>
<p>So what I did was as follows:</p>
<p>Assigned a new virtual IP address to vmbr0 to match my colleague&#8217;s network:</p>
<pre>ifconfig vmbr0:0 10.1.18.1 netmask 255.255.0.0 up</pre>
<p>Next, created the following iptables rule, to direct all the traffic on this new interface, coming from 10.1 network to the asterisk server at 192.168.91.13</p>
<pre>iptables -A PREROUTING -t nat -i vmbr0 --source 10.1.0.0/16 \</pre>
<pre>-j DNAT --to-destination 192.168.91.13</pre>
<p>And that was it. Now he could point his extensions to 10.1.18.1 to get to the asterisk server. SIP registrations and media all worked well with these settings. At this time I also learned something new, that in Windows XP Pro, you could have multiple IP addresses assigned to the same NIC. So I assigned my workstation a 10.1 address, and was able to reach the same asterisk server using both the IP addresses, without a need to disconnect any of my ssh sessions, and praise the age of amazing technologies we live in.</p>
<div class='wp_likes' id='wp_likes_post-776'><a class='like' href="javascript:wp_likes.like(776);" title='' ><img src="http://ilovetovoip.com/wp-content/plugins/wp-likes/images/like.png" alt='' border='0'/>Like</a><span class='text'></span>
<div class='unlike'><a href="javascript:wp_likes.unlike(776);">Unlike</a></div>
</div>
<h3  class="related_post_title">Other posts related to this topic</h3><ul class="related_post"><li><a href="http://ilovetovoip.com/2011/03/setup-snmp-on-an-asterisk-server/" title="Setup SNMP on an Asterisk server">Setup SNMP on an Asterisk server</a><br /><small>SNMP - Simple Network Monitoring Protocol, as it name suggests, is a protocol used to monitor various properties of network equipment. These properties are identified by something called OIDs (Object Identifiers) which are long numeric strings and id...</small></li><li><a href="http://ilovetovoip.com/2011/02/phone-reminders-how-it-makes-your-life-easier/" title="Phone Reminders – Make your life easier">Phone Reminders – Make your life easier</a><br /><small>
A phone reminder is a reminder which is sent to you over the phone. It amazingly makes various things in your life more manageable which otherwise would stay mismanaged because you simply forget about them. Life is busy for everyone in this age, an...</small></li><li><a href="http://ilovetovoip.com/2010/08/getting-started-with-ael/" title="Getting started with AEL">Getting started with AEL</a><br /><small>AEL stands for Asterisk Extensions Language. It is intended to make writing dialplans easier than the standard syntax used in extensions.conf. The standard syntax is not very user friendly, makes it difficult to write complex dialplans, and makes it ...</small></li><li><a href="http://ilovetovoip.com/2010/07/keep-track-of-number-of-calls-in-asterisk/" title="Keep track of number of active calls in Asterisk">Keep track of number of active calls in Asterisk</a><br /><small>How to keep track of the total number of calls in Asterisk? There is no predefined variable yet which keeps track of this very important piece of information, which is sometimes very critical to make certain decisions in a dialplan.

There are vari...</small></li><li><a href="http://ilovetovoip.com/2010/07/scaling-an-asterisk-installation/" title="Scaling an Asterisk installation">Scaling an Asterisk installation</a><br /><small>Scaling basically means that if the hardware in your system can't handle any more load, then the system should be able to take additional hardware and share extra load with it. In case of VoIP calls, if you server is capable of handling, lets say 300...</small></li><li><a href="http://ilovetovoip.com/2010/07/what-to-do-when-your-asterisk-is-hacked/" title="What to do when your asterisk is hacked">What to do when your asterisk is hacked</a><br /><small>




There are various types of malicious hacks on Linux systems. When dealing with Asterisk server, most common one is that of registering a SIP extension from a hacker's machine and use it to make expensive international calls. This is financi...</small></li><li><a href="http://ilovetovoip.com/2010/07/securing-asterisk-fail2ban/" title="Securing Asterisk &#8211; Fail2Ban">Securing Asterisk &#8211; Fail2Ban</a><br /><small>
  

Fail2Ban from www.fail2ban.org is a great tool to block unwanted IP addresses from accessing your server. It works along with iptables, and checks the log files for predefined patterns, and on finding a matching pattern blocks the IP address ...</small></li><li><a href="http://ilovetovoip.com/2010/07/sip-on-android/" title="SIP on Android / VoIP Client">SIP on Android / VoIP Client</a><br /><small>One of the first apps which I installed on my Milestone/Droid was sipdroid. This app is a softphone and very easy and straight forward to use. To my surprise the voice quality on it was just fine, though it uses ulaw, which consumes the most bandwidt...</small></li><li><a href="http://ilovetovoip.com/2010/07/monitoring-asterisk-using-astassisstant/" title="Monitoring Asterisk using AstAssisstant">Monitoring Asterisk using AstAssisstant</a><br /><small>By the time of this posting (June 2010 ) there is still a great need for a good open source monitoring solution for Asterisk. Somebody had written Flash OP many years ago but it never evolved beyong a certain point, leaving it very ugly looking and v...</small></li><li><a href="http://ilovetovoip.com/2010/06/how-to-setup-a-voip-server/" title="How to setup a VoIP Server">How to setup a VoIP Server</a><br /><small>




I got introduced with VoIP in late 2004. It was one of my very good friends, who ran a successful telecom company called Telcan (www.telcan.net), now called Callture (www.callture.com) who told me that there was a software called Asterisk w...</small></li></ul>]]></content:encoded>
			<wfw:commentRss>http://ilovetovoip.com/2011/03/proxmox-and-two-subnets-on-the-same-network-interface-properly-routed/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Setup SNMP on an Asterisk server</title>
		<link>http://ilovetovoip.com/2011/03/setup-snmp-on-an-asterisk-server/</link>
		<comments>http://ilovetovoip.com/2011/03/setup-snmp-on-an-asterisk-server/#comments</comments>
		<pubDate>Tue, 01 Mar 2011 18:31:28 +0000</pubDate>
		<dc:creator>Zeeshan A Zakaria</dc:creator>
				<category><![CDATA[Asterisk]]></category>
		<category><![CDATA[Configuration]]></category>
		<category><![CDATA[Monitoring]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[mrtg]]></category>
		<category><![CDATA[snmp]]></category>

		<guid isPermaLink="false">http://ilovetovoip.com/?p=767</guid>
		<description><![CDATA[SNMP - Simple Network Monitoring Protocol, as it name suggests, is a protocol used to monitor various properties of network equipment. These properties are identified by something called OIDs (Object Identifiers) which are long numeric strings and identify various things, like hardware version, time on the device, data flow rate, and tons of other stuff.O OIDs and grouped in what is called a MIB (Management Information [...]]]></description>
			<content:encoded><![CDATA[<p>Today I happened to troubleshoot a server in a remote part of the world, which I had shipped with SNMP and MRTG installed. It was a very wise decision to do this at that time, as it made an important troubleshooting very simple, which otherwise could have wasted days and still yielded no results.</p>
<p>While going over my notes in this regard, I thought to put this information here as well if it could help someone else who is looking to do a similar setup. But you should know that setting up SNMP can be tricky and the following might not work for you.</p>
<p>SNMP &#8211; Simple Network Monitoring Protocol, as it name suggests, is a protocol used to monitor various properties of network equipment. These properties are identified by something called OIDs (Object Identifiers) which are long numeric strings and identify various things, like hardware version, time on the device, data flow rate, and tons of other stuff. OIDs and grouped in what is called a MIB (Management Information Base). Asterisk has a list of its own OIDs which provide various pieces of information over the SNMP when requested by a software or hardware which is interested in that information. More on SNMP you can read on the Internet.</p>
<p>The following assumes that you do have SNMP module installed with your asterisk installation. You select this when running the <strong>#make menuselect</strong> just before the installation of asterisk. See my blog on asterisk installation for more details.</p>
<h2><strong>SNMP </strong>Setup</h2>
<p><strong> </strong>Following are the steps which I used on this CentOS 5.3/Asterisk 1.4 machine to setup SNMP:</p>
<pre class="brush:bash">yum install net-snmp-util</pre>
<p>Created <strong>/etc/snmp/snmpd.conf</strong> with the following:</p>
<pre>rocommunity <strong><span style="color: #ff0000;">public</span></strong>
master agentx
agentXSocket /var/agentx/master
agentXPerms 0660 0550 nobody <strong><span style="color: #ff0000;">asterisk
</span></strong>com2sec local localhost public
com2sec mynetwork0 <strong><span style="color: #ff0000;">192.168.1.0 public</span></strong>
com2sec MyROGroup any local
com2sec MyROGroup any mynetwork0
view all included . 1
access MyROGroup "" any noauth 0 all none none</pre>
<p>Going into the detail of what all these lines mean is not the goal here, but the words in bold red are the ones which will be specific to your own network. The word &#8216;public&#8217; is like a password, and almost all SNMP devices come preconfigured with this password. The user is &#8216;asterisk&#8217;, in your setup it might be &#8216;root&#8217; or some other user.</p>
<h2>Asterisk SNMP Config</h2>
<p>Now add the following in <strong>/etc/asterisk/res_snmp.conf</strong>. If the file doesn&#8217;t exist, create one:</p>
<pre class="brush:bash">[general]
subagent = yes
enabled = yes</pre>
<p>And now copy the Asterisk related MIB to the SNMP folder:</p>
<pre class="brush:bash">cp /usr/share/doc/asterisk-1.4.22/digium-mib.txt /usr/share/snmp/mibs
cp /usr/share/doc/asterisk-1.4.22/asterisk-mib.txt /usr/share/snmp/mibs</pre>
<p>It is possible that these files don&#8217;t exist on your system, in which case you&#8217;ll have to get them from the Internet.</p>
<p>Next do the following:</p>
<pre class="brush:bash">export MIBS=+ASTERISK-MIB
chmod 755 /var/agentx</pre>
<h2>Done</h2>
<p>This is all. Now restart asterisk, add snmpd and snmptrapd in chkconfig and start these services as daemons:</p>
<pre class="brush:bash">chkconfig snmpd on
chkconfig snmptrapd on
service snmpd start
service snmptrapd start</pre>
<h2><span style="font-family: Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif; font-size: 13px; line-height: 19px; white-space: normal;">Testing it</span></h2>
<p><span style="font-family: Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif; font-size: 13px; line-height: 19px; white-space: normal;">In order to test if SNMP is properly installed, do the following:</span></p>
<pre class="brush:bash">snmpwalk -On -c public -v 2c localhost asterisk</pre>
<p>and it&#8217;ll give you a list of the asterisk related MIBS</p>
<h2>What&#8217;s Next?</h2>
<p>Now that you have the SNMP setup and working, how do you see it? For this we shall use MRTG, about which I shall write in a separate blog soon.</p>
<div class='wp_likes' id='wp_likes_post-767'><a class='like' href="javascript:wp_likes.like(767);" title='' ><img src="http://ilovetovoip.com/wp-content/plugins/wp-likes/images/like.png" alt='' border='0'/>Like</a><span class='text'></span>
<div class='unlike'><a href="javascript:wp_likes.unlike(767);">Unlike</a></div>
</div>
<h3  class="related_post_title">Other posts related to this topic</h3><ul class="related_post"><li><a href="http://ilovetovoip.com/2011/03/proxmox-and-two-subnets-on-the-same-network-interface-properly-routed/" title="Proxmox and Two Subnets on the Same Network Interface, Properly Routed">Proxmox and Two Subnets on the Same Network Interface, Properly Routed</a><br /><small>This was a little bit tricky, but thanks to the power of the freely available (though hard to find sometimes) knowledge on the Internet, and Google's searches, I just finished this task and thought to write a blog about it. Though the following is fo...</small></li><li><a href="http://ilovetovoip.com/2011/02/phone-reminders-how-it-makes-your-life-easier/" title="Phone Reminders – Make your life easier">Phone Reminders – Make your life easier</a><br /><small>
A phone reminder is a reminder which is sent to you over the phone. It amazingly makes various things in your life more manageable which otherwise would stay mismanaged because you simply forget about them. Life is busy for everyone in this age, an...</small></li><li><a href="http://ilovetovoip.com/2010/08/getting-started-with-ael/" title="Getting started with AEL">Getting started with AEL</a><br /><small>AEL stands for Asterisk Extensions Language. It is intended to make writing dialplans easier than the standard syntax used in extensions.conf. The standard syntax is not very user friendly, makes it difficult to write complex dialplans, and makes it ...</small></li><li><a href="http://ilovetovoip.com/2010/07/keep-track-of-number-of-calls-in-asterisk/" title="Keep track of number of active calls in Asterisk">Keep track of number of active calls in Asterisk</a><br /><small>How to keep track of the total number of calls in Asterisk? There is no predefined variable yet which keeps track of this very important piece of information, which is sometimes very critical to make certain decisions in a dialplan.

There are vari...</small></li><li><a href="http://ilovetovoip.com/2010/07/scaling-an-asterisk-installation/" title="Scaling an Asterisk installation">Scaling an Asterisk installation</a><br /><small>Scaling basically means that if the hardware in your system can't handle any more load, then the system should be able to take additional hardware and share extra load with it. In case of VoIP calls, if you server is capable of handling, lets say 300...</small></li><li><a href="http://ilovetovoip.com/2010/07/what-to-do-when-your-asterisk-is-hacked/" title="What to do when your asterisk is hacked">What to do when your asterisk is hacked</a><br /><small>




There are various types of malicious hacks on Linux systems. When dealing with Asterisk server, most common one is that of registering a SIP extension from a hacker's machine and use it to make expensive international calls. This is financi...</small></li><li><a href="http://ilovetovoip.com/2010/07/securing-asterisk-fail2ban/" title="Securing Asterisk &#8211; Fail2Ban">Securing Asterisk &#8211; Fail2Ban</a><br /><small>
  

Fail2Ban from www.fail2ban.org is a great tool to block unwanted IP addresses from accessing your server. It works along with iptables, and checks the log files for predefined patterns, and on finding a matching pattern blocks the IP address ...</small></li><li><a href="http://ilovetovoip.com/2010/07/sip-on-android/" title="SIP on Android / VoIP Client">SIP on Android / VoIP Client</a><br /><small>One of the first apps which I installed on my Milestone/Droid was sipdroid. This app is a softphone and very easy and straight forward to use. To my surprise the voice quality on it was just fine, though it uses ulaw, which consumes the most bandwidt...</small></li><li><a href="http://ilovetovoip.com/2010/07/monitoring-asterisk-using-astassisstant/" title="Monitoring Asterisk using AstAssisstant">Monitoring Asterisk using AstAssisstant</a><br /><small>By the time of this posting (June 2010 ) there is still a great need for a good open source monitoring solution for Asterisk. Somebody had written Flash OP many years ago but it never evolved beyong a certain point, leaving it very ugly looking and v...</small></li><li><a href="http://ilovetovoip.com/2010/06/how-to-setup-a-voip-server/" title="How to setup a VoIP Server">How to setup a VoIP Server</a><br /><small>




I got introduced with VoIP in late 2004. It was one of my very good friends, who ran a successful telecom company called Telcan (www.telcan.net), now called Callture (www.callture.com) who told me that there was a software called Asterisk w...</small></li></ul>]]></content:encoded>
			<wfw:commentRss>http://ilovetovoip.com/2011/03/setup-snmp-on-an-asterisk-server/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>How to extract one particular call from the huge call log file</title>
		<link>http://ilovetovoip.com/2011/02/how-to-extract-one-particular-call-from-the-huge-call-log-file/</link>
		<comments>http://ilovetovoip.com/2011/02/how-to-extract-one-particular-call-from-the-huge-call-log-file/#comments</comments>
		<pubDate>Thu, 24 Feb 2011 17:54:34 +0000</pubDate>
		<dc:creator>Zeeshan A Zakaria</dc:creator>
				<category><![CDATA[Asterisk]]></category>
		<category><![CDATA[Dialplan]]></category>

		<guid isPermaLink="false">http://ilovetovoip.com/?p=761</guid>
		<description><![CDATA[<p>If you have a busy system, the activity output on the Asterisk CLI screen is totally useless. It scrolls so fast with so much information that you really can&#8217;t make sense of anything you see on the screen, and there is no way to limit this information to only to certain important commands and outputs which you really care about for your system. So then how to troubleshoot a call on such a system.</p>
<p>By default Asterisk stores call activity log in folder /var/log/asterisk either in file named messages or file named full. As the name suggests, the full file has more detailed record, and this is what we shall consider for the purpose of this blog.</p>
<p>This file can be hundred of mega byte in size based on how busy your system is. In order to analyze the contents of this file for a particular call, first of all what you need to do is to find the session id for that call. If you carefully note on the What you need to do for troubleshooting purposes is to extract a single call from it in a separate file and and then analyze it.</p>
<p>Consider the following example. Today a client of mine called regarding some issue calling a particular number. We shall assume the number was 7055623000. Now for my particular dial plan, which is very complex, but because I have personally hand coded it all from scratch, I know every line of it. So I would know where a particular call starts and how the dial plan flows. But even if I won&#8217;t, I would ask the client for:</p>

The number the client was having trouble with
The time when the client was having this trouble.

<p>When you have the number, i.e. 7055623000 in this case and you know the time of problem was around 11:40, open the log file in a text editor or viewer and search for this number. In my dialplan it would look something like following:</p>
[2011-02-24 11:40:15] VERBOSE[13102] logger.c:     -- Executing [7055623000@outbound:1] SetGlobalVar("SIP/200.10-b6b41328", "CALL_DIRECTION=OUT") in new stack
[2011-02-24 11:40:15] VERBOSE[13102] logger.c:     -- Executing [7055623000@outbound:2] Set("SIP/200.10-b6b41328", "userid="10"") in new stack
[2011-02-24 11:40:15] VERBOSE[13102] logger.c:     -- Executing [7055623000@outbound:3] NoOp("SIP/200.10-b6b41328", " - - - Incoming CID is 0 - - - ") in new stack
[2011-02-24 11:40:15] VERBOSE[13102] logger.c:     -- Executing [7055623000@outbound:4] GotoIf("SIP/200.10-b6b41328", "1?5:7") in new stack
[2011-02-24 11:40:15] VERBOSE[13102] logger.c:     -- Executing [7055623000@outbound:5] Verbose("SIP/200.10-b6b41328", " - - - Changing caller id for outbound call - - - ") in new stack
[2011-02-24 11:40:15] VERBOSE[13102] logger.c:     -- Executing [7055623000@outbound:6] Macro("SIP/200.10-b6b41328", "set_callerid&#124;200") in new stack
[2011-02-24 11:40:15] VERBOSE[13102] logger.c:     -- Executing [s@macro-set_callerid:1] Set("SIP/200.10-b6b41328", "ext=200") in new stack
[2011-02-24 11:40:15] VERBOSE[13102] logger.c:     -- Executing [s@macro-set_callerid:2] NoOp("SIP/200.10-b6b41328", "_______________________________________________________________________________________________") in new stack
[2011-02-24 11:40:15] VERBOSE[13102] logger.c:     -- Executing [s@macro-set_callerid:3] NoOp("SIP/200.10-b6b41328", "                               S E T   C A L L E R I D   A N D   N A M E   [...]]]></description>
			<content:encoded><![CDATA[<p>If you have a busy system, the activity output on the Asterisk CLI screen is totally useless. It scrolls so fast with so much information that you really can&#8217;t make sense of anything you see on the screen, and there is no way to limit this information to only to certain important commands and outputs which you really care about for your system. So then how to troubleshoot a call on such a system.</p>
<p>By default Asterisk stores call activity log in folder <strong>/var/log/asterisk</strong> either in file named <strong>messages</strong> or file named <strong>full</strong>. As the name suggests, the <strong>full</strong> file has more detailed record, and this is what we shall consider for the purpose of this blog.</p>
<p>This file can be hundred of mega byte in size based on how busy your system is. In order to analyze the contents of this file for a particular call, first of all what you need to do is to find the session id for that call. If you carefully note on the What you need to do for troubleshooting purposes is to extract a single call from it in a separate file and and then analyze it.</p>
<p>Consider the following example. Today a client of mine called regarding some issue calling a particular number. We shall assume the number was 7055623000. Now for my particular dial plan, which is very complex, but because I have personally hand coded it all from scratch, I know every line of it. So I would know where a particular call starts and how the dial plan flows. But even if I won&#8217;t, I would ask the client for:</p>
<ol>
<li>The number the client was having trouble with</li>
<li>The time when the client was having this trouble.</li>
</ol>
<p>When you have the number, i.e. 7055623000 in this case and you know the time of problem was around 11:40, open the log file in a text editor or viewer and search for this number. In my dialplan it would look something like following:</p>
<pre class="brush: bash">[2011-02-24 <span style="color: #ff0000;"><strong>11:40</strong></span>:15] VERBOSE[13102] logger.c:     -- Executing [<span style="color: #ff0000;"><strong>7055623000</strong></span>@outbound:1] SetGlobalVar("SIP/200.10-<span style="color: #ff0000;"><strong>b6b41328</strong></span>", "CALL_DIRECTION=OUT") in new stack
[2011-02-24 11:40:15] VERBOSE[13102] logger.c:     -- Executing [7055623000@outbound:2] Set("SIP/200.10-b6b41328", "userid="10"") in new stack
[2011-02-24 11:40:15] VERBOSE[13102] logger.c:     -- Executing [7055623000@outbound:3] NoOp("SIP/200.10-b6b41328", " - - - Incoming CID is 0 - - - ") in new stack
[2011-02-24 11:40:15] VERBOSE[13102] logger.c:     -- Executing [7055623000@outbound:4] GotoIf("SIP/200.10-b6b41328", "1?5:7") in new stack
[2011-02-24 11:40:15] VERBOSE[13102] logger.c:     -- Executing [7055623000@outbound:5] Verbose("SIP/200.10-b6b41328", " - - - Changing caller id for outbound call - - - ") in new stack
[2011-02-24 11:40:15] VERBOSE[13102] logger.c:     -- Executing [7055623000@outbound:6] Macro("SIP/200.10-b6b41328", "set_callerid|200") in new stack
[2011-02-24 11:40:15] VERBOSE[13102] logger.c:     -- Executing [s@macro-set_callerid:1] Set("SIP/200.10-b6b41328", "ext=200") in new stack
[2011-02-24 11:40:15] VERBOSE[13102] logger.c:     -- Executing [s@macro-set_callerid:2] NoOp("SIP/200.10-b6b41328", "_______________________________________________________________________________________________") in new stack
[2011-02-24 11:40:15] VERBOSE[13102] logger.c:     -- Executing [s@macro-set_callerid:3] NoOp("SIP/200.10-b6b41328", "                               S E T   C A L L E R I D   A N D   N A M E                       ") in new stack
[2011-02-24 11:40:15] VERBOSE[13102] logger.c:     -- Executing [s@macro-set_callerid:4] NoOp("SIP/200.10-b6b41328", "_________________________________________________________________________________________</pre>
<p>You can see that there was only one call made to this number at 11:40. Next see the session id of this particular call, which is b6b41328. Each and every call has a unique session id, and this is using which you&#8217;ll extract this one call from the big log file. Do it as follows:</p>
<pre class="brush: bash">cat /var/log/asterisk/full | grep 'b6b41328' &gt; temp</pre>
<p>This will extract all the call activity against the given session id in a file named <strong>temp</strong>.</p>
<p>Now you simply open the <strong>temp</strong> file, which is small in size, meaning reading it is not that difficult, and go over it line by line to see where the problem is.</p>
<p>It can take you just under a minute to figure out the problem or many hours, depending upon how familiar you are with the dial plan you are dealing with. Or if it is a syntax related issue, then how good you are with the version of asterisk itself you are using. But at least of you have isolated the part of the big log file where the problem resides.</p>
<h3  class="related_post_title">Other posts related to this topic</h3><ul class="related_post"><li>No Related Post</li></ul>]]></content:encoded>
			<wfw:commentRss>http://ilovetovoip.com/2011/02/how-to-extract-one-particular-call-from-the-huge-call-log-file/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MySQL Table Repair</title>
		<link>http://ilovetovoip.com/2011/02/mysql-table-repair/</link>
		<comments>http://ilovetovoip.com/2011/02/mysql-table-repair/#comments</comments>
		<pubDate>Thu, 17 Feb 2011 07:25:57 +0000</pubDate>
		<dc:creator>Zeeshan A Zakaria</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://ilovetovoip.com/?p=759</guid>
		<description><![CDATA[<p>Few days ago I got this nasty error from MySQL for one of my Piwik&#8217;s tables:</p>
SQLSTATE[HY000]: General error: 145 Table './piwik/log_link_visit_action' is marked as crashed and should be repaired
<p>It was the first time that I dealt with this type of situation, and thought mention the fixing procedure here for those facing similar issue.</p>
<p>Basically any corrupted MySQL table can be fixed using this procedure.</p>
<p>One cause of this  error is the disk hitting 100%, so use df and du -sk / to try and figure out  where your clogs are.</p>
<p>Now using the mysql&#62; prompt  and run the following:</p>
check table &#60;table_name&#62;;
<p>This will show you the error message.</p>
<p>Now go back to the Linux command prompt and issue the following command:</p>
myisamchk -r /var/lib/mysql/&#60;database_name&#62;/&#60;table_name&#62;.MYI
<p>This will, in most cases, will fix the corrupted table, and you&#8217;ll be back on the track.</p>
Like
Unlike

Other posts related to this topicNo Related Post]]></description>
			<content:encoded><![CDATA[<p>Few days ago I got this nasty error from MySQL for one of my Piwik&#8217;s tables:</p>
<pre>SQLSTATE[HY000]: General error: 145 Table './piwik/log_link_visit_action' is marked as crashed and should be repaired</pre>
<p>It was the first time that I dealt with this type of situation, and thought mention the fixing procedure here for those facing similar issue.</p>
<p>Basically any corrupted MySQL table can be fixed using this procedure.</p>
<p>One cause of this  error is the disk hitting 100%, so use df and du -sk / to try and figure out  where your clogs are.</p>
<p>Now using the mysql&gt; prompt  and run the following:</p>
<pre>check table &lt;table_name&gt;;</pre>
<p>This will show you the error message.</p>
<p>Now go back to the Linux command prompt and issue the following command:</p>
<pre>myisamchk -r /var/lib/mysql/&lt;database_name&gt;/&lt;table_name&gt;.MYI</pre>
<p>This will, in most cases, will fix the corrupted table, and you&#8217;ll be back on the track.</p>
<div class='wp_likes' id='wp_likes_post-759'><a class='like' href="javascript:wp_likes.like(759);" title='' ><img src="http://ilovetovoip.com/wp-content/plugins/wp-likes/images/like.png" alt='' border='0'/>Like</a><span class='text'></span>
<div class='unlike'><a href="javascript:wp_likes.unlike(759);">Unlike</a></div>
</div>
<h3  class="related_post_title">Other posts related to this topic</h3><ul class="related_post"><li>No Related Post</li></ul>]]></content:encoded>
			<wfw:commentRss>http://ilovetovoip.com/2011/02/mysql-table-repair/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Phone Reminders – Make your life easier</title>
		<link>http://ilovetovoip.com/2011/02/phone-reminders-how-it-makes-your-life-easier/</link>
		<comments>http://ilovetovoip.com/2011/02/phone-reminders-how-it-makes-your-life-easier/#comments</comments>
		<pubDate>Wed, 09 Feb 2011 02:24:46 +0000</pubDate>
		<dc:creator>Zeeshan A Zakaria</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Asterisk]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[reminder]]></category>
		<category><![CDATA[service]]></category>
		<category><![CDATA[voip]]></category>

		<guid isPermaLink="false">http://ilovetovoip.com/?p=725</guid>
		<description><![CDATA[<p style="text-align: left;"></p>
<p style="text-align: left;">A phone reminder is a reminder which is sent to you over the phone. It amazingly makes various things in your life more manageable which otherwise would stay mismanaged because you simply forget about them. Life is busy for everyone in this age, and with so much going on, it is very easy to forget many important tasks and chores.</p>
<p>VisionVoIP is one of the very few providers of this wonderful service, through a very simple, easy to use and user friendly interface. I use it on daily bases, and am kind of addicted to it. I have setup various monthly, daily and weekly reminders on it which I receive via phone, email and text messages. Anything which I consider important, I immediately make a reminder of it at VisionVoIP. It is kind of my personal assistant which keeps track of my schedule.</p>
<p>This service from VisionVoIP is not very well known yet, and it&#8217;ll take time until it gets recognized, unless Angelia Jolie or Megan Fox start using it, and make it famous more quickly.</p>
<p>Here I shall describe how their wonderful service works.</p>
Sign Up
<p>First of all you sign up, as you would for any service. It is pretty simple, quick and painless process. You click on the &#8216;Register&#8217; link on top right corner of the page, it&#8217;d pop up a dialog box and ask for your email address and timezone. Time zone is important, otherwise your reminders will not be sync with your real time.</p>



VisionVoIP Telephony Services &#8211; Registration


Registering your phone numbers
<p>For security purposes, by default this service doesn&#8217;t allow to receive reminders on any number. Otherwise a spammer can type in your number and spam you with unwanted messages. There can be other misleading calls generated to people not sign up to receive these calls. So it is important that you register the numbers where you want to receive your reminder calls.</p>
<p>Its a simple two step process which you do in your &#8216;Profile&#8217;, by clicking on the Profile link on top right of the screen. This will pop-up your profile information. Here click on the link [Add a new number]. Now the screen will look like following:</p>



VisionVoIP&#8217;s Phone Reminder service &#8211; Phone registration dialog


<p>As you can see here, at the very bottom it gives you a field to enter your phone number and click on the &#8216;Get Validation Code&#8217; button. How it works is that you enter a valid 10 digit North American number in this field, and click on this button. In a few seconds you receive a call on this number, and it tells you a 4 digit validation code, something like 1348. In the meanwhile on this screen, your number is appeared in front on the Phone Numbers title, with a field to enter your validation code, and click Register. See the screen shot below:</p>



VisionVoIP&#8217;s Phone Reminder service &#8211; Dialog box for registering a phone number


<p>Once registration is successful, the number will be added to the registered phone numbers list.</p>
<p>If for any reason [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: left;"><a href="http://ilovetovoip.com/VO"><img class="size-full wp-image-727 aligncenter" title="wptitleS" src="http://ilovetovoip.com/VO" alt="" width="574" height="230" /></a></p>
<p style="text-align: left;">A phone reminder is a reminder which is sent to you over the phone. It amazingly makes various things in your life more manageable which otherwise would stay mismanaged because you simply forget about them. Life is busy for everyone in this age, and with so much going on, it is very easy to forget many important tasks and chores.</p>
<p>VisionVoIP is one of the very few providers of this wonderful service, through a very simple, easy to use and user friendly interface. I use it on daily bases, and am kind of addicted to it. I have setup various monthly, daily and weekly reminders on it which I receive via phone, email and text messages. Anything which I consider important, I immediately make a reminder of it at VisionVoIP. It is kind of my personal assistant which keeps track of my schedule.</p>
<p>This service from VisionVoIP is not very well known yet, and it&#8217;ll take time until it gets recognized, unless Angelia Jolie or Megan Fox start using it, and make it famous more quickly.</p>
<p>Here I shall describe how their wonderful service works.</p>
<h2>Sign Up</h2>
<p>First of all you sign up, as you would for any service. It is pretty simple, quick and painless process. You click on the &#8216;Register&#8217; link on top right corner of the page, it&#8217;d pop up a dialog box and ask for your email address and timezone. Time zone is important, otherwise your reminders will not be sync with your real time.</p>
<div class="mceIEcenter">
<dl id="attachment_751" class="wp-caption  aligncenter" style="width: 325px;">
<dt class="wp-caption-dt"><a href="http://ilovetovoip.com/2C"><img class="size-full wp-image-751" title="VisionVoIP Telephony Services - Registration" src="http://ilovetovoip.com/2C" alt="VisionVoIP Telephony Services - Registration" width="315" height="272" /></a></dt>
<dd class="wp-caption-dd">VisionVoIP Telephony Services &#8211; Registration</dd>
</dl>
</div>
<h2>Registering your phone numbers</h2>
<p>For security purposes, by default this service doesn&#8217;t allow to receive reminders on any number. Otherwise a spammer can type in your number and spam you with unwanted messages. There can be other misleading calls generated to people not sign up to receive these calls. So it is important that you register the numbers where you want to receive your reminder calls.</p>
<p>Its a simple two step process which you do in your &#8216;Profile&#8217;, by clicking on the <strong>Profile</strong> link on top right of the screen. This will pop-up your profile information. Here click on the link [Add a new number]. Now the screen will look like following:</p>
<div class="mceIEcenter">
<dl id="attachment_732" class="wp-caption  aligncenter" style="width: 501px;">
<dt class="wp-caption-dt"><a href="http://ilovetovoip.com/qK"><img class="size-full wp-image-732" title="VisionVoIP's Phone Reminder service - Phone registration dialog" src="http://ilovetovoip.com/qK" alt="VisionVoIP's Phone Reminder service - Phone registration dialog" width="491" height="382" /></a></dt>
<dd class="wp-caption-dd">VisionVoIP&#8217;s Phone Reminder service &#8211; Phone registration dialog</dd>
</dl>
</div>
<p>As you can see here, at the very bottom it gives you a field to enter your phone number and click on the &#8216;Get Validation Code&#8217; button. How it works is that you enter a valid 10 digit North American number in this field, and click on this button. In a few seconds you receive a call on this number, and it tells you a 4 digit validation code, something like 1348. In the meanwhile on this screen, your number is appeared in front on the <strong>Phone Numbers</strong> title, with a field to enter your validation code, and click <em>Register</em>. See the screen shot below:</p>
<div class="mceIEcenter">
<dl id="attachment_735" class="wp-caption  aligncenter" style="width: 508px;">
<dt class="wp-caption-dt"><a href="http://ilovetovoip.com/yk"><img class="size-full wp-image-735" title="VisionVoIP's Phone Reminder service - Dialog box for registering a phone number" src="http://ilovetovoip.com/yk" alt="VisionVoIP's Phone Reminder service - Dialog box for registering a phone number" width="498" height="390" /></a></dt>
<dd class="wp-caption-dd">VisionVoIP&#8217;s Phone Reminder service &#8211; Dialog box for registering a phone number</dd>
</dl>
</div>
<p>Once registration is successful, the number will be added to the registered phone numbers list.</p>
<p>If for any reason you don&#8217;t receive the call to get the validation code, e.g. you are trying to receive call on a cell phone and the signal is not good, you can click on the <em>Call </em>button and a get the call once again.</p>
<h2>Setting up reminders</h2>
<p>Sample reminder screen shot:</p>
<div class="mceIEcenter">
<dl id="attachment_743" class="wp-caption  aligncenter" style="width: 584px;">
<dt class="wp-caption-dt"><a href="http://ilovetovoip.com/In"><img class="size-full wp-image-743" title="VisionVoIP's Phone Reminder Service - Sample Reminders Screenshot" src="http://ilovetovoip.com/In" alt="VisionVoIP's Phone Reminder Service - Sample Reminders Screenshot" width="574" height="66" /></a></dt>
<dd class="wp-caption-dd">VisionVoIP&#8217;s Phone Reminder Service &#8211; Sample Reminders Screenshot</dd>
</dl>
</div>
<p>Once you have at least one number registered, you can start setting up reminders. For this go to the Phone Reminders section by clicking on the <em>Phone Reminders</em> link top of the screen.</p>
<p>The Phone Reminders section has a few simple and straight forward fields to setup a reminder. Each field is accompanied by a <em>help</em> icon hovering on which will display you details about that particular field. Refer to the following screen shot.</p>
<p style="text-align: center;"><a href="http://ilovetovoip.com/3T"><img class="size-full wp-image-730 aligncenter" title="wp01S" src="http://ilovetovoip.com/3T" alt="" width="574" height="127" /></a></p>
<ol>
<li>As you can see, it has <strong>Date and Time</strong> field which when you click, a pop-up appears to select year, month, day, hour and minute.</li>
<li>Next is <strong>Reminder Type</strong>. There are different types of reminders you can setup here. Most commonly you&#8217;d use <em>Text-to-voice</em>, which is you type in a text message, and it&#8217;ll be played to you in a computerized voice. But if you prefer to have a reminder in your own voice, you can select <em>Your own voice</em> option. In you already have your recorded voices, you can pick one from <em>Pre-recorded voice</em> option. Although the service is called phone reminder, but it also gives you option to use <em>Email</em> and <em>Text/SMS</em> way of receiving the reminders if you prefer that.</li>
<li>So moving on, assuming that you decided to stay with Text-to-voice message, you go to the <strong>Reminder Message</strong> field and type in a message in plain English.</li>
<li>Now you have to pickup a number in <strong>Receive At</strong> field where you will receive the phone calls. On a new sign up, you won&#8217;t see any phone number listed here, except an extension 200. We shall discuss is a separate post what is this extension 200. You need to add your phone numbers in your Profile, which is described above.If you want to test your reminder message instantly, to hear how it&#8217;d sound, there is the &#8216;<em>Test</em>&#8216; button right in front of this field. Clicking on this button will generate a call to your phone, where you&#8217;ll listen to your message. Note that standard calling charges will still apply and deducted from your account.</li>
<li>Next, there is an optional field <strong>Connect to</strong>. This is a wonderful option. Lets say you want to remind yourself of calling somebody, e.g. calling your real estate agent at 10 AM in the morning. So first you setup a reminder message for 10 AM, something like &#8216;call mike&#8217;, and then in the <strong>Connect to</strong> field type in his phone number. Now the reminder call will play you text &#8216;call mike&#8217; and then give option to connect to his number. This simply makes calling Mike much easier in one go.</li>
<li>Once the reminder is all set, you can also setup a <strong>Repeat </strong>on it. It is useful for the reminders which you need to be repeated to you. For example, taking a medicine every night at 10 PM for two weeks. So you setup a reminder for 10 PM, and setup the <strong>Repeat </strong>option to <em>Daily</em> and <strong>Frequency</strong> to <em>14</em>. The <strong>Frequency</strong> option appears once you setup a <strong>Repeat</strong> option, which could be <em>Hourly</em>, <em>Daily</em>, <em>Weekly</em> or <em>Monthly</em>.</li>
<li>When you are done, simply click the &#8216;Add this reminder to the list&#8217; button, and the reminder will be added to the list.</li>
</ol>
<h2>Modifying a reminder already in the list</h2>
<p>Now that you have added a reminder, and want to modify it, .e.g change the date or time, or the message itself, etc. VisionVoIP has made it simpler than you can imagine. You can just click your mouse where you want to make a change, and change it right there. After making a change, click your mouse somewhere else on the screen, and your change will be updated. You&#8217;ll see the changed field flashing in blue, to tell you that the change you made is accepted.</p>
<h2>Deleting a reminder message</h2>
<p>Deleting a reminder is just a matter of clicking on the <em>dustbin </em>icon left of the reminder.</p>
<p>The reminders which are already executed, are marked with a strike through line, colored gray and are not modifiable. They are not deleted unless you actually delete them manually. This is so that you have a recent history of reminders in case you want to refer to them.</p>
<div class='wp_likes' id='wp_likes_post-725'><a class='like' href="javascript:wp_likes.like(725);" title='' ><img src="http://ilovetovoip.com/wp-content/plugins/wp-likes/images/like.png" alt='' border='0'/>Like</a><span class='text'></span>
<div class='unlike'><a href="javascript:wp_likes.unlike(725);">Unlike</a></div>
</div>
<h3  class="related_post_title">Other posts related to this topic</h3><ul class="related_post"><li><a href="http://ilovetovoip.com/2010/07/what-to-do-when-your-asterisk-is-hacked/" title="What to do when your asterisk is hacked">What to do when your asterisk is hacked</a><br /><small>




There are various types of malicious hacks on Linux systems. When dealing with Asterisk server, most common one is that of registering a SIP extension from a hacker's machine and use it to make expensive international calls. This is financi...</small></li><li><a href="http://ilovetovoip.com/2010/06/how-to-setup-a-voip-server/" title="How to setup a VoIP Server">How to setup a VoIP Server</a><br /><small>




I got introduced with VoIP in late 2004. It was one of my very good friends, who ran a successful telecom company called Telcan (www.telcan.net), now called Callture (www.callture.com) who told me that there was a software called Asterisk w...</small></li><li><a href="http://ilovetovoip.com/2010/06/using-iptables-to-secure-a-linux-based-asterisk-installation-against-hack-attempts/" title="Using iptables to secure a Linux based Asterisk installation against hack attempts">Using iptables to secure a Linux based Asterisk installation against hack attempts</a><br /><small>
  

Security of a Asterisk based VoIP server is absolutely necessary when putting it into production. There is an unlimited number of hackers who are all the time looking for insecure Asterisk servers, and once they hack into one, they waste no time...</small></li><li><a href="http://ilovetovoip.com/2010/01/setup-dhcp-on-asterisk-server-to-assign-static-ip-addresses/" title="Setup DHCP on Asterisk Server to Assign Static IP Addresses">Setup DHCP on Asterisk Server to Assign Static IP Addresses</a><br /><small>Make sure your server's IP address belongs to the subnet defined in DHCP conf....</small></li><li><a href="http://ilovetovoip.com/2011/03/proxmox-and-two-subnets-on-the-same-network-interface-properly-routed/" title="Proxmox and Two Subnets on the Same Network Interface, Properly Routed">Proxmox and Two Subnets on the Same Network Interface, Properly Routed</a><br /><small>This was a little bit tricky, but thanks to the power of the freely available (though hard to find sometimes) knowledge on the Internet, and Google's searches, I just finished this task and thought to write a blog about it. Though the following is fo...</small></li><li><a href="http://ilovetovoip.com/2011/03/setup-snmp-on-an-asterisk-server/" title="Setup SNMP on an Asterisk server">Setup SNMP on an Asterisk server</a><br /><small>SNMP - Simple Network Monitoring Protocol, as it name suggests, is a protocol used to monitor various properties of network equipment. These properties are identified by something called OIDs (Object Identifiers) which are long numeric strings and id...</small></li><li><a href="http://ilovetovoip.com/2010/08/getting-started-with-ael/" title="Getting started with AEL">Getting started with AEL</a><br /><small>AEL stands for Asterisk Extensions Language. It is intended to make writing dialplans easier than the standard syntax used in extensions.conf. The standard syntax is not very user friendly, makes it difficult to write complex dialplans, and makes it ...</small></li><li><a href="http://ilovetovoip.com/2010/07/arp-address-resolution-protocol-and-arp-poisoning/" title="ARP (Address Resolution Protocol) and ARP Poisoning">ARP (Address Resolution Protocol) and ARP Poisoning</a><br /><small>ARP is a protocol which is used by the network devices, installed on the Ethernet networks, to find out each other's MAC addresses. If the network devices don't know each other's MAC addresses, they can't communicate with each other on an Ethernet ne...</small></li><li><a href="http://ilovetovoip.com/2010/07/bash-script-to-find-all-ips-and-their-associated-mac-addresses-on-a-network/" title="Bash Script to Find All IPs and their Associated MAC addresses on a Network">Bash Script to Find All IPs and their Associated MAC addresses on a Network</a><br /><small>One way to accomplish this is to go to each and every desk and see the MAC addresses under the phone, and check in the Windows Control Panel for the computer's network card. And the second way is to do it by pinging all the IP addresses on the networ...</small></li><li><a href="http://ilovetovoip.com/2010/07/keep-track-of-number-of-calls-in-asterisk/" title="Keep track of number of active calls in Asterisk">Keep track of number of active calls in Asterisk</a><br /><small>How to keep track of the total number of calls in Asterisk? There is no predefined variable yet which keeps track of this very important piece of information, which is sometimes very critical to make certain decisions in a dialplan.

There are vari...</small></li></ul>]]></content:encoded>
			<wfw:commentRss>http://ilovetovoip.com/2011/02/phone-reminders-how-it-makes-your-life-easier/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Probably a solution to &#8216;Low Disk Space&#8217; bug on Android phones</title>
		<link>http://ilovetovoip.com/2011/01/probably-a-solution-to-low-disk-space-bug-on-android-phones/</link>
		<comments>http://ilovetovoip.com/2011/01/probably-a-solution-to-low-disk-space-bug-on-android-phones/#comments</comments>
		<pubDate>Fri, 14 Jan 2011 15:45:21 +0000</pubDate>
		<dc:creator>Zeeshan A Zakaria</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[droid]]></category>

		<guid isPermaLink="false">http://ilovetovoip.com/?p=719</guid>
		<description><![CDATA[<p>I was having this trouble with myl Droid/Milestone smart phone from Telus, and the Telus client care was not able to fix it. When I searched the Internet I found out that it was a well known and common bug effecting a lot of Android users. What happens is that apparently because of no reason you start getting message on your device saying &#8220;Running out of disk storage space&#8221; whereas there is tons of space available both for system internal storage and for other purposes. Deleting apps and other stuff doesn&#8217;t help taking this message away.</p>
<p>The side effect of this bug is that some apps stop working. In my case the text messaging would stop working, i.e. i won&#8217;t be able to receive any text messages. Some HTC users have also noticed similar problem.</p>
<p>Official answer to solve this problem is very ridiculous and Microsoftic, i.e., as you might have already guessed, format your system. Apparently these answer providers have came from the Windows background and don&#8217;t know in the Linux world we don&#8217;t format our systems, we fix them. In fact in the Linux world very few people actually know at all how to format a system, because we simply never need to do this. And as a side note, we don&#8217;t even reboot our Linux systems. They are started once, and thats it. Rebooting is again a necessity introduced by Microsoft, due to their poorly designed Windows kernel.</p>
<p>Anyways, what I have found so far helpful, which worked for me, is to unmount the SD card and reboot the phone. in this case rebooting is required because there is no option in Android to mount the SD card again. Rebooting mounts it again and the error message is gone, and the text messaging starts to work.</p>
<p>To unmount it, go to Settings-&#62;SD card &#38; phone storage-&#62;Unmount SD card.</p>
<p>Those who really want to, and can afford to format the system, go to Setttings-&#62;Privacy-&#62;Factory data reset.</p>
Other posts related to this topicMotorola Milestone/Droid  Motorola Milestone/Droid 
(If you are looking for sip client on milestone/droid, I use sipdroid)

My requirements were simple: I needed all the goodness of Blackberry, iPhone and Linux in one device. I found answer in this wonderful smartphone -...]]></description>
			<content:encoded><![CDATA[<p><a href="http://ilovetovoip.com/HU"><img class="alignleft size-full wp-image-720" title="droid" src="http://ilovetovoip.com/HU" alt="" width="190" height="265" /></a>I was having this trouble with myl Droid/Milestone smart phone from Telus, and the Telus client care was not able to fix it. When I searched the Internet I found out that it was a well known and common bug effecting a lot of Android users. What happens is that apparently because of no reason you start getting message on your device saying &#8220;Running out of disk storage space&#8221; whereas there is tons of space available both for system internal storage and for other purposes. Deleting apps and other stuff doesn&#8217;t help taking this message away.</p>
<p>The side effect of this bug is that some apps stop working. In my case the text messaging would stop working, i.e. i won&#8217;t be able to receive any text messages. Some HTC users have also noticed similar problem.</p>
<p>Official answer to solve this problem is very ridiculous and Microsoftic, i.e., as you might have already guessed, format your system. Apparently these answer providers have came from the Windows background and don&#8217;t know in the Linux world we don&#8217;t format our systems, we fix them. In fact in the Linux world very few people actually know at all how to format a system, because we simply never need to do this. And as a side note, we don&#8217;t even reboot our Linux systems. They are started once, and thats it. Rebooting is again a necessity introduced by Microsoft, due to their poorly designed Windows kernel.</p>
<p>Anyways, what I have found so far helpful, which worked for me, is to unmount the SD card and reboot the phone. in this case rebooting is required because there is no option in Android to mount the SD card again. Rebooting mounts it again and the error message is gone, and the text messaging starts to work.</p>
<p>To unmount it, go to Settings-&gt;SD card &amp; phone storage-&gt;Unmount SD card.</p>
<p>Those who really want to, and can afford to format the system, go to Setttings-&gt;Privacy-&gt;Factory data reset.</p>
<h3  class="related_post_title">Other posts related to this topic</h3><ul class="related_post"><li><a href="http://ilovetovoip.com/2010/04/motorola-milestonedroid/" title="Motorola Milestone/Droid">Motorola Milestone/Droid</a><br /><small>  Motorola Milestone/Droid 
(If you are looking for sip client on milestone/droid, I use sipdroid)

My requirements were simple: I needed all the goodness of Blackberry, iPhone and Linux in one device. I found answer in this wonderful smartphone -...</small></li></ul>]]></content:encoded>
			<wfw:commentRss>http://ilovetovoip.com/2011/01/probably-a-solution-to-low-disk-space-bug-on-android-phones/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

