Satya Prakash
reinstall, uninstall, upgrade : sangmoa wanpipe driver
Sangoma Wanpipe Driver Reinstall or Uninstall 1. Check the existing wanpipe version installed. a. # wanrouter version 2. Change the directory to source code of installed version or Downloaded directory.Generally it would be /usr/src. If you want to reinstall and yet not downloaded latest version, you can get it from ftp://ftp.sangoma.com/linux/current_wanpipe/ a. # cd /usr/src/wanpipe-* … Read more
Centos FTP command not found : Linux FTP install
FTP command not found # ftp 192.168.1.56 -bash: ftp: command not found # yum -y install ftp The above command will install the ftp client package on your CentOS server. If you use a proxy server for internet access,
File transfer in Linux : FTP in linux : Shell script to file trnsfer
This script use to transfer file from linux to ftp server. You can automate this file transfer by putting this file in cronjob also. #!/bin/sh HOST=’ftp.users.qwest.net’ USER=’yourid’ PASSWD=’yourpw’ FILE=’file.txt’ ftp -n $HOST <<END_SCRIPT quote USER $USER quote PASS $PASSWD put $FILE quit END_SCRIPT exit 0 Please note that : Using the -n option on the ftp client … Read more
Time synchronization Error , Vicidial ,Goautodial
Why This Error?? The major cause for the time sync error are 1.The vicidial based system is using MeetMe conference , These MeetMe Conference Bridge requires a timing resources like Dahdi or Zaptel. if they are not loaded poperly then time sync error occurs 2.wrong System timing . different timing in server and agent systems … Read more
Asterisk AMI API Action Orginate: Orginate Asterisk manager Action
Asterisk Manager API Action Originate Action: Originate Parameters: Channel: Channel on which to originate the call (The same as you specify in the Dial application command) Context: Context to use on connect (must use Exten & Priority with it) Exten: Extension to use on connect (must use Context & Priority with it) Priority: Priority to … Read more
php ltrim function : php remove left string
Remove characters from the left side of a string: Example <?php $str = “Hello World!”; echo $str . “<br>”; echo ltrim($str,”Hello”); ?> Output: World!
Linux Shell Script To Ftp File To Server
You need to create a shell scrip, needed to call from a crontab, to contact a FTP server and put or get a file. You will need to modify the variable section to reflect your settings. —————————————- #!/bin/bash HOST=ftp.server.com #This is the FTP servers host or IP address. USER=ftpuser #This is the FTP user that has access to the server. PASS=password #This is the password for the FTP user. # Uses the ftp command with the -inv switches. -i turns off interactive prompting. – Restrains FTP from attempting the auto-login feature. -v enables verbose and progress. ftp -inv $HOST
Linux Cron Job – Schedule Job in linux: crontab
In all Operating system there option to schedule a job/activity that should be run on particular time interval. Here is an introduction to job scheduler in linux, called crontab. Cron allows tasks to run automatically in the background at fixed time or time intervals depending upon the necessity of the task that has to be … Read more