Mudanças entre as edições de "Souzafms"

De MediaWiki do Campus São José
Ir para navegação Ir para pesquisar
Linha 181: Linha 181:
 
</syntaxhighlight>
 
</syntaxhighlight>
 
{{collapse bottom | asterisk}}
 
{{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}}
  
 
===Projeto de Infra===
 
===Projeto de Infra===

Edição das 21h23min de 14 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

asterisk

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>

sip.conf asterisk atrás de nat

[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>

Projeto de Infra

LINK
Professor Saul

Telefonia 2

LINK
Professor Fabio