Académique Documents
Professionnel Documents
Culture Documents
About
Contact Us
LINUXGURRU
Solutions for Everyone !!!!!!
Unix / Linux Windows Cisco Tips & Tricks
Search
Aug
Search...
Recent Posts
How to create password protected web-page How to Install and Configure Asterisk with Mysql on Centos How to Fix Delay in SSH login How to configure DNSBIND on Ubuntu Log Analyzer: Install and configure AWStats on Centos from source How to install PHP from Source with MySQL,Apache,Mycrypt,Curl etc How to install uberSVN on Linux Looking for How To Install and Configure Asterisk with Mysql on Centos | LINUXGURRU? How to install USVN on ubuntu Reset MySQL root password on Linux How to Install Webmin on Ubuntu Looking For How To Install and Configure Asterisk with Mysql on Centos | LINUXGURRU?
2. Looking for How To Install and Configure w w w .InternetCorkBoard.com Asterisk Top answers with for How Mysql To Install on Centos and Configure | Asterisk with Mysql on Centos | LINUXGURRU LINUXGURRU? Chitika | Opt out?
Blogroll
ITbunch Latest news on hardware and software, views on new emerging technologies.
1) y u mu p d a t e 2) y u mi n s t a l lg c cg c c c + +m a k eo p e n s s l d e v e ln e w t d e v e ln c u r s e s d e v e ll i b t e r m c a p d e v e ll i b x m l 2 d e v e lk e r n e l d e v e lp e r lc u r lc u r l d e v e l
3)
y u m i n s t a l l l i b t o o l l t d l l i b t o o l l t d l d e v e l u n i x O D B C d e v e l m y s q l m y s q l d e v e l m y s q l s e r v e rm y s q l c o n n e c t o r o d b c
Related Results How To Install and Configure Asterisk with Mysql on Centos | LINUXGURRU
4)
y u m y i n s t a l l g c c g c c c + + k e r n e l d e v e l b i s o n o p e n s s l d e v e l l i b t e r m c a p d e v e l n c u r s e s d e v e ld o x y g e nc u r l d e v e ln e w t d e v e lm l o c a t el y n xt a rw g e tn m a pb z i p 2m o d _ s s l u n i x O D B C u n i x O D B C d e v e l l i b t o o l l t d l l i b t o o l l t d l d e v e l m y s q l c o n n e c t o r o d b c m y s q l m y s q l d e v e l m y s q l s e r v e r p h p m y s q l p h p m b s t r i n g p h p m c r y p t f l e x s c r e e n l i b x m l 2 l i b x m l 2 d e v e ll i b t i f fl i b t i f f d e v e lg m i m eg m i m e d e v e ln e t s n m p u t i l sn e t s n m p d e v e l n e o nl i b x m l 2o p e n s s lo p e n s s l d e v e lg n u t l s d e v e lg n u t l s u t i l s
5) c d/ u s r / s r c
#m k d i ra s t e r i s k #c da s t e r i s k # w g e t h t t p : / / d o w n l o a d s . a s t e r i s k . o r g / p u b / t e l e p h o n y / a s t e r i s k / r e l e a s e s / a s t e r i s k 1 . 6 . 2 . 0 . t a r . g z # w g e t h t t p : / / d o w n l o a d s . a s t e r i s k . o r g / p u b / t e l e p h o n y / a s t e r i s k / a s t e r i s k a d d o n s 1 . 6 . 2 . 0 . t a r . g z #w g e th t t p : / / d o w n l o a d s . a s t e r i s k . o r g / p u b / t e l e p h o n y / d a h d i l i n u x c o m p l e t e / d a h d i l i n u x c o m p l e t e c u r r e n t . t a r . g z #w g e th t t p : / / d o w n l o a d s . d i g i u m . c o m / p u b / l i b p r i / l i b p r i 1 . 4 c u r r e n t . t a r . g z #t a rz x v fa s t e r i s k 1 . 6 . 2 . 0 . t a r . g z #t a rz x v fa s t e r i s k a d d o n s 1 . 6 . 2 . 0 . t a r . g z #t a rz x v fd a h d i l i n u x c o m p l e t e c u r r e n t . t a r . g z #t a rz x v fl i b p r i 1 . 4 c u r r e n t . t a r . g z
Looking for How To Install and Configure Asterisk with Mysql on Centos | LINUXGURRU?
6) # cd /usr/src/asterisk/libpri-1.4.10.2 # make clean # make # make install 7) # cd /usr/src/asterisk/dahdi-linux-complete-2.2.1-rc2+2.2.1-rc2/ # make all # make install # make config # chkconfig dahdi on # service dahdi start Next, lets setup our MySQL database for CDR (Call Detail Records) storage. Be sure to run the mysql_secure_installation script after you start MySQL in order to set up a root password to protect your SQL databases!
Searching for How To Install and Configure Asterisk with Mysql on Centos | LINUXGURRU?
c h k c o n f i gm y s q l do n
# service mysqld start # /usr/bin/mysql_secure_installation # mysql p Run The Following sql quries. SET SQL_MODE=NO_AUTO_VALUE_ON_ZERO;
USE `asterisk`;
CREATE TABLE IF NOT EXISTS `cdr` ( `recid` mediumint(8) unsigned NOT NULL auto_increment COMMENT Record ID, `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 , `uniqueid` varchar(32) NOT NULL default , `userfield` varchar(255) NOT NULL default , PRIMARY KEY (`recid`), KEY `calldate` (`calldate`), KEY `dst` (`dst`), KEY `accountcode` (`accountcode`), KEY `src` (`src`), KEY `disposition` (`disposition`), KEY `uniqueid` (`uniqueid`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;
MAX_UPDATES_PER_HOUR 0 MAX_USER_CONNECTIONS 0 ;
GRANT INSERT ON `asterisk`.`cdr` TO asterisk@'localhost; Be sure to set your own password for the asterisk user (where I used PASSWORD in the above block). Now, weve got all the prerequisites installed. Lets install Asterisk! 8)
#c d/ u s r / s r c / a s t e r i s k / a s t e r i s k 1 . 6 . 2 . 0 / #m a k ec l e a n #. / c o n f i g u r e #m a k em e n u s e l e c t
This is where you select all of the modules, applications, resource modules, codecs, sound packages, etc, that you want installed with Asterisk. Move through menus using the up and down arrow keys, go to the options pane using tab, move up and down through the options and select items using the enter key, and then when youre ready to save your selections, tab to the Save and Exit button and press enter again.
# make # make install # make samples # make config # chkconfig asterisk on 9) # asterisk -vvvvc *CLI> core stop now Next, we need to install some of the options from the Asterisk-Addons download. # cd /usr/src/asterisk/asterisk-addons-1.6.2.0 # make clean # ./configure # make menuselect At this point, be sure to select at least the following items: Applications app_addon_sql_mysql Call Detail Recording cdr_addon_mysql Resource Modules res_config_mysql After youve got those selected, save and exit. Then proceed with the following steps: # make # make install # make samples Once weve got that done, we need to edit the cdr_mysql.conf file to enter the mysql username and password, database, and table we setup earlier. # vi /etc/asterisk/cdr_mysql.conf [global] hostname=localhost dbname=asterisk table=cdr password=PASSWORD
user=asterisk port=3306 sock=/var/lib/mysql/mysql.sock userfield=1 loguniqueid=yes Y ou should read through several of the key configuration files in order to learn whats changed, and also how to customize Asterisk for your installation. The files to look into would be: /etc/asterisk/asterisk.conf /etc/asterisk/extensions.ael /etc/asterisk/extensions.conf /etc/asterisk/sip.conf /etc/asterisk/iax.conf /etc/asterisk/voicemail.conf /etc/asterisk/users.conf The installation steps are complete and asterisk is running now Now we need to configure 2 files for setup first one is sip.conf and other one is extension.conf Sip.conf setting [008] ; this is template. type=friend context=internal host=dynamic disallow=all allow=ulaw allow=alaw allow=g723 allow=g729 dtmfmode=rfc2833 username=008 secret=008 Another Template [007] ; this is template. type=friend context=internal host=dynamic disallow=all allow=ulaw allow=alaw allow=g723 allow=g729 dtmfmode=rfc2833 username=007 secret=007 Just save it and then open extensions.conf file and add it [internal] exten=> _XXX,1,Dial(SIP/${EXTEN}) exten=> _XXX,1,Dial(SIP/${EXTEN}) After that you can setup setting in your Xlite and connected successfully
Related Posts:
1. 2. 3. 4. 5. Install Asterisk with Freepbx How to install and configured ASTERISK on Ubuntu How to install PHP from Source with MySQL,Apache,Mycrypt,Curl etc Log Analyzer: Install and configure AWStats on Centos from source Reset MySQL root password on Linux
Related Results 1. How To Install and Configure Asterisk with Mysql on Centos | LINUXGURRU 2. Looking for How To Install and Configure Asterisk with Mysql on Centos | LINUXGURRU? 3. Looking For How To Install and Configure Asterisk with Mysql on Centos | LINUXGURRU? 4. Looking for How To Install and Configure Asterisk with Mysql on Centos | LINUXGURRU? 5. Searching for How To Install and Configure Asterisk with Mysql on Centos | LINUXGURRU? Chitika | Opt out?
4. Looking for How To Install and Configure Asterisk with Mysql w w w .Amazon.com Find How To Install and Configure on Centos | LINUXGURRU ? Asterisk with Mysql on Centos | LINUXGURRU at Amazon
Chitika | Opt out?
1. 2. 3. 4. 5.
MySQL Allow Remote Connections How to install and configured ASTERISK on Ubuntu How to Boot System from Network Windows 7 Unidentified Network / No Internet Access Problem How to configure NAGIOS Monitoring server on Ubuntu Unix / Linux Subscribe to RSS feed
Leave a Reply
Required fields are marked * Y our email address will never be published or shared. Name * Email * Website
one = 3 Comment
Submit Reply
RSS
C opyright 2013 LINUXGURRU All rights re se rve d.