[general]
context=outgoing                  ; Default context for incoming calls. Defaults to 'default'
allowguest=no                  ; Allow or reject guest calls (default is yes)
;match_auth_username=yes        ; if available, match user entry using the
allowoverlap=no                 ; Disable overlap dialing support. (Default is yes)
udpbindaddr=0.0.0.0             ; IP address to bind UDP listen socket to (0.0.0.0 binds to all)
;tcpenable=no                    ; Enable server for incoming TCP connections (default is no)
tcpbindaddr=0.0.0.0             ; IP address for TCP server to bind to (0.0.0.0 binds to all interfaces)
tlsenable=yes                   ; Enable server for incoming TLS (secure) connections (default is no)
tlsbindaddr=0.0.0.0            ; IP address for TLS server to bind to (0.0.0.0) binds to all interfaces)
transport=udp,ws,wss                   ; Set the default transports.  The order determines the primary default transport.
srvlookup=yes                   ; Enable DNS SRV lookups on outbound calls
language=es                    ; Default language setting for all users/peers
tonezone=es			; Default tonezone for all users/peers
;;;Identificacion llamadas grupos de captura;;;;
realm=pbxtest.casa.local
videosupport=no
nat=auto_force_rport,auto_comedia
callcounter=yes

notifycid=ignore-context
trustrpid=no
sendrpid=yes
defaultexpirey=360
tlsdontverifyserver=yes
qualify=yes

;notifycid=yes
;sendrpid=yes
;sendrpid = rpid                ; Use the "Remote-Party-ID" header
;sendrpid = pai                 ; Use the "P-Asserted-Identity" header
;rpid_update = no               ; In certain cases, the only method by which a connected line
dtmfmode=rfc2833             ; Set default dtmfmode for sending DTMF. Default: rfc2833
;------------------------ TLS settings ------------------------------------------------------------
tlscertfile=/etc/asterisk/keys/asterisk.pem
tlscafile=/etc/asterisk/keys/ca.crt
tlscipher=ALL
;tlsclientmethod=tlsv1 ;none of the others s                           ; If left unspecified, the default is sslv2.
;tlsclientmethod=tlsv3 ;none of the others s                           ; If left unspecified, the default is sslv2.
disallow=all
allow=alaw
allow=g722
allow=g729
allow=gsm
allow=ilbc
;allow=h261
allow=h264
allow=gsm

;;seguridad

alwaysauthreject=yes
allowexternalinvites=no
allowguest=no

;localnet=192.168.1.0/24



;
;--------------------------- SIP timers ----------------------------------------------------
; These timers are used primarily in INVITE transactions.
; The default for Timer T1 is 500 ms or the measured run-trip time between
; Asterisk and the device if you have qualify=yes for the device.
;
;:t1min=100                      ; Minimum roundtrip time for messages to monitored hosts
                                ; Defaults to 100 ms
;timert1=500                    ; Default T1 timer
                                ; Defaults to 500 ms or the measured round-trip
                                ; time to a peer (qualify=yes).
;timerb=32000                   ; Call setup timer. If a provisional response is not received
                                ; in this amount of time, the call will autocongest
	                           ; Defaults to 64*timert1
;;--------------------------- RTP timers ----------------------------------------------------

;[authentication]





#include sip_casa.conf

