Mudanças entre as edições de "Souzafms"
(6 revisões intermediárias pelo mesmo usuário não estão sendo mostradas) | |||
Linha 5: | Linha 5: | ||
=Técnico= | =Técnico= | ||
==Fase 4== | ==Fase 4== | ||
+ | ===Fundamentos do Trabalho=== | ||
+ | |||
+ | |||
+ | ===Projeto Integrador IV=== | ||
+ | [http://wiki.sj.ifsc.edu.br/index.php/PJI4-2017-1 LINK]<br> | ||
+ | Professor Sobral e professora Simara | ||
+ | |||
+ | {{collapse top | asterisk}} | ||
+ | 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> | ||
+ | {{collapse bottom | asterisk}} | ||
+ | {{collapse top | sip.conf asterisk atrás de nat}} | ||
+ | <code> | ||
+ | [general] | ||
+ | externip=192.168.1.221 | ||
+ | localnet=192.168.40.0/255.255.255.0 | ||
+ | nat=yes | ||
+ | directmedia=no | ||
+ | |||
+ | [alunos](!) | ||
+ | type=friend | ||
+ | host=dynamic | ||
+ | insecure=port,invite | ||
+ | disallow=all | ||
+ | allow=gsm | ||
+ | allow=alaw | ||
+ | allow=ulaw | ||
+ | qualify=yes | ||
+ | |||
+ | [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> | ||
+ | {{collapse bottom | sip.conf asterisk atrás de nat}} | ||
+ | {{collapse top | extensions.conf 21-03-17}} | ||
+ | <code> | ||
+ | root@aluno-VirtualBox:/etc/asterisk# cat extensions.conf | ||
+ | [alunos] | ||
+ | exten=>4000,1,Dial(SIP/4000) | ||
+ | same=>n,Hangup | ||
+ | |||
+ | ;exten=>4001,1,Dial(SIP/4001,15) | ||
+ | ;exten=>4001,n,Playback(tt-allbusy) | ||
+ | ;same=>n,Hangup | ||
+ | |||
+ | ;exten=>4001,1,Dial(SIP/4001,15) | ||
+ | ;exten=>4001,n,Dial(SIP/vivo/991872440) | ||
+ | ;same=>n,Hangup | ||
+ | |||
+ | exten=>4001,1,Set(LIMIT_TIMEOUT_FILE=beep) | ||
+ | exten=>4001,n,Dial(SIP/4001,15,L(10000)) | ||
+ | same=>n,Hangup | ||
+ | |||
+ | |||
+ | exten=>4002,1,Dial(SIP/4002) | ||
+ | same=>n,Hangup | ||
+ | |||
+ | [default] | ||
+ | include=>alunos | ||
+ | |||
+ | exten => _1xxx,1,Dial(SIP/anderson/${EXTEN}) | ||
+ | same=>n,Hangup | ||
+ | |||
+ | exten => _2xxx,1,Dial(SIP/andreza/${EXTEN}) | ||
+ | same=>n,Hangup | ||
+ | |||
+ | exten => _3xxx,1,Dial(SIP/cristian/${EXTEN}) | ||
+ | same=>n,Hangup | ||
+ | |||
+ | exten => _5xxx,1,Dial(SIP/giordano/${EXTEN}) | ||
+ | same=>n,Hangup | ||
+ | |||
+ | exten => _6xxx,1,Dial(SIP/higino/${EXTEN}) | ||
+ | same=>n,Hangup | ||
+ | |||
+ | exten => _7xxx,1,Dial(SIP/kleiton/${EXTEN}) | ||
+ | same=>n,Hangup | ||
+ | |||
+ | exten => _8xxx,1,Dial(SIP/mike/${EXTEN},15) | ||
+ | exten => n,Playback(tt-allbusy.gsm) | ||
+ | same=>n,Hangup | ||
+ | |||
+ | exten => _9xxx,1,Dial(SIP/thiago/${EXTEN}) | ||
+ | same=>n,Hangup | ||
+ | |||
+ | ;Adiciona 048 na frente do número discado | ||
+ | exten => _[2-6]xxxxxxx,1,Dial(SIP/mike/048${EXTEN}) | ||
+ | same=>n,Hangup | ||
+ | |||
+ | ;Troca a operadora para 66 | ||
+ | exten => _0xxxxxxxxxxxx,1,Dial(SIP/mike/066${EXTEN:3}) | ||
+ | same=>n,Hangup | ||
+ | |||
+ | ;Direciona chamada celulares para um tronco | ||
+ | exten => _9[7-9]xxxxxxx,1,Set(CALLERID(all)=name <44444000>) | ||
+ | exten => _9[7-9]xxxxxxx,n,Dial(SIP/vivo/${EXTEN}) | ||
+ | same=>n,Hangup | ||
+ | </syntaxhighlight> | ||
+ | {{collapse bottom | extensions.conf 21-03-17}} | ||
+ | |||
+ | ===Projeto de Infra=== | ||
+ | [http://www.sj.ifsc.edu.br/~saul/cabeamento%20estruturado/ LINK]<br> | ||
+ | Professor Saul | ||
===Telefonia 2=== | ===Telefonia 2=== | ||
[http://wiki.sj.ifsc.edu.br/index.php/Telefonia_2 LINK]<br> | [http://wiki.sj.ifsc.edu.br/index.php/Telefonia_2 LINK]<br> | ||
Professor Fabio | Professor Fabio | ||
+ | |||
+ | ===Projeto PJI 3 2016-2=== | ||
+ | [http://wiki.sj.ifsc.edu.br/index.php/PJI11103-2016-2-config LINK] |
Edição atual tal como às 11h24min de 14 de julho 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
asterisk |
---|
sip.conf
|
sip.conf asterisk atrás de nat |
---|
|
extensions.conf 21-03-17 |
---|
|
Projeto de Infra
LINK
Professor Saul
Telefonia 2
LINK
Professor Fabio