Sie sind auf Seite 1von 10

CONFIGURACION DE IPPBX CON ASTERISK Laboratorio Grupal Integrantes: Kira Bravo Tarazona James Cubas Mendoza Jos Antonio

Bocanegra Marcos Quispe Huaytalla Emmanuel Crdenas Araujo

Topologa

Configuracin del Telfono IP

Configuracin del Software X-lite 4

IMPLEMENTACION DEL SERVIDOR CENTOS-LINUX

Configuracin del Archivo SIP.conf (/etc/asterisk/)


[general] context = local port = 5060 binaddr = 0.0.0.0 disallow = all allow = ulaw allow = gsm allow = all language = es [2001] type = friend context = local secret = 2001 nat = no host = dynamic allow = all mailbox = 2001@voice [2002] type = friend context = local secret = 2002 nat = no host = dynamic allow = all mailbox = 2002@voice ;se configura los nmeros de anexos ;se configura compartido ;para anexos del context en el archivo extensions.conf ;para asignar la clave de la suscripcin del telfono ;todos los formatos de codecs ;para definir el buzn de cada usuario

[2003] type = friend context = local secret = 2003 nat = no host = dynamic allow = gsm mailbox = 2003@voice [2004] type = friend context = local secret = 2004 nat = no host = dynamic allow = gsm mailbox = 2004@voice [2005] type = friend context = local secret = 2005 nat = no host = dynamic allow = gsm mailbox = 2005@voice [2006] type = friend context = local secret = 2006 nat = no host = dynamic allow = gsm mailbox = 2006@voice

Configuracin del Archivo system.conf (/etc/dahdi/)


fxoks=3 echocanceller=mg2,3 fxsks=4 echocanceller=mg2,4 loadzone=es defaultzone=es

Configuracion del Archivo modules (/etc/dahdi/)


#Drivers habilitados para nuestra tarjeta y componentes # Digium # Digium # Digium # Digium wct4xxp TE205P/TE207P/TE210P/TE212P: TE405P/TE407P/TE410P/TE412P: TE220: PCI-Express dual-port TE420: PCI-Express quad-port PCI dual-port T1/E1/J1 PCI quad-port T1/E1/J1 T1/E1/J1 T1/E1/J1

# Digium TE120P: PCI single-port T1/E1/J1 # Digium TE121: PCI-Express single-port T1/E1/J1 # Digium TE122: PCI single-port T1/E1/J1 wcte12xp # Digium T100P: PCI single-port T1 # Digium E100P: PCI single-port E1 wct1xxp # Digium TE110P: PCI single-port T1/E1/J1 wcte11xp # Digium TDM2400P/AEX2400: up to 24 analog ports # Digium TDM800P/AEX800: up to 8 analog ports # Digium TDM410P/AEX410: up to 4 analog ports wctdm24xxp # X100P - Single port FXO interface # X101P - Single port FXO interface wcfxo # Digium TDM400P: up to 4 analog ports wctdm # Digium B410P: 4 NT/TE BRI ports wcb4xxp # Digium TC400B: G729 / G723 Transcoding Engine wctc4xxp # Xorcom Astribank Devices xpp_usb

Configuracion del Archivo chan_dahdi.conf (/etc/asterisk/)


[channels] ;General options, Parametros globales usecallerid = yes callwitingcallerid = yes ;hidecallerid = no callwaiting = yes threewaycalling = yes transfer = yes echocancel = yes echocancelwhenbridged = yes rxgain = 2.0 txgain = 2.0 ;FXS Modules; parametros para las llamadas salientes group = 3 echocancel = yes signalling = fxo_ks context = saliente channel => 3

;FXO Modules; parametros para las llamadas entrantes group = 4 echocancel = yes signalling = fxs_ks context = entrante channel => 4

Configuracin del Archivo extension.conf (/etc/asterisk/)


[general] static = yes writeprotect = no userscontext = local [local] exten => 2001, 1, Dial(SIP/2001,20) exten => 2001, 2, Voicemail(2001@voice) ;para
buzn

iniciar la grabacin del mensaje de voz en el

exten => 2001, 102, Voicemail(2001,b) exten => 2001, 103, hangup exten exten exten exten exten exten exten exten exten exten exten exten exten exten exten exten exten exten exten exten => => => => => => => => => => => => => => => => => => => => 2002, 2002, 2002, 2002, 2003, 2003, 2003, 2003, 2004, 2004, 2004, 2004, 2005, 2005, 2005, 2005, 2006, 2006, 2006, 2006, 1, Dial(SIP/2002,20) 2, Voicemail(2002@voice) 102, Voicemail(2002,b) 103, hangup 1, Dial(SIP/2003,20) 2, Voicemail(2003@voice) 102, Voicemail(2003,b) 103, hangup 1, Dial(SIP/2004,20) 2, Voicemail(2004@voice) 102, Voicemail(2004,b) 103, hangup 1, Dial(SIP/2005,20) 2, Voicemail(2005@voice) 102, Voicemail(2005,b) 103, hangup 1, Dial(SIP/2006,20) 2, Voicemail(2006@voice) 102, Voicemail(2006,b) 103, hangup

exten => 2000, 1, VoiceMailMain(@voice) ;habilitar el administrador de buzn para escuchar los mensajes include => features include => saliente include => entrante include => meetme ;se habilita la configuracin IVR ;se habilita las llamadas salientes del PSTN ;se habilita las llamadas entrantes del PSTN ;se habilita la configuracin de la conferencia

;Configuracin de la Conferencia (meetme) [meetme] ;exten => 2500, 1, Meetme(2500,cp) ;Ingreso directo exten => 2500, 1, Meetme(,DM(default)p) ;Ingreso con una sala con contrasea exten => 2500, n, hangup ;Configuracin de las llamadas salientes [saliente] exten => _[2-7]xxxxxx,1,Dial(dahdi/20) exten => _[2-7]xxxxxx,2,hangup ;Configuracin de las llamadas entrantes [entrante] exten => s,1,Answer exten => s,2,Dial(DAHDI/g1,20,rt) exten => s,3,Goto(menu-dia,s,1) ;exten => s,3,Voicemail(1000,u) ;exten => s,103,Voicemail(1000,b) ;Configuracin del IVR ;Configuracin para grabar el mensaje de bienvenida del IVR [features] exten => 2011,1,Goto(menu-dia,s,1) exten => 3333,1,Answer exten => 3333,n,Wait(1) exten => 3333,n,Record(day-menu.wav) exten => 3333,n,Playback(day-menu) exten => 3333,n,Hangup() ;Configuracin para ingresar al IVR [menu-dia] exten => s,1,Answer() exten => s,n,Wait(1) exten => s,n,Background(day-menu) exten => s,n,WaitExten(6) exten exten exten exten exten exten => => => => => => 1,1,Goto(local,2001,1) 2,1,Goto(local,2002,1) 3,1,Goto(local,2003,1) 4,1,Goto(local,2004,1) 5,1,Goto(local,2005,1) 6,1,Goto(local,2006,1)

exten => 7,1,Goto(s,1) exten => 8,1,Goto(s,1) exten => 0,1,Goto(s,1) exten => 9,1,Directory(default,local,e) exten => *,1,Goto(s,1) exten => #,1,Goto(s,1)

Configuracin del Archivo meetme.conf (/etc/asterisk/)


[general] ;audiobuffers=8 ; The number of 20ms audio buffers to be used ; when feeding audio frames from non-DAHDI channels ; into the conference; larger numbers will allow ; for the conference to 'de-jitter' audio that arrives ; at different timing than the conference's timing ; source, but can also allow for latency in hearing ; the audio from the speaker. Minimum value is 2, ; maximum value is 32. ; Conferences may be scheduled from realtime? ;schedule=yes ;logmembercount=yes ;fuzzystart=300 ;earlyalert=3600 ;endalert=120

[rooms] conf => 2500 conf => 2501,1234 conf => 2502,1234,5678 ;Sala comn ;Sala con contrasea de usuarios ;Sala con contrasea de administrador

Configuracin del Archivo voicemail.conf (/etc/asterisk/)


[general] format=wav49|gsm|wav ;habilita que el mensaje de de los buzones se escuche de cualquier anexo sendvoicemail = yes ; Que la notificacin por correo electrnico que parecen provenir de serveremail=asterisk ; Si el correo electrnico contiene el buzn de voz como un archivo adjunto attach=yes ; Cuantos milisegundos para saltar hacia adelante / atrs, cuando REW / FF en la reproduccin del mensaje

skipms=3000 ; Cuntos segundos de silencio antes de finalizar la grabacin? maxsilence=10 ;El silencio del umbral (lo que consideramos el silencio: el inferior, el ms sensible) silencethreshold=128 ;Nmero mximo de intentos fallidos de conexin maxlogins=3 ;Set el formato de fecha en los mensajes salientes. Los argumentos vlidos se pueden encontrar en la pgina del manual emaildateformat=%A, %B %d, %Y at %r [voice] ;formato del mailbox ;<mailbox>=<password>,<name>,<email>,<pager_email>,<options> ;buzones creados para cada anexo 2001 => 1234, Example Mailbox, root@localhost 2002 => 1234, Kira, root@localhost 2003 => 1234, James, root@localhost 2006 => 1234, Quispe, root@localhost

Das könnte Ihnen auch gefallen