사용자 도구


Asterisk

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

Asterisk Build

$ make -j4

Asterisk 설치

$ make install
$ make samples
$ make config

Asterisk 실행

$ service asterisk start

설정

링크로 대체

중요 : extensions.conf에서 정한 context name과 sip.conf 파일의 user 설정에서 context = some name 이 같아야 한다

참고