copy a folder under linux server to windows server

MS-Windows shared folder: You can share data between windows and linux system for such use : For example you would like to access MS-Windows share called //windowsserver/sharename by mounting to /mnt/win directory under Linux system. So execute these commands: mkdir -p /mnt/win mount -t smbfs -o username=winntuser,password=mypassword //windowsserver/sharename /mnt/win Next create the password file /etc/sambapasswords: … Read more

Asterisk CDR in MySQL

Create Database mysql -u root -p CREATE DATABASE asterisk; GRANT INSERT ON asterisk.* TO asterisk@localhost IDENTIFIED BY ’yourpassword’; USE asterisk; CREATE TABLE `cdr` ( `calldate` datetime NOT NULL default ’0000-00-00 00:00:00′, `clid` varchar(80) NOT NULL default ”, `src` varchar(80) NOT NULL default ”, `dst` varchar(80) NOT NULL default ”, `dcontext` varchar(80) NOT NULL default ”, `channel` varchar(80) NOT NULL default ”, `dstchannel` varchar(80) NOT NULL default ”, `lastapp` varchar(80) NOT NULL default ”, `lastdata` varchar(80) NOT NULL default ”, `duration` int(11) NOT NULL default ’0′, `billsec` int(11) NOT NULL default ’0′, `disposition` varchar(45) NOT NULL default ”, `amaflags` int(11) NOT NULL default ’0′, `accountcode` varchar(20) NOT NULL default ”, `userfield` varchar(255) NOT NULL default ” ); ALTER TABLE `cdr` ADD `uniqueid` VARCHAR(32) NOT NULL default ”; ALTER TABLE `cdr` ADD INDEX ( `calldate` ); ALTER TABLE `cdr` ADD INDEX ( `dst` ); ALTER TABLE `cdr` ADD INDEX ( `accountcode` ); Configure Asterisk CDR Mysql vim /etc/asterisk/cdr.conf [general] enabled=yes vim /etc/asterisk/cdr_mysql.conf [global] hostname=localhost dbname=asterisk table=cdr password=”yourpassword” user=asterisk port=3306 ;sock=/tmp/mysql.sock ;userfield=1 vim /etc/asterisk/modules.conf load … Read more

install phpmyadmin on centos 6

Step 1: Add EPEL Repository in System First step is to install EPEL repository in your system, Install package using one of below urls. CentOS/RHEL 6, 32 Bit (i386): # rpm -Uvh http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm CentOS/RHEL 6, 64 Bit x86_64): # rpm -Uvh http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm CentOS/RHEL 5, 32 Bit (i386): # rpm -Uvh http://dl.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm CentOS/RHEL 5, 64 Bit … Read more

Install MySQL on CentOS 6.4 – Asterisk mysql database configuration

MySQL Cluster

How to Install MySQL on CentOS 6.4 su to root install mysql and mysql-server download and install all dependencies done start mysql start mysql at startup  

Recharge Solution | DTH recharge | Datacard Recharge | Mobile Recharge

Recharge Solution | DTH recharge | Datacard Recharge | Mobile Recharge Recharge solution a zero costing. Mail us: info@eduguru.in | info@snettechnology.com [contact-form][contact-field label=’Name’ type=’name’ required=’1’/][contact-field label=’Phone Number’ type=’text’ required=’1’/][contact-field label=’Email’ type=’email’ required=’1’/][contact-field label=’Website’ type=’url’/][contact-field label=’Comment’ type=’textarea’ required=’1’/][/contact-form] mail ur requirement to replytosatya@gmail.com

Story behind your date of Birth !! – Self Confidence

story behind your date of birth

If U were born on the 1st, 10th, 19th, 28th of any month U r number 1… If U were born on the 2nd, 11th, 20th, 29th of any month then U r number 2…If U were born on the 3rd, 12th, 21st, 30th of any month then U r number 3…If U were born … Read more

Unable to connect Samsung Galaxy Tab2 GT- P3100 to PC

First download the driver from: Samsung driver… then connect to device..    

Adding Listen, Whisper, and Barge to FreePBX or Asterisk

Adding Listen, Whisper, and Barge to FreePBX or Asterisk Listen: Monitor an agents call. The manager can hear both the spied-on and bridged channels, but they cannot hear the manager. Whisper:  Whisper to the agent. The manager can hear both the spied-on and bridged channels, and the spied-on channel (agent) can also hear the manager, … Read more