Sobre el Autor
Daniel Rodríguez
Founder of http://hotfixed.net - Co-Founder of @BusyToneGroup and @S3cT0 | Penetration Tester | Security Consultant | Linux | VoIP
Otros artículos
Presentación e instalación Kali linuxBuen día a todos, Mi nombre es Raúl Moncada… »
Openfire y Sparkweb en Debian SqueezeBuenas Compañeros, En esta ocasión les… »
4K Conference 2012El 4K Conference es un evento donde se reúnen… »
Barcamp Security Edition 2012El día 1 de diciembre se realizará la tercera… »
Por qué voy al Security Zone 2012 ?Desde hace unos años he querido asistir a… »
Tags
asterisk
backup
CentOS
comunidad
cursos
Debian
editor
Eventos
firewall
freePBX
google
grabación
IPCop
IVR
juegos
karaoke
linux
logs
monitoreo
nessus
openshot
openvpn
password
PBX
prey
Python
rastreo
reset
screencast
screncast
seguridad
sip
softphone
splunk
Squeeze
ssh
Trixbox
ubuntu
video
virtualbox
virtualización
voip
vpn
vulnerabilidades
windows
Búscanos en Facebook
Recent Posts
- Presentación e instalación Kali linux
- Openfire y Sparkweb en Debian Squeeze
- 4K Conference 2012
- Barcamp Security Edition 2012
- Por qué voy al Security Zone 2012 ?
- Curso Asterisk 1.8 – Capítulo 10 – Introducción a las interfaces de administración
- Curso Asterisk 1.8 – Capítulo 09 – Construyendo un IVR
- SFLphone – Softphone SIP e IAX2 para Linux
- Curso Asterisk 1.8 – Capítulo 08 – Configurando Buzones de voz
- Aplicaciones web con Django sobre Heroku



































12 Comentarios
Hola, muy buenos los videos. A ver que tal se me da la práctica.
Una pregunta, si quisiera hacer lo mismo que se muestra en los videos pero a nivel de internet, es decir, desde un sophone con una ip privada a otro sophone en otra subred distina (con routers de por medio) ¿ sería sufciente con abrir los puertos en los routers ? Lo digo para ir probando y llamar a otra casa o utilizar el GNS3 (simulador muy bueno para practicas de redes) e ir viendo como funciona todo esto. Para cada shophone ¿ bastaría con que tuvieran ip privadas y que los routers extremos hicieran NAT o habría que configurar algunos otros archivos del
asterisk ?
Saludos.
Si claro, puedes colocarle una ip pública al asterisk y registrar el softphone (no recomendado), o bien puedes colocar el asterisk detrás de un firewall y configurar un reenvío de puertos para dar mayor seguridad. para eso debes abrir el puerto de sip 5060 o preferiblemente cambiarlo y también abrir un rango de 10000 puertos para el RTP puede ser del 10000 al 20000. Si hay problema con el audio, habría que configurar algunas cosas de NAT en el asterisk.
que Daniel que buen video, tengo una pregunta, yo tengo un switch CISCO, que trabaja con tres VLAN un que se llama DATOS,WIRELES Y VOIP, en los switch CISCO yo puedo hacer que a través de un puerto que pertenezca a la VLAN DATOS, tambien se puede conectar un telefono, elcual pernece a la vlan VOIP.
NO SE SI ESTOS TELEFONOS MARCA YEALINK SIP-T20P TIENEN ICORPORADO DOS PUERTOS, UNO PARA LA CONEXION DE LA TOMA Y OTRO PARA EL PC.
Si sr tienen los dos puertos
OTRA REGUNTA DANIEL, EN BOGOTAT EXISTE ALGUN PROOVEDOR ESTOS TELEFONO IP MARCA YEALINK, QUE ME PUEDAS RECOMENDAR, CON EL FIN D HACER ALGUN PEDIDO DE VARIAS UNIDADES. SERIA DE GRAN AYUDA.
GRACIAS
Hola Armando puedes hablar con http://netsolutions.com.co/, la persona de contacto se llama Leonardo, dile que yo te recomendé.
oye disculpa no se si me puedas ayudar con algo, tengo instalado trixbox todo funciona bien pero no me salen las llamadas al exterior solo en mi LAN, la version del trixbox es 2.6.2.5, la maquina con la que interactuo con el servidor tiene windows xp. Lo que he leido es que tengo que configurar los sip.conf como muestras aqui en el primer video, pero en el sip.config dice que no se debe de modificar.. Asi es como esta:
;——————————————————————–;
; Do NOT edit this file as it is auto-generated by FreePBX. All modifications to ;
; this file must be done via the web gui. There are alternative files to make ;
; custom modifications, details at: http://freepbx.org/configuration_files ;
;——————————————————————–;
;
[general]
; These files will all be included in the [general] context
;
#include sip_general_additional.conf
;sip_general_custom.conf is the proper file location for placing any sip general
;options that you might need set. For example: enable and force the sip jitterbuffer.
;If these settings are desired they should be set the sip_general_custom.conf file.
;
; jbenable=yes
; jbforce=yes
;
;It is also the proper place to add the lines needed for sip nat’ing when going
;through a firewall. For nat’ing you’d need to add the following lines:
; nat=yes , externip= , localhost= , and optionally fromdomain= .
#include sip_general_custom.conf
;sip_nat.conf is here for legacy support reasons and for those that upgrade
;from previous versions. If you have this file with lines in it please make
;sure they are not duplicated in sip_general_custom.conf, if so remove them
;from sip_nat.conf as sip_general_custom.conf will have precedence.
#include sip_nat.conf
;sip_registrations_custom.conf is for any customizations you might need to do to
;the automatically generated registrations that FreePBX makes.
;
#include sip_registrations_custom.conf
#include sip_registrations.conf
; These files should all be expected to come after the [general] context
;
#include sip_custom.conf
#include sip_additional.conf
;sip_custom_post.conf If you have extra parameters that are needed for a
;extension to work to for example, those go here. So you have extension
;1000 defined in your system you start by creating a line [1000](+) in this
;file. Then on the next line add the extra parameter that is needed.
;When the sip.conf is loaded it will append your additions to the end of
;that extension.
;
#include sip_custom_post.conf
———————————————————————-
NO SE SI ME PUEDAS AYDUAR A CONFIGURAR, SI ES QUE LE TENGO QUE MOVER ALGO AQUI, DISCULPA MI IGNORANCIA PERO SOY NUEVO EN ESTE TEMA!!!
Hola Raul,
Cuando tienes Trixbox, elastix o cualquier otra distro que tenga freePBX los archivos de configuración quedan así:
sip.conf
sip_additional.conf
sip_custom.conf
En este caso el sip_additional lo escribe el FreePBX, no se puede modificar.
Si quieres hacer algo como lo que estamos haciendo en el curso, es decir escribir algún tipo de configuración debes editar los archivos_custom.
Estos no los reescribe el FreePBX.
Saludos,
Un curso estupendo.Tengo un problema que no soy capaz de resolver.
Estoy utilizando ubuntu 10.04 de 64 bits con el linphone oficial de la distribucion y cuando tengo el telefono1 configurado y me pide la contraseña para terminar y registrar el telefono en linphone,no me lo registra y esta continuamente pidiendome la contraseña,incluso cierro linphone vuelvo a abrirlo y sigue pidiendo la contraseña.Desistalo linphone vuelvo a instalarlo y me pide la contrseña.
Revisa los logs con asterisk -rvvv haber si aparece algo cuando intentas registrar el softphone.
Hola,esto es lo que me dice el *CLI, llevo varios dias con esto y no puedo pasar de aqui.
Saludos
— (12 headers 0 lines) —
Sending to 192.168.43.111:5060 (NAT)
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 192.168.43.111:5060;branch=z9hG4bK1017932381;received=192.168.43.111;rport=5060
From: ;tag=785307165
To: ;tag=as6407672a
Call-ID: 75104540
CSeq: 6 REGISTER
Server: Asterisk PBX 1.8.9.2
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
WWW-Authenticate: Digest algorithm=MD5, realm=”asterisk”, nonce=”37e4973e”
Content-Length: 0
Scheduling destruction of SIP dialog ’75104540′ in 32000 ms (Method: REGISTER)
jaK
Really destroying SIP dialog ’75104540′ Method: REGISTER
jaK
jaK
jaK
jaK
jaK
REGISTER SIP:192.168.43.62 SIP/2.0
Via: SIP/2.0/UDP 192.168.43.111:5060;rport;branch=z9hG4bK1739247501
From: ;tag=785307165
To:
Call-ID: 75104540
CSeq: 7 REGISTER
Contact:
Authorization: Digest username=”telefono1″, realm=”asterisk”, nonce=”37e4973e”, uri=”SIP:192.168.43.62″, response=”274976957001dc30a723f87580b282df”, algorithm=MD5
Max-Forwards: 70
User-Agent: Linphone/3.2.1 (eXosip2/3.3.0)
Expires: 3600
Content-Length: 0
puedes colocar acá tu archivo de configuración sip.conf para ver que puede ser?
Gracias