arjunvenkatraman / swara Goto Github PK
View Code? Open in Web Editor NEWPhone and Web Accessible Audio Portal Platform based on Audiowiki and LoudBlog
Home Page: http://cgnetswara.org
Phone and Web Accessible Audio Portal Platform based on Audiowiki and LoudBlog
Home Page: http://cgnetswara.org
################################################# ################INSTALLATION##################### ################################################# #1. Install pre-requisites ################################################## # yum install lame asterisk mysql mysql-server wget gcc gcc-c++ bison libtermcap-devel newt newt-devel ncurses ncurses-devel svn zlib zlib-devel openssl openssl-devel kernel-devel httpd php-mysql php MySQL-python # yum install python-setuptools # [ADDITIONAL DEPENDENCIES] # Python Setuptools # yum install setuptools # Python Stopwatch module # easy_install stopwatch # Python MySQL DB connectors # easy_install MySQL-python # easy_install MySQL-Python # easy_install oauth2 # easy_install tweepy # easy_install simplejson #2. Disable firewall ################################################## # /etc/init.d/iptables stop # chkconfig iptables off # perl -p -i -e "s/enforcing/permissive/g" /etc/selinux/config #3. Start services on boot ################################################## # service sshd start # service httpd start # service mysqld start # chkconfig sshd on # chkconfig httpd on # chkconfig mysqld on #4. Checkout Swara code ################################################## # cd /opt # svn co https://audiowiki.googlecode.com/svn/branches/swara #5.Setup mysqld ################################################## # /usr/bin/mysql_secure_installation # Answer yes to every question # mysql -u root -p <Enter the password> # create database swara; # exit # mysql -u root -p swara < /opt/swara/conf/swaradb.sql #7. Set up simlinks and Asterisk configs ################################################## # ln -s /opt/swara/web /var/www/html # ln -s /opt/swara/bin /usr/share/asterisk/agi-bin # ln -s /opt/swara/bin /usr/share/asterisk/sounds # cp /opt/swara/conf/extensions.conf /opt/swara/conf/sip.conf /etc/asterisk #7. Set up Admin Interface ################################################## # Go to http://<yoursite>/install.php and follow instructions #8. Set up a softphone to test ################################################## # Download and extract SJPhone: # wget -c http://www.sjphone.org/softphone/SJphoneLnx-299a.tar.gz # tar xvf SJphoneLnx-299a.tar.gz # mv SJphoneLnx-299a /home/<your-user-name>/SJPhone # # Create a SJPhone launcher (Run as root) # touch /usr/bin/run-sjphone # echo -e '#!/bin/bash\ncd /home/<your-user-name>/SJPhone\n./sjphone' > /usr/bin/run-sjphone # # Load OSS ALSA Emulation Modules: # modprobe snd-pcm-oss # # SJPhone configuration: # 1) click on the Options button # 2) go to the Profiles tab. # 3) click on 'New' # 4) create a new profile called 'asterisk' with profile type 'Calls through SIP proxy' # 5) use this profile for your asterisk connection with the following settings: # # Register with proxy - checked. # Proxy domain: 192.168.0.1 (IP on which asterisk is listening) # # Leave the rest of the settings at default. When you hit the OK button, it will ask for # # Account: mysjphone # Password: <as above> # # You can change the account and password by reinitializing the profile. # # When it's working, SJPhone's main display shows: # # Status: no active calls # Default protocol: SIP # SIP Proxy: registered with 192.168.0.1 # Host address: 192.168.0.2 # # and Asterisk's console displays: # Registered SIP 'mysjphone' at 192.168.0.2 #
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.