Documente Academic
Documente Profesional
Documente Cultură
[199]
host=dynamic
secret=199
context=default
type=friend
encryption=yes
avpf=yes
force_avp=yes
icesupport=yes
directmedia=no
disallow=all
allow=opus
allow=ulaw
dtlsenable=yes
dtlsverify=fingerprint
dtlscertfile=/etc/asterisk/keys/asterisk.pem
dtlscafile=/etc/asterisk/keys/ca.crt
dtlssetup=actpass
rtcp_mux=yes
;;; OPCIONAL
dial=SIP/199
allow=vp8
nat=yes,force_rport
keepalive=60
generaterpid=no
trustrpid=no
sendrpid=no
qualify=no
qualifyfreq=600
videosupport=no
callcounter=yes
[general]
language = es
[1000]
username=1000
type=friend
secret=123
callerid="PC Sebastian Olaya" <1000>
host=dynamic
nat=no
context=internal
mailbox=1000@voicemail
callgroup=1
pickupgroup=1
videosupport = yes
maxcallbitrate=384
dial=SIP/1000
disallow=all
allow=alaw
allow=opus,ulaw
allow=gsm
allow=speex
allow=speex32
allow=g722
allow=h261
allow=h263
allow=h263p
allow=h264
allow=g729
allow=h264
allow=h263
allow=h263p
allow=vp8
;directmedia=no
;icesupport=yes
[1001]
username=1001
type=friend
secret=123
callerid="PC Mauricio Perdomo" <1001>
host=dynamic
dtmfmode=rfc2833
nat=no
context=internal
mailbox=1001@voicemail
callgroup=1
pickupgroup=1
videosupport = yes
maxcallbitrate=384
dial=SIP/1001
disallow=all
allow=alaw
allow=opus,ulaw
allow=gsm
allow=speex
allow=speex32
allow=g722
allow=h261
allow=h263
allow=h263p
allow=h264
allow=g729
allow=h264
allow=h263
allow=h263p
allow=vp8
;directmedia=no
;icesupport=yes
[1002]
username=1002
type=friend
secret=123
callerid="PC Miguel Perez" <1002>
host=dynamic
nat=no
context=internal
mailbox=1002@voicemail
callgroup=1
pickupgroup=1
videosupport = yes
maxcallbitrate=384
dial=SIP/1002
disallow=all
allow=alaw
allow=opus,ulaw
allow=gsm
allow=speex
allow=speex32
allow=g722
allow=h261
allow=h263
allow=h263p
allow=h264
allow=g729
allow=h264
allow=h263
allow=h263p
allow=vp8
;directmedia=no
;icesupport=yes
[1003]
username=1003
type=friend
secret=123
callerid="CEL Sebastian Olaya" <1003>
host=dynamic
dtmfmode=rfc2833
nat=yes,force_rport,comedia
context=internal
mailbox=1003@voicemail
callgroup=1
pickupgroup=1
videosupport = yes
maxcallbitrate=384
dial=SIP/1003
disallow=all
allow=alaw
allow=opus,ulaw
allow=gsm
allow=speex
allow=speex32
allow=g722
allow=h261
allow=h263
allow=h263p
allow=h264
allow=g729
allow=h264
allow=h263
allow=h263p
allow=vp8
;directmedia=no
;icesupport=yes
[1004]
username=1004
type=friend
secret=123
callerid="CEL Mauricio Perdomo" <1004>
host=dynamic
dtmfmode=rfc2833
nat=yes,force_rport,comedia
context=internal
mailbox=1004@voicemail
callgroup=1
pickupgroup=1
videosupport = yes
maxcallbitrate=384
dial=SIP/1004
disallow=all
allow=alaw
allow=opus,ulaw
allow=gsm
allow=speex
allow=speex32
allow=g722
allow=h261
allow=h263
allow=h263p
allow=h264
allow=g729
allow=h264
allow=h263
allow=h263p
allow=vp8
;directmedia=no
;icesupport=yes
[1005]
username=1005
type=friend
secret=123
callerid="CEL Miguel Perez" <1005>
host=dynamic
dtmfmode=rfc2833
nat=yes,force_rport,comedia
context=internal
mailbox=1005@voicemail
callgroup=1
pickupgroup=1
videosupport = yes
maxcallbitrate=384
dial=SIP/1005
disallow=all
allow=alaw
allow=opus,ulaw
allow=gsm
allow=speex
allow=speex32
allow=g722
allow=h261
allow=h263
allow=h263p
allow=h264
allow=g729
allow=h264
allow=h263
allow=h263p
allow=vp8
;directmedia=no
;icesupport=yes
[1006]
username=1006
type=friend
secret=123
callerid="TelephoneIP" <1006>
host=dynamic
dtmfmode=rfc2833
nat=no
context=internal
mailbox=206@voicemail
callgroup=1
pickupgroup=1
videosupport = yes
maxcallbitrate=384
dial=SIP/1006
disallow=all
allow=alaw
allow=opus,ulaw
allow=gsm
allow=speex
allow=speex32
allow=g722
allow=h261
allow=h263
allow=h263p
allow=h264
allow=g729
allow=h264
allow=h263
allow=h263p
allow=vp8
;directmedia=no
;icesupport=yes
;(MENSAJE DE TEXTO)
accept_outofcall_message = yes
outofcall_message_context = messages
auth_message_requests = yes
subscribecontext = subscribe
[internal]
language = es
videosupport=yes
;(PLAN DE MARCACION)
exten=>1000,1,Dial(SIP/1000,15,tT)
exten=>1000,2,Voicemail(1000@voicemail)
exten=>1000,3,Playback(vm_goodbye)
exten=>1000,4,Hangup
exten=>1001,1,Dial(SIP/1001,15,tT)
exten=>1001,2,Voicemail(1001@voicemail)
exten=>1001,3,Playback(vm_goodbye)
exten=>1001,4,Hangup
exten=>1002,1,Dial(SIP/1002,15,tT)
exten=>1002,2,Voicemail(1002@voicemail)
exten=>1002,3,Playback(vm_goodbye)
exten=>1002,4,Hangup
exten=>1003,1,Dial(SIP/1003,15,tT)
exten=>1003,2,Voicemail(1003@voicemail)
exten=>1003,3,Playback(vm_goodbye)
exten=>1003,4,Hangup
exten=>1004,1,Dial(SIP/1004,15,tT)
exten=>1004,2,Voicemail(1004@voicemail)
exten=>1004,3,Playback(vm_goodbye)
exten=>1004,4,Hangup
exten=>1005,1,Dial(SIP/1005,15,tT)
exten=>1005,2,Voicemail(1005@voicemail)
exten=>1005,3,Playback(vm_goodbye)
exten=>1005,4,Hangup
exten=>1006,1,Dial(SIP/1006,15,tT)
exten=>1006,2,Voicemail(1006@voicemail)
exten=>1006,3,Playback(vm_goodbye)
exten=>1006,4,Hangup
exten=>*98,1,Answer
exten=>*98,2,Wait(1)
exten=>*98,3,VoiceMailMain($(CALLERID)@voicemail)
exten=>*98,4,Hangup
;(CONFERENCIA)
;INVITADO
exten => 222,1,progress()
exten => 222,2,wait(1)
exten => 222,3,ConfBridge(1,default_bridge,default_user)
;ADMINISTRADOR
exten => 111,1,progress()
exten => 111,2,wait(1)
exten => 111,3,ConfBridge(1,default_bridge,admin_user)
;(MENSAJES INSTANTANEOS)
[subscribe]
exten => 1000,hint,SIP/1000
exten => 1001,hint,SIP/1001
exten => 1002,hint,SIP/1002
exten => 1003;hint,SIP/1003
exten => 1004,hint,SIP/1004
exten => 1005,hint,SIP/1005
exten => 1006,hint,SIP/1006
[messages]
exten => 1000.,1,Noop(Mensaje de ${MESSAGE(1001)})
same => n,Noop(Mensaje para ${MESSAGE(1000)})
same => n,Noop(Texto = ${MESSAGE(body)})
same => n,Set(dest=${1000})
same => n,Messagesend(sip:${1000},${MESSAGE(1001)})
same => n,Noop(Estado del mensaje ${MESSAGE_SEND_STATUS})
same => n,GotoIf($["${MESSAGE_SEND_STATUS}" != "SUCCESS"]?failed,s,1)
same => n,Hangup
[failed]
;saber si el mensaje fue recibido
[voicemail]
language = es
[general]
language = es
;Administrador
[1000]
type = user
pin = 111 ;clave administrador
marked = yes
admin = yes
;Usuarios
[1001]
type = user
pin = 222 ;clave usuario
wait_marked = yes
end_marked = yes
[1002]
type = user
pin = 222 ;clave usuario
wait_marked = yes
end_marked = yes
[1003]
type = user
pin = 222 ;clave usuario
wait_marked = yes
end_marked = yes
[1004]
type = user
pin = 222 ;clave usuario
wait_marked = yes
end_marked = yes
[1005]
type = user
pin = 222 ;clave usuario
wait_marked = yes
end_marked = yes
[1006]
type = user
pin = 222 ;clave usuario
wait_marked = yes
end_marked = yes
[default_bridge]
type = bridge
max_members = 12
root@mao-Inspiron-N5110:/etc/asterisk# asterisk -r
Asterisk 13.18.2, Copyright (C) 1999 - 2014, Digium, Inc. and others.
Created by Mark Spencer <markster@digium.com>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'core show license' for details.
=========================================================================
Running as user 'asterisk'
Running under group 'asterisk'
Connected to Asterisk 13.18.2 currently running on mao-Inspiron-N5110 (pid = 1670)
mao-Inspiron-N5110*CLI> reload
/home/mao# cd /etc/asterisk/
/etc/asterisk# ifconfig
Direc. inet:192.168.0.14
B-Configuramos los telefonos moviles descargando la aplicacion PortGo con las siguientes
instruccciones
;usuario=200
;contraseña=123
;ip(generada por asterisk)=198.168.0.14
;usuario=200
;contraseña=123
;ip(generada por asterisk)=198.168.0.14
/home/mao# asterisk -r
*CLI> sip show peers
15-BIBLIOGRAFIA
buzon de voz
http://hotfixed.net/curso-asterisk-1-8-capitulo-08-configurando-buzones-de-voz/
conferencias
http://www.fucking-it.com/es/documentacion/asterisk/25-asterisk-conferencia-de-voz
mensajes
https://voztovoice.org/?q=node/549