[general]
language=pl
canreinvite = no
context=default
allowoverlap=no
bindport=5060
bindaddr=0.0.0.0
srvlookup=yes
recordhistory=yes
;nat=yes
nat=force_rport,comedia
rtcachefriends=yes
rtupdate=yes
rtautoclear=yes
qualify=yes
progressinband=yes
transport=udp
use_q850_reason=yes 

allowsubscribe= yes 
notifybusy=yes 
notifyringing= yes 
notifyhold=no 
allowguest = no
alwaysauthreject=yes
trustrpid = yes 

rpid_immediate=yes

disallow=all
;allow=g722
allow=alaw
allow=ulaw
allow=h263
allow=h263p
allow=h264

limitonpeers= yes
busylimit= 1 
videosupport=yes

t38pt_udptl = yes

tos_sip=cs3                    ; Sets TOS for SIP packets.
tos_audio=ef                   ; Sets TOS for RTP audio packets.
tos_video=af41                 ; Sets TOS for RTP video packets.
tos_text=af41                  ; Sets TOS for RTP text packets.

cos_sip=3                      ; Sets 802.1p priority for SIP packets.
cos_audio=5                    ; Sets 802.1p priority for RTP audio packets.
cos_video=4                    ; Sets 802.1p priority for RTP video packets.
cos_text=3                     ; Sets 802.1p priority for RTP text packets.

tcpenable=yes

[defaults](!)
type=friend
qualify=yes
port=5060
nat=force_rport,comedia 
host=dynamic
dtmfmode=rfc2833
context=to-trunk
canreinvite=no
insecure=no
disallow=all
allow=alaw
allow=ulaw
allow=h263
allow=h263p
allow=h264
videosupport=yes

;sendrpid = pai
;progressinband=yes
callcounter=yes

[100](defaults)
secret=secret
context=to-queue

[101](defaults)
secret=secret

[102](defaults)
secret=secret
