물리서버

[21전국] 3과제 Voice Mail & Console Authentication

_눙이_ 2021. 11. 11. 16:12
반응형

CENT-SRV
apt install -y asterisk
vim /etc/asterisk/sip.conf

vim /etc/asterisk/extensions.conf

 

※맨 아래에 [cme] context 추가

 

vim /etc/asterisk/voicemail.conf
[default] 섹션에 Voice Mail 계정 추가

 

systemctl restart asterisk

 

WORK-PHONE, CENT-PHONE

WORK-PHONE에서 12001로 연결해서 음성을 저장한 후 CENT-PHONE에서 MAIL버튼을 누르고 1번을 눌러 그음성을 확인 할 수 있어야 함.

 

REMOTE

CIPC 설치 후, 번호를 받아오는 것을 확인(TFTP 서버 수동 지정 필요)

 

EX-FW

conf t

access-list OUT-TO-IN extended permit udp host 203.230.10.1 host 110.240.50.1 eq 5060

access-list OUT-TO-IN extended permit udp host 107.58.65.1 host 110.240.50.1 eq 5060

access-group OUT-TO-IN in interface outside

 

 

CENT-SRV

hello.raw 파일과 ws.png 파일을 CENT-SRV /var/www/html 아래로 복사 후, 진행

#cd /srv/tftp/

#vim RingList.xml

 

 

#vim List.xml

WORK-R

mkdir flash:Desktops/320x196x4

copy tftp://[2001:10:202:2::1]/hello.raw flash:

copy tftp://[2001:10:202:2::1]/RingList.xml flash:

copy tftp://[2001:10:202:2::1]/List.xml flash:Desktops/320x196x4/

copy tftp://[2001:10:202:2::1]/ws.png flash:

conf t

tftp-server flash:hello.raw

tftp-server flash:RingList.xml

tftp-server flash:Desktops/320x196x4/List.xml

tftp-server flash:ws.png

 

CENT-R

mkdir flash:Desktops/320x196x4

copy tftp://[2001:10:202:2::1]/hello.raw flash:

copy tftp://[2001:10:202:2::1]/RingList.xml flash:

copy tftp://[2001:10:202:2::1]/List.xml flash:Desktops/320x196x4/

copy tftp://[2001:10:202:2::1]/ws.png flash:

conf t

tftp-server flash:hello.raw

tftp-server flash:RingList.xml

tftp-server flash:Desktops/320x196x4/List.xml

tftp-server flash:Desktops/ws.png

 

WORK-PHONE, CENT-PHONE, REMOTE

§   Press Settings.

§   Select User Preferences (choice 1).

§   Select Rings (choice 1).

§   Download RingTone and check it is heard.

§   Select the image and press Save.

 

WORK-PHONE, CENT-PHONE, REMOTE

§   Press Settings.

§   Select User Preferences (choice 1).

§   Select Background Images (choice 2).

§   Download Image and check it is displayed.

§   Select the image and press Save.

 

1) Console Authentication

WORK-R, CENT-R

conf t

username admin privilege 15 password korea2021##

aaa new-model

aaa authentication login default group radius local

aaa authorization console

aaa authorization exec default group radius local

radius server RADIUS

address ipv6 2001:10:202:2::1 auth-port 1812 acct-port 1813

key korea2021##

반응형