Mudanças entre as edições de "Souzafms"
(→Fase 4) |
|||
Linha 11: | Linha 11: | ||
[http://wiki.sj.ifsc.edu.br/index.php/PJI4-2017-1 LINK]<br> | [http://wiki.sj.ifsc.edu.br/index.php/PJI4-2017-1 LINK]<br> | ||
Professor Sobral e professora Simara | Professor Sobral e professora Simara | ||
+ | |||
+ | sip.conf | ||
+ | <code> | ||
+ | root@aluno-VirtualBox:/home/aluno# cat /etc/asterisk/sip.conf | ||
+ | [alunos](!) | ||
+ | type=friend | ||
+ | host=dynamic | ||
+ | insecure=port,invite | ||
+ | disallow=all | ||
+ | allow=gsm | ||
+ | allow=alaw | ||
+ | allow=ulaw | ||
+ | qualify=yes | ||
+ | nat=yes | ||
+ | directmedia=no | ||
+ | |||
+ | [4000](alunos) | ||
+ | defaultuser=4000 | ||
+ | secret=123456 | ||
+ | |||
+ | [4001](alunos) | ||
+ | defaultuser=4001 | ||
+ | secret=123456 | ||
+ | |||
+ | [4002](alunos) | ||
+ | defaultuser=4002 | ||
+ | secret=123 | ||
+ | |||
+ | [anderson] | ||
+ | type=friend | ||
+ | username=felipe | ||
+ | host=192.168.1.212 | ||
+ | secret=123 | ||
+ | context=alunos | ||
+ | |||
+ | [andreza] | ||
+ | type=friend | ||
+ | username=felipe | ||
+ | host=192.168.1.240 | ||
+ | secret=123 | ||
+ | context=alunos | ||
+ | |||
+ | [christien] | ||
+ | type=friend | ||
+ | username=felipe | ||
+ | host=192.168.1.211 | ||
+ | secret=123 | ||
+ | context=alunos | ||
+ | |||
+ | [higino] | ||
+ | type=friend | ||
+ | username=felipe | ||
+ | host=192.168.1.208 | ||
+ | secret=123 | ||
+ | context=alunos | ||
+ | |||
+ | [kleiton] | ||
+ | type=friend | ||
+ | username=felipe | ||
+ | host=192.168.1.230 | ||
+ | secret=123 | ||
+ | context=alunos | ||
+ | |||
+ | [giordano] | ||
+ | type=friend | ||
+ | username=felipe | ||
+ | host=192.168.1.207 | ||
+ | secret=123 | ||
+ | context=alunos | ||
+ | |||
+ | [thiago] | ||
+ | type=friend | ||
+ | username=felipe | ||
+ | host=192.168.1.223 | ||
+ | secret=123 | ||
+ | context=alunos | ||
+ | |||
+ | [mike] | ||
+ | type=friend | ||
+ | defaultuser=felipe | ||
+ | username=felipe | ||
+ | host=192.168.1.204 | ||
+ | secret=123 | ||
+ | </syntaxhighlight> | ||
+ | |||
+ | extensions.conf | ||
+ | <code> | ||
+ | root@aluno-VirtualBox:/home/aluno# cat /etc/asterisk/sip.conf | ||
+ | [alunos](!) | ||
+ | type=friend | ||
+ | host=dynamic | ||
+ | insecure=port,invite | ||
+ | disallow=all | ||
+ | allow=gsm | ||
+ | allow=alaw | ||
+ | allow=ulaw | ||
+ | qualify=yes | ||
+ | nat=yes | ||
+ | directmedia=no | ||
+ | |||
+ | [4000](alunos) | ||
+ | defaultuser=4000 | ||
+ | secret=123456 | ||
+ | |||
+ | [4001](alunos) | ||
+ | defaultuser=4001 | ||
+ | secret=123456 | ||
+ | |||
+ | [4002](alunos) | ||
+ | defaultuser=4002 | ||
+ | secret=123 | ||
+ | |||
+ | [anderson] | ||
+ | type=friend | ||
+ | username=felipe | ||
+ | host=192.168.1.212 | ||
+ | secret=123 | ||
+ | context=alunos | ||
+ | |||
+ | [andreza] | ||
+ | type=friend | ||
+ | username=felipe | ||
+ | host=192.168.1.240 | ||
+ | secret=123 | ||
+ | context=alunos | ||
+ | |||
+ | [christien] | ||
+ | type=friend | ||
+ | username=felipe | ||
+ | host=192.168.1.211 | ||
+ | secret=123 | ||
+ | context=alunos | ||
+ | |||
+ | [higino] | ||
+ | type=friend | ||
+ | username=felipe | ||
+ | host=192.168.1.208 | ||
+ | secret=123 | ||
+ | context=alunos | ||
+ | |||
+ | [kleiton] | ||
+ | type=friend | ||
+ | username=felipe | ||
+ | host=192.168.1.230 | ||
+ | secret=123 | ||
+ | context=alunos | ||
+ | |||
+ | [giordano] | ||
+ | type=friend | ||
+ | username=felipe | ||
+ | host=192.168.1.207 | ||
+ | secret=123 | ||
+ | context=alunos | ||
+ | |||
+ | [thiago] | ||
+ | type=friend | ||
+ | username=felipe | ||
+ | host=192.168.1.223 | ||
+ | secret=123 | ||
+ | context=alunos | ||
+ | |||
+ | [mike] | ||
+ | type=friend | ||
+ | defaultuser=felipe | ||
+ | username=felipe | ||
+ | host=192.168.1.204 | ||
+ | secret=123 | ||
+ | </syntaxhighlight> | ||
===Projeto de Infra=== | ===Projeto de Infra=== |
Edição das 21h31min de 13 de março de 2017
Felipe Souza - souzafms@gmail.com
- Técnico em Telecomunicações
- Tecnólogo em Redes de Computadores
Técnico
Fase 4
Fundamentos do Trabalho
Projeto Integrador IV
LINK
Professor Sobral e professora Simara
sip.conf
root@aluno-VirtualBox:/home/aluno# cat /etc/asterisk/sip.conf
[alunos](!)
type=friend
host=dynamic
insecure=port,invite
disallow=all
allow=gsm
allow=alaw
allow=ulaw
qualify=yes
nat=yes
directmedia=no
[4000](alunos)
defaultuser=4000
secret=123456
[4001](alunos)
defaultuser=4001
secret=123456
[4002](alunos)
defaultuser=4002
secret=123
[anderson]
type=friend
username=felipe
host=192.168.1.212
secret=123
context=alunos
[andreza]
type=friend
username=felipe
host=192.168.1.240
secret=123
context=alunos
[christien]
type=friend
username=felipe
host=192.168.1.211
secret=123
context=alunos
[higino]
type=friend
username=felipe
host=192.168.1.208
secret=123
context=alunos
[kleiton]
type=friend
username=felipe
host=192.168.1.230
secret=123
context=alunos
[giordano]
type=friend
username=felipe
host=192.168.1.207
secret=123
context=alunos
[thiago]
type=friend
username=felipe
host=192.168.1.223
secret=123
context=alunos
[mike]
type=friend
defaultuser=felipe
username=felipe
host=192.168.1.204
secret=123
</syntaxhighlight>
extensions.conf
root@aluno-VirtualBox:/home/aluno# cat /etc/asterisk/sip.conf
[alunos](!)
type=friend
host=dynamic
insecure=port,invite
disallow=all
allow=gsm
allow=alaw
allow=ulaw
qualify=yes
nat=yes
directmedia=no
[4000](alunos)
defaultuser=4000
secret=123456
[4001](alunos)
defaultuser=4001
secret=123456
[4002](alunos)
defaultuser=4002
secret=123
[anderson]
type=friend
username=felipe
host=192.168.1.212
secret=123
context=alunos
[andreza]
type=friend
username=felipe
host=192.168.1.240
secret=123
context=alunos
[christien]
type=friend
username=felipe
host=192.168.1.211
secret=123
context=alunos
[higino]
type=friend
username=felipe
host=192.168.1.208
secret=123
context=alunos
[kleiton]
type=friend
username=felipe
host=192.168.1.230
secret=123
context=alunos
[giordano]
type=friend
username=felipe
host=192.168.1.207
secret=123
context=alunos
[thiago]
type=friend
username=felipe
host=192.168.1.223
secret=123
context=alunos
[mike]
type=friend
defaultuser=felipe
username=felipe
host=192.168.1.204
secret=123
</syntaxhighlight>
Projeto de Infra
LINK
Professor Saul
Telefonia 2
LINK
Professor Fabio