Asterisk Setting for Vivo Trunk VVN

[general]
tcpenable=yes
musiconhold=default
bindaddr=0.0.0.0
localnet=192.168.12.0/255.255.255.0
insecure=invite,port
language = pt_BR
notifyringing = yes ; Notifica "assinantes" no estado "RINGING"
notifyhold = yes ; Notifica "assinantes" no estado "ON HOLD"
allowsubscribe=yes; Habilita a notificaç (hint) (O padrãées)
limitonpeers=yes; Necessáo se ramais sip usam type=friend
subscribecontext=hints
callcounter=yes
call-limit=50
subscribemwi=yes

maxexpiry =3600
minexpiry=60
defaultexpiry=3600
useragent="Yealink SIP-T28P 2.73.0.50"

udpbindaddr=0.0.0.0:5060
tcpbindaddr=0.0.0.0:5060
tlsbindaddr=0.0.0.0:5061
tlscipher=ALL
tlsclientmethod=tlsv1
accept_outofcall_message=yes
allow=!all,g729,ulaw,alaw
allowguest=no
allowtransfer=yes
alwaysauthreject=yes
authfailureevents=no
autoframing=no
defaultexpiry=3600
dumphistory=no
dynamic_exclude_static=no
faxdetect=no
g726nonstandard=no
jbenabled=no
jbforce=no
jbimpl=fixed
language=pt_BR_Bruna
maxcallbitrate=384
maxexpiry=3600
minexpiry=60
notifycid=no
notifyhold=no
notifyringing=yes
preferred_codec_only=no
recordhistory=no
rtpholdtimeout=600
rtptimeout=30
sipdebug=no
srvlookup=no
tonezone=br
tos_audio=ef
tos_sip=cs3
tos_video=af41
videosupport=no
nat=force_rport,comedia
websocket_enabled=no
autodomain=no
allowexternaldomains=yes
tcpenable=yes
tlsenable=no
tlsdontverifyserver=no
callcounter=yes
tos_text=af41
cos_sip=3
cos_audio=5
cos_video=4
cos_text=3
recordonfeature=one_touch_rec
recordofffeature=one_touch_rec
vmexten=*97
outofcall_message_context=messages
auth_message_requests=no
transport=udp
websocket_enabled=false

register => tcp://2112341234?2112341234@metapabx.vivo.net.br:6102468176:2112341234@187.50.251.58:5060/2112341234

[02112341234]
context=recebe_chamadas_1286
description=2112341234
dtmfmode=rfc2833
disallow=all
allow=alaw,ulaw
nat=force_rport,comedia
host=187.50.251.58
port=5060
secret=6102468176
insecure=port,invite
;callerid=Pref <2112341234>
type=friend
defaultuser=2112341234
remotesecret=6102468176
fromuser=2112341234
fromdomain=metapabx.vivo.net.br
transport = tcp,udp
directmedia = no
outboundproxy=187.50.251.58
useragent = "Yealink SIP-T28P 2.73.0.50"
qualify = 2000
qualifyfreq = 60
registertimeout = 3600
maxexpiry =3600
minexpiry=60
canreinvite = no
call-limit=4

Deixe um comentário