
[casa_mask](!)
type=friend
host=dynamic
context=outgoing
;sendrpid=pai
;notifycid=yes
subscribecontext=outgoing
disallow=all
;allow=g722
allow=alaw
allow=gsm
allow=g729
;allow=wav
allow=h264
allow=h263p
allow=h263
dtmfmode=rfc2833
qualify=yes
deny=0.0.0.0/0.0.0.0
permit=192.168.1.0/255.225.255.0
permit=10.105.88.0/255.225.255.0
;nat=no
;call-limit=1
;notifycid=yes
canreinvite=no
callgroup=1
pickupgroup=1
;call-limit=999
cc_agent_policy=generic
cc_monitor_policy=generic

[webrtc_mask](!)
type=friend
host=dynamic
context=outgoing
sendrpid=pai
notifycid=yes
subscribecontext=outgoing
disallow=all
allow=g722
allow=alaw
allow=gsm
allow=g729
;allow=wav
allow=h264
allow=h263p
allow=mpeg4
dtmfmode=rfc2833
qualify=yes
;nat=yes,force_rport
avpf=yes
force_avp=yes
encryption=yes
directmedia=no

;secure=yes
encryption=yes
icesupport=yes
;videosupport=yes
;directmedia=outgoing
hasiax=no 
hassip=yes 
dtlsenable=yes
dtlsverify=fingerprint
dtlscertfile=/etc/asterisk/keys/asterisk.pem
dtlscafile=/etc/asterisk/keys/ca.crt
dtlssetup=actpass
;call-limit=1
;notifycid=yes
;canreinvite=no
callgroup=1
pickupgroup=1






