Currently Browsing: Linux

Basic asterisk setup

Am going to guide you how to install, configure,run and to make sip call to speak between two different users/computers . first download and install the windows based softphone called xlite from http://www.counterpath.com/ download and install the following package if it does not exist in your linux box. the asterisk installation will fail if any of the following packages does not exist in the machine. Packages: gcc cpp glibc-headers glibc-devel glibc-kernheaders gcc-c++ libstdc++-devel libtermcap-devel Hope you have all the packages mentioned above. lets start. go to the linux machine. create...
read more

Send email with attachment from linux command line using UUENCODE

After reading this you can able to send mails with attachments from linux command prompt Let’s start, Scenario 1: You need to send a email from the linux command prompt with the log file attached. The log file name is myprogram.log and located in /var/log/myprogram.log The log need to be send to someone@mycompany.com Make sure your linux box having the “uuencode” tool installed. Also you need a “Mail Transport Agent”. in this example am using “mail” (like mutt,mailx) Step 1: Am creating a file automail.sh Command: vi automail.sh Step 2: Am adding the following...
read more