VoIP 서버 구축을 위한 프로그램이다.
$ mkdir /usr/src/asterisk $ cd /usr/src/asterisk $ wget http://downloads.asterisk.org/pub/telephony/asterisk/asterisk-11-current.tar.gz - 다운로드 $ sudo apt-get install libncurses5-dev build-essential libxml2-dev libsqlite3-dev libssl-dev - 필요 라이브러리 설치 $ gzip -d asterisk-11-current.tar.gz - 압축 풀기 (gz) $ tar xvf asterisk-11-current.tar - 압축 풀기 (tar)
압축 푼 폴더로 이동 후 아래 명령 실행
$ ./configure
$ make -j4
$ make install $ make samples $ make config
$ service asterisk start
링크로 대체
중요 : extensions.conf에서 정한 context name과 sip.conf 파일의 user 설정에서 context = some name 이 같아야 한다