Skip to content

Instantly share code, notes, and snippets.

@bigyan
bigyan / 0_reuse_code.js
Last active August 29, 2015 14:21
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@bigyan
bigyan / Dockerfile
Created December 31, 2015 10:13
YIPL-SLW Sample Dockerfile
FROM ubuntu:14.04
MAINTAINER Bigyan
RUN apt-get update
RUN apt-get install apache2 -y
RUN apt-get install php5 libapache2-mod-php5 php5-mcrypt -y
RUN sed -i 's/DirectoryIndex index.html index.cgi index.pl index.php index.xhtml index.htm/DirectoryIndex index.php index.html index.cgi index.pl index.xhtml index.htm/g' /etc/apache2/mods-enabled/dir.conf
ADD index.php /var/www/html/index.php
CMD ["/usr/sbin/apache2ctl", "-D", "FOREGROUND"]
@bigyan
bigyan / astrisk_ubunut.md
Created October 17, 2017 09:49 — forked from paneru-rajan/asterisk_ubuntu.md
[Asterisk installation in Ubuntu] Building Asterisk in ubuntu #asterisk #ubuntu #build

Asterisk Installation

Exhaustive steps of Installation

A step by step process to install Asterisk.

I have tested on Ubuntu 16.04, nevertheless, it will work on another distro with few changes.

Update and Upgrade the system

@bigyan
bigyan / asterisk_webrtc.md
Created October 17, 2017 09:49 — forked from paneru-rajan/asterisk_webrtc.md
[Configure Asterisk with webrtc support] Setting up asterisk for webrtc #asterisk #webrtc #sipml5 #configuration

Setting up Asterisk for webrtc

To set up with sipml5 I had been through the asterisk offiial site and I do recommand you to visit it.

We need to update several config file which are located on /etc/asterisk. Those filename are listed below

  1. modules.conf
  2. extensions.conf
  3. http.conf
  4. pjsip.conf
  5. rtp.conf