Howto central Asterisk

De Tutoriales de Informática
Ir a la navegación Ir a la búsqueda

Configuración de Asterisk

Archivos de configuración de central astersik

asterisk.conf

[directories](!)
astetcdir => /etc/asterisk
astmoddir => /usr/lib/asterisk/modules
astvarlibdir => /var/lib/asterisk
astdbdir => /var/lib/asterisk
astkeydir => /var/lib/asterisk
astdatadir => /usr/share/asterisk
astagidir => /usr/share/asterisk/agi-bin
astspooldir => /var/spool/asterisk
astrundir => /var/run/asterisk
astlogdir => /var/log/asterisk
astsbindir => /usr/sbin

[options]
;verbose = 3
;debug = 3
;alwaysfork = yes		; Same as -F at startup.
;nofork = yes			; Same as -f at startup.
;quiet = yes			; Same as -q at startup.
;timestamp = yes		; Same as -T at startup.
;execincludes = yes		; Support #exec in config files.
;console = yes			; Run as console (same as -c at startup).
;highpriority = yes		; Run realtime priority (same as -p at
				; startup).
;initcrypto = yes		; Initialize crypto keys (same as -i at
				; startup).
;nocolor = yes			; Disable console colors.
;dontwarn = yes			; Disable some warnings.
;dumpcore = yes			; Dump core on crash (same as -g at startup).
;languageprefix = yes		; Use the new sound prefix path syntax.
;systemname = my_system_name	; Prefix uniqueid with a system name for
				; Global uniqueness issues.
;autosystemname = yes		; Automatically set systemname to hostname,
				; uses 'localhost' on failure, or systemname if
				; set.
;mindtmfduration = 80		; Set minimum DTMF duration in ms (default 80 ms)
				; If we get shorter DTMF messages, these will be
				; changed to the minimum duration
;maxcalls = 10			; Maximum amount of calls allowed.
;maxload = 0.9			; Asterisk stops accepting new calls if the
				; load average exceed this limit.
;maxfiles = 1000		; Maximum amount of openfiles.
;minmemfree = 1			; In MBs, Asterisk stops accepting new calls if
				; the amount of free memory falls below this
				; watermark.
;cache_record_files = yes	; Cache recorded sound files to another
				; directory during recording.
;record_cache_dir = /tmp	; Specify cache directory (used in conjunction
				; with cache_record_files).
;transmit_silence = yes		; Transmit silence while a channel is in a
				; waiting state, a recording only state, or
				; when DTMF is being generated.  Note that the
				; silence internally is generated in raw signed
				; linear format. This means that it must be
				; transcoded into the native format of the
				; channel before it can be sent to the device.
				; It is for this reason that this is optional,
				; as it may result in requiring a temporary
				; codec translation path for a channel that may
				; not otherwise require one.
;transcode_via_sln = yes	; Build transcode paths via SLINEAR, instead of
				; directly.
;runuser = asterisk		; The user to run as.
;rungroup = asterisk		; The group to run as.
;lightbackground = yes		; If your terminal is set for a light-colored
				; background.
;forceblackbackground = yes     ; Force the background of the terminal to be 
                                ; black, in order for terminal colors to show
                                ; up properly.
;defaultlanguage = en           ; Default language
documentation_language = en_US	; Set the language you want documentation
				; displayed in. Value is in the same format as
				; locale names.
;hideconnect = yes		; Hide messages displayed when a remote console
				; connects and disconnects.
;lockconfdir = no		; Protect the directory containing the
				; configuration files (/etc/asterisk) with a
				; lock.
;stdexten = gosub		; How to invoke the extensions.conf stdexten.
				; macro - Invoke the stdexten using a macro as
				;         done by legacy Asterisk versions.
				; gosub - Invoke the stdexten using a gosub as
				;         documented in extensions.conf.sample.
				; Default gosub.
;live_dangerously = no		; Enable the execution of 'dangerous' dialplan
				; functions from external sources (AMI,
				; etc.) These functions (such as SHELL) are
				; considered dangerous because they can allow
				; privilege escalation.
				; Default yes, for backward compatability.

; Changing the following lines may compromise your security.
;[files]
;astctlpermissions = 0660
;astctlowner = root
;astctlgroup = apache
;astctl = asterisk.ctl

[compat]
pbx_realtime=1.6
res_agi=1.6
app_set=1.6

manager.conf

;
; Asterisk Call Management support
;

; By default asterisk will listen on localhost only. 
[general]
enabled = yes
port = 7038
bindaddr = 192.168.0.11

[cacti]
secret = npstbpr123
;deny = 0.0.0.0/0.0.0.0
permit = 192.168.0.0/255.255.252.0
read = all,system,call,log,verbose,command,agent,user,config
write = all,system,call,log,verbose,command,agent,user,config

; No access is allowed by default.
; To set a password, create a file in /etc/asterisk/manager.d
; use creative permission games to allow other serivces to create their own
; files
;#include "manager.d/*.conf" 

sip.conf

[general]

; GENERALIDADES ***********************************************

;Global Settings:
bindaddr=0.0.0.0
port=7060
videosupport=yes
allowguest=no
allowtransfer=yes
tcpenable=no
authfailureevents=yes
alwaysauthreject=yes
callevents=yes
callcounter=yes
useragent=asterisk
sdpsession=Thot
sdpowner=asterisk
t38pt_udptl=yes,fec,maxdatagram=400
use_q850_reason=yes
qualifyfreq=60


;Default Settings:
transport=udp
language=es
context=from-internal
sendrpid=yes
trustrpid=yes


;Global Signalling Settings:
disallow=all
allow=alaw,ulaw,gsm,h263,h264,h263p
rtptimeout=60
rtpholdtimeout=300
notifyhold=yes
srvlookup=yes
maxexpiry=3600
minexpiry=60
defaultexpiry=120
mwiexpiry=3600
preferred_codec_only=no
mohsuggest=default
parkinglot=default
prematuremedia=no
;directmedia=no


;Network Settings:
localnet=192.168.0.0/22


; EXTENSIONES ******************************************


[internos](!)

dtmfmode=info
canreinvite=no
subscribecontext=hints  ;prueba de hints
host=dynamic
type=friend
amaflags=documentation
qualify=yes
deny=0.0.0.0/0.0.0.0
permit=192.168.0.0/255.255.252.0

[grandstream-internos](!)

dtmfmode=info
canreinvite=no
host=dynamic
type=friend
qualify=yes
deny=0.0.0.0/0.0.0.0
permit=192.168.0.0/255.255.252.0

; ARCHIVOS INCLUIDOS  ***********************************

#include "sip_trunk.conf"
#include "sip_6xxx.conf"
;#include "sip_8xxx.conf"
#include "sip_7XXX.conf"

; CONTEXTOS ********************************************

sip_8xxx.conf

[4999](internos)
secret=8110pbx
context=desde-internos
dial=SIP/6002
callerid=device <8110>

[8106](internos)
secret=8106pbx
context=desde-internos
dial=SIP/7100
callerid=device <7100>

[8108](internos)
secret=8108pbx
context=desde-internos
dial=SIP/7225
callerid=device <7225>

[8109](internos)
secret=8109pbx
context=desde-internos
dial=SIP/7205
callerid=device <7205>

[8110](internos)
secret=8110pbx
context=desde-internos
dial=SIP/7823
callerid=device <7823>

[8111](internos)
secret=8111pbx
context=desde-internos
dial=SIP/7316
callerid=device <7311>

[8112](internos)
secret=8112pbx
context=desde-internos
dial=SIP/7816
callerid=device <7816>

[8113](internos)
secret=8113pbx
context=desde-internos
dial=SIP/8113
callerid=device <8113>

[8114](internos)
secret=8114pbx
context=desde-internos
dial=SIP/7227
callerid=device <7227>

[8115](internos)
secret=8115pbx
context=desde-internos
dial=SIP/7201
callerid=device <7201>

[8116](internos)
secret=8116pbx
context=desde-internos
dial=SIP/7406
callerid=device <7406>

[8118](internos)
secret=8118pbx
context=desde-internos
dial=SIP/7400
callerid=device <7400>

[8119](internos)
secret=8119pbx
context=desde-internosycelulares
dial=SIP/7779
callerid=device <7779>

[8120](internos)
secret=8120pbx
context=desde-internos
dial=SIP/7777
callerid=device <7777>

[8123](internos)
secret=8123pbx
context=desde-internos
dial=SIP/7640
callerid=device <7640>

[8124](internos)
secret=8124pbx
context=desde-internos
dial=SIP/7001
callerid=device <7001>

[8126](internos)
secret=8126pbx
context=desde-internos
dial=SIP/7006
callerid=device <7006>

[8127](internos)
secret=8127pbx
context=desde-internos
dial=SIP/7829
callerid=device <7829>

[8129](internos)
secret=8129pbx
context=desde-internos
dial=SIP/7312
callerid=device <7312>

[8130](internos)
secret=8130pbx
context=desde-internos
dial=SIP/7116
callerid=device <7116>

[8131](internos)
secret=8131pbx
context=desde-internos
dial=SIP/7828
callerid=device <7828>

[8132](internos)
secret=8132pbx
context=desde-internos
dial=SIP/7666
callerid=device <7666>

[8133](internos)
secret=8133pbx
context=desde-internos
dial=SIP/7889
callerid=device <7889>

[8134](internos)
secret=8134pbx
context=desde-internos
dial=SIP/7104
callerid=device <7104>

[8135](internos)
secret=8135pbx
context=desde-internos
dial=SIP/7657
callerid=device <7657>

[8140](internos)
secret=8140pbx
context=desde-internos
dial=SIP/7140
callerid=device <7140>

[8142](internos)
secret=ittfantasa12
context=desde-internos
dial=SIP/7867
callerid=device <7867>

[8144](internos)
secret=8144pbx
context=desde-internos
dial=SIP/7202
callerid=device <7202>

[8145](internos)
secret=8145pbx
context=desde-internos
dial=SIP/7200
callerid=device <7200>

[8147](internos)
secret=8147pbx
context=desde-internos
dial=SIP/7047
callerid=device <7047>

[8149](internos)
secret=8149pbx
context=desde-internos
dial=SIP/7101
callerid=device <7101>

[8152](internos)
secret=8152pbx
context=desde-internos
dial=SIP/7635
callerid=device <7635>

[8156](internos)
secret=8156pbx
context=desde-internos
dial=SIP/7128
callerid=device <8156>

[8157](internos)
secret=8157pbx
context=desde-internos
dial=SIP/7099
callerid=device <7099>

[8158](internos)
secret=8158pbx
context=desde-internos
dial=SIP/7851
callerid=device <7851>

[8160](internos)
secret=8160pbx
context=desde-internos
dial=SIP/7636
callerid=device <7636>

[8163](internos)
secret=8163pbx
context=desde-internos
dial=SIP/7634
callerid=device <7634>

[8165](internos)
secret=8165pbx
context=desde-internos
dial=SIP/7825
dial=SIP/7831
callerid=device <7825>

[8167](internos)
secret=8167pbx
context=desde-internos
dial=SIP/7715
callerid=device <7715>

[8168](internos)
secret=8168pbx
context=desde-internos
dial=SIP/7317
callerid=device <7317>

[8169](internos)
secret=8169pbx
context=desde-internos
dial=SIP/7642
callerid=device <7642>

[8170](internos)
secret=8170pbx
context=desde-internos
dial=SIP/7070
callerid=device <7070>

[8171](internos)
secret=8171pbx
context=desde-internos
dial=SIP/7641
callerid=device <7641>

[8172](internos)
secret=8172pbx
context=desde-internos
dial=SIP/7701
dial=SIP/7702
callerid=device <7701>

[8173](internos)
secret=8173pbx
context=desde-internos
dial=SIP/7813
dial=SIP/7814
callerid=device <7813>

[8175](internos)
secret=8175pbx
context=desde-internos
dial=SIP/7822
callerid=device <7822>

[8177](internos)
secret=8177pbx
context=desde-internos
dial=SIP/7633
callerid=device <7633>

[8179](internos)
secret=8179pbx
context=desde-internos
dial=SIP/7207
callerid=device <7207>

[8181](internos)
secret=8181pbx
context=desde-internos
dial=SIP/7352
callerid=device <7352>

[8183](internos)
secret=8183pbx
context=desde-internos
dial=SIP/7707
callerid=device <7707>

[8184](internos)
secret=8184pbx
context=desde-internos
dial=SIP/7011
callerid=device <7011>

[8185](internos)
secret=8185pbx
context=desde-internos
dial=SIP/7085
callerid=device <7085>

[8186](internos)
secret=8186pbx
context=desde-internos
dial=SIP/7407
callerid=device <7407>

[8189](internos)
secret=8189pbx
context=desde-internos
dial=SIP/7100
callerid=device <7100>

[8190](internos)
secret=8190pbx
context=desde-internos
dial=SIP/7383
callerid=device <7383>

[8191](internos)
secret=8191pbx
context=desde-internos
dial=SIP/7744
callerid=device <7744>

[8193](internos)
secret=8193pbx
context=desde-internos
dial=SIP/7213
callerid=device <7213>

[8196](internos)
secret=8196pbx
context=desde-internos
dial=SIP/7401
callerid=device <7401>

[8197](internos)
secret=8197pbx
context=desde-internos
dial=SIP/7300
callerid=device <7300>

[8198](internos)
secret=8198pbx
context=desde-internos
dial=SIP/7357
callerid=device <7357>

[8205](internos)
secret=8205
context=desde-internos
dial=SIP/7639
callerid=device <7639>

[8212](internos)
secret=8212
context=desde-internos
dial=SIP/7216
callerid=Impresiones <7216>

[8213](internos)
secret=8213
context=desde-internos
dial=SIP/7810
callerid=Mantenimiento<7810>

[8215](internos)
secret=8215
context=desde-internos
dial=SIP/7737
callerid=Coordinacion 1 <7737>

[8217](internos)
secret=8217
context=desde-internos
dial=SIP/7313
callerid=Coordinacion 2 <7313>

[8223](internos)
secret=8223
context=desde-internos
dial=SIP/7111
callerid=Ingreso <7111>

[8224](internos)
secret=8224
context=desde-internos
dial=SIP/7350
callerid=Investigaciones <7350>

[8229](internos)
secret=8229
context=desde-internos
dial=SIP/7206
callerid=device <7206>

[8231](internos)
secret=8231
context=desde-internos
dial=SIP/7717
callerid=device <7717>

[8236](internos)
secret=8236
context=desde-internos
dial=SIP/7315
callerid=device <7315>

[8241](internos)
secret=8241
context=desde-internos
dial=SIP/7922
callerid=device <7922>

[8248](internos)
secret=8248
context=desde-internos
dial=SIP/7703
callerid=Subsecretaria   <7703>

[8254](internos)
secret=8254
context=desde-internos
dial=SIP/7306
callerid=Recepcion<7306>

[8261](internos)
secret=8261pbx
context=desde-internos
dial=SIP/7736
callerid=device <7736>

[8299](internos)
secret=8299
context=desde-internos
dial=SIP/7706
callerid=Materiales Descartables<7706>

[8300](internos)
secret=8300
context=desde-internos
dial=SIP/7840
callerid=Traumatologia <7840>

[8303](internos)
secret=8303
context=desde-internos
dial=SIP/7379
callerid=Dermatologia<7379>

[8309](internos)
secret=8309
context=desde-internos
dial=SIP/7318
callerid=CREES Box 27 <7318>

[8311](internos)
secret=8311
context=desde-internos
dial=SIP/7314
callerid=Servicio Tecnico<7314>

[8313](internos)
secret=8313
context=desde-internos
dial=SIP/7638
callerid=Laboratorio<7638>

[8320](internos)
secret=8320
context=desde-internos
dial=SIP/7817
callerid=Sala de yesos<7817>

[8325](internos)
secret=8325
context=desde-internos
dial=SIP/7382
callerid=Sala de Rayos<7782>

[8333](internos)
secret=8333
context=desde-internos
dial=SIP/7218
callerid=RMI<7218>

[8335](internos)
secret=8335
context=desde-internos
dial=SIP/7219
callerid=RMI 2<7219>

[8336](internos)
secret=8336
context=desde-internos
dial=SIP/7220
callerid=RMI 3<7220>

[8337](internos)
secret=8337
context=desde-internos
dial=SIP/7221
callerid=RMI 4<7221>

[8339](internos)
secret=8339
context=desde-internos
dial=SIP/7735
callerid=Turnos<7735>

[8341](internos)
secret=8341
context=desde-internos
dial=SIP/7709
callerid=Comedor<7709>

[8342](internos)
secret=8342
context=desde-internos
dial=SIP/7310
callerid=Pediatria<7310>

[8343](internos)
secret=8343
context=desde-internos
dial=SIP/7009
dial=SIP/7010
callerid=Tomografias<7009>

[8344](internos)
secret=8344
context=desde-internos
dial=SIP/7819
callerid= Oncologia<7819>

[8347](internos)
secret=8347
context=desde-internos
dial=SIP/7637
callerid=Oftalmologia<7637>

[8351](internos)
secret=8351Ok
context=desde-internos
dial=SIP/7827
callerid=device <7827>

[8353](internos)
secret=8353
context=desde-internos
dial=SIP/7376
callerid=Seguridad<7376>

[8355](internos)
secret=8355
context=desde-internos
dial=SIP/7122
callerid=Clinicos <7122>

[8356](internos)
secret=8356
context=desde-internos
dial=SIP/7102
callerid=Vestuarios<7102>

[8357](internos)
secret=8357ok
context=desde-internos
dial=SIP/7867
callerid=Cirugias <7867>

[8359](internos)
secret=8359
context=desde-internos
dial=SIP/7724
callerid=Planta Baja<7724>

[8361](internos)
secret=8361
context=desde-internos
dial=SIP/7710
callerid=Enfermeria<7710>

[8362](internos)
secret=8362
context=desde-internos
dial=SIP/7214
callerid=Comedor<7214>

[8363](internos)
secret=8363
context=desde-internos
dial=SIP/7012
callerid=Expedientes <7012>

[8365](internos)
secret=8365
context=desde-internos
dial=SIP/7229
callerid=Nefrologo<7229>

[8367](internos)
secret=8367
context=desde-internos
dial=SIP/7726
callerid=Neurologo<7726>

[8368](internos)
secret=8368
context=desde-internos
dial=SIP/7727
callerid=Psicologia<7727>

[8372](internos)
secret=8372pbx
context=desde-internos
dial=SIP/7812
callerid=device <7812>

[8391](internos)
secret=8391pbx
context=desde-internos
dial=SIP/7712
callerid=device <7712>

[4700](internos)
secret=4700Ok
context=desde-internos
dial=SIP/4700
callerid=IVR <4700>

sip_7XXX.conf

;Internos desde 7000-7009
[7000](internos)
secret=4950pbx
context=accesototal
dial=SIP/7000
callerid=Direccion <7000>

[7001](internos)
secret=4950pbx
context=accesototal
dial=SIP/7001
callerid=Secretaria de Direccion <7001>

[7002](internos)
secret=4950pbx
context=accesototal
dial=SIP/7002
callerid=Sub-Director <7002>

[7003](internos)
secret=4950pbx
context=accesototal
dial=SIP/7003
callerid=Secretaria de Sub-director <7003>

[7005](internos)
secret=4951pbx
context=accesototal
dial=SIP/7005
callerid=Auditoria Interna <7005>

[7006](internos)
secret=4971pbx
context=accesototal
dial=SIP/7006
callerid=Gerente financiero<7006>

[7007](internos)
secret=4972pbx
context=accesototal
dial=SIP/7007
callerid=Secretaria de Gerente Financiero <7007>

[7008](internos)
secret=4973pbx
context=accesototal
dial=SIP/7008
callerid=Seguridad Informatica<7008>

[7009](internos)
secret=4954pbx
context=accesototal
dial=SIP/7009
callerid=Gerencia Medica<7009>

;Internos desde 7010-7019
[7010](internos)
secret=4830pbx
context=ddnycelulares
dial=SIP/7010
callerid=Secretaria de Gerencia Medica<7010>

[7011](internos)
secret=4972pbx
context=ddnycelulares
dial=SIP/7011
callerid=Legales<7011>

[7012](internos)
secret=4974pbx
context=accesototal
dial=SIP/7012
callerid=Legales 2 <7012>

[7013](internos)
secret=4957pbx
context=accesototal
dial=SIP/7013
callerid=Asesores Comerciales <7013>

[7014](internos)
secret=4783pbx
context=localesycelulares
dial=SIP/7014
callerid= Farmacia <7014>

[7015](internos)
secret=7015pbx
context=accesototal
dial=SIP/7015
callerid=Laboratorios externos <7015>


;Internos desde 7020-7029

;Internos desde 7030-7039

;Internos desde 7040-7049
[7047](internos)
secret=7010pbx
context=localesycelulares
dial=SIP/7047
callerid=Cocina Gerencia <7047>

;Internos desde 7050-7059

;Internos desde 7060-7069

;Internos desde 7070-7079
[7070](internos)
secret=7033pbx
context=accesototal
dial=SIP/7070
callerid=Cocina <7070>

;Internos desde 7080-7089
[7085](internos)
secret=7048pbx
context=accesototal
dial=SIP/7085
callerid=FAX Genrecia General <7085>

;Internos desde 7090-7099
[7095](internos)
secret=7038pbx
context=accesototal
dial=SIP/7095
callerid=Conmutador General <7095>
subscribecontext=BLF_pickup

[7096](internos)
secret=7038pbx
context=accesototal
dial=SIP/7096
callerid=Conmutador General<7096>
subscribecontext=BLF_pickup

[7099](internos)
secret=7062Pbx
context=accesototal
dial=SIP/7099
callerid=FAX General<7099>

;Internos desde 7100-7109
[7100](internos)
secret=7041pbx
context=accesototal
dial=SIP/7100
callerid=Medicina nuclear<7100>

[7101](internos)
secret=7041pbx
context=accesototal
callgroup=27
pickupgroup=27
dial=SIP/7101
callerid=Sala de Reuniones <7101>

[7102](internos)
secret=7041pbx
context=accesototal
dial=SIP/7102
callerid=Personal <7102>

[7103](internos)
secret=7041pbx
context=accesototal
dial=SIP/7103
callerid=Pernsonal PB <7103>

[7104](internos)
secret=7067pbx
context=accesototal
dial=SIP/7104
callerid=Personal PA <7104>

[7105](internos)
secret=7072pbx
context=locales
dial=SIP/7105
callerid=device <7105>

[7106](internos)
secret=7043pbx
context=accesototal
dial=SIP/7106
callgroup=12
pickupgroup=12
callerid=Direccion de Enfermeria <7106>

[7107](internos)
secret=7073pbx
context=accesototal
dial=SIP/7107
callgroup=12
pickupgroup=12
callerid=RRHH<7107>

[7108](internos)
secret=7074pbx
context=accesototal
dial=SIP/7108
callgroup=12
pickupgroup=12
callerid= Psicmotricidad <7108>

[7109](internos)
secret=7075pbx
context=accesototal
dial=SIP/7109
callgroup=12
pickupgroup=12
callerid=Terapia Ocupacional <7109>

;Internos desde 7110-7119
[7110](internos)
secret=4927pbx
context=ddnycelulares
dial=SIP/7110
callerid=Musico terapia <7110>

[7111](internos)
secret=7111pbx
context=from-internal
dial=SIP/7111
callerid=device <7111>

[7112](internos)
secret=7048pbx
context=accesototal
dial=SIP/7112
callerid=Relaciones Institucionales <7112>

[7113](internos)
secret=7072pbx
context=accesototal
dial=SIP/7113
callerid=Fonoaudilogia<7113>

[7114](internos)
secret=7073pbx
context=locales
dial=SIP/7114
callerid=Fonoaudiologia Neurolinguistica <7114>

[7116](internos)
secret=7075pbx
context=accesototal
dial=SIP/7116
callgroup=11
pickupgroup=11
callerid=psicologia infantil<7116>

[7117](internos)
secret=7052pbx
context=accesototal
dial=SIP/7117
callgroup=11
pickupgroup=11
callerid=psicologia 3 edad <7117>

[7118](internos)
secret=7052pbx
context=accesototal
dial=SIP/7118
callgroup=11
pickupgroup=11
callerid=Traumatologia <7118>

[7119](internos)
secret=4946pbx
context=accesototal
dial=SIP/7119
callerid=Kineseologia <7119>

;Internos desde 7120-7129
[7120](internos)
secret=7052pbx
context=ddnycelulares
dial=SIP/7120
callerid=RPG<7120>

[7121](internos)
secret=7052pbx
context=accesototal
dial=SIP/7121
callerid=Compras <7121>

[7122](internos)
secret=7085pbx
context=accesototal
dial=SIP/7122
callerid=Consultorio 1 <7122>

[7123](internos)
secret=7086pbx
context=accesototal
dial=SIP/7123
callerid=Consultorio 2 <7123>

[7124](internos)
secret=7090pbx
context=locales
dial=SIP/7125
callerid=Consultorio 3 <7124>

[7125](internos)
secret=7091pbx
context=accesototal
dial=SIP/7125
callerid=Consultorio 4 <7125>

[7126](internos)
secret=7095pbx
context=locales
dial=SIP/7126
callerid=Consultorio 5 <7126>

[7127](internos)
secret=7060pbx
context=accesototal
callgroup=27
pickupgroup=27
dial=SIP/7127
callerid=Consultorio 6 <7127>

[7128](internos)
secret=7094pbx
context=accesototal
dial=SIP/7128
callerid=Consultorio 7 <7128>

[7129](internos)
secret=7129
context=accesototal
dial=SIP/7128
callerid=Terapia ocupacional <7129>

;Internos desde 7130-7139
[7130](internos)
secret=7130
context=accesototal
dial=SIP/7128
callerid=Consultorio 8 <7130>

[7131](internos)
secret=7097pbx
context=accesototal
callgroup=20
pickupgroup=20
dial=SIP/7131
callerid=Consultorio 9 <7131>

[7132](internos)
secret=7098pbx
context=accesototal
callgroup=20
pickupgroup=20
dial=SIP/7132
callerid=Consultorio 10 <7132>

[7133](internos)
secret=4901pbx
context=localesycelulares
callgroup=27
pickupgroup=27
dial=SIP/7133
callerid=Consultorio 11 <7133>

[7134](internos)
secret=7134pbx
context=accesototal
dial=SIP/7134
callerid=Consultorio 12 <7134>

[7135](internos)
secret=7101pbx
context=ddnycelulares
dial=SIP/7135
callerid=Consultorio 13 <7135>

[7136](internos)
secret=7136pbx
context=accesototal
dial=SIP/7136
callerid=Consultorio 14 <7136>

;Internos desde 7140-7149
[7140](internos)
secret=7106pbx
context=from-internal
dial=SIP/7140
callerid=Consultorio 15 <7140>

;Internos desde 7150-7159
[7150](internos)
secret=7030pbx
context=ddnycelulares
dial=SIP/7150
callerid=Consultorio 16 <7150>

[7151](internos)
secret=7151pbx
context=from-internal
dial=SIP/7151
callerid=Consultorio 17 <7151>

;Internos desde 7160-7169

;Internos desde 7170-7179

;Internos desde 7180-7189

;Internos desde 7190-7199
[7190](internos)
secret=7147pbx
context=locales
dial=SIP/7190
callerid=Consultorio 18 <7190>

[7195](internos)
secret=7195pbx
context=AnexoInscripciones
dial=SIP/7195
callerid=Consultorio 19 <7195>

[7196](internos)
secret=7196pbx
context=AnexoInscripciones
dial=SIP/7196
callerid=Consultorio 20 <7196>

[7197](internos)
secret=7163pbx
context=solouncelyalgunosinternos
dial=SIP/7197
callerid=Internaciones <7197>

[7198](internos)
secret=7164pbx
context=solouncelyalgunosinternos
dial=SIP/7198
callerid=Habitacion 100<7198>

[7199](internos)
secret=7199
context=solouncelyalgunosinternos
dial=SIP/7199
callerid=Habitacion 101 <7199>

;Internos desde 7200-7209
[7200](internos)
secret=7130pbx
context=accesototal
dial=SIP/7200
callgroup=8
pickupgroup=8
callerid=Habitacion 103<7200>

[7201](internos)
secret=7130pbx
context=accesototal
dial=SIP/7201
callgroup=8
pickupgroup=8
callerid=Habitacion 104 <7201>

[7202](internos)
secret=7130pbx
context=accesototal
dial=SIP/7202
callgroup=8
pickupgroup=8
callerid=Habitacion 105 <7202>

[7203](internos)
secret=7130pbx
context=accesototal
dial=SIP/7203
callerid=Habitacion 107 <7203>

[7204](internos)
secret=7130pbx
context=locales
dial=SIP/7204
callerid= Habitacion 108 <7204>

[7205](internos)
secret=7170pbx
context=locales
dial=SIP/7205
callerid= Habitacion 109 <7205>

[7206](internos)
secret=7171pbx
context=localesycelulares
dial=SIP/7206
callerid=Habitacion 110<7206>

[7207](internos)
secret=7172pbx
context=accesototal
dial=SIP/7207
callerid=Habitacion 111 <7207>

[7208](internos)
secret=7173pbx
context=localesycelulares
dial=SIP/7208
callerid=Habitacion 112 <7208>

[7209](internos)
secret=7174pbx
context=locales
dial=SIP/7209
callerid=Habitacion 113 <7209>

;Internos desde 7210-7219
[7210](internos)
secret=7135pbx
context=ddnycelulares
callgroup=9
pickupgroup=9
dial=SIP/7210
callerid=Habitacion 114 <7210>

[7211](internos)
secret=7176pbx
context=ddnycelulares
dial=SIP/7211
callgroup=9
pickupgroup=9
callerid=Habitacion 115 <7211>

[7212](internos)
secret=7177pbx
context=ddnycelulares
callgroup=9
pickupgroup=9
dial=SIP/7212
callerid=Habitacion 116 <7212>

[7213](internos)
secret=7178pbx
context=accesototal
dial=SIP/7213
callerid=Habitacion 117 <7213>

[7214](internos)
secret=7181pbx
context=accesototal
callgroup=1
pickupgroup=2
dial=SIP/7214
callerid=Habitacion 118 <7214>

[7215](internos)
secret=7180pbx
context=locales
dial=SIP/7215
callerid=Habitacion 119 <7215>

[7216](internos)
secret=7183pbx
context=localesycelulares
dial=SIP/7216
callerid=Habitacion 120 <7216>

[7217](internos)
secret=7184pbx
context=localesycelulares
dial=SIP/7217
callerid=Habitacion 121 <7217>

[7218](internos)
secret=7183pbx
context=ddnycelulares
dial=SIP/7218
callgroup=3
pickupgroup=3
callerid=Habitacion 122 <7218>

[7219](internos)
secret=7184pbx
context=ddnycelulares
dial=SIP/7219
callgroup=3
pickupgroup=3
callerid=Habitacion 123 <7219>

;Internos desde 7220-7229
[7220](internos)
secret=7185pbx
context=ddnycelulares
dial=SIP/7220
callgroup=3
pickupgroup=3
callerid=Habitacion 124 <7220>

[7221](internos)
secret=7186pbx
context=ddnycelulares
dial=SIP/7221
callgroup=3
pickupgroup=3
callerid=Habitacion 125 <7221>

[7222](internos)
secret=7187pbx
context=ddnycelulares
dial=SIP/7222
callgroup=3
pickupgroup=3
callerid=Habitacion 200 <7222>

[7223](internos)
secret=7147pbx
context=locales
dial=SIP/7223
callerid=Habitacion 201 <7223>

[7224](internos)
secret=7147pbx
context=accesototal
dial=SIP/7224
callerid=Habitacion 202 <7224>

[7225](internos)
secret=7190pbx
context=locales
dial=SIP/7225
callerid=Habitacion 203 <7225>

[7226](internos)
secret=7148pbx
context=accesototal
callgroup=31
pickupgroup=31
dial=SIP/7226
callerid=Habitacion 204<7226>

[7227](internos)
secret=7192pbx
context=accesototal
callgroup=31
pickupgroup=31
dial=SIP/7227
callerid=Habitacion 205 <7227>

[7228](internos)
secret=7197pbx
context=accesototal
dial=SIP/7228
callerid=Habitacion 206 <7228>

[7229](internos)
secret=7194pbx
context=locales
dial=SIP/7229
callerid=Habitacion 207 <7229>

;Internos desde 7230-7239

;Internos desde 7240-7249
[7244](internos)
secret=7209pbx
context=accesototal
dial=SIP/7244
callerid=Habitacion 208 <7244>

;Internos desde 7250-7259

;Internos desde 7260-7269

;Internos desde 7270-7279

;Internos desde 7280-7289

;Internos desde 7290-7299

;Internos desde 7300-7309
[7300](internos)
secret=7221pbx
context=accesototal
dial=SIP/7300
callerid=Habitacion 209 <7300>

[7301](internos)
secret=7221pbx
context=accesototal
dial=SIP/7301
callerid=Habitacion 210 <7301>

[7302](internos)
secret=7221pbx
context=accesototal
dial=SIP/7302
callerid=Habitacion 211 <7302>

[7303](internos)
secret=7263pbx
context=locales
callgroup=21
pickupgroup=21
dial=SIP/7303
callerid=Habitacion 212 <7303>

[7304](internos)
secret=7222pbx
context=accesototal
dial=SIP/7304
callgroup=7
pickupgroup=7
callerid=Habitacion 213<7304>

[7305](internos)
secret=7265pbx
context=accesototal
callgroup=7
pickupgroup=7
dial=SIP/7305
callerid=Habitacion 214<7305>

[7306](internos)
secret=7272pbx
context=accesototal
dial=SIP/7306
callerid=Habitacion 215<7306>

[7307](internos)
secret=7267pbx
context=accesototal
dial=SIP/7307
callerid=Habitacion 216<7307>

[7308](internos)
secret=7268pbx
context=localesycelulares
dial=SIP/7308
callerid=Habitacion 217 <7308>

[7309](internos)
secret=7269pbx
context=accesototal
dial=SIP/7309
callerid=Habitacion 218 <7309>

[7310](internos)
secret=7270pbx
context=accesototal
dial=SIP/7310
callerid=Habitacion 219 <7310>

[7311](internos)
secret=7271pbx
context=ddnycelulares
callgroup=7
pickupgroup=7
dial=SIP/7311
callerid=Habitacion 220 <7311>

[7312](internos)
secret=7272pbx
context=accesototal
dial=SIP/7312
callerid=Habitacion 221<7312>

[7313](internos)
secret=7273pbx
context=ddnycelulares
dial=SIP/7313
callerid=Habitacion 222<7313>

[7314](internos)
secret=7278pbx
context=accesototal
dial=SIP/7314
callerid=Habitacion 223<7314>

[7315](internos)
secret=7275pbx
context=accesototal
callgroup=21
pickupgroup=21
dial=SIP/7315
callerid=Habitacion 224 <7315>

[7316](internos)
secret=7276pbx
context=ddnycelulares
dial=SIP/7316
callerid=Habitacion 225 <7316>

[7317](internos)
secret=7234pbx
context=ddnycelulares
callgroup=7
pickupgroup=7
dial=SIP/7317
callerid=Habitacion 300<7317>

[7318](internos)
secret=7278pbx
context=localesycelulares
dial=SIP/7318
callerid=Habitacion 301<7318>

[7319](internos)
secret=7285pbx
context=ddnycelulares
dial=SIP/7319
callerid=Habitacion 302 <7319>

[7320](internos)
secret=7280pbx
context=accesototal
dial=SIP/7320
callerid=Habitacion 303 <7320>

[7321](internos)
secret=7287pbx
context=localesycelulares
dial=SIP/7321
callerid=Habitacion 304 <7321>

[7322](internos)
secret=7083pbx
context=ddnycelulares
dial=SIP/7322
callerid=Habitacion 305 <7322>

[7323](internos)
secret=7283pbx
context=ddnycelulares
dial=SIP/7323
callerid=Habitacion 306 <7323>

[7324](internos)
secret=7324pbx
context=accesototal
dial=SIP/7324
callerid=Habitacion 307<7324>

[7325](internos)
secret=7325pbx
context=accesototal
dial=SIP/7325
callerid=Habitacion 308 <7325>

[7326](internos)
secret=7326pbx
context=accesototal
dial=SIP/7326
callerid=Habitacion 309 <7326>

[7327](internos)
secret=7327pbx
context=accesototal
dial=SIP/7327
callerid=Habitacion 310 <7327>

[7328](internos)
secret=7328pbx
context=from-internal
dial=SIP/7328
callerid=Habitacion 311 <7328>

[7329](internos)
secret=7329pbx
context=from-internal
dial=SIP/7329
callerid=Habitacion 312 <7329>

[7350](internos)
secret=7266pbx
context=accesototal
dial=SIP/7350
callerid=Habitacion 313 <7350>

[7351](internos)
secret=7266pbx
context=accesototal
dial=SIP/7351
callerid=Habitacion 314 <7351>

[7352](internos)
secret=7266pbx
context=accesototal
dial=SIP/7352
callerid=Habitacion 315 <7352>

[7353](internos)
secret=7266pbx
context=locales
dial=SIP/7353
callerid=Habitacion 316 <7353>

[7354](internos)
secret=7266pbx
context=locales
dial=SIP/7354
callerid=Habitacion 317 <7354>

[7355](internos)
secret=7266pbx
context=accesototal
dial=SIP/7355
callerid=Habitacion 318 <7355>

[7356](internos)
secret=7171pbx
context=localesycelulares
dial=SIP/7356
callerid=Habitacion 319 <7356>

[7357](internos)
secret=7322pbx
context=accesototal
dial=SIP/7357
callerid=Habitacion 320<7357>

[7358](internos)
secret=7323pbx
context=accesototal
dial=SIP/7358
callerid=Habitacion 321 <7358>

[7359](internos)
secret=7359pbx
context=ddnycelulares
dial=SIP/7359
callerid=Habitacion 322 <7359>

[7375](internos)
secret=7285pbx
context=accesototal
dial=SIP/7375
callerid=Habitacion 323 <7375>

[7376](internos)
secret=7344pbx
context=accesototal
dial=SIP/7376
callerid=Habitacion 324 <7376>

[7377](internos)
secret=7286pbx
context=accesototal
dial=SIP/7377
callerid=Habitacion 325 <7377>

[7378](internos)
secret=7346pbx
context=accesototal
dial=SIP/7378
callerid=Habitacion 400 <7378>

[7379](internos)
secret=7379pbx
context=accesototal
dial=SIP/7379
callerid=Habitacion 401 <7379>

[7380](internos)
secret=7348pbx
context=accesototal
dial=SIP/7380
callerid=Habitacion 402<7380>

[7381](internos)
secret=7349pbx
context=accesototal
dial=SIP/7381
callerid=Habitacion 403 <7381>

[7382](internos)
secret=7290pbx
context=accesototal
dial=SIP/7382
callerid=Habitacion 404 <7382>

[7383](internos)
secret=7351pbx
context=accesototal
dial=SIP/7383
callerid=Habitacion 405 <7383>

[7384](internos)
secret=7384pbx
context=accesototal
dial=SIP/7384
callerid=Habitacion 406 <7384>

[7385](internos)
secret=7385pbx
context=accesototal
dial=SIP/7385
callerid=Habitacion 407 <7385>

[7400](internos)
secret=7307pbx
context=accesototal
dial=SIP/7400
callerid=Habitacion 408 <7400>

[7401](internos)
secret=7307pbx
context=accesototal
dial=SIP/7401
callerid=Habitacion 409 <7401>

[7403](internos)
secret=7366pbx
context=accesototal
dial=SIP/7403
callerid=Habitacion 410 <7403>

[7404](internos)
secret=7309pbx
context=accesototal
callgroup=19
pickupgroup=19
dial=SIP/7404
callerid=Habitacion 411 <7404>

[7405](internos)
secret=7309pbx
context=accesototal
dial=SIP/7405
callerid=Habitacion 412 <7405>

[7406](internos)
secret=7366pbx
context=accesototal
callgroup=13
pickupgroup=13
dial=SIP/7406
callerid=Habitacion 413<7406>

[7407](internos)
secret=7372pbx
context=accesototal
dial=SIP/7407
callerid=Habitacion 414 <7407>

[7408](internos)
secret=7229pbx
context=accesototal
callgroup=13
pickupgroup=13
dial=SIP/7408
callerid=Habitacion 415 <7408>

[7409](internos)
secret=7312pbx
context=accesototal
dial=SIP/7409
callgroup=13
pickupgroup=13
callerid=Habitacion 416 <7409>

[7810](internos)
secret=7312pbx
context=ddnycelulares
dial=SIP/7810
callerid=Habitacion 417 <7810>

[7811](internos)
secret=7209pbx
context=ddnycelulares
dial=SIP/7811
callerid=Habitacion 418 <7811>

[7812](internos)
secret=7378pbx
context=locales
dial=SIP/7812
callerid=Habitacion 419 <7812>

[7813](internos)
secret=7314pbx
context=accesototal
dial=SIP/7813
callerid=Habitacion 820<7813>

[7814](internos)
secret=7377pbx
context=accesototal
dial=SIP/7814
callerid=Habitacion 821 <7814>

[7815](internos)
secret=7381pbx
context=accesototal
dial=SIP/7815
callerid=Habitacion 822 <7815>

[7816](internos)
secret=7816
context=accesototal
dial=SIP/7816
callgroup=14
pickupgroup=14
callerid=Habitacion 823 <7816>

[7817](internos)
secret=7385pbx
context=accesototal
dial=SIP/7817
callerid=Habitacion 824 <7817>

[7818](internos)
secret=7236pbx
context=accesototal
callgroup=13
pickupgroup=13
dial=SIP/7818
callerid=Habitacion 825 <7818>

[7819](internos)
secret=7387pbx
context=accesototal
dial=SIP/7819
callerid=Habitacion 5XX <7819>

[7820](internos)
secret=7820
context=accesototal
dial=SIP/7820
callgroup=14
pickupgroup=14
callerid=Habitacion 5XX <7820>

[7821](internos)
secret=7389pbx
context=accesototal
dial=SIP/7821
callerid=Habitacion 5XX <7821>

[7822](internos)
secret=7320pbx
context=accesototal
dial=SIP/7822
callerid=Habitacion 5XX <7822>

[7823](internos)
secret=7399pbx
context=accesototal
dial=SIP/7823
callerid=Habitacion 5XX <7823>

[7824](internos)
secret=7387pbx
context=locales
dial=SIP/7824
callerid=Habitacion 5XX <7824>

[7825](internos)
secret=7321pbx
context=accesototal
dial=SIP/7825
callerid=Habitacion 5XX <7825>

[7826](internos)
secret=7321pbx
context=accesototal
dial=SIP/7826
callerid=Habitacion 5XX <7826>

[7827](internos)
secret=7321pbx
context=accesototal
dial=SIP/7827
callerid=Habitacion 5XX <7827>

[7828](internos)
secret=7391pbx
context=accesototal
dial=SIP/7828
callerid=device <7828>

[7829](internos)
secret=7394pbx
context=locales
dial=SIP/7829
callerid=Habitacion 5XX <7829>

[7830](internos)
secret=7393pbx
context=localesycelulares
callgroup=1
pickupgroup=1
dial=SIP/7830
callerid=device <7830>

[7831](internos)
secret=7324pbx
context=accesototal
dial=SIP/7831
callerid=Habitacion 5XX <7831>

[7832](internos)
secret=7324pbx
context=accesototal
dial=SIP/7832
callerid=GRAL - DGTICS <7832>

[7833](internos)
secret=7324pbx
context=locales
dial=SIP/7833
callerid=Habitacion 5XX <7833>

[7834](internos)
secret=7324pbx
context=accesototal
dial=SIP/7834
callerid=Habitacion 5XX <7834>

[7835](internos)
secret=7324pbx
context=accesototal
callgroup=5
pickupgroup=5
dial=SIP/7835
callerid=Habitacion 5XX<7835>

[7836](internos)
secret=7324pbx
context=accesototal
callgroup=5
pickupgroup=5
dial=SIP/7836
callerid=Habitacion 5XX<7836>

[7837](internos)
secret=7403pbx
context=ddnycelulares
dial=SIP/7837
callerid=Nodo 0 <7837>

[7838](internos)
secret=7325pbx
context=accesototal
callgroup=5
pickupgroup=5
dial=SIP/7838
callerid=Habitacion 5XX <7838>

[7840](internos)
secret=7400pbx
context=accesototal
dial=SIP/7840
callerid=Habitacion 5XX <7840>

[7841](internos)
secret=7327pbx
context=accesototal
callgroup=5
pickupgroup=5
dial=SIP/7841
callerid=Habitacion 5XX <7841>

[7842](internos)
secret=7267pbx
context=accesototal
callgroup=5
pickupgroup=5
dial=SIP/7842
callerid=Habitacion 5XX <7842>

[7843](internos)
secret=7267pbx
context=accesototal
callgroup=5
pickupgroup=5
dial=SIP/7843
callerid=Habitacion 5XX <7843>

[7844](internos)
secret=7273pbx
context=from-internal
dial=SIP/7844
callerid=Habitacion 5XX <7844>

[7845](internos)
secret=7845
context=accesototal
callgroup=5
pickupgroup=5
dial=SIP/7845
callerid=Habitacion 5XX <7845>

[7846](internos)
secret=7279pbx
context=accesototal
callgroup=5
pickupgroup=5
dial=SIP/7846
callerid=Habitacion 5XX <7846>

[7847](internos)
secret=7278pbx
context=accesototal
callgroup=5
pickupgroup=5
dial=SIP/7847
callerid=Habitacion 5XX <7847>

[7848](internos)
secret=Pbx7848
context=from-internal
dial=SIP/7848
callerid=Habitacion 5XX <7848>

[7849](internos)
secret=7849pbx
context=accesototal
callgroup=5
pickupgroup=5
dial=SIP/7849
callerid=Habitacion 5XX <7849>

[7850](internos)
secret=7335pbx
context=accesototal
callgroup=25
pickupgroup=25
dial=SIP/7850
callerid=Habitacion 6XX <7850>

[7851](internos)
secret=7818pbx
context=accesototal
callgroup=25
pickupgroup=25
dial=SIP/7851
callerid=Habitacion 6XX <7851>

[7452](internos)
secret=7819pbx
context=accesototal
callgroup=25
pickupgroup=25
dial=SIP/7452
callerid=Habitacion 6XX <7452>

[7453](internos)
secret=7820pbx
context=accesototal
callgroup=25
pickupgroup=25
dial=SIP/7453
callerid=Habitacion 6XX <7453>

[7454](internos)
secret=7454Ok
context=from-internal
dial=SIP/7454
callerid=7454 <7454>

[7455](internos)
secret=7823pbx
context=accesototal
dial=SIP/7455
callerid=Habitacion 6XX <7455>

[7456](internos)
secret=7340pbx
context=accesototal
callgroup=5
pickupgroup=5
dial=SIP/7456
callerid=Habitacion 6XX <7456>

[7457](internos)
secret=7348pbx
context=accesototal
dial=SIP/7457
callerid=Habitacion 6XX <7457>

[7458](internos)
secret=7341pbx
context=ddnycelulares
dial=SIP/7458
callerid=Habitacion 6XX <7458>

[7459](internos)
secret=7289pbx
context=accesototal
callgroup=5
pickupgroup=5
dial=SIP/7459
callerid=Habitacion 6XX <7459>

[7460](internos)
secret=7460pbx
context=accesototal
callgroup=5
pickupgroup=5
dial=SIP/7460
callerid=Habitacion 6XX <7460>

[7461](internos)
secret=7813pbx
context=ddnycelulares
dial=SIP/7461
callerid=Habitacion 6XX <7461>

[7462](internos)
secret=7826pbx
context=accesototal
dial=SIP/7462
callerid=Habitacion 6XX<7462>

[7463](internos)
secret=7826pbx
context=accesototal
dial=SIP/7463
callerid=Habitacion 6XX <7463>

[7467](internos)
secret=7467pbx
context=from-internal
dial=SIP/7467
callerid=Habitacion 6XX <7467>

[7487](internos)
secret=7487pbx
context=accesototal
dial=SIP/7487
callerid=Habitacion 6XX <7487>

[7490](internos)
secret=7490Ok
context=pepe
dial=SIP/7490
callerid=7490 <7490>

[7491](internos)
secret=7491Ok
context=from-internal
dial=SIP/7491
callerid=7491 <7491>

[7497](internos)
secret=7497Ok
context=accesototal
dial=SIP/7497
callerid=Habitacion 6XX <7497>

[7498](internos)
secret=7453pbx
context=portero
dial=SIP/7498
callerid=Habitacion 6XX <7498>

;[7499](internos)
;secret=7499Ok
;context=locales
;dial=SIP/7499
;callerid=Habitacion 6XX<7499>

[7700](internos)
secret=7379pbx
context=accesototal
dial=SIP/7700
callgroup=15
callerid=Habitacion 6XX <7700>

[7701](internos)
secret=7379pbx
context=accesototal
callgroup=15
pickupgroup=15
dial=SIP/7701
callerid=device <7701>

[7702](internos)
secret=7379pbx
context=accesototal
callgroup=15
pickupgroup=15
dial=SIP/7702
callerid=device <7702>

[7703](internos)
secret=7378pbx
context=accesototal
dial=SIP/7703
callerid=device <7703>

[7705](internos)
secret=7378pbx
context=accesototal
dial=SIP/7705
callerid=Habitacion 6XX <7705>

[7706](internos)
secret=7467pbx
context=accesototal
dial=SIP/7706
callerid=Habitacion 6XX <7706>

[7707](internos)
secret=7468pbx
context=from-internal
dial=SIP/7707
callerid=7707 <7707>

[7708](internos)
secret=7469pbx
context=from-internal
dial=SIP/7708
callerid=7708 <7708>

[7709](internos)
secret=7381pbx
context=accesototal
callgroup=2
pickupgroup=2
dial=SIP/7709
callerid=Habitacion 6XX <7709>

[7710](internos)
secret=7471pbx
context=accesototal
dial=SIP/7710
callgroup=2
pickupgroup=2
callerid= Habitacion 6XX <7710>

[7711](internos)
secret=7472pbx
context=ddnycelulares
dial=SIP/7711
callerid=Habitacion 6XX <7711>

[7712](internos)
secret=7473pbx
context=accesototal
dial=SIP/7712
callgroup=2
pickupgroup=2
callerid= Habitacion 6XX <7712>

[7713](internos)
secret=7384pbx
context=accesototal
dial=SIP/7713
callerid= Habitacion 6XX <7713>

[7714](internos)
secret=7475pbx
context=accesototal
dial=SIP/7714
callerid=7714 <7714>

[7715](internos)
secret=7476pbx
context=accesototal
dial=SIP/7715
callerid= Habitacion 7XX <7715>

[7716](internos)
secret=7477pbx
context=accesototal
dial=SIP/7716
callerid=7716 <7716>

[7717](internos)
secret=7478pbx
context=accesototal
dial=SIP/7717
callerid=7717 <7717>

[7718](internos)
secret=7479pbx
context=accesototal
callgroup=3
pickupgroup=3
dial=SIP/7718
callerid=Habitacion 7XX <7718>

[7719](internos)
secret=7389pbx
context=ddnycelulares
dial=SIP/7719
callgroup=3
pickupgroup=3
callerid= Habitacion 7XX <7719>

[7720](internos)
secret=7487pbx
context=from-internal
callgroup=3
pickupgroup=3
dial=SIP/7720
callerid=7720 <7720>

[7721](internos)
secret=7488pbx
context=from-internal
dial=SIP/7721
callgroup=3
pickupgroup=3
callerid=7721 <7721>

[7722](internos)
secret=7489pbx
context=from-internal
dial=SIP/7722
callgroup=3
pickupgroup=3
callerid=7722 <7722>

[7723](internos)
secret=7491pbx
context=accesototal
dial=SIP/7723
callgroup=1
pickupgroup=1
callerid=Habitacion 7XX  <7723>

[7724](internos)
secret=7491pbx
context=accesototal
callgroup=1
pickupgroup=1
dial=SIP/7724
callerid=Habitacion 7XX  <7724>

[7725](internos)
secret=7492pbx
context=accesototal
callgroup=1
pickupgroup=1
dial=SIP/7725
callerid= Habitacion 7XX  <7725>

[7726](internos)
secret=7487pbx
context=accesototal
dial=SIP/7726
callerid=Habitacion 7XX  <7726>

[7727](internos)
secret=7488pbx
context=accesototal
dial=SIP/7727
callerid=Habitacion 7XX  <7727>

[7728](internos)
secret=7489pbx
context=from-internal
dial=SIP/7728
callerid=7728 <7728>

[7729](internos)
secret=7333pbx
context=accesototal
dial=SIP/7729
callerid= Habitacion 7XX <7729>

[7730](internos)
secret=7498pbx
context=accesototal
dial=SIP/7730
callerid=7730 <7730>

[7731](internos)
secret=7333pbx
context=accesototal
dial=SIP/7731
callerid= Habitacion 7XX  <7731>

[7732](internos)
secret=7333pbx
context=accesototal
dial=SIP/7732
callerid= Habitacion 7XX  <7732>

[7733](internos)
secret=7333pbx
context=accesototal
dial=SIP/7733
callerid= Habitacion 7XX  <7733>

[7734](internos)
secret=7734pbx
context=accesototal
dial=SIP/7327
callerid=Baumman <7734>

[7735](internos)
secret=7703pbx
context=accesototal
dial=SIP/7735
callerid=Habitacion 7XX <7735>

[7736](internos)
secret=7705pbx
context=accesototal
dial=SIP/7736
callerid= Habitacion 7XX <7736>

[7737](internos)
secret=7706pbx
context=accesototal
dial=SIP/7737
callerid=Habitacion 7XX  <7737>

[7738](internos)
secret=7706pbx
context=accesototal
dial=SIP/7738
callerid= Habitacion 7XX  <7738>

[7739](internos)
secret=7707pbx
context=accesototal
dial=SIP/7739
callerid= Habitacion 7XX  <7739>

[7740](internos)
secret=7707pbx
context=accesototal
dial=SIP/7740
callerid= Habitacion 7XX  <7740>

[7741](internos)
secret=7340pbx
context=accesototal
dial=SIP/7741
callerid=  Habitacion 7XX  <7741>

[7742](internos)
secret=7347pbx
context=ddnycelulares
dial=SIP/7742
callerid= Habitacion 7XX  <7742>

[7743](internos)
secret=7309pbx
context=accesototal
dial=SIP/7743
callerid=Habitacion 7XX  <7743>

[7750](internos)
secret=7750
context=accesototal
dial=SIP/7750
callgroup=10
pickupgroup=10
callerid=7750 <7750>

[7600](internos)
secret=7469pbx
context=accesototal
dial=SIP/7600
callerid=Habitacion 7XX  <7600>

[7601](internos)
secret=7469pbx
context=accesototal
dial=SIP/7601
callerid=Habitacion 7XX  <7601>

[7602](internos)
secret=7469pbx
context=accesototal
callgroup=26
pickupgroup=26
dial=SIP/7602
callerid=Habitacion 7XX  <7602>

[7603](internos)
secret=7772pbx
context=accesototal
callgroup=26
pickupgroup=26
dial=SIP/7603
callerid=Habitacion 7XX  <7603>

[7604](internos)
secret=7773pbx
context=locales
callgroup=26
pickupgroup=26
dial=SIP/7606
callerid=Habitacion 7XX <7604>

[7605](internos)
secret=7605
context=locales
dial=SIP/7605
callgroup=1
pickupgroup=1
callerid=7605 <7605>

[7606](internos)
secret=7814pbx
context=localesycelulares
callgroup=26
pickupgroup=26
dial=SIP/7606
callerid=7606 <7606>

[7607](internos)
secret=7815pbx
context=localesycelulares
callgroup=26
pickupgroup=26
dial=SIP/7607
callerid=Habitacion 8XX <7607>

[7608](internos)
secret=7472pbx
context=locales
dial=SIP/7608
callerid=Habitacion 8XX <7608>

[7609](internos)
secret=7472pbx
context=accesototal
dial=SIP/7609
callerid=Habitacion 8XX <7609>

[7610](internos)
secret=7472pbx
context=locales
dial=SIP/7610
callerid=Habitacion 8XX<7610>

[7611](internos)
secret=7472pbx
context=locales
dial=SIP/7611
callerid=Habitacion 8XX <7611>

[7612](internos)
secret=7472pbx
context=locales
dial=SIP/7612
callerid=Habitacion 8XX <7612>

[7613](internos)
secret=7771pbx
context=locales
dial=SIP/7613
callerid=Habitacion 8XX <7613>

[7614](internos)
secret=7783pbx
context=ddnycelulares
dial=SIP/7614
callerid=7614 <7614>

[7615](internos)
secret=7784pbx
context=ddnycelulares
dial=SIP/7615
callerid=7615 <7615>

[7616](internos)
secret=7783pbx
context=locales
dial=SIP/7616
callerid=Habitacion 8XX <7616>

[7617](internos)
secret=7476pbx
context=accesototal
dial=SIP/7617
callerid=Habitacion 8XX <7617>

[7618](internos)
secret=7618
context=locales
dial=SIP/7618
callgroup=1
pickupgroup=1
callerid=7618 <7618>

[7619](internos)
secret=7788pbx
context=locales
dial=SIP/7619
callerid=7619 <7619>

[7620](internos)
secret=7789pbx
context=locales
dial=SIP/7620
callerid=7620 <7620>

[7621](internos)
secret=7790pbx
context=locales
dial=SIP/7621
callerid=7621 <7621>

[7622](internos)
secret=7791pbx
context=locales
dial=SIP/7622
callerid=7622 <7622>

[7623](internos)
secret=7792pbx
context=locales
dial=SIP/7623
callerid=7623 <7623>

[7624](internos)
secret=7793pbx
context=locales
dial=SIP/7624
callerid=Lab 108 <7624>

[7625](internos)
secret=7794pbx
context=locales
dial=SIP/7625
callerid=7625 <7625>

[7626](internos)
secret=7795pbx
context=locales
dial=SIP/7626
callerid=7626 <7626>

[7627](internos)
secret=7796pbx
context=locales
dial=SIP/7627
callerid=7627 <7627>

[7628](internos)
secret=7795pbx
context=locales
dial=SIP/7628
callerid=Siberia <7628>

[7629](internos)
secret=7797pbx
context=locales
dial=SIP/7629
callerid=7629 <7629>

[7630](internos)
secret=7799pbx
context=locales
dial=SIP/7630
callerid=7630 <7630>

[7631](internos)
secret=7600pbx
context=locales
dial=SIP/7631
callerid=7631 <7631>

[7632](internos)
secret=7790pbx
context=locales
dial=SIP/7632
callerid=7632 <7632>

[7633](internos)
secret=7792pbx
context=accesototal
dial=SIP/7633
callerid=Habitacion 8XX <7633>

[7634](internos)
secret=7793pbx
context=accesototal
dial=SIP/7634
callerid=Habitacion 8XX <7634>

[7635](internos)
secret=7794pbx
context=locales
dial=SIP/7635
callerid=7635 <7635>

[7636](internos)
secret=7795pbx
context=locales
dial=SIP/7636
callerid=7636 <7636>

[7637](internos)
secret=7796pbx
context=locales
dial=SIP/7637
callerid=7637 <7637>

[7638](internos)
secret=7797pbx
context=ddnycelulares
dial=SIP/7638
callerid=7638 <7638>

[7639](internos)
secret=7798pbx
context=accesototal
dial=SIP/7639
callerid=Habitacion 8XX<7639>

[7640](internos)
secret=7799pbx
context=locales
dial=SIP/7640
callerid=7640 <7640>

[7641](internos)
secret=7600pbx
context=locales
dial=SIP/7641
callerid=7641 <7641>

[7642](internos)
secret=7601pbx
context=locales
dial=SIP/7642
callerid=Habitacion 8XX <7642>

[7643](internos)
secret=7612pbx
context=locales
dial=SIP/7643
callerid=7643 <7643>

[7644](internos)
secret=7613pbx
context=locales
dial=SIP/7644
callerid=7644 <7644>

[7645](internos)
secret=7614pbx
context=accesototal
dial=SIP/7645
callerid=Habitacion 8XX <7645>

[7646](internos)
secret=7646
context=locales
dial=SIP/7646
callgroup=1
pickupgroup=1
callerid=7646 <7646>

[7647](internos)
secret=7647
context=locales
dial=SIP/7647
callgroup=1
pickupgroup=1
callerid=7647 <7647>

[7648](internos)
secret=7648
context=locales
dial=SIP/7648
callgroup=1
pickupgroup=1
callerid=7648 <7648>

[7649](internos)
secret=7607pbx
context=locales
dial=SIP/7649
callerid=device <7649>

[7650](internos)
secret=7608pbx
context=locales
dial=SIP/7650
callerid=Habitacion 8XX <7650>

[7651](internos)
secret=7610pbx
context=locales
dial=SIP/7651
callerid=Habitacion 8XX <7651>

[7652](internos)
secret=7610pbx
context=accesototal
dial=SIP/7652
callerid=Habitacion 8XX<7652>

[7653](internos)
secret=7621pbx
context=locales
dial=SIP/7653
callerid=7653 <7653>

[7654](internos)
secret=7612pbx
context=accesototal
dial=SIP/7654
callerid=Habitacion 8XX<7654>

[7655](internos)
secret=7613pbx
context=ddnycelulares
dial=SIP/7655
callerid=Habitacion 8XX<7655>

[7656](internos)
secret=7614pbx
context=localesycelulares
dial=SIP/7656
callerid=Habitacion 8XX<7656>

[7657](internos)
secret=7624pbx
context=accesototal
dial=SIP/7657
callerid=Habitacion 8XX<7657>

[7658](internos)
secret=7625pbx
context=locales
dial=SIP/7658
callerid=Habitacion 8XX<7658>

[7659](internos)
secret=7626pbx
context=locales
dial=SIP/7659
callerid=Habitacion 8XX <7659>

[7660](internos)
secret=7660pbx
context=localesycelulares
dial=SIP/7660
callerid=Habitacion 8XX <7660>

[7666](internos)
secret=7666
context=accesototal
dial=SIP/7666
callerid=Habitacion 8XX <7666>

[7670](internos)
secret=7484pbx
context=localesycelulares
dial=SIP/7670
callerid=Habitacion 8XX <7670>

[7671](internos)
secret=7484pbx
context=localesycelulares
dial=SIP/7671
callerid=7671 <7671>

[7672](internos)
secret=7484pbx
context=localesycelulares
dial=SIP/7672
callerid=7672<7672>

[7673](internos)
secret=7484pbx
context=localesycelulares
dial=SIP/7673
callerid=7673 <7673>

[7674](internos)
secret=7484pbx
context=localesycelulares
dial=SIP/7674
callerid=Prietec <7674>

[7675](internos)
secret=7484pbx
context=localesycelulares
dial=SIP/7675
callerid=Prietec <7675>

[7676](internos)
secret=7636pbx
context=from-internal
dial=SIP/7676
callerid=7676 <7676>

[7677](internos)
secret=7677pbx
context=from-internal
dial=SIP/7677
callerid=device <7677>

[7678](internos)
secret=7678pbx
context=from-internal
dial=SIP/7678
callerid=device<7678>

[7679](internos)
secret=7679pbx
context=from-internal
dial=SIP/7679
callerid=device <7679>

[7690](internos)
secret=7648pbx
context=accesototal
dial=SIP/7690
callerid=7690 <7690>

[7691](internos)
secret=7649pbx
context=accesototal
dial=SIP/7691
callerid=7691 <7691>

[7692](internos)
secret=7650pbx
context=accesototal
dial=SIP/7692
callerid=7692 <7692>

[7699](internos)
secret=7699
context=locales
dial=SIP/7699
callerid=Alarma <7699>

[7700](internos)
secret=7758pbx
context=accesototal
dial=SIP/7700
callerid=device <7700>

[7701](internos)
secret=7758pbx
context=ddnycelulares
dial=SIP/7701
callerid=device<7701>

[7702](internos)
secret=7758pbx
context=ddnycelulares
dial=SIP/7702
callerid=device <7702>

[7703](internos)
secret=7735pbx
context=ddnycelulares
dial=SIP/7703
callerid=device <7703>

[7704](internos)
secret=7759pbx
context=accesototal
dial=SIP/7704
callerid=device <7704>

[7705](internos)
secret=7759pbx
context=accesototal
callgroup=28
pickupgroup=28
dial=SIP/7705
callerid=device <7705>

[7706](internos)
secret=7759pbx
context=locales
dial=SIP/7706
callerid=device <7706>

[7707](internos)
secret=7730pbx
context=accesototal
dial=SIP/7707
callerid=device<7707>

[7708](internos)
secret=7665pbx
context=ddnycelulares
dial=SIP/7708
callerid=device <7708>

[7709](internos)
secret=7761pbx
context=accesototal
dial=SIP/7709
callerid=device <7709>

[7710](internos)
secret=7746pbx
context=accesototal
dial=SIP/7910
callerid=device <7710>

[7711](internos)
secret=7668pbx
context=accesototal
dial=SIP/7911
callerid=device <7711>

[7712](internos)
secret=7763pbx
context=accesototal
dial=SIP/7712
callgroup=1
pickupgroup=1
callerid=device <7712>

[7713](internos)
secret=7748pbx
context=accesototal
dial=SIP/7913
callerid=device <7713>

[7714](internos)
secret=7764pbx
context=accesototal
dial=SIP/7714
callerid=device <7714>

[7715](internos)
secret=7764pbx
context=ddnycelulares
dial=SIP/7715
callerid=device <7715>

[7716](internos)
secret=7764pbx
context=accesototal
dial=SIP/7716
callerid=device <7716>

[7717](internos)
secret=7764pbx
context=ddnycelulares
dial=SIP/7717
callerid=device <7717>

[7718](internos)
secret=7675pbx
context=ddnycelulares
dial=SIP/7718
callerid=device <7718>

[7719](internos)
secret=7676pbx
context=ddnycelulares
dial=SIP/7719
callerid=device <7719>

[7720](internos)
secret=7766pbx
context=ddnycelulares
dial=SIP/7720
callerid=device <7720>

[7721](internos)
secret=7678pbx
context=ddnycelulares
dial=SIP/7721
callerid=device <7721>

[7722](internos)
secret=7679pbx
context=accesototal
dial=SIP/7722
callerid=device <7722>

[7723](internos)
secret=7680pbx
context=ddnycelulares
dial=SIP/7723
callerid=device <7723>

[7724](internos)
secret=7681pbx
context=ddnycelulares
dial=SIP/7724
callerid=device <7724>

[7725](internos)
secret=7682pbx
context=ddnycelulares
dial=SIP/7725
callerid=device <7725>

[7726](internos)
secret=7683pbx
context=ddnycelulares
dial=SIP/7726
callerid=device <7726>

[7727](internos)
secret=7684pbx
context=accesototal
dial=SIP/7727
callerid=device <7727>

[7728](internos)
secret=7685pbx
context=locales
dial=SIP/7728
callerid=device <7728>

[7729](internos)
secret=7686pbx
context=accesototal
dial=SIP/7729
callerid=device <7729>

[7730](internos)
secret=7687pbx
context=accesototal
dial=SIP/7944
callerid=device <7730>

[7731](internos)
secret=7688pbx
context=localesycelulares
dial=SIP/7731
callerid=device <7731>

[7732](internos)
secret=7695pbx
context=accesototal
dial=SIP/7732
callerid=device<7732>

[7733](internos)
secret=7690pbx
context=accesototal
dial=SIP/7733
callerid=device <7733>

[7734](internos)
secret=7697pbx
context=accesototal
dial=SIP/7734
callerid=device <7734>

[7735](internos)
secret=7692pbx
context=accesototal
dial=SIP/7735
callerid=device <7735>

[7736](internos)
secret=7693pbx
context=ddnycelulares
dial=SIP/7736
callerid=device <7736>

[7737](internos)
secret=7694pbx
context=accesototal
dial=SIP/7737
callerid=device <7737>

[7738](internos)
secret=7695pbx
context=locales
dial=SIP/7738
callerid=device <7738>

[7739](internos)
secret=7696pbx
context=ddnycelulares
dial=SIP/7739
callerid=device <7739>

[7740](internos)
secret=7697pbx
context=ddnycelulares
dial=SIP/7740
callerid=device1 <7740>

[7741](internos)
secret=7703pbx
context=locales
dial=SIP/7741
callgroup=1
pickupgroup=1
callerid=7741 <7741>

[7742](internos)
secret=7704pbx
context=locales
dial=SIP/7742
callgroup=1
pickupgroup=1
callerid=7742 <7742>

[7743](internos)
secret=7705pbx
context=locales
dial=SIP/7743
callgroup=1
pickupgroup=1
callerid=7743 <7743>

[7744](internos)
secret=7711pbx
context=accesototal
dial=SIP/7744
callerid=device <7744>

[7745](internos)
secret=7712pbx
context=accesototal
dial=SIP/7745
callerid=device <7745>

[7746](internos)
secret=7714pbx
context=accesototal
dial=SIP/7746
callerid=device <7746>

[7747](internos)
secret=7710pbx
context=ddnycelulares
dial=SIP/7936
callerid=device) <7747>

[7748](internos)
secret=7706pbx
context=accesototal
dial=SIP/7748
callerid=device<7748>

[7749](internos)
secret=7707pbx
context=ddnycelulares
dial=SIP/7749
callerid=device <7749>

[7750](internos)
secret=7712pbx
context=localesycelulares
dial=SIP/7942
callerid=device <7750>

[7751](internos)
secret=7708pbx
context=accesototal
dial=SIP/7751
callerid=device <7751>

[7752](internos)
secret=7719pbx
context=accesototal
dial=SIP/7752
callerid=device<7752>

[7753](internos)
secret=7715pbx
context=accesototal
dial=SIP/7943
callerid=Rdevice <7753>

[7754](internos)
secret=7711pbx
context=locales
dial=SIP/7754
callerid=device <7754>

[7755](internos)
secret=7755pbx
context=from-internal
dial=SIP/7755
callerid=device <7755>

[7756](internos)
secret=7713pbx
context=accesototal
dial=SIP/7756
callerid=device <7756>

[7757](internos)
secret=7763pbx
context=localesycelulares
dial=SIP/7757
callerid=device <7757>

[7758](internos)
secret=7721pbx
context=accesototal
dial=SIP/7758
callerid=device <7758>

[7759](internos)
secret=7716pbx
context=ddnycelulares
dial=SIP/7759
callerid=device<7759>

[7760](internos)
secret=7763pbx
context=accesototal
dial=SIP/7760
callerid=TUPD <7760>

[7761](internos)
secret=7718pbx
context=ddnycelulares
dial=SIP/7761
callerid=device<7761>

[7762](internos)
secret=7725pbx
context=accesototal
callgroup=28
pickupgroup=28
dial=SIP/7762
callerid=device <7762>

[7763](internos)
secret=7763pbx
context=accesototal
dial=SIP/7763
callerid=Soc Libre <7763>

[7764](internos)
secret=7764pbx
context=accesototal
dial=SIP/7764
callerid=device<7764>

[7777](internos)
secret=7740pbx
context=accesototal
dial=SIP/7777
callerid=device <7777>

[7778](internos)
secret=7745pbx
context=accesototal
dial=SIP/7778
callerid=device <7778>

[7779](internos)
secret=7742pbx
context=accesototal
dial=SIP/7779
callerid=device <7779>

[7780](internos)
secret=7696pbx
context=accesototal
dial=SIP/7780
callerid=device<7780>

[7800](internos)
secret=7800pbx
context=accesototal
dial=SIP/7800
callerid=device<7800>


[7801](internos)
secret=7801pbx
context=accesototal
dial=SIP/7801
callerid=device <7801>

[7802](internos)
secret=7642pbx
context=accesototal
dial=SIP/7802
callerid=device<7802>

[7803](internos)
secret=7803pbx
context=desde-internos
dial=SIP/7803
callerid=5device <7803>

[7807](internos)
secret=7807pbx
context=desde-internos
dial=SIP/7807
callerid=device <7807>

[7810](internos)
secret=7638pbx
context=accesototal
dial=SIP/7810
callerid=device <7810>

[7811](internos)
secret=7773pbx
context=ddnycelulares
dial=SIP/7941
callerid=device <7811>

[7814](internos)
secret=7772pbx
context=accesototal
dial=SIP/7814
callerid=7814 <7814>

[7818](internos)
secret=7818pbx
context=accesototal
dial=SIP/7818
callerid=Sdevice<7818>

[7843](internos)
secret=7802pbx
context=accesototal
dial=SIP/7843
callerid=device <7843>

[7844](internos)
secret=7844pbx
context=accesototal
dial=SIP/7844
callerid=device <7844>

[7845](internos)
secret=7804pbx
context=accesototal
dial=SIP/7845
callerid=device <7845>

[7846](internos)
secret=7804pbx
context=accesototal
dial=SIP/7846
callerid=device <7846>

[7847](internos)
secret=7805pbx
context=accesototal
dial=SIP/7847
callerid=device <7847>

[7848](internos)
secret=7848pbx
context=accesototal
dial=SIP/7848
callerid=device <7848>

[7849](internos)
secret=7812pbx
context=accesototal
dial=SIP/7849
callerid=device <7849>

[7850](internos)
secret=7813pbx
context=accesototal
dial=SIP/7850
callerid=device <7850>

[7851](internos)
secret=7696pbx
context=ddnycelulares
dial=SIP/7851
callerid=IEC - 1 <7851>

[7852](internos)
secret=7696pbx
context=ddnycelulares
dial=SIP/7852
callerid=device <7852>

[7861](internos)
secret=7827pbx
context=localesycelulares
dial=SIP/7861
callerid=device <7861>

[7862](internos)
secret=7828pbx
context=localesycelulares
dial=SIP/7862
callerid=device <7862>

[7863](internos)
secret=7829pbx
context=accesototal
dial=SIP/7863
callerid=device <7863>

[7866](internos)
secret=7830pbx
context=locales
dial=SIP/7866
callerid=device <7866>

[7867](internos)
secret=7825pbx
context=locales
dial=SIP/7867
callerid=device <7867>

[7868](internos)
secret=7835pbx
context=accesototal
dial=SIP/7868
callerid=device<7868>

[7860](internos)
secret=7834pbx
context=accesototal
dial=SIP/7860
callerid=device <7860>

[7861](internos)
secret=7835pbx
context=locales
dial=SIP/7861
callerid=device <7861>

[7862](internos)
secret=7836pbx
context=locales
dial=SIP/7862
callerid=device <7862>

[7863](internos)
secret=7837pbx
context=accesototal
dial=SIP/7863
callerid=device <7863>

[7864](internos)
secret=7838pbx
context=locales
dial=SIP/7864
callerid=device <7864>

[7865](internos)
secret=7839pbx
context=ddnycelulares
dial=SIP/7865
callerid=device<7865>

[7866](internos)
secret=7840pbx
context=ddnycelulares
dial=SIP/7866
callerid=device <7866>

[7867](internos)
secret=7841pbx
context=accesototal
dial=SIP/7867
callerid=device<7867>

[7868](internos)
secret=7842pbx
context=ddnycelulares
dial=SIP/7868
callerid=device <7868>

[7869](internos)
secret=7839pbx
context=localesycelulares
dial=SIP/7869
callerid=device <7869>

[7885](internos)
secret=7711pbx
context=accesototal
dial=SIP/7885
callerid=device <7885>

[7888](internos)
secret=7848pbx
context=ddnycelulares
dial=SIP/7888
callerid=Bdevice <7888>

[7889](internos)
secret=7856pbx
context=accesototal
dial=SIP/7889
callerid=device <7889>

[7890](internos)
secret=7890pbx
context=from-internal
dial=SIP/7890
callerid=device<7890>

[7891](internos)
secret=7891
context=accesototal
dial=SIP/7891
callerid=device <7891>

[7892](internos)
secret=7892pbx
context=accesototal
callgroup=6
pickupgroup=6
dial=SIP/7892
callerid=device<7892>

[7899](internos)
secret=7899pbx
context=accesototal
callgroup=5
pickupgroup=5
dial=SIP/7899
callerid=device <7899>

[7900](internos)
secret=7743pbx
context=accesototal
dial=SIP/7900
callerid=device <7900>

[7901](internos)
secret=7723pbx
context=accesototal
dial=SIP/7901
callerid=device <7901>

[7902](internos)
secret=7743pbx
context=accesototal
dial=SIP/7902
callerid=device <7902>

[7903](internos)
secret=7699pbx
context=accesototal
dial=SIP/7903
callerid=device<7903>

[7904](internos)
secret=7743pbx
context=accesototal
dial=SIP/7904
callerid=device <7904>

[7905](internos)
secret=7743pbx
context=accesototal
dial=SIP/7905
callerid=device <7905>

[7906](internos)
secret=7743pbx
context=accesototal
dial=SIP/7906
callerid=device <7906>

[7910](internos)
secret=7746pbx
context=accesototal
dial=SIP/7910
callerid=device <7910>

[7911](internos)
secret=7863pbx
context=from-internal
dial=SIP/7911
callerid=device <7911>

[7912](internos)
secret=7709pbx
context=accesototal
dial=SIP/7912
callerid=device <7912>

[7913](internos)
secret=7748pbx
context=localesycelulares
callgroup=29
pickupgroup=29
dial=SIP/7913
callerid=device <7913>

[7918](internos)
secret=7752pbx
context=accesototal
dial=SIP/7918
callerid=device <7918>

[7919](internos)
secret=7881pbx
context=accesototal
dial=SIP/7919
callerid=device <7919>

[7920](internos)
secret=7882pbx
context=accesototal
dial=SIP/7920
callerid=device <7920>

[7921](internos)
secret=7921pbx
context=ddnycelulares
callgroup=29
pickupgroup=29
dial=SIP/7921
callerid=device<7921>

[7931](internos)
secret=7893pbx
context=locales
dial=SIP/7931
callerid=device <7931>

[7932](internos)
secret=7894pbx
context=ddnycelulares
dial=SIP/7932
callerid=device <7932>

[7933](internos)
secret=7895pbx
context=ddnycelulares
dial=SIP/7933
callerid=device <7933>

[7934](internos)
secret=7896pbx
context=ddnycelulares
dial=SIP/7934
callerid=device <7934>

[7935](internos)
secret=7897pbx
context=ddnycelulares
dial=SIP/7935
callerid=device <7935>

[7936](internos)
secret=7898pbx
context=ddnycelulares
dial=SIP/7936
callerid=device <7936>

[7937](internos)
secret=7899pbx
context=ddnycelulares
dial=SIP/7937
callerid=device <7937>

[7938](internos)
secret=7900pbx
context=ddnycelulares
dial=SIP/7938
callerid=device <7938>

[7939](internos)
secret=7901pbx
context=ddnycelulares
dial=SIP/7939
callerid=device <7939>

[7940](internos)
secret=7902pbx
context=ddnycelulares
dial=SIP/7940
callerid=device<7940>

[7941](internos)
secret=7903pbx
context=ddnycelulares
dial=SIP/7941
callerid=device<7941>

[7942](internos)
secret=7956pbx
context=ddnycelulares
dial=SIP/7942
callerid=device <7942>

[7943](internos)
secret=7905pbx
context=ddnycelulares
dial=SIP/7943
callerid=device <7943>

[7944](internos)
secret=7906pbx
context=ddnycelulares
dial=SIP/7944
callerid=device <7944>

[7945](internos)
secret=7907pbx
context=ddnycelulares
dial=SIP/7945
callerid=device <7945>

[7946](internos)
secret=7908pbx
context=ddnycelulares
dial=SIP/7946
callerid= Oficina 103 <7946>

[7947](internos)
secret=7909pbx
context=ddnycelulares
dial=SIP/7947
callerid= Oficina 104 <7947>

[7948](internos)
secret=7910pbx
context=ddnycelulares
dial=SIP/7948
callerid= Oficina 105 <7948>

[7949](internos)
secret=7911pbx
context=ddnycelulares
dial=SIP/7949
callerid= Oficina 106 <7949>

[7950](internos)
secret=7912pbx
context=ddnycelulares
dial=SIP/7950
callerid= Oficina 107 <7950>

[7951](internos)
secret=7913pbx
context=ddnycelulares
dial=SIP/7951
callerid= Oficina 108 <7951>

[7952](internos)
secret=7914pbx
context=ddnycelulares
dial=SIP/7952
callerid= Oficina 109 <7952>

[7953](internos)
secret=7915pbx
context=ddnycelulares
dial=SIP/7953
callerid= Oficina 114 <7953>

[7954](internos)
secret=7916pbx
context=ddnycelulares
dial=SIP/7954
callerid= Oficina 123 <7954>

[7955](internos)
secret=7917pbx
context=locales
dial=SIP/7955
callerid= Of118  <7955>

[7956](internos)
secret=7918pbx
context=locales
dial=SIP/7956
callerid= Oficina 012  <7956>

[7957](internos)
secret=7957pbx
context=localesycelulares
dial=SIP/7957
callerid= Oficina 113 <7957>

[7958](internos)
secret=7958pbx
context=ddnycelulares
dial=SIP/7958
callerid= Oficina 101 <7958>

[7959](internos)
secret=7959pbx
context=ddnycelulares
dial=SIP/7959
callerid= device <7959>

[7990](internos)
secret=7990pbx
context=from-internal
dial=SIP/7990
callerid=Eventos Pruebas <7990>

[7991](internos)
secret=7991pbx
context=from-internal
dial=SIP/7991
callerid=Eventos Pruebas <7991>

[7992](internos)
secret=7992pbx
context=from-internal
dial=SIP/7992
callerid=Eventos Pruebas <7992>

[7993](internos)
secret=7993pbx
context=from-internal
dial=SIP/7993
callerid=Eventos Pruebas <7993>

[7994](internos)
secret=7994pbx
context=from-internal
dial=SIP/7994
callerid=Eventos Pruebas <7994>

[7995](internos)
secret=7995pbx
context=from-internal
dial=SIP/7995
callerid=device <7995>

[7996](internos)
secret=7996pbx
context=from-internal
dial=SIP/7996
callerid=Eventos Pruebas <7996>

[7997](internos)
secret=7997pbx
context=from-internal
dial=SIP/7997
callerid=Eventos Pruebas <7997>

[7998](internos)
secret=7998pbx
context=from-internal
dial=SIP/7998
callerid=Eventos Pruebas <7998>

[7999](internos)
secret=7999pbx
context=from-internal
dial=SIP/7999
callerid=device <7999>

sip_trunk.conf

; Troncal contra Grandstream gxw8108 (llamadas entrantes del 0810- )

[ -0810]
context=from-trunk
host=192.168.0.14
insecure=port
type=friend
qualify=yes
disallow=all
allow=alaw
dtmfmode=rfc2833
deny=0.0.0.0/0.0.0.0
permit=192.168.0.14/255.255.255.255


; Troncal E1 Asterisk

[E1]

trunkname=ProxyE1
context=from-trunk
defaultuser=Thot
fromuser=Thot
host=192.168.0.5
type=friend
qualify=yes
disallow=all
allow=alaw,ulaw,gsm
dtmfmode=rfc2833
deny=0.0.0.0/0.0.0.0
permit=192.168.0.5/255.255.255.255
nat=no
;insecure=port,invite

; Troncal Central ASER

[PSER]

trunkname=ProxySER
defaultuser=Thot
fromuser=Thot
type=friend
secret=3CBLsf26
host=192.168.0.12
context=from-trunk
qualify=yes
deny=0.0.0.0/0.0.0.0
permit=192.168.0.12/255.255.255.255
disallow=all
allow=alaw,ulaw,gsm,h264,h263
dtmfmode=rfc2833
nat=no
insecure=port,invite


; Troncal con gw GSM Protech
; plantilla
[GSM](!)
type=peer
host=192.168.0.13
qualify=yes
;insecure=invite,port
insecure=port,invite
dtmfmode=inband
;callerid=83677100
videosupport=no
;agregado por sergio
call-limit=1000
progressinband=never
canreinvite=no

;Sims estan troncalizados individualmente
[SIM1](GSM)
port=7064

[SIM2](GSM) ;36804811
port=7066

[SIM3](GSM)
port=7068

[SIM4](GSM)
port=7070

[SIM5](GSM)
port=7072

[SIM6](GSM)
port=7074

[SIM7](GSM)
port=7076

[SIM8](GSM)
port=7078

extensions.conf

;Configuraciones Incluidas
#include "grupo_timbrado.conf"
#include "extensions_custom.conf"
#include "ivr.conf"
#include "extensions_rutas_salientes.conf"
#include "extensions_rutas_entrantes.conf"
#include "extensions_6xxx.conf"
#include "extensions_4xxx.conf"
#include "extensions_7XXX.conf"
#include "extensions_especiales.conf"
#include "hints.conf"

[general]
static=yes
writeprotect=no
priorityjumping=no
autofallthrough=yes
clearglobalvars=no

[globals]
TERM_PROVIDER1 = SIP/SIM1
TERM_PROVIDER2 = SIP/SIM2
TERM_PROVIDER3 = SIP/SIM3
TERM_PROVIDER4 = SIP/SIM4
TERM_PROVIDER5 = SIP/SIM5
TERM_PROVIDER6 = SIP/SIM6
TERM_PROVIDER7 = SIP/SIM7
MAX_PROVIDERS = 7

[fax-out]
;Salida de FAX
exten => _X.,1,Dial(IAX2/${EXTEN})



;Para conferencia

[invitar]

exten => 1,1,Originate(SIP/6001,exten,conferencia,100,1)

same => n,Hangup

[conferencia]

exten => 100,1,Confbridge(100,conf_test,user_test,sample_user_menu)

same => n,Hangup

; Contexto anexo para los hints, permite levantar llamadas desde las teclas BLF
[BLF_pickup]
exten => _**7XXX,1,Pickup(${EXTEN:2})
exten => _**7XXX,2,Hangup 

extensions_8xxx.conf

;Configuración para internos 8XXX

[internos-8XXX]
;exten => _8XXX,1,playback(the-number-u-dialed&has-been-changed-to)
;exten => _8XXX,n,set(NUM=${EXTEN})
;exten => _8XXX,n,sayDigits(${SIPPEER(${NUM},CALLERID_NUM)})
;exten => _8XXX,n,playback(pls-hold-while-try)
;exten => _8XXX,n,MusicOnHold(gsm,20)
;exten => _8XXX,n,NoOp(Ud. ingreso ${SIPPEER(${NUM},CALLERID_NUM)})
;exten => _8XXX,n,Dial(SIP/${SIPPEER(${NUM},CALLERID_NUM)})
;exten => 8139,1,Goto(sertest,617,1)

;Extensiones IAX2
exten => _46XX,1,Dial(IAX2/${EXTEN},15,rwW)



exten => 8106,1,Dial(SIP/6007)
exten => 8108,1,Dial(SIP/7225)
exten => 8109,1,Dial(SIP/7205)
exten => 8110,1,Dial(SIP/7823)
exten => 8111,1,Dial(SIP/7316)
exten => 8112,1,Dial(SIP/7816)
exten => 8114,1,Dial(SIP/7227)
exten => 8115,1,Dial(SIP/7201)
exten => 8116,1,Dial(SIP/7406)
exten => 8118,1,Dial(SIP/7400)
exten => 8119,1,Dial(SIP/7779)
exten => 8120,1,Dial(SIP/7777)
exten => 8123,1,Dial(SIP/7640)
exten => 8124,1,Dial(SIP/7001)
exten => 8126,1,Dial(SIP/7006)
exten => 8127,1,Dial(SIP/7829)
exten => 8129,1,Dial(SIP/7312)
exten => 8130,1,Dial(SIP/7116)
exten => 8131,1,Dial(SIP/7828)
exten => 8132,1,Dial(SIP/7666)
exten => 8133,1,Dial(SIP/7889)
exten => 8134,1,Dial(SIP/7104)
exten => 8135,1,Dial(SIP/7657)
exten => 8139,1,Goto(sertest,617,1)
exten => 8140,1,Dial(SIP/7140)
exten => 8142,1,Dial(SIP/7867)
exten => 8144,1,Dial(SIP/7202)
exten => 8145,1,Dial(SIP/7200)
exten => 8147,1,Dial(SIP/7047)
exten => 8149,1,Dial(SIP/7101)
exten => 8152,1,Dial(SIP/7635)
exten => 8156,1,Dial(SIP/7128)
exten => 8157,1,Dial(SIP/7099)
exten => 8158,1,Dial(SIP/7851)
exten => 8160,1,Dial(SIP/7636)
exten => 8163,1,Dial(SIP/7634)
exten => 8165,1,Dial(SIP/7825&SIP/7831)
exten => 8167,1,Dial(SIP/7715)
exten => 8168,1,Dial(SIP/7317)
exten => 8169,1,Dial(SIP/7642)
exten => 8170,1,Dial(SIP/7070)
exten => 8171,1,Dial(SIP/7641)
exten => 8172,1,Dial(SIP/7701&SIP/7702)
exten => 8173,1,Dial(SIP/7813&SIP/7814)
exten => 8175,1,Dial(SIP/7822)
exten => 8177,1,Dial(SIP/7633)
exten => 8179,1,Dial(SIP/7207)
exten => 8181,1,Dial(SIP/7352)
exten => 8183,1,Dial(SIP/7707)
exten => 8184,1,Dial(SIP/7011)
exten => 8185,1,Dial(SIP/7085)
exten => 8186,1,Dial(SIP/7407)
exten => 8189,1,Dial(SIP/7100)
exten => 8190,1,Dial(SIP/7383)
exten => 8191,1,Dial(SIP/7744)
exten => 8193,1,Dial(SIP/7213)
exten => 8196,1,Dial(SIP/7401)
exten => 8197,1,Dial(SIP/7300)
exten => 8198,1,Dial(SIP/7357)
exten => 8205,1,Dial(SIP/7639)
exten => 8212,1,Dial(SIP/7216)
exten => 8213,1,Dial(SIP/7810)
exten => 8215,1,Dial(SIP/7737)
exten => 8217,1,Dial(SIP/7313)
exten => 8223,1,Goto(Box8ingreso,626,1)
exten => 8224,1,Dial(SIP/7350)
exten => 8229,1,Dial(SIP/7206)
exten => 8231,1,Dial(SIP/7717)
exten => 8236,1,Dial(SIP/7315)
exten => 8241,1,Dial(SIP/7922)
exten => 8248,1,Dial(SIP/7703)
exten => 8254,1,Dial(SIP/7306)
exten => 8261,1,Dial(SIP/7736)
exten => 8299,1,Dial(SIP/7706)
exten => 8300,1,Dial(SIP/7840)
exten => 8303,1,Dial(SIP/7379)
exten => 8309,1,Dial(SIP/7318)
exten => 8311,1,Dial(SIP/7314)
exten => 8313,1,Dial(SIP/7638)
exten => 8320,1,Dial(SIP/7817)
exten => 8325,1,Dial(SIP/7382)
exten => 8333,1,Dial(SIP/7218)
;exten => 8335,1,Dial(SIP/7219)
exten => 8336,1,Dial(SIP/7220)
exten => 8337,1,Dial(SIP/7221)
exten => 8339,1,Dial(SIP/7735)
exten => 8341,1,Dial(SIP/7709)
exten => 8342,1,Dial(SIP/7310)
exten => 8343,1,Dial(SIP/7009&SIP/7010)
exten => 8344,1,Dial(SIP/7819)
exten => 8347,1,Dial(SIP/7637)
exten => 8351,1,Dial(SIP/7827)
exten => 8353,1,Dial(SIP/7376)
exten => 8355,1,Dial(SIP/7122)
exten => 8356,1,Dial(SIP/7102)
exten => 8357,1,Dial(SIP/7867)
exten => 8359,1,Dial(SIP/7724)
exten => 8361,1,Dial(SIP/7710)
exten => 8362,1,Dial(SIP/7214)
exten => 8363,1,Dial(SIP/7012)
exten => 8365,1,Dial(SIP/7229)
exten => 8367,1,Dial(SIP/7726)
exten => 8368,1,Dial(SIP/7727)
exten => 8372,1,Dial(SIP/7812)
exten => 8391,1,Dial(SIP/7712)
exten => 8700,1,Dial(SIP/8700)

;exten => 4754,1,Queue(pepe,Ttr)
exten => 4754,1,Set(NUM=7842)
exten => 4754,2,Macro(redirecciones)
same => n,Hangup()

[macro-redirecciones]

exten => s,1,Noop(${EXTEN})
same => n,playback(the-number-u-dialed&has-been-changed-to)
same => n,sayDigits(${NUM})
same => n,playback(pls-hold-while-try)
;same => n,MusicOnHold(gsm,20)
same => n,Dial(SIP/${NUM},60,r)
same => n,Hangup()

;exten => 8139,1,Goto(sertest,617,1)

extensions_7XXX.conf

;----------------------------------------------------------------------------------------------------------------------------------------------------------------------
;Configuración de Prueba Interno 7XXX
[internos-7XXX]
exten => _7XXX,1,Answer() ; contestamos la llamada
exten => _7XXX,n,Set(DB(CALLTRACE/${DEXTEN})=${CALLERID(number)})
exten => _7XXX,n,Set(NUM=${DB(${EXTEN}/FORW)}) ; Leemos la base de datos para ver si hay algún valor en la familia 2000/FORW y lo asignamos al variable NUM
exten => _7XXX,n,NoOp( Estado del equipo: "${DEVICE_STATE(SIP/${EXTEN})}")
exten => _7XXX,n,GotoIf($[$["${DEVICE_STATE(SIP/${EXTEN})}" = "INUSE"] | $["${DEVICE_STATE(SIP/${EXTEN})}" = "BUSY"]]?busy) ;Si el interno esta en estado en uso o ocupado salta a busy
exten => _7XXX,n,GotoIf($["${NUM}" = ""]?normal:reenvio) ; si la variable NUM es vacía seguimos normalmente sino vamos a la etiqueta forw
exten => _7XXX,n(normal),Dial(SIP/${EXTEN},60,TtHhrwW)

exten => _7XXX,n(sigo),GotoIf($["${DIALSTATUS}" = "NOANSWER"]?noanswer:continuo)
exten => _7XXX,n(continuo),GotoIf($["${DIALSTATUS}" = "CHANUNAVAIL"]?chanunavail:fin)
exten => _7XXX,n(fin),Hangup()

;Extension Invalida
exten => _7XXX,n(chanunavail),NoOp( no Existe el interno Vieja)
exten => _7XXX,n,Playback(extension&unavailable)
exten => _7XXX,n,GotoIf($["${IVR}" = "True"]?desde_ivr:interno)
exten => _7XXX,n(interno),Hangup()
exten => _7XXX,n(desde_ivr),GoTo(IVR-EJEMPLO-DIA,s,1)

;-----------No responde------------------
exten => _7XXX,n(noanswer),Set(NUM=${DB(${EXTEN}/FORW-NOANSWER)}) ; Leemos la base de datos para ver si hay algún valor en la familia 2000/FORW y lo asignamos al variable NUM
exten => _7XXX,n,GotoIf($["${NUM}" = ""]?noatiende:reenvio-noatiende)
;Las ods lineas a continuación fueron comentadas para probas el voicemail.
;exten => _7XXX,n(noatiende),Voicemail(${EXTEN}@default,u); se activará el contestador anunciando que la extensión llamada no está disponible (opción u) y después del tono podremos dejar un mensaje
;exten => _7XXX,n,Hangup(); se terminará la llamada
;exten => _7XXX,n(noatiende),Background(number-not-answering&please-try-again-later)
exten => _7XXX,n(noatiende),Hangup()
;---------------------------------------------

;-------Reenvio por ocupado--------------------
exten => _7XXX,n(busy),Set(NUM-OCUPADO=${DB(${EXTEN}/FORW-BUSY)}) ; Leemos la base de datos para ver si hay algún valor en la familia 2000/FORW y lo asignamos al variable NUM
exten => _7XXX,n,GotoIf($["${NUM-OCUPADO}" = ""]?ocupado:forw-ocupado)
exten => _7XXX,n(forw-ocupado) ,DIAL(SIP/${NUM-OCUPADO},45,tTHhwgkKxXrwW)
exten => _7XXX,n,GotoIf($["${DIALSTATUS}" = "BUSY"]?ocupado:respuesta)
exten => _7XXX,n(respuesta),GotoIf($["${DIALSTATUS}" = "NOANSWER"]?noanswer:continuo)
;exten => _7XXX,n(ocupado),Background(extension&unavailable)
;exten => _7XXX,n(ocupado),Playtones(busy)
exten => _7XXX,n(ocupado),busy(10)
exten => _7XXX,n,Hangup()
;----------------------------------------------

;--------Reenvio Activo------------------------
exten => _7XXX,n(reenvio),Goto(reenvio-activo,s,1)
;-----------------------------------------------

;--------Reenvio Activo no atiende--------------
exten => _7XXX,n(reenvio-noatiende),Goto(reenvio-activo-noanswer,s,1)


exten => 7839,1,GoTo(sertest,617,1)
exten => 7111,1,GoTo(Box8ingreso,626,1)
exten => 7382,1,Queue(Posgrado,Ttr)

exten => 7604,1,Dial(SIP/7606,60,Ttr)
exten => 7730,1,Dial(SIP/7944,60,Ttr)
exten => 7747,1,Dial(SIP/7936,60,Ttr)
exten => 7750,1,Dial(SIP/7942,60,Ttr)
exten => 7753,1,Dial(SIP/7943,60,Ttr)
exten => 7811,1,Dial(SIP/7941,60,Ttr)
exten => 7999,1,Dial(SIP/${EXTEN},60,Ttrg)
same => n,Hangup()
exten => 7555,1,Set(NUM=7842)
exten => 7555,2,Macro(redirecciones)
same => n,Hangup()

extensions_custom.conf


[reenvio-activo]
exten => s,1(forw),Answer()
exten => s,n,Set(NUM1=${DB(${NUM}/FORW)})
exten => s,n,GotoIf($["${NUM1}" = ""]?normal:forw1)
exten => s,n(normal),Dial(SIP/${NUM},30)
exten => s,n,NoOp( Dial Status: "${DIALSTATUS}")
exten => s,n,GotoIf($["${DIALSTATUS}" = "BUSY"]?busy:sigo)
exten => s,n(sigo),GotoIf($["${DIALSTATUS}" = "NOANSWER"]?noanswer:continuo)
exten => s,n(continuo),Hangup()
exten => s,n(forw1),Set(NUM=${DB(${NUM1}/FORW)})
exten => s,n,Goto(forw,s,1)

[reenvio-activo-noanswer]
exten => s,1(forw2),Answer()
exten => s,n,Set(NUM1=${DB(${NUM}/FORW-NOANSWER)})
exten => s,n,GotoIf($["${NUM1}" = ""]?normal:forw3)
exten => s,n(normal),Dial(SIP/${NUM},30)
exten => s,n,NoOp( Dial Status: "${DIALSTATUS}")
exten => s,n,GotoIf($["${DIALSTATUS}" = "BUSY"]?busy:sigo)
exten => s,n(sigo),GotoIf($["${DIALSTATUS}" = "NOANSWER"]?noanswer:continuo)
exten => s,n(continuo),Hangup()
exten => s,n(forw3),Set(NUM=${DB(${NUM1}/FORW-NOANSWER)})
exten => s,n,Goto(forw,s,1)


[callfwd-add] ; contexto para programar el desvió de llamada 
exten => s,1,Answer() 						                                                                ; contestamos la llamada 
exten => s,n,Set(NUM=${CALLERID(num)}) 				                                                                ; asignamos a la variable NUM el numero de la extensión que está llamando 
exten => s,n,Set(COUNT=1) 					                                                                ; asignamos el valor 1 a la variable COUNT 
exten => s,n(inicio),Playback(please-enter-the&telephone-number&for&your&call-forwarding&astcc-followed-by-the-pound-key) 	; La voz de asterisk nos dirá que tenemos que digitar el numero al cual queremos desviar todas las llamadas 
exten => s,n,Read(forw,,15,,2,10) 				                                                                ; Asterisk leerá los dígitos y los guardará en la variable forw 
exten => s,n,Playback(call-forwarding) 				                                                                ; La voz de asterisk dirá que el desvío de la llamada ha sido configurado para el numero 
exten => s,n,Playback(has-been-set-to) 
exten => s,n,SayDigits(${forw}) 				                                                                ; Saydigits lee uno a uno los digitos de la variable forw 
exten => s,n,Playback(if-this-is-correct-press&digits/1&if-this-is-not-correct&digits/2) 		                        ; Si el numero que escuchamos es exacto presionamos 1 sino 2 
exten => s,n,Read(sino,,1,,,5) 													; asterisk lee nuestra respuesta y la guarda en la variable sino 
exten => s,n,GotoIf($["${sino}" = "1"]?setf:conta) 										; si sino es igual a uno vamos a la etiqueta setf sino a conta 
exten => s,n(conta),Set(COUNT=$[${COUNT} + 1]) 											; añadimos a la variable COUNT (que era 1) una unidad (el nuevo valor es 2) 
exten => s,n,Gotoif($["${COUNT}" < "4"]?inicio:bye) 										; si la variable COUNT es menor que 4 vamos a etiqueta inicio sino a la etiqueta bye. Esto sirve para permitir tres intentos de configuración antes de colgar la llamada. 
exten => s,n(setf),Set(DB(${NUM}/FORW)=${forw}) 										; etiqueta setf, guardamos en numero en la base de datos interna de Asterisk 
exten => s,n,Wait(1) 														; esperamos un segundo 
exten => s,n(bye),Playback(goodbye) 												; Escucharemos un saludo de despedida 
exten => s,n,Hangup 														; la llamada será terminada

[callfwd-remove] 
exten => s,1,Answer 
exten => s,n,Set(NUM=${CALLERID(num)}) 
exten => s,n,Wait(1) 
exten => s,n,Set(forw=${DB_DELETE(${NUM}/FORW)}) 
exten => s,n,Playback(call-fwd-cancelled) 
exten => s,n,Playback(goodbye) 
exten => s,n,Hangup

[callfwd-busy-add]
exten => s,1,Answer() 						 
exten => s,n,Set(NUM=${CALLERID(num)}) 				 
exten => s,n,Set(COUNT=1) 					 
exten => s,n(inicio),Playback(please-enter-the&telephone-number&for&your&call-forwarding&astcc-followed-by-the-pound-key) 	 
exten => s,n,Read(forw-busy,,15,,2,10) 				
exten => s,n,Playback(call-forwarding) 				 
exten => s,n,Playback(has-been-set-to) 
exten => s,n,SayDigits(${forw-busy}) 				 
exten => s,n,Playback(if-this-is-correct-press&digits/1&if-this-is-not-correct&digits/2) 		 
exten => s,n,Read(sino,,1,,,5) 										 
exten => s,n,GotoIf($["${sino}" = "1"]?setf:conta) 							 
exten => s,n(conta),Set(COUNT=$[${COUNT} + 1]) 								 
exten => s,n,Gotoif($["${COUNT}" < "4"]?inicio:bye) 							 
exten => s,n(setf),Set(DB(${NUM}/FORW-BUSY)=${forw-busy}) 							 
exten => s,n,Wait(1) 											 
exten => s,n(bye),Playback(goodbye) 									 
exten => s,n,Hangup 											

[callfwd-busy-remove]
exten => s,1,Answer
exten => s,n,Set(NUM=${CALLERID(num)})
exten => s,n,Wait(1)
exten => s,n,Set(forw=${DB_DELETE(${NUM}/FORW-BUSY)})
exten => s,n,Playback(call-fwd-cancelled)
exten => s,n,Playback(goodbye)
exten => s,n,Hangup

[callfwd-noanswer-add]
exten => s,1,Answer()
exten => s,n,Set(NUM=${CALLERID(num)})
exten => s,n,Set(COUNT=1)
exten => s,n(inicio),Playback(please-enter-the&telephone-number&for&your&call-forwarding&astcc-followed-by-the-pound-key)
exten => s,n,Read(forw-noanswer,,15,,2,10)
exten => s,n,Playback(call-forwarding)
exten => s,n,Playback(has-been-set-to)
exten => s,n,SayDigits(${forw-noanswer})
exten => s,n,Playback(if-this-is-correct-press&digits/1&if-this-is-not-correct&digits/2)
exten => s,n,Read(sino,,1,,,5)
exten => s,n,GotoIf($["${sino}" = "1"]?setf:conta)
exten => s,n(conta),Set(COUNT=$[${COUNT} + 1])
exten => s,n,Gotoif($["${COUNT}" < "4"]?inicio:bye)
exten => s,n(setf),Set(DB(${NUM}/FORW-NOANSWER)=${forw-noanswer})
exten => s,n,Wait(1)
exten => s,n(bye),Playback(goodbye)
exten => s,n,Hangup

[callfwd-noanswer-remove]
exten => s,1,Answer
exten => s,n,Set(NUM=${CALLERID(num)})
exten => s,n,Wait(1)
exten => s,n,Set(forw=${DB_DELETE(${NUM}/FORW-NOANSWER)})
exten => s,n,Playback(call-fwd-cancelled)
exten => s,n,Playback(goodbye)
exten => s,n,Hangup





[decir-hora]
exten => s,1,ringing()
exten => s,n,Set(FutureTime=$[${EPOCH} + 8])
exten => s,n,Set(FutureTimeMod=$[${FutureTime} % 10])
exten => s,n,Set(FutureTime=$[${FutureTime} - ${FutureTimeMod}])
exten => s,n,Set(MaxConnectTime=$[${FutureTime} + 180])
exten => s,n,Set(FutureTimeMod=$[${FutureTime} - ${EPOCH}])
exten => s,n,GotoIf($["${FutureTimeMod}" < "0"]?10:8)
exten => s,n,wait(1)
exten => s,n,goto(6)
exten => s,n,Answer()
exten => s,n,Set(FutureTime=$[${FutureTime} + 10])
exten => s,n,Set(FutureTimeMod=$[${FutureTime} % 60])
exten => s,n,wait(1)
exten => s,n,playback(at-tone-time-exactly)
exten => s,n,SayUnixTime(${FutureTime},,k)
exten => s,n,SayUnixTime(${FutureTime},,M)
exten => s,n,GotoIf($["${FutureTimeMod}" = "0"]?18:20)
exten => s,n,SayUnixTime(${FutureTime},,i)
exten => s,n,goto(23)
exten => s,n,playback(and)
exten => s,n,SayUnixTime(${FutureTime},,S)
exten => s,n,playback(seconds)
exten => s,n,Set(FutureTimeMod=$[${FutureTime} - ${EPOCH}])
exten => s,n,GotoIf($["${FutureTimeMod}" < "1"]?27:25)
exten => s,n,wait(1)
exten => s,n,goto(23)
exten => s,n,playback(beep)
exten => s,n,Set(FutureTimeMod=$[${MaxConnectTime} - ${EPOCH}])
exten => s,n,GotoIf($["${FutureTimeMod}" < "1"]?30:11)
exten => s,n,Hangup()


[rastreo-llamada]
exten => s,1,Answer
exten => s,n,Wait(1)
exten => s,n,Playback(info-about-last-call&telephone-number)
exten => s,n,Set(lastcaller=${DB(CALLTRACE/${AMPUSER})})
exten => s,n,GotoIf($[ $[ "${lastcaller}" = "" ] | $[ "${lastcaller}" = "unknown" ] ]?noinfo)
exten => s,n,SayDigits(${lastcaller})
exten => s,n,Set(TIMEOUT(digit)=3)
exten => s,n,Set(TIMEOUT(response)=7)
exten => s,n,Background(to-call-this-number&press-1)
exten => s,n,Goto(fin)
exten => s,n(noinfo),Playback(from-unknown-caller)
exten => s,n,Hangup()
exten => s,n(fin),Noop(Waiting for input)
exten => s,n,WaitExten(60,)
exten => s,n,Playback(sorry-youre-having-problems&goodbye)
exten => 1,1,Goto(desde-internos,${lastcaller},1)
exten => i,1,Playback(vm-goodbye)
same => n,Hangup()
exten => t,1,Playback(vm-goodbye)
same => n,Hangup()


;Esta macro se utiliza para bloquear un interno.
[macro-permitir]
exten => s,1,Noop(Revisando permisos de ${CALLERID(num)})
same => n,GotoIf($[${DB_EXISTS(bloqueo/${CALLERID(num)})}]?Bloquear:Permitir)
same => n(Bloquear),Noop(Deteniendo el paso de ${CALLERID(num)})
same => n,Playback(pbx-invalid)  ; Reemplazar por cualquier archivo de sonido deseado
same => n,Congestion()
same => n(Permitir),Noop(Permitiendo el paso de ${CALLERID(num)} --> ${MACRO_EXTEN})

; Prueba de una macro para failover celulares

[macro-sim-celulares]

;exten => s,1,Set(CALL_ATTEMPT=1)
;exten => s,2,Set(TERM_PROVIDER=${TERM_PROVIDER1})
;exten => s,3,Dial(${TERM_PROVIDER}/${ARG1},60)
;exten => s,4,GotoIf($["${CALL_ATTEMPT}" >= "${MAX_PROVIDERS}"]?s-CANCEL,1)
;exten => s,5,Set(CALL_ATTEMPT=$[${CALL_ATTEMPT} + 1])
;exten => s,6,Goto(s-${DIALSTATUS},1)

exten => s,1,Set(CALL_ATTEMPT=1)
exten => s,2,Noop(Llamada a Celular)
exten => s,3,Set(TERM_PROVIDER=${TERM_PROVIDER1})
exten => s,4,Dial(${TERM_PROVIDER}/${ARG1},60,tTWwrXx)
exten => s,5,GotoIf($["${CALL_ATTEMPT}" >= "${MAX_PROVIDERS}"]?s-CANCEL,1)
exten => s,6,Set(CALL_ATTEMPT=$[${CALL_ATTEMPT} + 1])
exten => s,7,Goto(s-${DIALSTATUS},1)

exten => s-NOANSWER,1,Noop()
exten => s-CANCEL,1,Dial(SIP/E1/${ARG1},60,tTWwr)
exten => s-HANGUP,1,Hangup()

exten => s-BUSY,1,Noop()
exten => s-BUSY,2,Set(TERM_PROVIDER=${EVAL(${TERM_PROVIDER${CALL_ATTEMPT}})})
exten => s-BUSY,3,Goto(s,4)

exten => s-CHANUNAVAIL,1,Noop()
exten => s-CHANUNAVAIL,2,Set(TERM_PROVIDER=${EVAL(${TERM_PROVIDER${CALL_ATTEMPT}})})
exten => s-CHANUNAVAIL,3,Goto(s,4)

exten => s-CONGESTION,1,Noop()
exten => s-CONGESTION,2,Set(TERM_PROVIDER=${EVAL(${TERM_PROVIDER${CALL_ATTEMPT}})})
exten => s-CONGESTION,3,Goto(s,4)

extensions_especiales.conf

[extensiones-especiales]
exten => *43,1,Playback(demo-echotest)
exten => *43,n,Echo
exten => *43,n,Playback(demo-echodone)
exten => *34,1,Playback(option-not-implemented)
exten => *35,1,Playback(option-not-implemented)
exten => *52,1,Goto(callfwd-noanswer-add,s,1)
exten => *53,1,Goto(callfwd-noanswer-remove,s,1)
exten => *60,1,Goto(decir-hora,s,1)
;exten => *65,1,SayNumber(${CALLERID(NUM)},m)
exten => *65,1,Answer
;exten => *65,n,Wait(1)
;exten => *65,n,SayNumber(${CALLERID(NUM)},f)
exten => *65,n,SayDigits(${CALLERID(NUM)},f)
exten => *69,1,Goto(rastreo-llamada,s,1)
exten => *72,1,Goto(callfwd-add,s,1)
exten => *73,1,Goto(callfwd-remove,s,1)
exten => *90,1,Goto(callfwd-busy-add,s,1)
exten => *91,1,Goto(callfwd-busy-remove,s,1)
exten => 0,1,Goto(Conmutador,0,1)
; Este es el código de bloqueo. Es lo que el trabajador marca antes de retirarse
exten => *50,1,Answer()
exten => *50,n,Noop(Bloqueando ${CALLERID(num)})
;exten => *50,n,VMAuthenticate(${CALLERID(num)}@default)     ; Descomenta esta línea si quieres pedir contraseña también al bloquear
exten => *50,n,Set(DB(bloqueo/${CALLERID(num)})=1)
exten => *50,n,Playback(vm-goodbye)
exten => *50,n,Hangup
;------------------------------------

; Este es el código de desbloqueo. Es lo que marca a la mañana siguiente
exten => *51,1,Answer()
same => n,VMAuthenticate(${CALLERID(num)})
same => n,Noop(${DB_DELETE(bloqueo/${CALLERID(num)})})
same => n,Playback(auth-thankyou)
same => n,Hangup
;-------------------------------------

;Levantar mensajes del buzón de voz
exten => 97,1,Answer(); abre el canal (contesta)
exten => 97,n,VoiceMailMain(${CALLERID(num)}@default); envía la llamada directamente a la casilla de la extensión que está llamando en el contexto default
exten => 97,n,Hangup(); termina la llamada
;--------------------------------------

;;contexo para el portero DSI

[portero]

exten => 616,1,Goto(Portero-DSI,616,1) ;grupo de timbrado 616
same => n,Hangup()
exten => 7499,1,Answer()
same => n,SendDTMF(978)
;;same => n,playback(tt-weasels)
same => n,Hangup()


;;Dialplan para portero Prietec

[Portero-Prietec]

exten => 0,1,Answer
same => n,Dial(SIP/7676&SIP/7671&SIP/7670&SIP/7674&SIP/7675&SIP/7672,60)
same => n,Hangup
exten => 1,1,Answer
same => n,Dial(SIP/7676,60)
same => n,Hangup
exten => 10,1,Answer
exten => 10,n,Dial(SIP/7671,60)
exten => 10,n,Hangup
exten => 20,1,Answer
exten => 20,n,Dial(SIP/7670,60)
exten => 20,n,Hangup
exten => 100,1,Answer
exten => 100,n,Dial(SIP/7674,60)
exten => 100,n,Hangup
exten => 110,1,Answer
exten => 110,n,Dial(SIP/7675,60)
exten => 110,n,Hangup
exten => 120,1,Answer
exten => 120,n,Dial(SIP/7672,60)
exten => 120,n,Hangup
exten => i,1,Playback(invalid)
exten => i,n,Playback(goodbye)
exten => i,n,Hangup()

extensions_rutas_entrantes.conf

[directos]

; Parametros del commando Dial
;+------------------------------------------------------------------------------+
;|k - Allow the called party to enable parking of the call by sending the	| 	
;|	DTMF sequence defined for call parking in features.conf.		|		
;|K - Allow the calling party to enable parking of the call by sending the 	|
;|	DTMF sequence defined for call parking in features.conf.		|		
;|t - Allow the called party to transfer the calling party by sending the	|
;|	DTMF sequence defined in features.conf. This setting does not perform	|
;|	policy enforcement on transfers initiated by other methods.		|
;|T - Allow the calling party to transfer the called party by sending the 	|
;|	DTMF sequence defined in features.conf. This setting does not perform	|
;|	policy enforcement on transfers initiated by other methods.		|
;|w - Allow the called party to enable recording of the call by sending the	|
;|	DTMF sequence defined for one-touch recording in features.conf.		|
;|W - Allow the calling party to enable recording of the call by sending the	|
;|	DTMF sequence defined for one-touch recording in features.conf.		|
;|x - Allow the called party to enable recording of the call by sending the	|
;|	DTMF sequence defined for one-touch automixmonitor in features.conf.	|
;|X - Allow the calling party to enable recording of the call by sending the	|
;|	DTMF sequence defined for one-touch automixmonitor in features.conf.	|
;|r(tone) - Default: Indicate ringing to the calling party, even if the		|
;|	called party isn't actually ringing. Pass no audio to the calling	|
;|	party until the called channel has answered.				|
;+------------------------------------------------------------------------------+



;directos desde 7100-7109 ***************************
;Ruta Principal al IVR
exten => 7100,1,Answer()
exten => 7100,n,GotoIfTime(08:00-18:00,mon-fri,*,*?dia:noche)
exten => 7100,n(dia),Goto(IVR-EJEMPLO-DIA,s,1)
exten => 7100,n(noche),Goto(IVR-EJEMPLO-NOCHE,s,1)


exten => 7101,1,Answer()
exten => 7101,n,Dial(SIP/7099,60,TtwWkKxXr)
same => n,Hangup()


exten => 7102,1,Dial(SIP/7999,20,TtwWkKxXr)
;exten => 7102,n,Busy(8)
exten => 7102,n,Hangup()


exten => 7103,1,Answer()
exten => 7103,n,Dial(SIP/7459,60,TtwWkKxXr)
same => n,Hangup()


exten => 7104,1,Answer()
exten => 7104,n,Dial(SIP/7709,60,TtwWkKxXr)
same => n,Hangup()


exten => 7105,1,Answer()
exten => 7105,n,Dial(SIP/7815,60,TtwWkKxXr)
same => n,Hangup()


exten => 7106,1,Answer()
exten => 7106,n,Dial(SIP/7003,60,TtwWkKxXr)
same => n,Hangup()


exten => 7107,1,Answer()
exten => 7107,n,Goto(auditoria,612,1)
same => n,Hangup()


exten => 7108,1,Answer()
exten => 7108,n,Goto(Tesoreria,624,1)
same => n,Hangup()


exten => 7109,1,Answer()
exten => 7109,n,Dial(SIP/7205,60,TtwWkKxXr)
same => n,Hangup()

exten => 7110,1,Answer()
exten => 7110,n,GotoIfTime(08:00-18:00,mon-fri,*,*?dia:noche)
exten => 7110,n(dia),Goto(IVR-EJEMPLO-DIA,s,1)
exten => 7110,n(noche),Goto(IVR-EJEMPLO-NOCHE,s,1)
same => n,Hangup()


exten => 7111,1,Answer()
exten => 7111,n,Dial(SIP/7316,60,TtwWkKxXr)
same => n,Hangup()

exten => 7112,1,Answer()
exten => 7112,n,Goto(SecGral-Protocolo,614,1)
same => n,Hangup()


exten => 7114,1,Answer()
exten => 7114,n,Dial(SIP/7227,60,TtwWkKxXr)
same => n,Hangup()


exten => 7116,1,Answer()
exten => 7116,n,Goto(gerencia,613,1)
same => n,Hangup()

exten => 7117,1,Answer()
exten => 7117,n,Dial(SIP/7944,60,TtwWkKxXr)
same => n,Hangup()


exten => 7118,1,Answer()
exten => 7118,n,Dial(SIP/7400,60,TtwWkKxXr)
same => n,Hangup()


exten => 7120,1,Answer()
exten => 7120,n,Dial(SIP/7777,60,TtwWkKxXr)
same => n,Hangup()


exten => 7124,1,Answer()
exten => 7124,n,Dial(SIP/7001,60,TtwWkKxXr)
same => n,Hangup()


exten => 7125,1,Answer()
exten => 7125,n,Dial(SIP/7211,60,TtwWkKxXr)
same => n,Hangup()


exten => 7126,1,Answer()
exten => 7126,n,Dial(SIP/7006,60,TtwWkKxXr)
same => n,Hangup()

exten => 7128,1,Answer()
exten => 7128,n,Dial(SIP/7357,60,TtwWkKxXr)
same => n,Hangup()


exten => 7130,1,Answer()
exten => 7130,n,Goto(At-Biblioteca,611,1)
same => n,Hangup()

;CYT Secretaria Fax
exten => 7132,1,Answer()
exten => 7132,n,Dial(SIP/7603,60,TtwWkKxXr)
same => n,Hangup()


exten => 7133,1,Answer()
exten => 7133,n,Dial(SIP/7113,60,TtwWkKxXr)
same => n,Hangup()


exten => 7136,1,Answer()
exten => 7136,n,Dial(SIP/7600,60,TtwWkKxXr)
same => n,Hangup()


exten => 7137,1,Answer()
exten => 7137,n,Dial(SIP/7382,60,TtwWkKxXr)
same => n,Hangup()


exten => 7139,1,Answer()
exten => 7139,n,Goto(sertest,617,1)
same => n,Hangup()


exten => 7140,1,Answer()
exten => 7140,n,Dial(SIP/7140,60,TtwWkKxXr)
same => n,Hangup()


exten => 7142,1,Answer()
exten => 7142,n,Dial(SIP/7867,60,TtwWkKxXr)
same => n,Hangup()

exten => 7143,1,Answer()
exten => 7143,n,GoTo( -Auditoria,8143,1)
same => n,Hangup()


exten => 7144,1,Answer()
exten => 7144,n,Dial(SIP/7202,60,TtwWkKxXr)
same => n,Hangup()


exten => 7149,1,Answer()
exten => 7149,n,Dial(SIP/7101,60,TtwWkKxXr)
same => n,Hangup()


exten => 7150,1,Answer()
exten => 7150,n,Dial(SIP/6006,60,TtwWkKxXr)
same => n,Hangup()

exten => 7152,1,Answer()
exten => 7152,n,Goto(auditoria,612,1)
same => n,Hangup()


exten => 7156,1,Answer()
exten => 7156,n,Dial(SIP/7128,60,TtwWkKxXr)
same => n,Hangup()


exten => 7158,1,Answer()
exten => 7158,n,Dial(SIP/7851,60,TtwWkKxXr)
same => n,Hangup()


exten => 7161,1,Answer()
exten => 7161,n,Dial(SIP/7602,60,TtwWkKxXr)
same => n,Hangup()

exten => 7162,1,Answer()
exten => 7162,n,Dial(SIP/7228,60,TtwWkKxXr)
same => n,Hangup()

exten => 7168,1,Answer()
exten => 7168,n,Dial(SIP/7317,60,TtwWkKxXr)
same => n,Hangup()


exten => 7172,1,Answer()
exten => 7172,n,Goto( -Secretaria,615,1)
same => n,Hangup()


exten => 7173,1,Answer()
same => n,Goto(Porteria,619,1)
same => n,Hangup()


exten => 7177,1,Answer()
same => n,Dial(SIP/7633,60,TtwWkKxXr)
same => n,Hangup()


exten => 7184,1,Answer()
exten => 7184,n,Dial(SIP/7011,60,TtwWkKxXr)
same => n,Hangup()


exten => 7185,1,Answer()
exten => 7185,n,Dial(SIP/7085,60,TtwWkKxXr)
same => n,Hangup()


exten => 7186,1,Answer()
exten => 7186,n,Dial(SIP/7407,60,TtwWkKxXr)
same => n,Hangup()


exten => 7188,1,Answer()
exten => 7188,n,Dial(SIP/7866,60,TtwWkKxXr)
same => n,Hangup()


exten => 7189,1,Answer()
exten => 7189,n,Dial(SIP/7100,60,TtwWkKxXr)
same => n,Hangup()


exten => 7193,1,Answer()
exten => 7193,n,Dial(SIP/7213,60,TtwWkKxXr)
same => n,Hangup()


exten => 7196,1,Answer()
exten => 7196,n,Dial(SIP/7401,60,TtwWkKxXr)
same => n,Hangup()


exten => 7198,1,Answer()
exten => 7198,n,Dial(SIP/7350,60,TtwWkKxXr)
same => n,Hangup()


exten => 7199,1,Answer()
same => n,Goto(IVR-0810- ,s,1)
same => n,Hangup()

extensions_rutas_salientes.conf

;Rutas Salientes

[desde-internos]
include => internos-4XXX
include => internos-7XXX
include => internos-6XXX
include => extensiones-especiales
include => emergencias
include => aSER
;include => BLF_pickup


[accesototal]
include => desde-internos
include => celulares
include => internacionales
include => especiales
include => interurbanas
include => locales
include => directos

[localesycelulares]
include => desde-internos
include => locales
include => celulares
include => especiales

[ddnycelulares]
include => desde-internos
include => locales
include => interurbanas
include => celulares
include => especiales

[localesyddn]
include => desde-internos
include => locales
include => interurbanas

[from-trunk]
include => directos
include => internos-8XXX
include => internos-7XXX
include => internos-6XXX


; +++++++++++++++++++++++++++++++++++++++++++++++++++++

[locales]
exten => _9[2-6]XXXXXXX,1,macro(permitir)
same => n,Dial(SIP/E1/${EXTEN:1},60,tTWwrXx)
same => n,Hangup()
include => desde-internos


[internacionales]

exten => _9000,1,macro(permitir)
exten => _9000,n,Dial(SIP/E1/${EXTEN:1},90,tTWwrXx)
exten => _9000,n,Hangup()
exten => _900XXX.,1,Dial(SIP/E1/${EXTEN:1},90,tTWwrmXx)
exten => _900XXX.,n,Hangup()

[interurbanas]

exten => _902XXXNXXXXX,1,macro(permitir)
exten => _902XXXNXXXXX,n,Dial(SIP/E1/${EXTEN:1},60,tTWwrXx)
exten => _902XXXNXXXXX,n,Hangup()
exten => _902XXNXXXXXX,1,macro(permitir)
exten => _902XXNXXXXXX,n,Dial(SIP/E1/${EXTEN:1},60,tTWwrXx)
exten => _902XXNXXXXXX,n,Hangup()
exten => _903XXXNXXXXX,1,macro(permitir)
exten => _903XXXNXXXXX,n,Dial(SIP/E1/${EXTEN:1},60,tTWwrXx)
exten => _903XXXNXXXXX,n,Hangup()
exten => _903XXNXXXXXX,1,macro(permitir)
exten => _903XXNXXXXXX,n,Dial(SIP/E1/${EXTEN:1},60,tTWwrXx)
exten => _903XXNXXXXXX,n,Hangup()


[emergencias]

exten => _9XXX,1,Dial(SIP/E1/${EXTEN:1},60,tTWwrXx)
exten => _9XXX,n,Hangup()

[especiales]

exten => _906XXXXXXXXX,1,macro(permitir)
same => n,Dial(SIP/E1/${EXTEN:1},60,tTWwrXx)
same => n,Hangup()
exten => _9081XXXXXXXXX,1,macro(permitir)
same => n,Dial(SIP/E1/${EXTEN:1},60,tTWwrXx)
same => n,Hangup()
exten => _9081XXXXXXXX,1,macro(permitir)
same => n,Dial(SIP/E1/${EXTEN:1},60,tTWwrXx)
same => n,Hangup()
exten => _908XXXXXXXXX,1,macro(permitir)
same => n,Dial(SIP/E1/${EXTEN:1},60,tTWwrXx)
same => n,Hangup()
exten => _908XXXXXXXXXX,1,macro(permitir)
same => n,Dial(SIP/E1/${EXTEN:1},60,tTWwrXx)
same => n,Hangup()

;Salida a SER por el troncal iax2
[aSER]
exten => _8XX*X.,1,Dial(IAX2/ASER/${EXTEN},60,tTWwrXx)
same => n,Hangup()
exten => _8XXX.,1,Dial(IAX2/ASER/${EXTEN},60,tTWwrXx)
same => n,Hangup()

;Salida a SER por sip
;[aSER]
;exten => _8XX*X.,1,Dial(SIP/PSER/${EXTEN},60,tr)
;same => n,Hangup()
;exten => _8XXX.,1,Dial(SIP/PSER/${EXTEN},60,tr)
;same => n,Hangup()
;exten => _8XXX,1,Dial(SIP/PSER/${EXTEN},60,tr)
;same => n,Hangup()

[celulares]
exten => _90XX17XXXXXXXX,1,Macro(permitir)
same => n,Macro(sim-celulares,${EXTEN:1})
same => n,Hangup()

exten => _90XXX17XXXXXXX,1,Macro(permitir)
same => n,Macro(sim-celulares,${EXTEN:1})
same => n,Hangup()

exten => _90XXXX17XXXXXX,1,Macro(permitir)
same => n,Macro(sim-celulares,${EXTEN:1})
same => n,Hangup()

exten => _9017XXXXXXXX,1,Macro(permitir)
same => n,Macro(sim-celulares,${EXTEN:1})
same => n,Hangup()

exten => _91[1,5]XXXXXXXX,1,Macro(permitir)
same => n,Macro(sim-celulares,${EXTEN:1})
same => n,Hangup()



;;; Dialplan para soporte de inscripciónes.

[solouncelyalgunosinternos]
exten => 1,1,Dial(SIP/7101)
exten => 2,1,Dial(SIP/7120)
exten => 3,1,Dial(SIP/7197)
exten => 4,1,Dial(SIP/7198)
exten => 5,1,Dial(SIP/7199)
exten => 6,1,Dial(SIP/7107)
exten => 7,1,Dial(SIP/7459)

;;; Dialplan anexo para inscripciones solo entre Guarani y Alumnos

[AnexoInscripciones]
;Sergio (Estas extensiones tanto la1 como la 2, generan un warning ya que se pisan con la del contexto solouncelyalgunosinternos
exten =>1,1,dial(SIP/7195) ;;;interno de Guarani
same =>  n,HangUp()
exten => 2,1,Dial(SIP/7196) ;;;interno de Alumnos
same => n,HangUp()

grupo_timbrado.conf

;Grupos de Timbrado


;Grupo de Prueba
;[ITT]
;exten => 666,1,Dial(SIP/6002&SIP/6003&SIP/6004&sip/6007,30,r)
;exten => 666,n,Hangup()

;Grupo N° 6 
[Conmutador]
exten => 0,1,Dial(SIP/7095&SIP/7096,60,TtrwW)
;exten => 0,n,Dial(SIP/7838,30) Terminar TIME

[Atencion]
exten => 140,1,Dial(SIP/7140,1,r)
exten => 140,n,Background(custom/Audio_7140_7140)
exten => 140,n,Hangup()

;Grupo N° 0 
[Opcion1]
exten => 600,1,Dial(SIP/7726&SIP/7727,60,Ttr)
exten => 600,n,GoTo(IVR-0810- ,s,1)

;Grupo N° 2 
[Opcion3]
exten => 602,1,Dial(SIP/7710&SIP/7712&SIP/7709,60,Ttr)
exten => 602,n,GoTo(IVR-0810- ,s,1)

;Grupo N° 3 
[Opcion5]
;exten => 603,1,Dial(SIP/7218&SIP/7219&SIP/7220&SIP/7221&SIP/7222,60,Ttr)
exten => 603,1,Dial(SIP/7218&SIP/7220&SIP/7221&SIP/7222,60,Ttr)
exten => 603,n,GoTo(IVR-0810- ,s,1)

;Grupo N° 5 
[IDS]
exten => 605,1,Dial(SIP/7459&SIP/7836&SIP/7838&SIP/7835&SIP/7842&SIP/7843&SIP/7846&SIP/7849&SIP/7841&SIP/7456&SIP/7847&SIP/7845&SIP/7487,60,r)
exten => 605,n,Hangup()


;Grupo N° 6 
[ASER-IVR]
exten => 606,1,Dial(SIP/7100,60,Ttr)
exten => 606,n,GoTo(IVR-EJEMPLO- ,s,1)

;Grupo N° 7 
[Habitaciones]
exten => 607,1,Dial(SIP/7311&SIP/7304&SIP/7305&SIP/7317,60,Ttr)
exten => 607,n,Hangup()

;Grupo N° 8
[Secretaria]
exten => 608,1,Dial(SIP/7200&SIP/7201&SIP/7202,60,Ttr)
exten => 608,n,Hangup()

;Grupo N° 9 
[RRHH]
exten => 609,1,Dial(SIP/7210&SIP/7211&SIP/7212,60,Ttr)
exten => 609,n,Dial(SIP/7210,30)

;Grupo N° 10
[Psicologia]
exten => 610,1,Dial(SIP/7750&SIP/7751,60,Ttr)
exten => 610,n,Hangup()

;Grupo N° 11
[Enfermeria]
exten => 611,1,Dial(SIP/7116&SIP/7117&SIP/7118,60,Ttr)
exten => 611,n,Hangup()

;Grupo N° 12
[auditoria]
exten => 612,1,Dial(SIP/7106&SIP/7107&SIP/7108&SIP/7109,60,Ttr)
exten => 612,n,GoTo(auditoria,612,1)

;Grupo N° 13
[gerencia]
exten => 613,1,Dial(SIP/7406&SIP/7408&SIP/7409&SIP/7818,60,Ttr)
exten => 613,n,GoTo(gerencia,613,1)

;Grupo N° 14
[SecGral-Protocolo]
exten => 614,1,Dial(SIP/7816&SIP/7820,60,Ttr)
exten => 614,n,Dial(SIP/7819,30)

;Grupo N° 15
[Secretaria]
exten => 615,1,Dial(SIP/7701&SIP/7702,60,Ttr)
exten => 615,n,Hangup()

;Grupo N° 16
[Portero]
exten => 616,1,Dial(SIP/7835&SIP/7836&SIP/7838&SIP/7841&SIP/7845&SIP/7847&SIP/7849&SIP/7846,30,r)
exten => 616,n,Dial(SIP/7847,30)

;Grupo N° 17
[sertest]
exten => 617,1,Dial(SIP/7845&SIP/7487&SIP/7849&SIP/7847&SIP/7846,60,Ttr)
exten => 617,n,Dial(SIP/7847,30)

;Grupo N° 19 
[Porteria]
exten => 619,1,Dial(SIP/7814&SIP/7813,60,Ttr)
exten => 619,n,Hangup()

;Grupo N° 20
[Legales]
exten => 620,1,Dial(SIP/7602&SIP/7604&SIP/7606&SIP/7607,60,Ttr)
exten => 620,n,Dial(SIP/7603,30)

;Grupo N° 21
[Extension-2]
exten => 621,1,Dial(SIP/7315&SIP/7303,60,Ttr)
exten => 621,n,Dial(SIP/7303,30)

;Grupo N° 22
[Traumatologia]
exten => 622,1,Dial(SIP/7404&SIP/7819&SIP/7817&SIP/7818&SIP/7821&SIP/7816&SIP/7820,60,Ttr)
exten => 622,n,GoTo(Traumatologia,622,1)

;Grupo N° 23
[Movilidad]
exten => 623,1,Dial(SIP/7319&SIP/7821,60,Ttr)
exten => 623,n,GoTo(Movilidad,623,1)

;Grupo N° 24 
[Tesoreria]
exten => 624,1,Dial(SIP/7224&SIP/7225,60,Ttr)
exten => 624,n,Hangup()

;Grupo N° 25 
[Psicomotricidad]
exten => 625,1,Dial(SIP/7851&SIP/7452&SIP/7453&SIP/7850,60,Ttr)
exten => 625,n,Hangup()

;Grupo N° 26
[Recepcion]
exten => 626,1,Dial(SIP/7131&SIP/7132,60,Ttr)
exten => 626,n,Hangup()

;Grupo N° 27
[Secretaria]
exten => 627,1,Dial(SIP/7101&SIP/7127&SIP/7133,60,Ttr)
exten => 627,n,Hangup()

;Grupo N° 28
[Habitaciones 2XX]
exten => 628,1,Dial(SIP/7705&SIP/7762,60,Ttr)
exten => 628,n,Hangup()

;Grupo N° 30 
[800]
exten => 630,1,Dial(SIP/6303,60,Ttr)
exten => 630,n,GoTo(IVR-EJEMPLO- ,s,1)

;Grupo N° 31 
[Compras]
exten => 631,1,Dial(SIP/6226&SIP/7227,60,Ttr)
exten => 631,n,GoTo(IVR-EJEMPLO-DIA,s,1)

[Farmacia]
exten => 8143,1,Dial(SIP/7723&SIP/7724&SIP/7725&SIP/7738&SIP/7739&SIP/7740,60,Ttr)
exten => 8143,n,Dial(SIP/7735,30)

[IVR-hospital-(new-version)]
;exten => 7839,1,Dial(SIP/7839,60,Ttr)
;exten => 7839,n,GoTo(IVR-DSI,s,1)
exten => 7839,1,GoTo(sertest,617,1)

ivr.conf

; Archivo general de IVR

; IVR Principal

[IVR-EJEMPLO-DIA]

include => internos-8XXX
include => internos-7XXX
exten => s,1,Answer()
same => n,set(IVR=True)
same => n(loop),Background(IVR-Gral-2015)
same => n,WaitExten(4)
same => n,Noop(Ud. ingreso ${EXTEN})
same => n,WaitExten()
exten => 0,1,Goto(Conmutador,0,1)
exten => 1,1,Goto(IVR-EJEMPLO-Auditoria,s,1)
exten => 2,1,Goto(IVR-EJEMPLO-Enfermeria,s,1)
exten => 3,1,Goto(IVR-EJEMPLO- ,s,1)
exten => 4,1,Queue(Posgrado,Ttr)
exten => 6,1,Goto(IVR-EJEMPLO-Gerencia,s,1)

exten => i,1,Playback(option-is-invalid)
same => n,Goto(s,loop)

exten => t,1,Playback(please-try-again)
same => n,Goto(s,loop)

same => n,Hangup()

[IVR-EJEMPLO-NOCHE]
include => internos-4XXX
include => internos-7XXX
exten => s,1,Answer()
exten => s,n(loop),Background(IVR-Gral-2015)
exten => s,n,WaitExten()
exten => 1,1,NoOp(Ud. ingreso ${EXTEN})
exten => 0,n,Dial(SIP/7813,30)

exten => i,1,Playback(option-is-invalid)
same => n,Goto(s,loop)
exten => t,1,Playback(please-try-again)
same => n,Goto(s,loop)
same => n,Hangup()

[IVR-EJEMPLO-Audit]
exten => s,1,Answer()
same => n(loop),Background(IVR-Audit-2015)
same => n,WaitExten()
exten => 1,1,NoOp(Ud. ingreso ${EXTEN})
same => n,Hangup() ;
exten => 2,n,Dial(SIP/7110,30)
exten => 3,1,GoTo(At-Biblioteca,611,1)
exten => 9,1,GoTo(IVR-EJEMPLO-DIA,s,1)
exten => i,1,Playback(option-is-invalid)
exten => t,1,Playback(please-try-again)
same => n,Goto(s,loop)
same => n,Hangup()


; Opcion 2 Extension

[IVR-EJEMPLO-Enfermeria]
exten => s,1,Answer()
exten => s,n(loop),Background(IVR-  -2015)
exten => s,n,WaitExten()
exten => 1,n,NoOp(Ud. ingreso ${EXTEN})
exten => 1,1,Dial(SIP/7317,30)
exten => 2,1,Dial(SIP/7312,30)
exten => 9,1,GoTo(IVR-EJEMPLO-DIA,s,1)
exten => i,1,Playback(option-is-invalid)
same => n,Goto(s,loop)

exten => t,1,Playback(please-try-again)
same => n,Goto(s,loop)

same => n,Hangup()

; Opcion 3  

[IVR-EJEMPLO ]
exten => s,1,Answer()
same => n(loop),Background(IVR- -2015)
same => n,WaitExten()
same => n,NoOp(Ud. ingreso ${EXTEN})
exten => 1,1,GoTo(Opcion1 Kineseologia,600,1)
exten => 2,1,GoTo(Fonoaudilogia,8143,1)
;exten => 3,1,GoTo(Opcion3 Chau,602,1)
exten => 3,1,Queue(sertest)
exten => 4,1,GoTo( Legales,8143,1)
exten => 5,1,Queue(Facturacion)
;exten => 5,1,GoTo(Opcion5 FactAdm,603,1)
exten => 9,1,GoTo(IVR-EJEMPLO-DIA,s,1)

exten => i,1,Playback(option-is-invalid)
same => n,Goto(s,loop)

exten => t,1,Playback(please-try-again)
same => n,Goto(s,loop)

same => n,Hangup()


; Opcion 6 Administracion

[IVR-EJEMPLO-Administracion]
exten => s,1,Answer()
exten => s,n(loop),Background(IVR-Adm-2015)
exten => s,n,WaitExten()
exten => 1,1,NoOp(Ud. ingreso ${EXTEN})
exten => 1,n,Dial(SIP/7227,30)
exten => 2,n,Dial(SIP/7224,30)
exten => 3,n,Dial(SIP/7212,30)
exten => 9,1,GoTo(IVR-EJEMPLO-DIA,s,1)

exten => i,1,Playback(option-is-invalid)
same => n,Goto(s,loop)

exten => t,1,Playback(please-try-again)
same => n,Goto(s,loop)

same => n,Hangup()


; IVR de 0810 de  

[IVR-0810 ]
exten => s,1,Answer()
same => n(loop),Background(IVR- -0800-2015)
same => n,WaitExten()
same => n,NoOp(Ud. ingreso ${EXTEN})
exten => 1,1,GoTo(Opcion1 Enfermeria,600,1)
exten => 2,1,GoTo(Auditoria,8143,1)
;exten => 3,1,GoTo(Opcion3 Soporte,602,1)
exten => 3,1,Queue(sertest)
exten => 4,1,Queue(Facturacion)
;exten => 4,1,GoTo(Opcion5 FactAdm,603,1)
exten => 5,1,Dial(SIP/7715,30,TR)
exten => 9,1,GoTo(s,loop)

exten => i,1,Playback(option-is-invalid)
same => n,Goto(s,loop)

exten => t,1,Playback(please-try-again)
same => n,Goto(s,loop)
same => n,Hangup()

hints.conf

[hints]

exten => 7000,hint,SIP/7000
exten => 7001,hint,SIP/7001
exten => 7002,hint,SIP/7002
exten => 7003,hint,SIP/7003
exten => 7004,hint,SIP/7004
exten => 7005,hint,SIP/7005
exten => 7006,hint,SIP/7006
exten => 7007,hint,SIP/7007
exten => 7008,hint,SIP/7008
exten => 7009,hint,SIP/7009
exten => 7010,hint,SIP/7010
exten => 7011,hint,SIP/7011
exten => 7012,hint,SIP/7012
exten => 7013,hint,SIP/7013
exten => 7014,hint,SIP/7014
exten => 7015,hint,SIP/7015
exten => 7016,hint,SIP/7016
exten => 7017,hint,SIP/7017
exten => 7018,hint,SIP/7018
exten => 7019,hint,SIP/7019
exten => 7020,hint,SIP/7020
exten => 7021,hint,SIP/7021
exten => 7022,hint,SIP/7022
exten => 7023,hint,SIP/7023
exten => 7024,hint,SIP/7024
exten => 7025,hint,SIP/7025
exten => 7026,hint,SIP/7026
exten => 7027,hint,SIP/7027
exten => 7028,hint,SIP/7028
exten => 7029,hint,SIP/7029
exten => 7030,hint,SIP/7030
exten => 7031,hint,SIP/7031
exten => 7032,hint,SIP/7032
exten => 7033,hint,SIP/7033
exten => 7034,hint,SIP/7034
exten => 7035,hint,SIP/7035
exten => 7036,hint,SIP/7036
exten => 7037,hint,SIP/7037
exten => 7038,hint,SIP/7038
exten => 7039,hint,SIP/7039
exten => 7040,hint,SIP/7040
exten => 7041,hint,SIP/7041
exten => 7042,hint,SIP/7042
exten => 7043,hint,SIP/7043
exten => 7044,hint,SIP/7044
exten => 7045,hint,SIP/7045
exten => 7046,hint,SIP/7046
exten => 7047,hint,SIP/7047
exten => 7048,hint,SIP/7048
exten => 7049,hint,SIP/7049
exten => 7050,hint,SIP/7050
exten => 7051,hint,SIP/7051
exten => 7052,hint,SIP/7052
exten => 7053,hint,SIP/7053
exten => 7054,hint,SIP/7054
exten => 7055,hint,SIP/7055
exten => 7056,hint,SIP/7056
exten => 7057,hint,SIP/7057
exten => 7058,hint,SIP/7058
exten => 7059,hint,SIP/7059
exten => 7060,hint,SIP/7060
exten => 7061,hint,SIP/7061
exten => 7062,hint,SIP/7062
exten => 7063,hint,SIP/7063
exten => 7064,hint,SIP/7064
exten => 7065,hint,SIP/7065
exten => 7066,hint,SIP/7066
exten => 7067,hint,SIP/7067
exten => 7068,hint,SIP/7068
exten => 7069,hint,SIP/7069
exten => 7070,hint,SIP/7070
exten => 7071,hint,SIP/7071
exten => 7072,hint,SIP/7072
exten => 7073,hint,SIP/7073
exten => 7074,hint,SIP/7074
exten => 7075,hint,SIP/7075
exten => 7076,hint,SIP/7076
exten => 7077,hint,SIP/7077
exten => 7078,hint,SIP/7078
exten => 7079,hint,SIP/7079
exten => 7080,hint,SIP/7080
exten => 7081,hint,SIP/7081
exten => 7082,hint,SIP/7082
exten => 7083,hint,SIP/7083
exten => 7084,hint,SIP/7084
exten => 7085,hint,SIP/7085
exten => 7086,hint,SIP/7086
exten => 7087,hint,SIP/7087
exten => 7088,hint,SIP/7088
exten => 7089,hint,SIP/7089
exten => 7090,hint,SIP/7090
exten => 7091,hint,SIP/7091
exten => 7092,hint,SIP/7092
exten => 7093,hint,SIP/7093
exten => 7094,hint,SIP/7094
exten => 7095,hint,SIP/7095
exten => 7096,hint,SIP/7096
exten => 7097,hint,SIP/7097
exten => 7098,hint,SIP/7098
exten => 7099,hint,SIP/7099
exten => 7100,hint,SIP/7100
exten => 7101,hint,SIP/7101
exten => 7102,hint,SIP/7102
exten => 7103,hint,SIP/7103
exten => 7104,hint,SIP/7104
exten => 7105,hint,SIP/7105
exten => 7106,hint,SIP/7106
exten => 7107,hint,SIP/7107
exten => 7108,hint,SIP/7108
exten => 7109,hint,SIP/7109
exten => 7110,hint,SIP/7110
exten => 7111,hint,SIP/7111
exten => 7112,hint,SIP/7112
exten => 7113,hint,SIP/7113
exten => 7114,hint,SIP/7114
exten => 7115,hint,SIP/7115
exten => 7116,hint,SIP/7116
exten => 7117,hint,SIP/7117
exten => 7118,hint,SIP/7118
exten => 7119,hint,SIP/7119
exten => 7120,hint,SIP/7120
exten => 7121,hint,SIP/7121
exten => 7122,hint,SIP/7122
exten => 7123,hint,SIP/7123
exten => 7124,hint,SIP/7124
exten => 7125,hint,SIP/7125
exten => 7126,hint,SIP/7126
exten => 7127,hint,SIP/7127
exten => 7128,hint,SIP/7128
exten => 7129,hint,SIP/7129
exten => 7130,hint,SIP/7130
exten => 7131,hint,SIP/7131
exten => 7132,hint,SIP/7132
exten => 7133,hint,SIP/7133
exten => 7134,hint,SIP/7134
exten => 7135,hint,SIP/7135
exten => 7136,hint,SIP/7136
exten => 7137,hint,SIP/7137
exten => 7138,hint,SIP/7138
exten => 7139,hint,SIP/7139
exten => 7140,hint,SIP/7140
exten => 7141,hint,SIP/7141
exten => 7142,hint,SIP/7142
exten => 7143,hint,SIP/7143
exten => 7144,hint,SIP/7144
exten => 7145,hint,SIP/7145
exten => 7146,hint,SIP/7146
exten => 7147,hint,SIP/7147
exten => 7148,hint,SIP/7148
exten => 7149,hint,SIP/7149
exten => 7150,hint,SIP/7150
exten => 7151,hint,SIP/7151
exten => 7152,hint,SIP/7152
exten => 7153,hint,SIP/7153
exten => 7154,hint,SIP/7154
exten => 7155,hint,SIP/7155
exten => 7156,hint,SIP/7156
exten => 7157,hint,SIP/7157
exten => 7158,hint,SIP/7158
exten => 7159,hint,SIP/7159
exten => 7160,hint,SIP/7160
exten => 7161,hint,SIP/7161
exten => 7162,hint,SIP/7162
exten => 7163,hint,SIP/7163
exten => 7164,hint,SIP/7164
exten => 7165,hint,SIP/7165
exten => 7166,hint,SIP/7166
exten => 7167,hint,SIP/7167
exten => 7168,hint,SIP/7168
exten => 7169,hint,SIP/7169
exten => 7170,hint,SIP/7170
exten => 7171,hint,SIP/7171
exten => 7172,hint,SIP/7172
exten => 7173,hint,SIP/7173
exten => 7174,hint,SIP/7174
exten => 7175,hint,SIP/7175
exten => 7176,hint,SIP/7176
exten => 7177,hint,SIP/7177
exten => 7178,hint,SIP/7178
exten => 7179,hint,SIP/7179
exten => 7180,hint,SIP/7180
exten => 7181,hint,SIP/7181
exten => 7182,hint,SIP/7182
exten => 7183,hint,SIP/7183
exten => 7184,hint,SIP/7184
exten => 7185,hint,SIP/7185
exten => 7186,hint,SIP/7186
exten => 7187,hint,SIP/7187
exten => 7188,hint,SIP/7188
exten => 7189,hint,SIP/7189
exten => 7190,hint,SIP/7190
exten => 7191,hint,SIP/7191
exten => 7192,hint,SIP/7192
exten => 7193,hint,SIP/7193
exten => 7194,hint,SIP/7194
exten => 7195,hint,SIP/7195
exten => 7196,hint,SIP/7196
exten => 7197,hint,SIP/7197
exten => 7198,hint,SIP/7198
exten => 7199,hint,SIP/7199
exten => 7200,hint,SIP/7200
exten => 7201,hint,SIP/7201
exten => 7202,hint,SIP/7202
exten => 7203,hint,SIP/7203
exten => 7204,hint,SIP/7204
exten => 7205,hint,SIP/7205
exten => 7206,hint,SIP/7206
exten => 7207,hint,SIP/7207
exten => 7208,hint,SIP/7208
exten => 7209,hint,SIP/7209
exten => 7210,hint,SIP/7210
exten => 7211,hint,SIP/7211
exten => 7212,hint,SIP/7212
exten => 7213,hint,SIP/7213
exten => 7214,hint,SIP/7214
exten => 7215,hint,SIP/7215
exten => 7216,hint,SIP/7216
exten => 7217,hint,SIP/7217
exten => 7218,hint,SIP/7218
exten => 7219,hint,SIP/7219
exten => 7220,hint,SIP/7220
exten => 7221,hint,SIP/7221
exten => 7222,hint,SIP/7222
exten => 7223,hint,SIP/7223
exten => 7224,hint,SIP/7224
exten => 7225,hint,SIP/7225
exten => 7226,hint,SIP/7226
exten => 7227,hint,SIP/7227
exten => 7228,hint,SIP/7228
exten => 7229,hint,SIP/7229
exten => 7230,hint,SIP/7230
exten => 7231,hint,SIP/7231
exten => 7232,hint,SIP/7232
exten => 7233,hint,SIP/7233
exten => 7234,hint,SIP/7234
exten => 7235,hint,SIP/7235
exten => 7236,hint,SIP/7236
exten => 7237,hint,SIP/7237
exten => 7238,hint,SIP/7238
exten => 7239,hint,SIP/7239
exten => 7240,hint,SIP/7240
exten => 7241,hint,SIP/7241
exten => 7242,hint,SIP/7242
exten => 7243,hint,SIP/7243
exten => 7244,hint,SIP/7244
exten => 7245,hint,SIP/7245
exten => 7246,hint,SIP/7246
exten => 7247,hint,SIP/7247
exten => 7248,hint,SIP/7248
exten => 7249,hint,SIP/7249
exten => 7250,hint,SIP/7250
exten => 7251,hint,SIP/7251
exten => 7252,hint,SIP/7252
exten => 7253,hint,SIP/7253
exten => 7254,hint,SIP/7254
exten => 7255,hint,SIP/7255
exten => 7256,hint,SIP/7256
exten => 7257,hint,SIP/7257
exten => 7258,hint,SIP/7258
exten => 7259,hint,SIP/7259
exten => 7260,hint,SIP/7260
exten => 7261,hint,SIP/7261
exten => 7262,hint,SIP/7262
exten => 7263,hint,SIP/7263
exten => 7264,hint,SIP/7264
exten => 7265,hint,SIP/7265
exten => 7266,hint,SIP/7266
exten => 7267,hint,SIP/7267
exten => 7268,hint,SIP/7268
exten => 7269,hint,SIP/7269
exten => 7270,hint,SIP/7270
exten => 7271,hint,SIP/7271
exten => 7272,hint,SIP/7272
exten => 7273,hint,SIP/7273
exten => 7274,hint,SIP/7274
exten => 7275,hint,SIP/7275
exten => 7276,hint,SIP/7276
exten => 7277,hint,SIP/7277
exten => 7278,hint,SIP/7278
exten => 7279,hint,SIP/7279
exten => 7280,hint,SIP/7280
exten => 7281,hint,SIP/7281
exten => 7282,hint,SIP/7282
exten => 7283,hint,SIP/7283
exten => 7284,hint,SIP/7284
exten => 7285,hint,SIP/7285
exten => 7286,hint,SIP/7286
exten => 7287,hint,SIP/7287
exten => 7288,hint,SIP/7288
exten => 7289,hint,SIP/7289
exten => 7290,hint,SIP/7290
exten => 7291,hint,SIP/7291
exten => 7292,hint,SIP/7292
exten => 7293,hint,SIP/7293
exten => 7294,hint,SIP/7294
exten => 7295,hint,SIP/7295
exten => 7296,hint,SIP/7296
exten => 7297,hint,SIP/7297
exten => 7298,hint,SIP/7298
exten => 7299,hint,SIP/7299
exten => 7300,hint,SIP/7300
exten => 7301,hint,SIP/7301
exten => 7302,hint,SIP/7302
exten => 7303,hint,SIP/7303
exten => 7304,hint,SIP/7304
exten => 7305,hint,SIP/7305
exten => 7306,hint,SIP/7306
exten => 7307,hint,SIP/7307
exten => 7308,hint,SIP/7308
exten => 7309,hint,SIP/7309
exten => 7310,hint,SIP/7310
exten => 7311,hint,SIP/7311
exten => 7312,hint,SIP/7312
exten => 7313,hint,SIP/7313
exten => 7314,hint,SIP/7314
exten => 7315,hint,SIP/7315
exten => 7316,hint,SIP/7316
exten => 7317,hint,SIP/7317
exten => 7318,hint,SIP/7318
exten => 7319,hint,SIP/7319
exten => 7320,hint,SIP/7320
exten => 7321,hint,SIP/7321
exten => 7322,hint,SIP/7322
exten => 7323,hint,SIP/7323
exten => 7324,hint,SIP/7324
exten => 7325,hint,SIP/7325
exten => 7326,hint,SIP/7326
exten => 7327,hint,SIP/7327
exten => 7328,hint,SIP/7328
exten => 7329,hint,SIP/7329
exten => 7330,hint,SIP/7330
exten => 7331,hint,SIP/7331
exten => 7332,hint,SIP/7332
exten => 7333,hint,SIP/7333
exten => 7334,hint,SIP/7334
exten => 7335,hint,SIP/7335
exten => 7336,hint,SIP/7336
exten => 7337,hint,SIP/7337
exten => 7338,hint,SIP/7338
exten => 7339,hint,SIP/7339
exten => 7340,hint,SIP/7340
exten => 7341,hint,SIP/7341
exten => 7342,hint,SIP/7342
exten => 7343,hint,SIP/7343
exten => 7344,hint,SIP/7344
exten => 7345,hint,SIP/7345
exten => 7346,hint,SIP/7346
exten => 7347,hint,SIP/7347
exten => 7348,hint,SIP/7348
exten => 7349,hint,SIP/7349
exten => 7350,hint,SIP/7350
exten => 7351,hint,SIP/7351
exten => 7352,hint,SIP/7352
exten => 7353,hint,SIP/7353
exten => 7354,hint,SIP/7354
exten => 7355,hint,SIP/7355
exten => 7356,hint,SIP/7356
exten => 7357,hint,SIP/7357
exten => 7358,hint,SIP/7358
exten => 7359,hint,SIP/7359
exten => 7360,hint,SIP/7360
exten => 7361,hint,SIP/7361
exten => 7362,hint,SIP/7362
exten => 7363,hint,SIP/7363
exten => 7364,hint,SIP/7364
exten => 7365,hint,SIP/7365
exten => 7366,hint,SIP/7366
exten => 7367,hint,SIP/7367
exten => 7368,hint,SIP/7368
exten => 7369,hint,SIP/7369
exten => 7370,hint,SIP/7370
exten => 7371,hint,SIP/7371
exten => 7372,hint,SIP/7372
exten => 7373,hint,SIP/7373
exten => 7374,hint,SIP/7374
exten => 7375,hint,SIP/7375
exten => 7376,hint,SIP/7376
exten => 7377,hint,SIP/7377
exten => 7378,hint,SIP/7378
exten => 7379,hint,SIP/7379
exten => 7380,hint,SIP/7380
exten => 7381,hint,SIP/7381
exten => 7382,hint,SIP/7382
exten => 7383,hint,SIP/7383
exten => 7384,hint,SIP/7384
exten => 7385,hint,SIP/7385
exten => 7386,hint,SIP/7386
exten => 7387,hint,SIP/7387
exten => 7388,hint,SIP/7388
exten => 7389,hint,SIP/7389
exten => 7390,hint,SIP/7390
exten => 7391,hint,SIP/7391
exten => 7392,hint,SIP/7392
exten => 7393,hint,SIP/7393
exten => 7394,hint,SIP/7394
exten => 7395,hint,SIP/7395
exten => 7396,hint,SIP/7396
exten => 7397,hint,SIP/7397
exten => 7398,hint,SIP/7398
exten => 7399,hint,SIP/7399
exten => 7400,hint,SIP/7400
exten => 7401,hint,SIP/7401
exten => 7402,hint,SIP/7402
exten => 7403,hint,SIP/7403
exten => 7404,hint,SIP/7404
exten => 7405,hint,SIP/7405
exten => 7406,hint,SIP/7406
exten => 7407,hint,SIP/7407
exten => 7408,hint,SIP/7408
exten => 7409,hint,SIP/7409
exten => 7810,hint,SIP/7810
exten => 7811,hint,SIP/7811
exten => 7812,hint,SIP/7812
exten => 7813,hint,SIP/7813
exten => 7814,hint,SIP/7814
exten => 7815,hint,SIP/7815
exten => 7816,hint,SIP/7816
exten => 7817,hint,SIP/7817
exten => 7818,hint,SIP/7818
exten => 7819,hint,SIP/7819
exten => 7820,hint,SIP/7820
exten => 7821,hint,SIP/7821
exten => 7822,hint,SIP/7822
exten => 7823,hint,SIP/7823
exten => 7824,hint,SIP/7824
exten => 7825,hint,SIP/7825
exten => 7826,hint,SIP/7826
exten => 7827,hint,SIP/7827
exten => 7828,hint,SIP/7828
exten => 7829,hint,SIP/7829
exten => 7830,hint,SIP/7830
exten => 7831,hint,SIP/7831
exten => 7832,hint,SIP/7832
exten => 7833,hint,SIP/7833
exten => 7834,hint,SIP/7834
exten => 7835,hint,SIP/7835
exten => 7836,hint,SIP/7836
exten => 7837,hint,SIP/7837
exten => 7838,hint,SIP/7838
exten => 7839,hint,SIP/7839
exten => 7840,hint,SIP/7840
exten => 7841,hint,SIP/7841
exten => 7842,hint,SIP/7842
exten => 7843,hint,SIP/7843
exten => 7844,hint,SIP/7844
exten => 7845,hint,SIP/7845
exten => 7846,hint,SIP/7846
exten => 7847,hint,SIP/7847
exten => 7848,hint,SIP/7848
exten => 7849,hint,SIP/7849
exten => 7850,hint,SIP/7850
exten => 7851,hint,SIP/7851
exten => 7452,hint,SIP/7452
exten => 7453,hint,SIP/7453
exten => 7454,hint,SIP/7454
exten => 7455,hint,SIP/7455
exten => 7456,hint,SIP/7456
exten => 7457,hint,SIP/7457
exten => 7458,hint,SIP/7458
exten => 7459,hint,SIP/7459
exten => 7460,hint,SIP/7460
exten => 7461,hint,SIP/7461
exten => 7462,hint,SIP/7462
exten => 7463,hint,SIP/7463
exten => 7464,hint,SIP/7464
exten => 7465,hint,SIP/7465
exten => 7466,hint,SIP/7466
exten => 7467,hint,SIP/7467
exten => 7468,hint,SIP/7468
exten => 7469,hint,SIP/7469
exten => 7470,hint,SIP/7470
exten => 7471,hint,SIP/7471
exten => 7472,hint,SIP/7472
exten => 7473,hint,SIP/7473
exten => 7474,hint,SIP/7474
exten => 7475,hint,SIP/7475
exten => 7476,hint,SIP/7476
exten => 7477,hint,SIP/7477
exten => 7478,hint,SIP/7478
exten => 7479,hint,SIP/7479
exten => 7480,hint,SIP/7480
exten => 7481,hint,SIP/7481
exten => 7482,hint,SIP/7482
exten => 7483,hint,SIP/7483
exten => 7484,hint,SIP/7484
exten => 7485,hint,SIP/7485
exten => 7486,hint,SIP/7486
exten => 7487,hint,SIP/7487
exten => 7488,hint,SIP/7488
exten => 7489,hint,SIP/7489
exten => 7490,hint,SIP/7490
exten => 7491,hint,SIP/7491
exten => 7492,hint,SIP/7492
exten => 7493,hint,SIP/7493
exten => 7494,hint,SIP/7494
exten => 7495,hint,SIP/7495
exten => 7496,hint,SIP/7496
exten => 7497,hint,SIP/7497
exten => 7498,hint,SIP/7498
;exten => 7499,hint,SIP/7499
exten => 7700,hint,SIP/7700
exten => 7701,hint,SIP/7701
exten => 7702,hint,SIP/7702
exten => 7703,hint,SIP/7703
exten => 7704,hint,SIP/7704
exten => 7705,hint,SIP/7705
exten => 7706,hint,SIP/7706
exten => 7707,hint,SIP/7707
exten => 7708,hint,SIP/7708
exten => 7709,hint,SIP/7709
exten => 7710,hint,SIP/7710
exten => 7711,hint,SIP/7711
exten => 7712,hint,SIP/7712
exten => 7713,hint,SIP/7713
exten => 7714,hint,SIP/7714
exten => 7715,hint,SIP/7715
exten => 7716,hint,SIP/7716
exten => 7717,hint,SIP/7717
exten => 7718,hint,SIP/7718
exten => 7719,hint,SIP/7719
exten => 7720,hint,SIP/7720
exten => 7721,hint,SIP/7721
exten => 7722,hint,SIP/7722
exten => 7723,hint,SIP/7723
exten => 7724,hint,SIP/7724
exten => 7725,hint,SIP/7725
exten => 7726,hint,SIP/7726
exten => 7727,hint,SIP/7727
exten => 7728,hint,SIP/7728
exten => 7729,hint,SIP/7729
exten => 7730,hint,SIP/7730
exten => 7731,hint,SIP/7731
exten => 7732,hint,SIP/7732
exten => 7733,hint,SIP/7733
exten => 7734,hint,SIP/7734
exten => 7735,hint,SIP/7735
exten => 7736,hint,SIP/7736
exten => 7737,hint,SIP/7737
exten => 7738,hint,SIP/7738
exten => 7739,hint,SIP/7739
exten => 7740,hint,SIP/7740
exten => 7741,hint,SIP/7741
exten => 7742,hint,SIP/7742
exten => 7743,hint,SIP/7743
exten => 7744,hint,SIP/7744
exten => 7745,hint,SIP/7745
exten => 7746,hint,SIP/7746
exten => 7747,hint,SIP/7747
exten => 7748,hint,SIP/7748
exten => 7749,hint,SIP/7749
exten => 7750,hint,SIP/7750
exten => 7751,hint,SIP/7751
exten => 7752,hint,SIP/7752
exten => 7753,hint,SIP/7753
exten => 7754,hint,SIP/7754
exten => 7555,hint,SIP/7555
exten => 7756,hint,SIP/7756
exten => 7757,hint,SIP/7757
exten => 7758,hint,SIP/7758
exten => 7759,hint,SIP/7759
exten => 7760,hint,SIP/7760
exten => 7761,hint,SIP/7761
exten => 7762,hint,SIP/7762
exten => 7763,hint,SIP/7763
exten => 7764,hint,SIP/7764
exten => 7765,hint,SIP/7765
exten => 7766,hint,SIP/7766
exten => 7767,hint,SIP/7767
exten => 7768,hint,SIP/7768
exten => 7769,hint,SIP/7769
exten => 7770,hint,SIP/7770
exten => 7771,hint,SIP/7771
exten => 7772,hint,SIP/7772
exten => 7773,hint,SIP/7773
exten => 7774,hint,SIP/7774
exten => 7775,hint,SIP/7775
exten => 7776,hint,SIP/7776
exten => 7777,hint,SIP/7777
exten => 7778,hint,SIP/7778
exten => 7779,hint,SIP/7779
exten => 7780,hint,SIP/7780
exten => 7781,hint,SIP/7781
exten => 7782,hint,SIP/7782
exten => 7783,hint,SIP/7783
exten => 7784,hint,SIP/7784
exten => 7785,hint,SIP/7785
exten => 7786,hint,SIP/7786
exten => 7786,hint,SIP/7786
exten => 7788,hint,SIP/7788
exten => 7789,hint,SIP/7789
exten => 7790,hint,SIP/7790
exten => 7791,hint,SIP/7791
exten => 7792,hint,SIP/7792
exten => 7793,hint,SIP/7793
exten => 7794,hint,SIP/7794
exten => 7795,hint,SIP/7795
exten => 7796,hint,SIP/7796
exten => 7797,hint,SIP/7797
exten => 7798,hint,SIP/7798
exten => 7799,hint,SIP/7799
exten => 7600,hint,SIP/7600
exten => 7601,hint,SIP/7601
exten => 7602,hint,SIP/7602
exten => 7603,hint,SIP/7603
exten => 7604,hint,SIP/7604
exten => 7605,hint,SIP/7605
exten => 7606,hint,SIP/7606
exten => 7607,hint,SIP/7607
exten => 7608,hint,SIP/7608
exten => 7609,hint,SIP/7609
exten => 7610,hint,SIP/7610
exten => 7611,hint,SIP/7611
exten => 7612,hint,SIP/7612
exten => 7613,hint,SIP/7613
exten => 7614,hint,SIP/7614
exten => 7615,hint,SIP/7615
exten => 7616,hint,SIP/7616
exten => 7617,hint,SIP/7617
exten => 7618,hint,SIP/7618
exten => 7619,hint,SIP/7619
exten => 7620,hint,SIP/7620
exten => 7621,hint,SIP/7621
exten => 7622,hint,SIP/7622
exten => 7623,hint,SIP/7623
exten => 7624,hint,SIP/7624
exten => 7625,hint,SIP/7625
exten => 7626,hint,SIP/7626
exten => 7627,hint,SIP/7627
exten => 7628,hint,SIP/7628
exten => 7629,hint,SIP/7629
exten => 7630,hint,SIP/7630
exten => 7631,hint,SIP/7631
exten => 7632,hint,SIP/7632
exten => 7633,hint,SIP/7633
exten => 7634,hint,SIP/7634
exten => 7635,hint,SIP/7635
exten => 7636,hint,SIP/7636
exten => 7637,hint,SIP/7637
exten => 7638,hint,SIP/7638
exten => 7639,hint,SIP/7639
exten => 7640,hint,SIP/7640
exten => 7641,hint,SIP/7641
exten => 7642,hint,SIP/7642
exten => 7643,hint,SIP/7643
exten => 7644,hint,SIP/7644
exten => 7645,hint,SIP/7645
exten => 7646,hint,SIP/7646
exten => 7647,hint,SIP/7647
exten => 7648,hint,SIP/7648
exten => 7649,hint,SIP/7649
exten => 7650,hint,SIP/7650
exten => 7651,hint,SIP/7651
exten => 7652,hint,SIP/7652
exten => 7653,hint,SIP/7653
exten => 7654,hint,SIP/7654
exten => 7655,hint,SIP/7655
exten => 7656,hint,SIP/7656
exten => 7657,hint,SIP/7657
exten => 7658,hint,SIP/7658
exten => 7659,hint,SIP/7659
exten => 7660,hint,SIP/7660
exten => 7661,hint,SIP/7661
exten => 7662,hint,SIP/7662
exten => 7663,hint,SIP/7663
exten => 7664,hint,SIP/7664
exten => 7665,hint,SIP/7665
exten => 7666,hint,SIP/7666
exten => 7667,hint,SIP/7667
exten => 7668,hint,SIP/7668
exten => 7669,hint,SIP/7669
exten => 7670,hint,SIP/7670
exten => 7671,hint,SIP/7671
exten => 7672,hint,SIP/7672
exten => 7673,hint,SIP/7673
exten => 7674,hint,SIP/7674
exten => 7675,hint,SIP/7675
exten => 7676,hint,SIP/7676
exten => 7677,hint,SIP/7677
exten => 7678,hint,SIP/7678
exten => 7679,hint,SIP/7679
exten => 7680,hint,SIP/7680
exten => 7681,hint,SIP/7681
exten => 7682,hint,SIP/7682
exten => 7683,hint,SIP/7683
exten => 7684,hint,SIP/7684
exten => 7685,hint,SIP/7685
exten => 7686,hint,SIP/7686
exten => 7687,hint,SIP/7687
exten => 7688,hint,SIP/7688
exten => 7689,hint,SIP/7689
exten => 7690,hint,SIP/7690
exten => 7691,hint,SIP/7691
exten => 7692,hint,SIP/7692
exten => 7693,hint,SIP/7693
exten => 7694,hint,SIP/7694
exten => 7695,hint,SIP/7695
exten => 7696,hint,SIP/7696
exten => 7697,hint,SIP/7697
exten => 7698,hint,SIP/7698
exten => 7699,hint,SIP/7699
exten => 7700,hint,SIP/7700
exten => 7701,hint,SIP/7701
exten => 7702,hint,SIP/7702
exten => 7703,hint,SIP/7703
exten => 7704,hint,SIP/7704
exten => 7705,hint,SIP/7705
exten => 7706,hint,SIP/7706
exten => 7707,hint,SIP/7707
exten => 7708,hint,SIP/7708
exten => 7709,hint,SIP/7709
exten => 7710,hint,SIP/7710
exten => 7711,hint,SIP/7711
exten => 7712,hint,SIP/7712
exten => 7713,hint,SIP/7713
exten => 7714,hint,SIP/7714
exten => 7715,hint,SIP/7715
exten => 7716,hint,SIP/7716
exten => 7717,hint,SIP/7717
exten => 7718,hint,SIP/7718
exten => 7719,hint,SIP/7719
exten => 7720,hint,SIP/7720
exten => 7721,hint,SIP/7721
exten => 7722,hint,SIP/7722
exten => 7723,hint,SIP/7723
exten => 7724,hint,SIP/7724
exten => 7725,hint,SIP/7725
exten => 7726,hint,SIP/7726
exten => 7727,hint,SIP/7727
exten => 7728,hint,SIP/7728
exten => 7729,hint,SIP/7729
exten => 7730,hint,SIP/7730
exten => 7731,hint,SIP/7731
exten => 7732,hint,SIP/7732
exten => 7733,hint,SIP/7733
exten => 7734,hint,SIP/7734
exten => 7735,hint,SIP/7735
exten => 7736,hint,SIP/7736
exten => 7737,hint,SIP/7737
exten => 7738,hint,SIP/7738
exten => 7739,hint,SIP/7739
exten => 7740,hint,SIP/7740
exten => 7741,hint,SIP/7741
exten => 7742,hint,SIP/7742
exten => 7743,hint,SIP/7743
exten => 7744,hint,SIP/7744
exten => 7745,hint,SIP/7745
exten => 7746,hint,SIP/7746
exten => 7747,hint,SIP/7747
exten => 7748,hint,SIP/7748
exten => 7749,hint,SIP/7749
exten => 7750,hint,SIP/7750
exten => 7751,hint,SIP/7751
exten => 7752,hint,SIP/7752
exten => 7753,hint,SIP/7753
exten => 7754,hint,SIP/7754
exten => 7755,hint,SIP/7755
exten => 7756,hint,SIP/7756
exten => 7757,hint,SIP/7757
exten => 7758,hint,SIP/7758
exten => 7759,hint,SIP/7759
exten => 7760,hint,SIP/7760
exten => 7761,hint,SIP/7761
exten => 7762,hint,SIP/7762
exten => 7763,hint,SIP/7763
exten => 7764,hint,SIP/7764
exten => 7765,hint,SIP/7765
exten => 7766,hint,SIP/7766
exten => 7767,hint,SIP/7767
exten => 7768,hint,SIP/7768
exten => 7769,hint,SIP/7769
exten => 7770,hint,SIP/7770
exten => 7771,hint,SIP/7771
exten => 7772,hint,SIP/7772
exten => 7773,hint,SIP/7773
exten => 7774,hint,SIP/7774
exten => 7775,hint,SIP/7775
exten => 7776,hint,SIP/7776
exten => 7777,hint,SIP/7777
exten => 7778,hint,SIP/7778
exten => 7779,hint,SIP/7779
exten => 7780,hint,SIP/7780
exten => 7781,hint,SIP/7781
exten => 7782,hint,SIP/7782
exten => 7783,hint,SIP/7783
exten => 7784,hint,SIP/7784
exten => 7785,hint,SIP/7785
exten => 7786,hint,SIP/7786
exten => 7787,hint,SIP/7787
exten => 7788,hint,SIP/7788
exten => 7789,hint,SIP/7789
exten => 7790,hint,SIP/7790
exten => 7791,hint,SIP/7791
exten => 7792,hint,SIP/7792
exten => 7793,hint,SIP/7793
exten => 7794,hint,SIP/7794
exten => 7795,hint,SIP/7795
exten => 7796,hint,SIP/7796
exten => 7797,hint,SIP/7797
exten => 7798,hint,SIP/7798
exten => 7799,hint,SIP/7799
exten => 7800,hint,SIP/7800
exten => 7801,hint,SIP/7801
exten => 7802,hint,SIP/7802
exten => 7803,hint,SIP/7803
exten => 7804,hint,SIP/7804
exten => 7805,hint,SIP/7805
exten => 7806,hint,SIP/7806
exten => 7807,hint,SIP/7807
exten => 7808,hint,SIP/7808
exten => 7809,hint,SIP/7809
exten => 7810,hint,SIP/7810
exten => 7811,hint,SIP/7811
exten => 7812,hint,SIP/7812
exten => 7813,hint,SIP/7813
exten => 7814,hint,SIP/7814
exten => 7815,hint,SIP/7815
exten => 7816,hint,SIP/7816
exten => 7817,hint,SIP/7817
exten => 7818,hint,SIP/7818
exten => 7819,hint,SIP/7819
exten => 7820,hint,SIP/7820
exten => 7821,hint,SIP/7821
exten => 7822,hint,SIP/7822
exten => 7823,hint,SIP/7823
exten => 7824,hint,SIP/7824
exten => 7825,hint,SIP/7825
exten => 7826,hint,SIP/7826
exten => 7827,hint,SIP/7827
exten => 7828,hint,SIP/7828
exten => 7829,hint,SIP/7829
exten => 7830,hint,SIP/7830
exten => 7831,hint,SIP/7831
exten => 7832,hint,SIP/7832
exten => 7833,hint,SIP/7833
exten => 7834,hint,SIP/7834
exten => 7835,hint,SIP/7835
exten => 7836,hint,SIP/7836
exten => 7837,hint,SIP/7837
exten => 7838,hint,SIP/7838
exten => 7839,hint,SIP/7839
exten => 7840,hint,SIP/7840
exten => 7841,hint,SIP/7841
exten => 7842,hint,SIP/7842
exten => 7843,hint,SIP/7843
exten => 7844,hint,SIP/7844
exten => 7845,hint,SIP/7845
exten => 7846,hint,SIP/7846
exten => 7847,hint,SIP/7847
exten => 7848,hint,SIP/7848
exten => 7849,hint,SIP/7849
exten => 7850,hint,SIP/7850
exten => 7851,hint,SIP/7851
exten => 7852,hint,SIP/7852
exten => 7853,hint,SIP/7853
exten => 7854,hint,SIP/7854
exten => 7855,hint,SIP/7855
exten => 7856,hint,SIP/7856
exten => 7857,hint,SIP/7857
exten => 7858,hint,SIP/7858
exten => 7859,hint,SIP/7859
exten => 7860,hint,SIP/7860
exten => 7861,hint,SIP/7861
exten => 7862,hint,SIP/7862
exten => 7863,hint,SIP/7863
exten => 7864,hint,SIP/7864
exten => 7865,hint,SIP/7865
exten => 7866,hint,SIP/7866
exten => 7867,hint,SIP/7867
exten => 7868,hint,SIP/7868
exten => 7869,hint,SIP/7869
exten => 7860,hint,SIP/7860
exten => 7861,hint,SIP/7861
exten => 7862,hint,SIP/7862
exten => 7863,hint,SIP/7863
exten => 7864,hint,SIP/7864
exten => 7865,hint,SIP/7865
exten => 7866,hint,SIP/7866
exten => 7867,hint,SIP/7867
exten => 7868,hint,SIP/7868
exten => 7869,hint,SIP/7869
exten => 7880,hint,SIP/7880
exten => 7881,hint,SIP/7881
exten => 7882,hint,SIP/7882
exten => 7883,hint,SIP/7883
exten => 7884,hint,SIP/7884
exten => 7885,hint,SIP/7885
exten => 7886,hint,SIP/7886
exten => 7887,hint,SIP/7887
exten => 7888,hint,SIP/7888
exten => 7889,hint,SIP/7889
exten => 7890,hint,SIP/7890
exten => 7891,hint,SIP/7891
exten => 7892,hint,SIP/7892
exten => 7893,hint,SIP/7893
exten => 7894,hint,SIP/7894
exten => 7895,hint,SIP/7895
exten => 7896,hint,SIP/7896
exten => 7897,hint,SIP/7897
exten => 7898,hint,SIP/7898
exten => 7899,hint,SIP/7899
exten => 7900,hint,SIP/7900
exten => 7901,hint,SIP/7901
exten => 7902,hint,SIP/7902
exten => 7903,hint,SIP/7903
exten => 7904,hint,SIP/7904
exten => 7905,hint,SIP/7905
exten => 7906,hint,SIP/7906
exten => 7907,hint,SIP/7907
exten => 7908,hint,SIP/7908
exten => 7909,hint,SIP/7909
exten => 7910,hint,SIP/7910
exten => 7911,hint,SIP/7911
exten => 7912,hint,SIP/7912
exten => 7913,hint,SIP/7913
exten => 7914,hint,SIP/7914
exten => 7915,hint,SIP/7915
exten => 7916,hint,SIP/7916
exten => 7917,hint,SIP/7917
exten => 7918,hint,SIP/7918
exten => 7919,hint,SIP/7919
exten => 7920,hint,SIP/7920
exten => 7921,hint,SIP/7921
exten => 7922,hint,SIP/7922
exten => 7923,hint,SIP/7923
exten => 7924,hint,SIP/7924
exten => 7925,hint,SIP/7925
exten => 7926,hint,SIP/7926
exten => 7927,hint,SIP/7927
exten => 7928,hint,SIP/7928
exten => 7929,hint,SIP/7929
exten => 7930,hint,SIP/7930
exten => 7931,hint,SIP/7931
exten => 7932,hint,SIP/7932
exten => 7933,hint,SIP/7933
exten => 7934,hint,SIP/7934
exten => 7935,hint,SIP/7935
exten => 7936,hint,SIP/7936
exten => 7937,hint,SIP/7937
exten => 7938,hint,SIP/7938
exten => 7939,hint,SIP/7939
exten => 7940,hint,SIP/7940
exten => 7941,hint,SIP/7941
exten => 7942,hint,SIP/7942
exten => 7943,hint,SIP/7943
exten => 7944,hint,SIP/7944
exten => 7945,hint,SIP/7945
exten => 7946,hint,SIP/7946
exten => 7947,hint,SIP/7947
exten => 7948,hint,SIP/7948
exten => 7949,hint,SIP/7949
exten => 7950,hint,SIP/7950
exten => 7951,hint,SIP/7951
exten => 7952,hint,SIP/7952
exten => 7953,hint,SIP/7953
exten => 7954,hint,SIP/7954
exten => 7955,hint,SIP/7955
exten => 7956,hint,SIP/7956
exten => 7957,hint,SIP/7957
exten => 7958,hint,SIP/7958
exten => 7959,hint,SIP/7959
exten => 7960,hint,SIP/7960
exten => 7961,hint,SIP/7961
exten => 7962,hint,SIP/7962
exten => 7963,hint,SIP/7963
exten => 7964,hint,SIP/7964
exten => 7965,hint,SIP/7965
exten => 7966,hint,SIP/7966
exten => 7967,hint,SIP/7967
exten => 7968,hint,SIP/7968
exten => 7969,hint,SIP/7969
exten => 7970,hint,SIP/7970
exten => 7971,hint,SIP/7971
exten => 7972,hint,SIP/7972
exten => 7973,hint,SIP/7973
exten => 7974,hint,SIP/7974
exten => 7975,hint,SIP/7975
exten => 7976,hint,SIP/7976
exten => 7977,hint,SIP/7977
exten => 7978,hint,SIP/7978
exten => 7979,hint,SIP/7979
exten => 7980,hint,SIP/7980
exten => 7981,hint,SIP/7981
exten => 7982,hint,SIP/7982
exten => 7983,hint,SIP/7983
exten => 7984,hint,SIP/7984
exten => 7985,hint,SIP/7985
exten => 7986,hint,SIP/7986
exten => 7987,hint,SIP/7987
exten => 7988,hint,SIP/7988
exten => 7989,hint,SIP/7989
exten => 7990,hint,SIP/7990
exten => 7991,hint,SIP/7991
exten => 7992,hint,SIP/7992
exten => 7993,hint,SIP/7993
exten => 7994,hint,SIP/7994
exten => 7995,hint,SIP/7995
exten => 7996,hint,SIP/7996
exten => 7997,hint,SIP/7997
exten => 7998,hint,SIP/7998
exten => 7999,hint,SIP/7999

exten => 6000,hint,SIP/6000
exten => 6001,hint,SIP/6001
exten => 6002,hint,SIP/6002
exten => 6003,hint,SIP/6003
exten => 6004,hint,SIP/6004
exten => 6005,hint,SIP/6005
exten => 6006,hint,SIP/6006
exten => 6007,hint,SIP/6007
exten => 6008,hint,SIP/6008
exten => 6009,hint,SIP/6009
exten => 6010,hint,SIP/6010
exten => 6011,hint,SIP/6011
exten => 6012,hint,SIP/6012
exten => 6013,hint,SIP/6013
exten => 6014,hint,SIP/6014
exten => 6015,hint,SIP/6015
exten => 6016,hint,SIP/6016
exten => 6017,hint,SIP/6017
exten => 6018,hint,SIP/6018
exten => 6019,hint,SIP/6019
exten => 6020,hint,SIP/6020
exten => 6021,hint,SIP/6021
exten => 6022,hint,SIP/6022
exten => 6023,hint,SIP/6023
exten => 6024,hint,SIP/6024
exten => 6025,hint,SIP/6025
exten => 6026,hint,SIP/6026
exten => 6027,hint,SIP/6027
exten => 6028,hint,SIP/6028
exten => 6029,hint,SIP/6029
exten => 6030,hint,SIP/6030
exten => 6031,hint,SIP/6031
exten => 6032,hint,SIP/6032
exten => 6033,hint,SIP/6033
exten => 6034,hint,SIP/6034
exten => 6035,hint,SIP/6035
exten => 6036,hint,SIP/6036
exten => 6037,hint,SIP/6037
exten => 6038,hint,SIP/6038
exten => 6039,hint,SIP/6039
exten => 6040,hint,SIP/6040
exten => 6041,hint,SIP/6041
exten => 6042,hint,SIP/6042
exten => 6043,hint,SIP/6043
exten => 6044,hint,SIP/6044
exten => 6045,hint,SIP/6045
exten => 6046,hint,SIP/6046
exten => 6047,hint,SIP/6047
exten => 6048,hint,SIP/6048
exten => 6049,hint,SIP/6049
exten => 6050,hint,SIP/6050
exten => 6051,hint,SIP/6051
exten => 6052,hint,SIP/6052
exten => 6053,hint,SIP/6053
exten => 6054,hint,SIP/6054
exten => 6055,hint,SIP/6055
exten => 6056,hint,SIP/6056
exten => 6057,hint,SIP/6057
exten => 6058,hint,SIP/6058
exten => 6059,hint,SIP/6059
exten => 6060,hint,SIP/6060
exten => 6061,hint,SIP/6061
exten => 6062,hint,SIP/6062
exten => 6063,hint,SIP/6063
exten => 6064,hint,SIP/6064
exten => 6065,hint,SIP/6065
exten => 6066,hint,SIP/6066
exten => 6067,hint,SIP/6067
exten => 6068,hint,SIP/6068
exten => 6069,hint,SIP/6069
exten => 6070,hint,SIP/6070
exten => 6071,hint,SIP/6071
exten => 6072,hint,SIP/6072
exten => 6073,hint,SIP/6073
exten => 6074,hint,SIP/6074
exten => 6075,hint,SIP/6075
exten => 6076,hint,SIP/6076
exten => 6077,hint,SIP/6077
exten => 6078,hint,SIP/6078
exten => 6079,hint,SIP/6079
exten => 6080,hint,SIP/6080
exten => 6081,hint,SIP/6081
exten => 6082,hint,SIP/6082
exten => 6083,hint,SIP/6083
exten => 6084,hint,SIP/6084
exten => 6085,hint,SIP/6085
exten => 6086,hint,SIP/6086
exten => 6087,hint,SIP/6087
exten => 6088,hint,SIP/6088
exten => 6089,hint,SIP/6089
exten => 6090,hint,SIP/6090
exten => 6091,hint,SIP/6091
exten => 6092,hint,SIP/6092
exten => 6093,hint,SIP/6093
exten => 6094,hint,SIP/6094
exten => 6095,hint,SIP/6095
exten => 6096,hint,SIP/6096
exten => 6097,hint,SIP/6097
exten => 6098,hint,SIP/6098
exten => 6099,hint,SIP/6099

iax.conf

[general]

; GENERALIDADES ************************************************

bindport=4769
bindaddr=192.168.0.10
language=es
disallow=all
allow=ulaw
allow=alaw
allow=gsm
autokill=yes
relaxdtmf=yes
dtmfmode=rfc2833
requirecalltoken=auto
bandwidth=high

nochecksums=yes
delayreject=yes
amaflags=documentation
srvlookup=yes
mohinterpret=default
mohsuggest=defautl
minregexpire=60
maxregexpire=60
encryption=yes
forceencryption=no
trunkmaxsize=128000
trunkmtu=1240
codecpriority=host
rtcachefriends=no
rtupdate=yes
parkinglot=default
calltokenoptional=0.0.0.0/0.0.0.0
jitterbuffer=yes


;; TRONCALES **************************************

; Estos troncales fueron comentados porque decidimos usar SIP,
; ambos funcionaban bien, el unico problema que habia era con
; las llamadas entrantes de PSTN hacia los telefonos de VideoCoferencia
; habia ruido de codec, seteando el telefono en modo llamadas de Audio
; funcionaba, pero no se podian hacer llamadas de video.

;[E1bkp]
;type=friend
;host=192.168.0.5
;username=pbx
;secret=Pepe123456
;trunk=yes
;context=from-trunk
;deny=0.0.0.0/0.0.0.0
;permit=192.168.0.5/255.255.255.255
;disallow=all
;allow=ulaw
;qualify=yes


; Troncal contra Proxy ASER fue testeado el audio pero no el video
; ante la duda lo comentamos en ambas centrales y usamos el SIP
; es para probar mas adelante, el audio funcionaba muy bien

[ASER]
type=friend
disallow=all
allow=h264
allow=alaw
allow=gsm
host=192.168.0.12
username=pbxEJEMPLO2
fromuser=pbxEJEMPLO2
secret=A22Lop7deB56
qualify=yes
deny=0.0.0.0/0.0.0.0
permit=192.168.0.12/255.255.255.255
trunk=yes
videosupport=yes
context=from-trunk


; fin de las troncales


;; EXTENSIONES *******************************

[4601]
type=friend
context=fax-out
disallow=all
allow=ulaw
username=4601
secret=123456
nat=yes
qualify=yes
notransfer=yes
host=dynamic
recalltoken=no
requirecalltoken=no


[6111]
type=friend
context=fax-out
disallow=all
allow=ulaw
username=6111
secret=123456
qualify=yes
notransfer=yes
host=dynamic
requirecalltoken=no

[6112]
type=friend
context=fax-out
disallow=all
allow=ulaw
username=6112
secret=123456
qualify=yes
notransfer=yes
host=dynamic
requirecalltoken=no

features.conf

Modificamos el archivo features para que los codigos de funciones se comporten como la central Obelix


[general]

pickupexten = *8               ; Configure the pickup extension. (default is *8)
pickupsound = beep             ; indica que el pickup fue exitoso (default: no sound)
pickupfailsound = beeperr      ; indica que el pickup fallo (default: no sound)
xfersound = beep               ; indica que la transferencia se realizo
xferfailsound = beeperr        ; indica si la transferencia fallo

[featuremap]
blindxfer => ##                ; Transferencia sin consulta (default is #) -- Configurar los parametros T y/o t en los comandos Dial() o Queue()
disconnect =>  *#              ; Retomar la llamada  (default is *) -- Configurar los parametros H y/o h en los comandos Dial() o Queue()
automon => *1                  ; Grabacion de llamadas -- Configurar los parametros W y/o w en los comandos Dial() o Queue()
atxfer => **  				   ; Transferencia con consulta -- Configurar los parametros T y/o t en los comandos Dial() o Queue()

queues.conf

Creamos las colas de llamadas para algunas extensiones que tenian configurado un grupo de timbrado con la estrategia "Hunt"; FreePBX resuelve esto en la base de datos asignando valores para los internos se comporten de determinada manera, no fue mas sencillo trabajarlo en el archivo de colas para no complejizar el dialplan y que sea facil de replicar.


[general]

persistentmembers=yes
monitor-type=MixMonitor
autofill=yes

; Plantillas ********************
;definimos las plantillas para que la configuracion sea mas automatica

[plantilla](!)
timeout = 15
retry = 3
musicclass=default
maxlen = 0
;announce-frequency = 45
;announce-holdtime = yes
;announce-position = yes
reportholdtime=no
ringinuse=no
autopause=no

[prueba](plantilla)
strategy=linear
;strategy=rrmemory
;strategy=rrordered

member => SIP/6007
member => SIP/6006

; Colas de ringueo ***************

[ -sertest](plantilla)

strategy=linear
member => SIP/7710
member => SIP/7712
member => SIP/7709

[Posgrado](Prueba)

strategy=linear
member => SIP/7382
member => SIP/7381


indications.conf

Configuramos solamente la variante de tonos para nuestro nuestro pais, este archivo sirve de referencia para el chan_dahdi en el parametro loadzone=ar y como consulta de las aplicaciones sobre que tipo de frecuencia deben enviar para cada caso, ej tono de ocupado, o ring.


[general]
country=ar

[ar]
description = Argentina
ringcadence = 1000,4700
dial = 825
busy = 825/300,0/300
ring = 825/1000,0/4700
congestion = 825/200,0/300
callwaiting = 825/200,0/9000
dialrecall = !825/100,!0/100,!825/100,!0/100,!825/100,!0/100,825/330,0/330,825/660,0/660
record = 1400/700,0/14000
info = 825/100,0/100
stutter = 825/850,0/50

voicemail.conf

;
; Voicemail Configuration
;

;
; NOTE: Asterisk has to edit this file to change a user's password.  This does
; not currently work with the "#include <file>" directive for Asterisk
; configuration files, nor when using realtime static configuration.
; Do not use them with this configuration file.
;

[general]
; Formats for writing Voicemail.  Note that when using IMAP storage for
; voicemail, only the first format specified will be used.
;format=g723sf|wav49|wav
format=wav49|gsm|wav
;
; WARNING:
; If you change the list of formats that you record voicemail in
; when you have mailboxes that contain messages, you _MUST_ absolutely
; manually go through those mailboxes and convert/delete/add the
; the message files so that they appear to have been stored using
; your new format list. If you don't do this, very unpleasant
; things may happen to your users while they are retrieving and
; manipulating their voicemail.
;
; In other words: don't change the format list on a production system
; unless you are _VERY_  sure that you know what you are doing and are
; prepared for the consequences.
;
; Who the e-mail notification should appear to come from
serveremail=asterisk
;serveremail=asterisk@linux-support.net
; Should the email contain the voicemail as an attachment
attach=yes
; Maximum number of messages per folder.  If not specified, a default value
; (100) is used.  Maximum value for this option is 9999.  If set to 0, a
; mailbox will be greetings-only.
;maxmsg=100
; Maximum length of a voicemail message in seconds
;maxsecs=180
; Minimum length of a voicemail message in seconds for the message to be kept
; The default is no minimum.
;minsecs=3
; Maximum length of greetings in seconds
;maxgreet=60
; How many milliseconds to skip forward/back when rew/ff in message playback
skipms=3000
; How many seconds of silence before we end the recording
maxsilence=10
; Silence threshold (what we consider silence: the lower, the more sensitive)
silencethreshold=128
; Max number of failed login attempts
maxlogins=3
;
; Move heard messages to the 'Old' folder automagically.  Defaults to on.
;moveheard=yes
;
; Forward an urgent message as an urgent message.  Defaults to no so
; sender can set the urgency on the envelope of the forwarded message.
;forward_urgent_auto=no
;
; User context is where entries from users.conf are registered.  The
; default value is 'default'
;
;userscontext=default
;
; If you need to have an external program, i.e. /usr/bin/myapp
; called when a voicemail is left, delivered, or your voicemailbox
; is checked, uncomment this.
;externnotify=/usr/bin/myapp

; If you would also like to enable SMDI notification then set smdienable to yes.
; You will also need to make sure smdiport is set to a valid port as specified in
; smdi.conf.
;smdienable=yes
;smdiport=/dev/ttyS0

; If you need to have an external program, i.e. /usr/bin/myapp
; called when a voicemail password is changed, uncomment this. The
; arguments passed to the application are: <context> <mailbox> <newpassword>
; Note: If this is set, the password will NOT be changed in voicemail.conf
; If you would like to also change the password in voicemail.conf, use
; the externpassnotify option below instead.
;externpass=/usr/bin/myapp
;externpassnotify=/usr/bin/myapp

; If you would like to have an external program called when a user changes the
; voicemail password for the purpose of doing validation on the new password,
; then use this option.  The script can decide whether or not the new password
; meets minimum password strength requirements before the Voicemail application
; accepts the password.  If the script decides that the password is not acceptable,
; the user will be informed that the new password does not meet minimum password
; requirements, and they will be asked to enter another password.
;
; The arguments passed to this script are <mailbox> <context> <old pw> <new pw>.
;
; The script should print "VALID" to stdout to indicate that the new password
; is acceptable.  If the password is considered too weak, the script should print
; "INVALID" to stdout.
;
; There is an example script in the contrib/scripts/ directory, voicemailpwcheck.py,
; which implements some basic password checking, and can be used as a starting point
; for use with this option.
;
;externpasscheck=/usr/local/bin/voicemailpwcheck.py

; For the directory, you can override the intro file if you want
;directoryintro=dir-intro
; The character set for voicemail messages can be specified here
; default: ISO-8859-1
;charset=UTF-8
; The ADSI feature descriptor number to download to
;adsifdn=0000000F
; The ADSI security lock code
;adsisec=9BDBF7AC
; The ADSI voicemail application version number.
;adsiver=1
; Skip the "[PBX]:" string from the message title
;pbxskip=yes
; Change the From: string
;fromstring=The Asterisk PBX
; Permit finding entries for forward/compose from the directory
;usedirectory=yes
; Voicemail can be stored in a database using the ODBC driver.
; The value of odbcstorage is the database connection configured
; in res_odbc.conf.
;odbcstorage=asterisk
; The default table for ODBC voicemail storage is voicemessages.
;odbctable=voicemessages
;
; Change the from, body and/or subject, variables:
;     VM_NAME, VM_DUR, VM_MSGNUM, VM_MAILBOX, VM_CALLERID, VM_CIDNUM,
;     VM_CIDNAME, VM_DATE
; Additionally, on forwarded messages, you have the variables:
;     ORIG_VM_CALLERID, ORIG_VM_CIDNUM, ORIG_VM_CIDNAME, ORIG_VM_DATE
; You can select between two variables by using dialplan functions, e.g.
;     ${IF(${ISNULL(${ORIG_VM_DATE})}?${VM_DATE}:${ORIG_VM_DATE})}
;
; Note: The emailbody config row can only be up to 712 characters due to a
;       limitation in the Asterisk configuration subsystem.
;emailsubject=[PBX]: New message ${VM_MSGNUM} in mailbox ${VM_MAILBOX}
; The following definition is very close to the default, but the default shows
; just the CIDNAME, if it is not null, otherwise just the CIDNUM, or "an unknown
; caller", if they are both null.
;emailbody=Dear ${VM_NAME}:\n\n\tjust wanted to let you know you were just left a ${VM_DUR} long message (number ${VM_MSGNUM})\nin mailbox ${VM_MAILBOX} from ${VM_CALLERID}, on ${VM_DATE}, so you might\nwant to check it when you get a chance.  Thanks!\n\n\t\t\t\t--Asterisk\n
;
; Note: ${IF()} strips spacing at the beginning and end of its true and false
; values, so a newline cannot be placed at either location.  The word 'so' is
; therefore duplicated, in order for the newline to be interpreted correctly.
;emailbody=Dear ${VM_NAME}:\n\n\tjust wanted to let you know you were just ${IF($["${VM_CIDNUM}" = "${ORIG_VM_CIDNUM}"]?left:forwarded)} a ${VM_DUR} long message (number ${VM_MSGNUM})\nin mailbox ${VM_MAILBOX} from ${VM_CALLERID}, on ${VM_DATE},\n${IF($["${VM_CIDNUM}" = "${ORIG_VM_CIDNUM}"]?so:(originally sent by ${ORIG_VM_CALLERID} on ${ORIG_VM_DATE})\nso)} you might want to check it when you get a chance.  Thanks!\n\n\t\t\t\t--Asterisk\n
;
; You can also change the Pager From: string, the pager body and/or subject.
; The above defined variables also can be used here
;pagerfromstring=The Asterisk PBX
;pagersubject=New VM
;pagerbody=New ${VM_DUR} long msg in box ${VM_MAILBOX}\nfrom ${VM_CALLERID}, on ${VM_DATE}
;
; Set the date format on outgoing mails. Valid arguments can be found on the
; strftime(3) man page
;
; Default
emaildateformat=%A, %B %d, %Y at %r
; 24h date format
;emaildateformat=%A, %d %B %Y at %H:%M:%S
;
; Default for pager use
pagerdateformat=%A, %B %d, %Y at %r
; Short 24h date format for pager use
;pagerdateformat=%T %D
;
; Using the mailcmd option, you can specify what command is called for
; outbound E-mail. The default is shown below.
;
;mailcmd=/usr/sbin/sendmail -t
;
;pollmailboxes=no    ;   If mailboxes are changed anywhere outside of app_voicemail,
;                    ; then this option must be enabled for MWI to work.  This
;                    ; enables polling mailboxes for changes.  Normally, it will
;                    ; expect that changes are only made when someone called in
;                    ; to one of the voicemail applications.
;                    ;   Examples of situations that would require this option are
;                    ; web interfaces to voicemail or an email client in the case
;                    ; of using IMAP storage.
;                    ; Default: no
;pollfreq=30         ;   If the "pollmailboxes" option is enabled, this option
;                    ; sets the polling frequency.  The default is once every
;                    ; 30 seconds.
;

; -----------------------------------------------------------------------------
; IMAP configuration settings only
;   These settings are only applicable when Asterisk is compiled with IMAP support.
;
;imapgreetings=no        ; If using IMAP storage, specify whether voicemail greetings
                         ; should be stored via IMAP. If no, then greetings are stored
                         ; as if IMAP storage were not enabled.
;greetingsfolder=INBOX   ; If imapgreetings=yes, then specify which folder to store
                         ; your greetings in. If you do not specify a folder, then INBOX
                         ; will be used
;imapparentfolder=INBOX  ; Some IMAP server implementations store folders under INBOX
                         ; instead of using a top level folder (ex. INBOX/Friends).  In
                         ; this case, user imapparentfolder to set the parent folder. For
                         ; example, Cyrus IMAP does NOT use INBOX as the parent. Default
                         ; is to have no parent folder set.
;imapserver=localhost    ; The address of the IMAP server
;imapport=143            ; The port of the IMAP server
;imapflags=ssl           ; Optional flags to pass to the IMAP server in the IMAP mailbox
                         ; name.  For example, setting this to 'ssl' will enable OpenSSL
                         ; encryption, assuming the IMAP libraries were compiled with
                         ; OpenSSL support.
;imapfolder=INBOX        ; The folder in which to store voicemail messages on the IMAP
                         ; server.  By default, they are stored in INBOX.
;authuser=user           ; The master user to use for connecting to the IMAP server, if
                         ; the server is configured with a single user that has access to
                         ; all mailboxes
;authpassword=password   ; The password for the authuser, if used
;imapopentimeout=60      ; The TCP open timeout (in seconds)
;imapclosetimeout=60     ; The TCP close timeout (in seconds)
;imapreadtimeout=60      ; The TCP read timeout (in seconds)
;imapwritetimeout=60     ; The TCP write timeout (in seconds)

; -----------------------------------------------------------------------------
;

; Each mailbox is listed in the form <mailbox>=<password>,<name>,<email>,<pager_email>,<options>
; if the e-mail is specified, a message will be sent when a message is
; received, to the given mailbox. If pager is specified, a message will be
; sent there as well. If the password is prefixed by '-', then it is
; considered to be unchangeable.
;
; Advanced options example is extension 4069
; NOTE: All options can be expressed globally in the general section, and
; overridden in the per-mailbox settings, unless listed otherwise.
;
; tz=central 		; Timezone from zonemessages below. Irrelevant if envelope=no.
; locale=de_DE.UTF-8	; set the locale for generation of the date/time strings (make 
			; sure the locales are installed in your operating system; e.g
			; on Debian Linux you can use "dpkg-reconfigure locales").
			; If you use UTF-8 locales, make sure to set the "charset" option
			; to UTF-8 too. If you mix different locales for different users
			; you should avoid words in the emaildateformat specification, e.g.:
			; emaildateformat=%A, %d %B %Y, %H:%M:%S
; attach=yes 		; Attach the voicemail to the notification email *NOT* the pager email
; attachfmt=wav49	; Which format to attach to the email.  Normally this is the
			; first format specified in the format parameter above, but this
			; option lets you customize the format sent to particular mailboxes.
			; Useful if Windows users want wav49, but Linux users want gsm.
			; [per-mailbox only]
; saycid=yes 		; Say the caller id information before the message. If not described,
			;     or set to no, it will be in the envelope. When enabled, if a recorded file 
			;     with the same name as the caller id exists in 
			;     <astspooldir>/recordings/callerids, then that file will be played as a name
			;     rather than saying each digit as a phone number.
; cidinternalcontexts=intern	; Internal Context for Name Playback instead of
			; extension digits when saying caller id.
; sayduration=no 	; Turn on/off the duration information before the message. [ON by default]
; saydurationm=2        ; Specify the minimum duration to say. Default is 2 minutes
; dialout=fromvm ; Context to dial out from [option 4 from mailbox's advanced menu].
                 ; If not specified, option 4 will not be listed and dialing out
                 ; from within VoiceMailMain() will not be permitted.
sendvoicemail=yes ; Allow the user to compose and send a voicemail while inside
                  ; VoiceMailMain() [option 5 from mailbox's advanced menu].
                  ; If set to 'no', option 5 will not be listed.
; searchcontexts=yes	; Current default behavior is to search only the default context
			; if one is not specified.  The older behavior was to search all contexts.
			; This option restores the old behavior [DEFAULT=no]
			; Note: If you have this option enabled, then you will be required to have
			; unique mailbox names across all contexts. Otherwise, an ambiguity is created
			; since it is impossible to know which mailbox to retrieve when one is requested.
; callback=fromvm 	; Context to call back from
			;     if not listed, calling the sender back will not be permitted
; exitcontext=fromvm    ; Context to go to on user exit such as * or 0
                        ;     The default is the current context.
; review=yes 		; Allow sender to review/rerecord their message before saving it [OFF by default
; operator=yes      ; Allow sender to hit 0 before/after/during leaving a voicemail to
                    ; reach an operator.  This option REQUIRES an 'o' extension in the
                    ; same context (or in exitcontext, if set), as that is where the
                    ; 0 key will send you.  [OFF by default]
; envelope=no 		; Turn on/off envelope playback before message playback. [ON by default]
			;     This does NOT affect option 3,3 from the advanced options menu
; delete=yes		; After notification, the voicemail is deleted from the server. [per-mailbox only]
			;     This is intended for use with users who wish to receive their
			;     voicemail ONLY by email. Note:  "deletevoicemail" is provided as an
			;     equivalent option for Realtime configuration.
; volgain=0.0		; Emails bearing the voicemail may arrive in a volume too
			;     quiet to be heard.  This parameter allows you to specify how
			;     much gain to add to the message when sending a voicemail.
			;     NOTE: sox must be installed for this option to work.
; nextaftercmd=yes	; Skips to the next message after hitting 7 or 9 to delete/save current message.
; forcename=yes		; Forces a new user to record their name.  A new user is
			;     determined by the password being the same as
			;     the mailbox number.  The default is "no".
; forcegreetings=no	; This is the same as forcename, except for recording
			;     greetings.  The default is "no".
; hidefromdir=yes	; Hide this mailbox from the directory produced by app_directory
			;     The default is "no".
; tempgreetwarn=yes	; Remind the user that their temporary greeting is set

; passwordlocation=spooldir
                    ; Usually the voicemail password (vmsecret) is stored in
                    ; this configuration file.  By setting this option you can
                    ; specify where Asterisk should read/write the vmsecret.
                    ; Supported options:
                    ;   voicemail.conf:
                    ;     This is the default option.  The secret is read from
                    ;     and written to voicemail.conf (or users.conf).
                    ;   spooldir:
                    ;     The secret is stored in a separate file in the user's
                    ;     voicemail spool directory in a file named secret.conf.
                    ;     Please ensure that normal Linux users are not
                    ;     permitted to access Asterisk's spool directory as the
                    ;     secret is stored in plain text.  If a secret is not
                    ;     found in this directory, the password in
                    ;     voicemail.conf (or users.conf) will be used.
                    ; Note that this option does not affect password storage for
                    ; realtime users, which are still stored in the realtime
                    ; backend.
; messagewrap=no    ; Enable next/last message to wrap around to
                    ; first (from last) and last (from first) message
                    ; The default is "no".
; minpassword=0 ; Enforce minimum password length

; vm-password=custom_sound
			;     Customize which sound file is used instead of the default
			;     prompt that says: "password"
; vm-newpassword=custom_sound
			;     Customize which sound file is used instead of the default
			;     prompt that says: "Please enter your new password followed by
			;     the pound key."
; vm-passchanged=custom_sound
			;     Customize which sound file is used instead of the default
			;     prompt that says: "Your password has been changed."
; vm-reenterpassword=custom_sound
			;     Customize which sound file is used instead of the default
			;     prompt that says: "Please re-enter your password followed by
			;     the pound key"
; vm-mismatch=custom_sound
			;     Customize which sound file is used instead of the default
			;     prompt that says: "The passwords you entered and re-entered
			;     did not match."
; vm-invalid-password=custom_sound
			;     Customize which sound file is used instead of the default
			;     prompt that says: ...
; vm-pls-try-again=custom_sound
                        ; Customize which sound file is used instead of the
                        ; default prompt that says "Please try again."
; vm-prepend-timeout=custom_sound
                        ; Customize which sound file is used when the user
                        ; times out while recording a prepend message instead
                        ; of the default prompt that says "then press pound"
                        ; note that this will currently follow vm-pls-try-again.
                        ; this behavior is subject to change in the near future.
; listen-control-forward-key=#	; Customize the key that fast-forwards message playback
; listen-control-reverse-key=*	; Customize the key that rewinds message playback
; listen-control-pause-key=0	; Customize the key that pauses/unpauses message playback
; listen-control-restart-key=2	; Customize the key that restarts message playback
; listen-control-stop-key=13476789	; Customize the keys that interrupt message playback, probably all keys not set above

; Maximum number of messages allowed in the 'Deleted' folder. If set to 0
; or no then no deleted messages will be moved. If non-zero (max 9999) then up
; to this number of messages will be automagically saved when they are
; 'deleted' on a FIFO basis.
; defaults to being off
; backupdeleted=100


[zonemessages]
; Users may be located in different timezones, or may have different
; message announcements for their introductory message when they enter
; the voicemail system. Set the message and the timezone each user
; hears here. Set the user into one of these zones with the tz= attribute
; in the options field of the mailbox. Of course, language substitution
; still applies here so you may have several directory trees that have
; alternate language choices.
;
; Look in /usr/share/zoneinfo/ for names of timezones.
; Look at the manual page for strftime for a quick tutorial on how the
; variable substitution is done on the values below.
;
; Supported values:
; 'filename'    filename of a soundfile (single ticks around the filename
;               required)
; ${VAR}        variable substitution
; A or a        Day of week (Saturday, Sunday, ...)
; B or b or h   Month name (January, February, ...)
; d or e        numeric day of month (first, second, ..., thirty-first)
; Y             Year
; I or l        Hour, 12 hour clock
; H             Hour, 24 hour clock (single digit hours preceded by "oh")
; k             Hour, 24 hour clock (single digit hours NOT preceded by "oh")
; M             Minute, with 00 pronounced as "o'clock"
; N             Minute, with 00 pronounced as "hundred" (US military time)
; P or p        AM or PM
; Q             "today", "yesterday" or ABdY
;               (*note: not standard strftime value)
; q             "" (for today), "yesterday", weekday, or ABdY
;               (*note: not standard strftime value)
; R             24 hour time, including minute
;
eastern=America/New_York|'vm-received' Q 'digits/at' IMp
central=America/Chicago|'vm-received' Q 'digits/at' IMp
central24=America/Chicago|'vm-received' q 'digits/at' H N 'hours'
military=Zulu|'vm-received' q 'digits/at' H N 'hours' 'phonetic/z_p'
european=Europe/Copenhagen|'vm-received' a d b 'digits/at' HM



[default]

1234 => 8242,Example Mailbox,root@localhost
;8200 => 9855,Mark Spencer,markster@linux-support.net,mypager@digium.com,attach=no|serveremail=myaddy@digium.com|tz=central|maxmsg=10
;8300 => 3456,Ben Rigas,ben@american-computer.net
;8310 => -7832,Sales,sales@marko.net
;4069 => 6722,Matt Brooks,matt@marko.net,,|tz=central|attach=yes|saycid=yes|dialout=fromvm|callback=fromvm|review=yes|operator=yes|envelope=yes|moveheard=yes|sayduration=yes|saydurationm=1
;4073 => 1099,Bianca Paige,bianca@biancapaige.com,,delete=1|emailsubject=You have a new voicemail.|emailbody=Click on the attachment to listen.|rip=2010-06-04
;8110 => 3843,Rob Flynn,rflynn@blueridge.net
;8235 => 1234,Jim Holmes,jim@astricon.ips,,Tz=european


;
; Mailboxes may be organized into multiple contexts for
; voicemail virtualhosting
;

[other]
;The intro can be customized on a per-context basis
;directoryintro=dir-company2
1234 => 7678,Company2 User,root@localhost

; example for our acme compartmentalized company
;
; Pete telecommutes from Chicago, so we'll customize timestamps for him.
;
;[acme]
;111 => 7383,Pete,pete@acme-widgets.com,,tz=central
;112 => 6262,Nancy,nancy@acme-widgets.com
;

; ---------------------------------------------------------------------------
; IMAP user settings and overrides.  These are only applicable when Asterisk is
; compiled with IMAP support.
;
; imapuser=username                ; The IMAP username of the mailbox to access
; imappassword=password            ; The IMAP password of the user
; imapvmshareid=xxxx               ; A shared mailbox ID to use for the IMAP mailbox
                                   ; login, as opposed to the mailbox dialed
; imapfolder                       ; Overrides the global imapfolder setting
; imapserver                       ; Overrides the global imapserver setting
; imapport                         ; Overrides the global imapport setting
; imapflags                        ; Overrides the global imapflags setting

;
;[imapvm]
;8324 => 7764,Ellis Redding,red@buxton.us,,imapuser=eredding|imappassword=g3tbusy|imapfolder=notinbox
;8325 => 2392,Andrew Dufresne,andy@dufresne.info,,imapuser=adufresne|imappassword=rockh@mmer

Configuracion CDR

res_odbc.conf

[asterisk-cdr]
enabled => yes
dsn => asterisk-cdr
username => root
password => 123456
pre-connect => yes
sanitysql => select 1
idlecheck => 3600
connect_timeout => 10

cdr_odbc.conf

;
; cdr_odbc.conf
;

;[global]
;dsn=MySQL-test
;loguniqueid=yes
;dispositionstring=yes
;table=cdr		;"cdr" is default table name
;usegmtime=no             ; set to "yes" to log in GMT
;hrtime=yes		;Enables microsecond accuracy with the billsec and duration fields

[global]
dsn=asterisk-cdr
username=root
password=123456
loguniqueid=yes
table=cdr
usegmtime=no

Configuración del modem

/etc/iaxmodem

ttyIAX

device          /dev/ttyIAX
owner           uucp:uucp
mode            660
port            4770
refresh         300
server          127.0.0.1
peername        6100
secret          123456
cidname         Fax de Prueba
cidnumber       6100
codec           ulaw

ttyIAX1

device          /dev/ttyIAX1
owner           uucp:uucp
mode            660
port            4771
refresh         300
server          127.0.0.1
peername        6111
secret          123456
cidname         Fax de Prueba
cidnumber       6111
codec           ulaw

/etc/hylafax

config.ttyIAX

# EDIT THIS CONFIGURATION TO REFLECT YOUR SETUP
#
CountryCode:		54
AreaCode:		11
FAXNumber:		6100
LongDistancePrefix:	1
InternationalPrefix:	011
DialStringRules:	etc/dialrules
ServerTracing:		1
SessionTracing:		11
RecvFileMode:		0600
LogFileMode:		0600
DeviceMode:		0600
RingsBeforeAnswer:	2
SpeakerVolume:		off
GettyArgs:		"-h %l dx_%s"
LocalIdentifier:	"Fax EJEMPLO"
TagLineFont:		etc/lutRS18.pcf
TagLineFormat:		"From %%l|%c|Page %%P of %%T"
MaxRecvPages:		25

# We use "ModemType: Class1" with "Class1Cmd: AT+FCLASS=1.0" for now
#
ModemType:		Class1		# use this to supply a hint
#ModemRate:		19200		# rate for DCE-DTE communication
#ModemFlowControl:	xonxoff		# XON/XOFF flow control assumed
#
#ModemSetupDTRCmd:	AT&D2		# setup so DTR drop resets modem
#ModemSetupDCDCmd:	AT&C1		# setup so DCD follows carrier
#GettyArgs:		"-h %l dx_%s"	# modem must auto-detect fax/data

# NB: If you need to prefix phone numbers to get through a PBX,
#     put it in the ModemDialCmd; e.g. "DT9%s@".
#
#ModemDialCmd:		ATDT%s		# T for tone dialing
#
# Other possible configuration stuff.  The default strings are
# shown below.  Only those that are different from the defaults
# need to be included in the configuration file.
#
#ModemResetCmds:		""		# stuff to do when modem is reset
#ModemAnswerCmd:		ATA		# use this to answer phone
#ModemNoFlowCmd:		AT&K		# disable flow control cmd
#ModemHardFlowCmd:	AT&K3		# hardware flow control cmd
#ModemSoftFlowCmd:	AT&K4		# software flow control cmd
#ModemNoAutoAnswerCmd:	ATS0=0		# disable auto-answer
#
# Set modem speaker volume commands: OFF QUIET LOW MEDIUM HIGH.
# Note that we both turn the speaker on/off and set volume.
#
#ModemSetVolumeCmd:	"ATM0 ATL0M1 ATL1M1 ATL2M1 ATL3M1"
#ModemEchoOffCmd:	ATE0		# disable command echo
#ModemVerboseResultsCmd:	ATV1		# enable verbose command results
#ModemResultCodesCmd:	ATQ0		# enable result codes
#ModemOnHookCmd:		ATH0		# place phone on hook (hangup)
#ModemSoftResetCmd:	ATZ		# do soft reset of modem
#ModemSoftResetCmdDelay:	3000	# pause after soft reset
#ModemWaitTimeCmd:	ATS7=60		# wait 60 seconds for carrier
#ModemCommaPauseTimeCmd:	ATS8=2		# comma pause time is 2 seconds
#ModemRecvFillOrder:	LSB2MSB		# bit order of received facsimile
#ModemSendFillOrder:	LSB2MSB		# bit order modem expects for transmit
#
Class1Cmd:		AT+FCLASS=1.0	# command to enter class 1.0
Class1PPMWaitCmd:	AT+FTS=7	# command to stop and wait before PPM
Class1TCFWaitCmd:	AT+FTS=7	# command to stop and wait before TCF
Class1EOPWaitCmd:	AT+FTS=9	# command to stop and wait before EOP
Class1SwitchingCmd:	AT+FRS=7	# command to stop and listen for silence
Class1RecvAbortOK:	200		# wait 200ms for abort response
Class1FrameOverhead:	4		# 4 byte overhead in recvd HDLC frames
Class1RecvIdentTimer:	40000		# 35+5secs waiting for ident frames
Class1TCFMaxNonZero:	10		# max 10% of data may be non-zero
Class1TCFMinRun:	1000		# min run is 2/3rds of TCF duration

config.ttyIAX1

# EDIT THIS CONFIGURATION TO REFLECT YOUR SETUP
#
CountryCode:		54
AreaCode:		11
FAXNumber:		6111
LongDistancePrefix:	1
InternationalPrefix:	011
DialStringRules:	etc/dialrules
ServerTracing:		1
SessionTracing:		11
RecvFileMode:		0600
LogFileMode:		0600
DeviceMode:		0600
RingsBeforeAnswer:	2
SpeakerVolume:		off
GettyArgs:		"-h %l dx_%s"
LocalIdentifier:	"Fax EJEMPLO"
TagLineFont:		etc/lutRS18.pcf
TagLineFormat:		"From %%l|%c|Page %%P of %%T"
MaxRecvPages:		25
#
#
# Modem-related stuff: should reflect modem command interface
# and hardware connection/cabling (e.g. flow control).
#
# We use "ModemType: Class1" with "Class1Cmd: AT+FCLASS=1.0" for now
#
ModemType:		Class1		# use this to supply a hint
#ModemRate:		19200		# rate for DCE-DTE communication
#ModemFlowControl:	xonxoff		# XON/XOFF flow control assumed
#
#ModemSetupDTRCmd:	AT&D2		# setup so DTR drop resets modem
#ModemSetupDCDCmd:	AT&C1		# setup so DCD follows carrier
#GettyArgs:		"-h %l dx_%s"	# modem must auto-detect fax/data
#
# We can append the "@" symbol to the dial string so that
# the modem will wait 5 seconds before attempting to connect
# and return result codes that distinguish between no carrier
# and no answer.  This makes it possible to avoid problems with
# repeatedly dialing a number that doesn't have a fax machine
# (kudos to Stuart Lynne for this trick.)
#
# NB: If you need to prefix phone numbers to get through a PBX,
#     put it in the ModemDialCmd; e.g. "DT9%s@".
#
#ModemDialCmd:		ATDT%s		# T for tone dialing
#
# Other possible configuration stuff.  The default strings are
# shown below.  Only those that are different from the defaults
# need to be included in the configuration file.
#
#ModemResetCmds:		""		# stuff to do when modem is reset
#ModemAnswerCmd:		ATA		# use this to answer phone
#ModemNoFlowCmd:		AT&K		# disable flow control cmd
#ModemHardFlowCmd:	AT&K3		# hardware flow control cmd
#ModemSoftFlowCmd:	AT&K4		# software flow control cmd
#ModemNoAutoAnswerCmd:	ATS0=0		# disable auto-answer
#
# Set modem speaker volume commands: OFF QUIET LOW MEDIUM HIGH.
# Note that we both turn the speaker on/off and set volume.
#
#ModemSetVolumeCmd:	"ATM0 ATL0M1 ATL1M1 ATL2M1 ATL3M1"
#ModemEchoOffCmd:	ATE0		# disable command echo
#ModemVerboseResultsCmd:	ATV1		# enable verbose command results
#ModemResultCodesCmd:	ATQ0		# enable result codes
#ModemOnHookCmd:		ATH0		# place phone on hook (hangup)
#ModemSoftResetCmd:	ATZ		# do soft reset of modem
#ModemSoftResetCmdDelay:	3000	# pause after soft reset
#ModemWaitTimeCmd:	ATS7=60		# wait 60 seconds for carrier
#ModemCommaPauseTimeCmd:	ATS8=2		# comma pause time is 2 seconds
#ModemRecvFillOrder:	LSB2MSB		# bit order of received facsimile
#ModemSendFillOrder:	LSB2MSB		# bit order modem expects for transmit
#
Class1Cmd:		AT+FCLASS=1.0	# command to enter class 1.0
Class1PPMWaitCmd:	AT+FTS=7	# command to stop and wait before PPM
Class1TCFWaitCmd:	AT+FTS=7	# command to stop and wait before TCF
Class1EOPWaitCmd:	AT+FTS=9	# command to stop and wait before EOP
Class1SwitchingCmd:	AT+FRS=7	# command to stop and listen for silence
Class1RecvAbortOK:	200		# wait 200ms for abort response
Class1FrameOverhead:	4		# 4 byte overhead in recvd HDLC frames
Class1RecvIdentTimer:	40000		# 35+5secs waiting for ident frames
Class1TCFMaxNonZero:	10		# max 10% of data may be non-zero
Class1TCFMinRun:	1000		# min run is 2/3rds of TCF duration

FaxDispatch

## This is an example /etc/hylafax/FaxDispatch which shows you some
## of the features of the stock faxrcvd command. You should not
## use this file as is. For details, read faxrcvd(8).

## To route all incoming faxes in pdf to a single account.

TEMPLATE=es
##SENDTO=sergio.loyola@ejemplo.com.ar
FILETYPE=tiff

## To do sender-based routing [from faxrcvd(8)]
FROMADDR=fax-EJEMPLO@asterisk.ejemplo.com.ar
case "$DEVICE" in
       ttyIAX) SENDER=FAX-EJEMPLO; SENDTO=@ejemplo.com.ar;;         # all faxes received on ttyS1
       ttyIAX1) SENDER=FAX-EJEMPLO1; SENDTO=usuario2@ejemplo.com.ar;;         # all faxes received on ttyS1
esac


NOTIFY_FAXMASTER=errors

Agregar un Modem

En el directorio /etc/hylafax/ creo un archivo denominado config.ttyIAX y el numero de orden, con el siguiente contenido:

AreaCode:               11
FAXNumber:              6100   <-- Numero de Interno IAX2
LongDistancePrefix:     1
InternationalPrefix:    011
DialStringRules:        etc/dialrules
ServerTracing:          1
SessionTracing:         11
RecvFileMode:           0600
LogFileMode:            0600
DeviceMode:             0600
RingsBeforeAnswer:      2
SpeakerVolume:          off
GettyArgs:              "-h %l dx_%s"
LocalIdentifier:        "Fax EJEMPLO"
TagLineFont:            etc/lutRS18.pcf
TagLineFormat:          "From %%l|%c|Page %%P of %%T"
MaxRecvPages:           25

ModemType:              Class1          # use this to supply a hint

Class1Cmd:              AT+FCLASS=1.0   # command to enter class 1.0
Class1PPMWaitCmd:       AT+FTS=7        # command to stop and wait before PPM
Class1TCFWaitCmd:       AT+FTS=7        # command to stop and wait before TCF
Class1EOPWaitCmd:       AT+FTS=9        # command to stop and wait before EOP
Class1SwitchingCmd:     AT+FRS=7        # command to stop and listen for silence
Class1RecvAbortOK:      200             # wait 200ms for abort response
Class1FrameOverhead:    4               # 4 byte overhead in recvd HDLC frames
Class1RecvIdentTimer:   40000           # 35+5secs waiting for ident frames
Class1TCFMaxNonZero:    10              # max 10% of data may be non-zero
Class1TCFMinRun:        1000            # min run is 2/3rds of TCF duration

Class1SwitchingCmd: "<delay:7>"


En el directorio /etc/iaxmodem/ creo un archivo denominado ttyIAXN° y el numero de orden, con el siguiente contenido:

device          /dev/ttyIAX2 <-- El nombre de dispositivo tiene que coincidir con el nombre del archivo, para se prolijos
owner           uucp:uucp
mode            660
port            4770
refresh         60
server          127.0.0.1
peername        6112  <-- Numero de interno IAX2
secret          123456 <--- Contraseña
cidname         Fax de Prueba 2 < -- Nombre del FAX
cidnumber       6112 <-- Numero de intenro IAX2
codec           ulaw

En el directorio /etc/asterisk/ modifico el archivo iax.conf y agrego:

[6112]               <-- Numero de Interno
type=friend
context=fax-out      <-- Contexto para Fax
disallow=all
allow=ulaw
username=6112        <-- Usuario de autenticación.
secret=123456      <-- Contraseña de autenticación.
qualify=yes
notransfer=yes
host=dynamic
requirecalltoken=no

Para asociar un fax con un correo electronico modifico el archivo FaxDispach del directorio /etc/hylafax/ y agrego lo siguiente dentro del case divice:

        ttyIAX2) SENDER=FAX-EJEMPLO2; SENDTO=usuario1@ejemplo.com.ar;;         # all faxes received on ttyS1

Hylafax Windows

link para descarga: http://michalhavranek.bitbucket.org/wphfx/

Ejemplo de configuración:

Hylafax Server: Ip del servidor Asterisk.

Port: 4759 Puerto en el que escucha el servicio hylafax

System Wide/single: Default(system wide)

Username: Usuario generado en hylafax con el comando faxadduser

Password: contraseña generada en hylafax con el comando faxadduser

Email: Mail donde quiere que lleguen la notificaciones de los fax enviados

Notification: Faile and Success

Modem: Modem que va utilizar para enviar ej: ttyIAX2


Ejemplo del comando faxadduser: faxadduser pepito -p 123456