Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [general]
- nat=no
- externhost=myhost.ru ;because I have dynamic ip, I use "dyn-dns"
- directmedia = nonat
- context=nahnaht
- allowguest=no
- allowoverlap=no ; Disable overlap dialing support. (Default is yes)
- udpbindaddr=0.0.0.0:5060 ; IP address to bind UDP listen socket to (0.0.0.0 binds to all)
- tcpenable=yes ; Enable server for incoming TCP connections (default is no)
- tcpbindaddr=0.0.0.0:5060 ; IP address for TCP server to bind to (0.0.0.0 binds to all interfaces)
- transport=udp ; Set the default transports. The order determines the primary default transport.
- srvlookup=yes ; Enable DNS SRV lookups on outbound calls
- alwaysauthreject = yes ; When an incoming INVITE or REGISTER is to be rejected,
- externaddr = myhost.ru:5060
- externrefresh=180 ; change the refresh interval
- [basic-options](!) ; a template
- dtmfmode=rfc2833
- context=from-office
- type=friend
- [natted-phone](!,basic-options) ; another template inheriting basic-options
- directmedia=no
- host=dynamic
- [public-phone](!,basic-options) ; another template inheriting basic-options
- directmedia=yes
- [my-codecs](!) ; a template for my preferred codecs
- disallow=all
- allow=ilbc
- allow=g729
- allow=gsm
- allow=g723
- allow=ulaw
- [ulaw-phone](!) ; and another one for ulaw-only
- disallow=all
- allow=ulaw
- [sipnet]
- secret = password
- defaultuser = sip_id
- trunkname = sipnet
- host = sipnet.ru
- type = peer
- context = msk
- insecure = invite
- ;callbackextension = s
- fromuser = sip_id
- fromdomain = sipnet.ru
- disallow = all
- allow=ulaw
- ;allow = alaw&ulaw&g729
- ;nat = route
- directmedia = no
- dtmfmode = rfc2833
- qualify=yes
- [userpattern](!)
- type=friend
- host=dynamic
- nat=yes
- canreinvite=no
- ;context=office
- dtmfmode=inband
- qualify=yes
- insecure=port,invite
- disallow=all
- allow=ulaw
- ;[test1](userpattern)
- ;secret=123456
- ;context=msk
- ;callerid= test1 <103>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement