FreePBX Asterisk
FreePBX Asterisk
FreePBX + Asterisk
freePa,x
@
Asterisk
Introducción ..................................................................................................................................................1
Instalación y configuración de FreePBX ........................................................................................................3
Paso 1 Descarga de archivos ....................................................................................................................3
Paso 2 Crear una máquina virtual ............................................................................................................4
Paso 3 Instalación de Asterisk Free PBX ...................................................................................................7
Paso 4 Configuración de Asterisk Free PBX........................................................................................... 13
Paso 5 Configuración de extensiones en Asterisk Free PBX ................................................................. 17
Descarga e instalación de softphones ....................................................................................................... 18
3CX .................................................................................................................................................... 18
Zoiper ................................................................................................................................................ 19
COMPROBACIÓN DE FUNCIONAMIENTO .................................................................................................. 21
Una Centralita Telefónica (PBX para Private Branch Exchange y PABX para Private
Automatic Branch Exchange) es un equipo privado que permite gestionar llamadas
telefónicas internas en una empresa, y compartir las líneas de acceso a la red
pública entre varios usuarios, para permitir que estos realicen y reciban llamadas
desde y hacia el exterior
Una centralita IP o una IP-PBX es una centralita telefónica que trabaja internamente
con el protocolo IP. De esta manera, utiliza la infraestructura de comunicaciones de
datos (LAN y WAN) para realizar sus funciones.
Las centralitas IP pueden por tanto conectarse a servicios públicos VoIP (Voice
Over Internet Protocol) pero también tienen la capacidad de trabajar con líneas
convencionales de teléfono analógicas o digitales
Estas características aportan ventajas a nivel funcional y también a nivel de costes,
tanto de inversión como de mantenimiento.
--- c::::::J
000
000
ggg
c::::::J
000
000
oog
oc:=:::::::t
IPPBX
SIP Phone
sip.user@domain
Router
-------- ·i=:===· -----) VoIP Gateway
-·=
'----J
l ••
Coroorate Networ k •• ••
,• .,
- I •-
•
-
c:::::::J \:. Iii c:::::::J
000 000
USB Phone 000 000 IPPhon e
000
000 • 000
000
1
Las extensiones remotas incluyen ordenadores personales que utilizan softphones
de PBX, teléfonos IP remotos o dispositivos móviles mediante aplicaciones que
pueden ser gratuitas como zoiper o 3CX
La pasarela VoIP conecta directamente la PBX a una red PSTN para que se pueda
continuar haciendo y respondiendo llamadas desde líneas telefónicas analógicas,
aunque estas líneas están cayendo en desuso debido a las numerosas ventajas de
los sistemas VoIP:
- son más fáciles de instalar, configurar y administrar
- incluyen funciones como videoconferencias y chats en vivo
- llamadas internacionales a través de la red de datos (bajos costes)
- múltiples funciones de contestador automático
FreePBX
FreePBX es una interfaz gráfica de usuario de código abierto basada en web que
controla y dirige Asterisk, un servidor de VoIP.
Asterisk es un programa de software libre (bajo licencia GPL) que proporciona
funcionalidades de una central telefónica (PBX).
2
Instalación y configuración de FreePBX
VirtualBox
Download VirtualBox
About
Here you will find links to VirtualBox binaries and its source code.
Screenshots
Downloads VirtualBox binaries
By downloading, you agree to the terms and conditions of the respective license.
Documentation
End-user docs VirtualBox 7.0.18 platform packages
• '*Windows hosts
Technical docs
• '* macOS / Intel hosts
Contribute • Linux distributions
• '*Solaris hosts
Community • c->Solaris 11 !PS hosts
Tendremos que rellenar el siguiente formulario para que nos permita descargar
la imagen ISO. Se descargará un archivo "SNG7-FPBX-64bit-xxxx-2.iso" o similar.
3
•
First Name
Select ...
• Distro Releases
• Special Offers Which best describes you?
• Product Updates Select ...
• New Products
• Newsletters/Biogs How are you planning to deploy FreePBX?
Select ..
You will be able to opt out of this communication at any time.
DownlOad FrcepBX 16
Seleccionamos “Nueva”
~~~~~~~~~~~~~~~~~~~~---
Archivo Maqu1na Ayuda
0
--
.., Guardada
Nueva A.Oadir
• General
Nombre:
Configuraa6n Descartar Intaar
proxmox elena
S•stemo operotivo: Other Unux (64·brt)
I Sistema
• Pantala
Anacenamlento
COntrolM<>r: IDE
Dtsp<>Sltivo IDE pr1morio O: ptOJCffiOX elfna.vdl (HOnnal, 50,00 CB)
Dtspositlvo IDE secundario 0: [Unidad 6pbca] proxrnox-w_7.1·2.lso (inacceslble)
Tipo Linux
Nombre: VoIP·FreePBX
cerpete: C:\Users\edelv\VirtualBoxVMs v
Edie on:
Tipo: Linux
•
Tambi~n es poslble habllltar EFL
•
4 MS S192 MS
Procesadores:
1 CPU 8 CPUs
0 Habilitar EFI (s61o SO especiales)
•
0 Crear un disco duro virtual ahora
4,00 MB 2,00 TB
0 Reservar tamailo completo
5
Pulsamos en terminar e iniciamos la máquina virtual
0 Crear maquina virtual ? x
Resumen
La siguiente tabla resume la conftguraci6n que ha elegido para la nueva maquina virtual. Cuando este conforme
con la conftguraci6n presione Finalizar para crear la maqulna virtual. 'rarnbren puede volver atras y modiftcar la
configuraci6n.
00
Naeve Aflcdlr
0
ConfigurcclOn oescerter Inlclcr
~General ~ Previsuaizaci6n
Nombre: VoIP·FreePBX
srsteme operatlvo: Other Linux (64-bit)
~Sistema
~ Pantalla
VoIP-FreePBX
!il Almacenamiento
Gontrolador: IDE
Dispositivo IDE secundario O: [Unidad 6ptica] Vacio
Controlador: SATA
Puerto SATA O: VoIP·FreePBX.vdi(Normal, 123,00 GB)
~Audio
~ CTRL DERECHA
6
Paso 3 Instalación de Asterisk Free PBX
Seleccionamos la imagen ISO de FreePBX que descargamos anteriormente y
pulsamos en “montar y reintentar inicio”
DVD: C:\Users\edeiv\Desktop\SNG7·PBX16·64bit·2302·1.iso v
7
Instalación estándar
USER SETTINGS
Complete•
SangomaOS 7.8 is now successfully installed and ready for you to usel
Go ahead and reboot to start u51ng 1t!
'if.I.I'
8
Crear contraseña
ROOT PASSWORD SANGOMAOS 7 8 2302·1 INSTALLATION
D:':"" ~ ..
The root account is used for administeringthe system. Enter a passwordfor the root user.
Root Password: I !iii"""
:::::::J Weak
Confirm: I .......•.
ll!!lus ~
USER SETTINGS
USER CREATION
Userasterisk will be created
Complete!
SangomaOS 7.8 is now successfuUy installed, but some configuration still nef&s to be done.
Finish It and then cUck the Finish configuration button please.
''Mf!.iiif'!.F
ll!!lus Help!
:.
USER SETTINGS
Complete!
..
SangomaOS 7 .8 is now successfullyinstalled and ready for you to use!
Go ahead and reboot to start using it!
9
Después de reiniciarla, apagamos la máquina y vamos a configuración:
~ Oracle VM Virtual Box Administrador 0 x
Ardlillo Moquin• Ayud•
• General • Previsualzad6n
VolP-FreePllX
l.!J Apogad• Nombre: Vo!P-FreeP9X
Sistem• operotNo: Other Linux(64-M)
I Sistema
Memona base: 2048 MS
Procesadores: 2
Orden ~ arranque: 01squete,6ptico,
Disco duro
Acelerod<ln: Paginad6n an1dada,
PAf/PfX,
Porovirtu•ltz•o6n
KVM
VolP-FreePBX - Configuraci6n D x
1~ I
General
Sistema
I Almacenamiento
DispositNosde almacenamiento Atnbutos
I)> use
cerpetes cornpertldas
Ll lnterfaz de usuario
r FreePBX · Configuraci6n D x
~General Red
Conectado a: NAT
Almacenamlento
Nombre:
~Audio ~ Avanzado
...
.. Red
10
En “Conectado” cambiamos NAT por adaptador puente
II General Red
Red
~
En “Nombre” aparecerá la tarjeta de red con la que está conectado el equipo (por
cable o por Wifi como en este caso)
login root
USER SETTINGS
contraseña la que introducimos en
11
Comprobamos la IP de
nuestra máquina virtual
12
Paso 4 Configuración de Asterisk Free PBX
• 192.168.0.19
AV Fterra II fpdistancia 0 calidade 111!1 programaci6ns 0 drive Ill abalar M gmail 111!1 cadp m bbva 0 galego m 82.2 YIP. W-R §i!!I Tinkercad - BBC '
) [ Reportes] [ configuraciones J~
Welcome to FreePBXAdministration!
Initial Setup
Please provide the core settings that will be used to administer and update your system
Administr
ator User
System Updates
AutomaticModule Updates
1il111 i@'·~1·@~·Fi.---:-Em=:-ai~IO:=;nl~y~--;::D~is~ab~l~ed:;--,J
Setup System ]
Username ad min
Password
Really Weak
Confirm Password
System Notifcations Email
edeiverey@gmail.com
Notifications Email address
System Identification
System Updates
Setup System ]
13
Introducimos usuario y contraseña que acabamos de crear y activamos el sistema
• •
Login Welcome to your new FreePBX Server
To get started, please enter your credentials:
Thanks for installing FreePBX!
acrrun Your machine is almost ready lo go. Before you get started, would you like lo activate ynur new server?
FreePBX Administration Get Support AciivatlOn is opllonal, but Is highly recommended. ktivat1ng your 'Server is reqehed lo purchase Commercial modules and
Paid Support
Introducimos el email
Portal Account
Portal Account
Please emer your email address below.
Password (Again):
Mart
1Hd.!!.1
--
Aparecerán varios carteles publicitarios, pulsamos “skip” en todos…
DISCOVEROUR PHONES
escogemos idioma
I~ I Admin 11 Applications 11 Connectivity JI Dashboard 1 Reports 11 Settings I~
Please Select the default locales of the PBX
Based on your locale your language and timezone have been pre-selected.
Abort
14
Sangoma Smart Flrewall
Sangoma Smart Firewall is a revolutionary Open Source Firewall solution, designed from the ground up to completely secure your VoIP
system.
To start using Sangoma Smart Firewall you slmpty need to answer a couple or questions. and your Firewall will be configured and activated
immediately.
If you do not wish to use SangomaSmart rlrewefl,simply click 'Abort'.You may return to this setup wizardvia the 'Firewall' option in the
Connectivity menu.
At the completion of this wizard, the firewall will be automatically enabled.
Next
It is highly recommended that the client you're currently using(192.168.0.13132)shoukt be marked as Trusted. This will ensure that
you can not accidentally be locked out of this server.
You would normally select Yes to this question. The only time you would pick No is if you are not usin.g the diem machine you will be
using in the futureto manage thissystem.
Abort
The necwori( you are currenlly using (192.168.0.0/24)to manage this server isn't marked as Trusted.
If this is a known secure network. you should add it to lhe Trusted zone
aeese ensure that you are not madvertendy allOY11ng unauthorized hosts access to your m<tehme. You should only select 'Yes' if you are sure the network (above) is not accessible by any ueknown third
parties.
Abort
Enabling Responsive Firewall all~ remote clients to securely register to this server without explicitly wh1tel1sting them.
It is recommended to turn this on if you have remote clients.
Further information is available at the PBX Wiki.
5angomaSmart Firewall
Firewall should now auto-detect and configure Excemal IP settings. This will assist with NAT or Translation issues.
You should say 'Yes' to this, unless you have an extremely complex network with multiple external default gereweys.
You can verify thesesettings in Sip Settingsafter this wizard is complete.If you havea non-starkIP address.you may need to use a
DONS provider which wm require manual configuration.
Abort
No -
15
SIPStetlon Free Trial
0 Adm!nlst Aplludones Contttlvldad Dashboard Rtpones Conngurac!onH e: hi. .13'.1,!fo!l.1 @fl,fj ~@](A
Bienvenido a FreePBX
Vision de conjunto del sistema FreePBX - Let Freedom Ring Feed Sangoma Technologies Feed
• FrttPBX17ProgreuUpdate • Delivering a One-rwo Punch 10 NEC's Departure from the On-premise PBX Market
Bienvenido a FreePBX • UpdatedFreePSXSecurityReportingPolicy • Why cacese On-Premise Solutions In a Cloud-Oomin.tted Er.t?
FreePSX16.0.33'VolPServer' • FrttPBX170fficialDeblanlnsiallBe1a • Navigating the Future with Confidence: The Stra:egk !mpera~ of On-Premise UC Solucio11s
rusted puede cambiar esteromore en Configuraci6n Avanzada) • G,1Hublssues.treOnline • Switchve>x On-Premises: Alive & Well
• PCI Complia11ce: How the Sangoma P-Ser~s Business Phone System Can Keep You Out of jail
sumerto Systnfc actuanzedahace 1 segundos
• Power!11g Patle111 Touchpolnts: Sangoma's Cure forCommun1<fltion Roadblocks
asterisk
ErroresCrltlcosEncontrados
·MySQL live Network Usage
Porfavorrev1seloserroresen~secciOn
servroor web
denotlflcaciones Asterisk ... InterfaceethO
sanaaeo
System Registration TiempoaM
Conflguracl6nde1Flrewall ~
system nrewan ~
Memoria ...
Mall Queue
UCPDaemon Disco lj
XmppDaemon •Un!"sO<>li,,. •unrs Oftlin• •Tru"k• O<>lin• •TrunksOtfHne
Red ... • (h..,.,~1> In UH
Promediosdecarga
16
Paso 5 Configuración de extensiones en Asterisk Free PBX
,..
UCPDaemo
nrrectcnc
Disco
xmpp Oeerr Dynamic Routes
•U••~•l)n.!i1>e •Users otfHne •Trunl:s Online •Trunl:1 Offline
•{h"'1nd• In Use
eaenstooes
Thereare1 SigueMe Cl Notepad
Tiempo activo
tntrusjon de IVR CIO No notes found
Nosehanencontradoregfstros.
17
Todas las extenstones 1[ Personalizado sxrensrcnes J[ OAHOi exrensrcnes
II IAX2 exeensrenes ][ SIP (chan_pjsip] extensrenes ]I Virtual extensrcnes J
D i 2001 I usuertot
I"' lo lo lo lo lo I pjsip 1~·11!1
1 -1de1 regrstros.
Añadimos otras dos extensiones (o las que queráis) de la misma forma que la anterior
I Administ 11 Aplicaciones 11 conectividad ] I Dashboard 11 Reportes 11 configuraciones I~ ""lfl'+1.1.q11;r;1.1,; C[)@:
j Todas las Extensiones 1r Personalizado Extensiones 1[ DAHDi Extensiones ][ IAX2 Extensiones l[ SIP [chan_pjsipJ Extensiones 1[ Vircual Extensiones ]
1-3de3 regtstros.
Una vez creadas todas las extensiones pulsamos en APLICAR CONFIGURACIÓN para enviar esta
configuración a la centralita.
+Af'ladlrEllttns16n· ~'16nlliipldltdtEllttnsl6n
- I c I "' ~ m.
0 Exttns16n Nombrt Tlpo Atdonn
0
'"'" I'" 0 0 0 0 0 pjsip 1Clf i!I
0 2002 usceocz
'" 0 0 0 0 0 ~., Jc.-111
0 2003
"'"""' I"' 0 0 0 0 0 PJSIP Clfi!I
1-3M3rtgistrm..
18
• Una vez instalado clicamos en el icono y nos aparecerá el siguiente teléfono
Account name:
x
i
Ad='..~·l~•·~""~~l~0o~""="'--~I<=•~"~''"~~----- ~ Caller ID: Jex
~ I Credentials--
~ I Enter your SIP account credentials
I So""" 1 E><ension:
D):
a.,..20_0_1.,;?"'------
f2001
Password: r-1 ·,-···,-··,-··----
querais,
La IP de la PBX es la direccion de nuestra Perform prO\'isioning from following URL:
,..
Pre~es
«cvenene
Main menu
~
Accounts
·~
Ii
i'
Una vez configurado sabremos que está conectado
a la centralita porque aparecerá “On Hock“ y
además mostrará el usuario, en este caso usuario 1.
~ ~
Calls About
f
'
-~ ~
[1etoug
w Exit
para salir de la aplicación
.~
t ~
~ ,c~ pulsamos “exit”
- Help
IL
Zoiper https://www.zoiper.com/en/voip-softphone/download/current
~ ~
Zoiper s
free VoIPsoftphone for oon-commerclatuse Basic functionality Business functionality Fully customized
for occasional use For the power user solutions according
•Autol'r<M$o0<111'><,l
to your specs
~lUMOl'li)'
Desktop
• Windows
Como instalar zoiper
https://www.zoiper.com/en/support/home/article/184/How_to_install_Zoiper_5#windows
.fi Unox
19
En usuario pondremos la extensión del usuario 2 2002 (la contraseña es la que le hayamos puesto a
esa extensión). Pulsamos en login y en la siguiente ventana introducimos la dirección IP de la centralita.
(JJ ZoiperS
(1) ZoiperS
2002
192.168.0.19
-
ilijii@lii.!ii.11
~-1·
l,JJZoiperS
Optional
Pleasewait, we are
Authentication and
testing possible
Outbound proxy
configurations
SIPTCP I !.@!
• SIP UDP
IAXUDP !Ml
Accounts x 2002@192.168.0.19
)( SIP
SIP Credentials
(JJzo1
SlP Do you need help? 2002@192.168.0.19
.,, 2002@19l_168.0.19
192.168.0.19
FAQ: looking for a bow'lg manual somefancy °' Domain
tutona!s?Find many frequMtly asked ql.Jl!Sbon5 and
addioonal user guides at ou1 help IM¥· Username 2002
Password
Community. Are you using the free venion arw:I need help. but can"! find it in
and tutorials? Ask your fellow ZOIJ)('!5 users on OUf community fuum.
Corporate: Check out fi,JI product portfolio. whitel.abel b,.,,,(fng soluhons, SD Optional SIP credentials
Jf1 touch wnh us on our Ad: the Zoiper5 mff page on our W!'bMe
Use auth. username
Found a bog? Report 11 here,
Use outbound proxy
You a.rerunning:
Phollt"version: Z0tpef5 5.6.4 for Windows64bt Outbound proxy
lJbratyrPVision:v2.10.204
Phone reYISion:5.6.4
lJlfWi51on:13.J
20
COMPROBACIÓN DE FUNCIONAMIENTO
., 2002@192.168.0.19 0 ~
...
Calls
,.,.
200Z8192.16R.llt9
Contacts Contact
2 3
,,11 Online Pevontes
All Online Favo ABC DEF
4 5 6
GHI JKL MNO
Click here t
7 8 9
new co PQRS ruv W)('(Z
0 #
Dial
21
CONFIGURACIÓN DE ZOIPER EN UN TELÉFONO MÓVIL
f- zoiper
ccotreseae
Mas de Estos d11tos se utllfum FM!f9:
4.4• tostctar
'M 100M - Soludonde prob1emas.
PEG13©
-(i) Descar9a~ SonaoniaoonO.~
Encender
192.168019
~-·~·
~~"-'-v.....___..~._......:__, 1234567890
.....-!-...... .....- ........!-..1.....< -- ~-- -
@ •
d @ # € & = %
._,,,_.....,_,,._,,__,,,,~,_..,__,.,.~,"--4
---=__.:.::.____;,_. abc
-.ariolUOOll
ftllt..U rnecr.-~20030192168019
•
22
{JJZoiperS
,,,, 2002@192.168.0.19
Io. zoos
Calls
Online Favorites
•
QJ ZoiperS
~ 2002@192.168.0.19 '-""""""""
usuerlo2 (2002)
@: 2003 Entrantemediante 2003@192168019
-
\,. D IGNORAR RESPONDER
Calls
• 00:26
Contacts
your search
Would you like to add it?
0 ......, ~
23