Updating docs

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@153983 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Olle Johansson
2008-11-03 18:02:14 +00:00
parent 3873227e9d
commit 007807bf41

View File

@@ -43,13 +43,11 @@
; ------------------------------------------------------------- ; -------------------------------------------------------------
; Useful CLI commands to check peers/users: ; Useful CLI commands to check peers/users:
; sip show peers Show all SIP peers (including friends) ; sip show peers Show all SIP peers (including friends)
; sip show users Show all SIP users (including friends)
; sip show registry Show status of hosts we register with ; sip show registry Show status of hosts we register with
; ;
; sip set debug Show all SIP messages ; sip set debug Show all SIP messages
; ;
; module reload chan_sip.so Reload configuration file ; module reload chan_sip.so Reload configuration file
; Active SIP peers will not be reconfigured
; ;
; ** Deprecated configuration options ** ; ** Deprecated configuration options **
@@ -380,15 +378,6 @@ srvlookup=yes ; Enable DNS SRV lookups on outbound calls
; more database transactions if you are using realtime. ; more database transactions if you are using realtime.
;callcounter = yes ; Enable call counters on devices. This can be set per ;callcounter = yes ; Enable call counters on devices. This can be set per
; device too. ; device too.
;counteronpeer = yes ; Apply call counting on peers only. This will improve
; status notification when you are using type=friend
; Inbound calls, that really apply to the user part
; of a friend will now be added to and compared with
; the peer counter instead of applying two call counters,
; one for the peer and one for the user.
; "sip show inuse" will only show active calls on
; the peer side of a "type=friend" object if this
; setting is turned on.
;----------------------------------------- T.38 FAX PASSTHROUGH SUPPORT ----------------------- ;----------------------------------------- T.38 FAX PASSTHROUGH SUPPORT -----------------------
; ;
@@ -438,7 +427,7 @@ srvlookup=yes ; Enable DNS SRV lookups on outbound calls
; unless you configure a [sip_proxy] section below, and configure a ; unless you configure a [sip_proxy] section below, and configure a
; context. ; context.
; Tip 1: Avoid assigning hostname to a sip.conf section like [provider.com] ; Tip 1: Avoid assigning hostname to a sip.conf section like [provider.com]
; Tip 2: Use separate type=peer and type=user sections for SIP providers ; Tip 2: Use separate inbound and outbound sections for SIP providers
; (instead of type=friend) if you have calls in both directions ; (instead of type=friend) if you have calls in both directions
;registertimeout=20 ; retry registration calls every 20 seconds (default) ;registertimeout=20 ; retry registration calls every 20 seconds (default)
@@ -703,75 +692,92 @@ srvlookup=yes ; Enable DNS SRV lookups on outbound calls
; Peer auth= override all other authentication settings if we match on realm ; Peer auth= override all other authentication settings if we match on realm
;------------------------------------------------------------------------------ ;------------------------------------------------------------------------------
; Users and peers have different settings available. Friends have all settings, ; DEVICE CONFIGURATION
; since a friend is both a peer and a user
; ;
; User config options: Peer configuration: ; The SIP channel has two types of devices, the friend and the peer.
; -------------------- ------------------- ; * The type=friend is a device type that accepts both incoming and outbound calls,
; context context ; where Asterisk match on the From: username on incoming calls.
; callingpres callingpres ; (A synonym for friend is "user"). This is a type you use for your local
; permit permit ; SIP phones.
; deny deny ; * The type=peer also handles both incoming and outbound calls. On inbound calls,
; remotesecret ; Asterisk only matches on IP/port, not on names. This is mostly used for SIP
; secret secret ; trunks.
; md5secret md5secret ;
; transport transport ; For device names, we recommend using only a-z, numerics (0-9) and underscore
; dtmfmode dtmfmode ;
; canreinvite canreinvite ; For local phones, type=friend works most of the time
; nat nat ;
; callgroup callgroup ; If you have one-way audio, you probably have NAT problems.
; pickupgroup pickupgroup ; If Asterisk is on a public IP, and the phone is inside of a NAT device
; language language ; you will need to configure nat option for those phones.
; allow allow ; Also, turn on qualify=yes to keep the nat session open
; disallow disallow ;
; insecure insecure ; Configuration options available
; trustrpid trustrpid ; --------------------
; progressinband progressinband ; context
; promiscredir promiscredir ; callingpres
; useclientcode useclientcode ; permit
; accountcode accountcode ; deny
; setvar setvar ; secret
; callerid callerid ; md5secret
; amaflags amaflags ; remotesecret
; call-limit call-limit (deprecated) ; transport
; callcounter callcounter ; dtmfmode
; allowoverlap allowoverlap ; canreinvite
; allowsubscribe allowsubscribe ; nat
; allowtransfer allowtransfer ; callgroup
; subscribecontext subscribecontext ; pickupgroup
; videosupport videosupport ; language
; maxcallbitrate maxcallbitrate ; allow
; rfc2833compensate mailbox ; disallow
; session-timers busylevel ; insecure
; trustrpid
; progressinband
; promiscredir
; useclientcode
; accountcode
; setvar
; callerid
; amaflags
; callcounter
; busylevel
; allowoverlap
; allowsubscribe
; allowtransfer
; subscribecontext
; template
; videosupport
; maxcallbitrate
; rfc2833compensate
; mailbox
; session-timers
; session-expires ; session-expires
; session-minse template ; session-minse
; session-refresher fromdomain ; session-refresher
; t38pt_usertpsource regexten ; t38pt_usertpsource
; fromuser ; regexten
; host ; fromdomain
; port ; fromuser
; qualify ; host
; defaultip ; port
; defaultuser ; qualify
; rtptimeout ; defaultip
; rtpholdtimeout ; defaultuser
; sendrpid ; rtptimeout
; outboundproxy ; rtpholdtimeout
; rfc2833compensate ; sendrpid
; callbackextension ; outboundproxy
; registertrying ; rfc2833compensate
; session-timers ; callbackextension
; session-expires ; registertrying
; session-minse ; timert1
; session-refresher ; timerb
; timert1 ; qualifyfreq
; timerb ; t38pt_usertpsource
; qualifyfreq ; contactpermit ; Limit what a host may register as (a neat trick
; t38pt_usertpsource ; contactdeny ; is to register at the same IP as a SIP provider,
; contactpermit ; Limit what a host may register as (a neat trick ; ; then call oneself, and get redirected to that
; contactdeny ; is to register at the same IP as a SIP provider, ; ; same location).
; ; then call oneself, and get redirected to that
; ; same location).
;[sip_proxy] ;[sip_proxy]
; For incoming calls only. Example: FWD (Free World Dialup) ; For incoming calls only. Example: FWD (Free World Dialup)
@@ -810,21 +816,6 @@ srvlookup=yes ; Enable DNS SRV lookups on outbound calls
; ; accept both tcp and udp. Default is udp. The first transport ; ; accept both tcp and udp. Default is udp. The first transport
; ; listed will always be used for outgoing connections. ; ; listed will always be used for outgoing connections.
;------------------------------------------------------------------------------
; Definitions of locally connected SIP devices
;
; type = user a device that authenticates to us by "from" field to place calls
; type = peer a device we place calls to or that calls us and we match by host
; type = friend two configurations (peer+user) in one
;
; For device names, we recommend using only a-z, numerics (0-9) and underscore
;
; For local phones, type=friend works most of the time
;
; If you have one-way audio, you probably have NAT problems.
; If Asterisk is on a public IP, and the phone is inside of a NAT device
; you will need to configure nat option for those phones.
; Also, turn on qualify=yes to keep the nat session open
; ;
; Because you might have a large number of similar sections, it is generally ; Because you might have a large number of similar sections, it is generally
; convenient to use templates for the common parameters, and add them ; convenient to use templates for the common parameters, and add them