Removing configuration options that does not do anything yet. No need to
[asterisk/asterisk.git] / configs / sip.conf.sample
1 ;
2 ; SIP Configuration example for Asterisk
3 ;
4 ; Syntax for specifying a SIP device in extensions.conf is
5 ; SIP/devicename where devicename is defined in a section below.
6 ;
7 ; You may also use 
8 ; SIP/username@domain to call any SIP user on the Internet
9 ; (Don't forget to enable DNS SRV records if you want to use this)
10
11 ; If you define a SIP proxy as a peer below, you may call
12 ; SIP/proxyhostname/user or SIP/user@proxyhostname 
13 ; where the proxyhostname is defined in a section below 
14
15 ; Useful CLI commands to check peers/users:
16 ;   sip show peers              Show all SIP peers (including friends)
17 ;   sip show users              Show all SIP users (including friends)
18 ;   sip show registry           Show status of hosts we register with
19 ;
20 ;   sip debug                   Show all SIP messages
21 ;
22 ;   reload chan_sip.so          Reload configuration file
23 ;                               Active SIP peers will not be reconfigured
24 ;
25
26 [general]
27 context=default                 ; Default context for incoming calls
28 ;allowguest=no                  ; Allow or reject guest calls (default is yes)
29 allowoverlap=no                 ; Disable overlap dialing support. (Default is yes)
30 ;allowtransfer=no               ; Disable all transfers (unless enabled in peers or users)
31                                 ; Default is enabled
32 ;realm=mydomain.tld             ; Realm for digest authentication
33                                 ; defaults to "asterisk". If you set a system name in
34                                 ; asterisk.conf, it defaults to that system name
35                                 ; Realms MUST be globally unique according to RFC 3261
36                                 ; Set this to your host name or domain name
37 bindport=5060                   ; UDP Port to bind to (SIP standard port is 5060)
38 bindaddr=0.0.0.0                ; IP address to bind to (0.0.0.0 binds to all)
39 srvlookup=yes                   ; Enable DNS SRV lookups on outbound calls
40                                 ; Note: Asterisk only uses the first host 
41                                 ; in SRV records
42                                 ; Disabling DNS SRV lookups disables the 
43                                 ; ability to place SIP calls based on domain 
44                                 ; names to some other SIP users on the Internet
45                                 
46 ;domain=mydomain.tld            ; Set default domain for this host
47                                 ; If configured, Asterisk will only allow
48                                 ; INVITE and REFER to non-local domains
49                                 ; Use "sip show domains" to list local domains
50 ;pedantic=yes                   ; Enable checking of tags in headers, 
51                                 ; international character conversions in URIs
52                                 ; and multiline formatted headers for strict
53                                 ; SIP compatibility (defaults to "no")
54
55 ; See doc/README.tos for a description of these parameters.
56 ;tos_sip=cs3                    ; Sets TOS for SIP packets.
57 ;tos_audio=ef                   ; Sets TOS for RTP audio packets.
58 ;tos_video=af41                 ; Sets TOS for RTP video packets.
59
60 ;maxexpiry=3600                 ; Maximum allowed time of incoming registrations
61                                 ; and subscriptions (seconds)
62 ;minexpiry=60                   ; Minimum length of registrations/subscriptions (default 60)
63 ;defaultexpiry=120              ; Default length of incoming/outoing registration
64 ;t1min=100                      ; Minimum roundtrip time for messages to monitored hosts
65                                 ; Defaults to 100 ms
66 ;notifymimetype=text/plain      ; Allow overriding of mime type in MWI NOTIFY
67 ;checkmwi=10                    ; Default time between mailbox checks for peers
68 ;vmexten=voicemail              ; dialplan extension to reach mailbox sets the 
69                                 ; Message-Account in the MWI notify message 
70                                 ; defaults to "asterisk"
71 ;disallow=all                   ; First disallow all codecs
72 ;allow=ulaw                     ; Allow codecs in order of preference
73 ;allow=ilbc                     ; 
74 ;musicclass=default             ; Sets the default music on hold class for all SIP calls
75                                 ; This may also be set for individual users/peers
76 ;language=en                    ; Default language setting for all users/peers
77                                 ; This may also be set for individual users/peers
78 ;relaxdtmf=yes                  ; Relax dtmf handling
79 ;rtptimeout=60                  ; Terminate call if 60 seconds of no RTP activity
80                                 ; when we're not on hold
81 ;rtpholdtimeout=300             ; Terminate call if 300 seconds of no RTP activity
82                                 ; when we're on hold (must be > rtptimeout)
83 ;trustrpid = no                 ; If Remote-Party-ID should be trusted
84 ;sendrpid = yes                 ; If Remote-Party-ID should be sent
85 ;progressinband=never           ; If we should generate in-band ringing always
86                                 ; use 'never' to never use in-band signalling, even in cases
87                                 ; where some buggy devices might not render it
88                                 ; Valid values: yes, no, never Default: never
89 ;useragent=Asterisk PBX         ; Allows you to change the user agent string
90 ;promiscredir = no              ; If yes, allows 302 or REDIR to non-local SIP address
91                                 ; Note that promiscredir when redirects are made to the
92                                 ; local system will cause loops since Asterisk is incapable
93                                 ; of performing a "hairpin" call.
94 ;usereqphone = no               ; If yes, ";user=phone" is added to uri that contains
95                                 ; a valid phone number
96 ;dtmfmode = rfc2833             ; Set default dtmfmode for sending DTMF. Default: rfc2833
97                                 ; Other options: 
98                                 ; info : SIP INFO messages
99                                 ; inband : Inband audio (requires 64 kbit codec -alaw, ulaw)
100                                 ; auto : Use rfc2833 if offered, inband otherwise
101
102 ;compactheaders = yes           ; send compact sip headers.
103 ;
104 ;videosupport=yes               ; Turn on support for SIP video
105 ;maxcallbitrate=384             ; Maximum bitrate for video calls (default 384 kb/s)
106                                 ; Videosupport and maxcallbitrate is settable
107                                 ; for peers and users as well
108 ;callevents=no                  ; generate manager events when sip ua 
109                                 ; performs events (e.g. hold)
110 ;alwaysauthreject = yes         ; When an incoming INVITE or REGISTER is to be rejected,
111                                 ; for any reason, always reject with '401 Unauthorized'
112                                 ; instead of letting the requester know whether there was
113                                 ; a matching user or peer for their request
114 ;
115 ; If regcontext is specified, Asterisk will dynamically create and destroy a
116 ; NoOp priority 1 extension for a given peer who registers or unregisters with
117 ; us and have a "regexten=" configuration item.  
118 ; Multiple contexts may be specified by separating them with '&'. The 
119 ; actual extension is the 'regexten' parameter of the registering peer or its
120 ; name if 'regexten' is not provided.  If more than one context is provided,
121 ; the context must be specified within regexten by appending the desired
122 ; context after '@'.  More than one regexten may be supplied if they are 
123 ; separated by '&'.  Patterns may be used in regexten.
124 ;
125 ;regcontext=sipregistrations
126 ;
127 ;--------------------------- SIP DEBUGGING ---------------------------------------------------
128 ;sipdebug = yes                 ; Turn on SIP debugging by default, from
129                                 ; the moment the channel loads this configuration
130 ;recordhistory=yes              ; Record SIP history by default 
131                                 ; (see sip history / sip no history)
132 ;dumphistory=yes                ; Dump SIP history at end of SIP dialogue
133                                 ; SIP history is output to the DEBUG logging channel
134
135
136 ;--------------------------- STATUS NOTIFICATIONS (SUBSCRIPTIONS) ----------------------------
137 ; You can subscribe to the status of extensions with a "hint" priority
138 ; (See extensions.conf.sample for examples)
139 ; chan_sip support two major formats for notifications: dialog-info and SIMPLE 
140 ; Note: Subscriptions does not work if you have a realtime dialplan and use the
141 ; realtime switch.
142 ;
143 ;allowsubscribe=no              ; Disable support for subscriptions. (Default is yes)
144 ;subscribecontext = default     ; Set a specific context for SUBSCRIBE requests
145                                 ; Useful to limit subscriptions to local extensions
146                                 ; Settable per peer/user also
147 ;notifyringing = yes            ; Notify subscriptions on RINGING state
148 ;----------------------------------------- T.38 FAX PASSTHROUGH SUPPORT -----------------------
149 ;
150 ; This setting is available in the [general] section as well as in device configurations.
151 ; Setting this to yes, enables T.38 fax (UDPTL) passthrough on SIP to SIP calls, provided
152 ; both parties have T38 support enabled in their Asterisk configuration (either general or
153 ; peer/user/friend sections)
154 ;
155 ; t38pt_udptl = yes            ; Default false
156 ;
157 ;----------------------------------------- OUTBOUND SIP REGISTRATIONS  ------------------------
158 ; Asterisk can register as a SIP user agent to a SIP proxy (provider)
159 ; Format for the register statement is:
160 ;       register => user[:secret[:authuser]]@host[:port][/extension]
161 ;
162 ; If no extension is given, the 's' extension is used. The extension needs to
163 ; be defined in extensions.conf to be able to accept calls from this SIP proxy
164 ; (provider).
165 ;
166 ; host is either a host name defined in DNS or the name of a section defined
167 ; below.
168 ;
169 ; Examples:
170 ;
171 ;register => 1234:password@mysipprovider.com    
172 ;
173 ;     This will pass incoming calls to the 's' extension
174 ;
175 ;
176 ;register => 2345:password@sip_proxy/1234
177 ;
178 ;    Register 2345 at sip provider 'sip_proxy'.  Calls from this provider
179 ;    connect to local extension 1234 in extensions.conf, default context,
180 ;    unless you configure a [sip_proxy] section below, and configure a
181 ;    context.
182 ;    Tip 1: Avoid assigning hostname to a sip.conf section like [provider.com]
183 ;    Tip 2: Use separate type=peer and type=user sections for SIP providers
184 ;           (instead of type=friend) if you have calls in both directions
185   
186 ;registertimeout=20             ; retry registration calls every 20 seconds (default)
187 ;registerattempts=10            ; Number of registration attempts before we give up
188                                 ; 0 = continue forever, hammering the other server
189                                 ; until it accepts the registration
190                                 ; Default is 0 tries, continue forever
191
192 ;----------------------------------------- NAT SUPPORT ------------------------
193 ; The externip, externhost and localnet settings are used if you use Asterisk
194 ; behind a NAT device to communicate with services on the outside.
195
196 ;externip = 200.201.202.203     ; Address that we're going to put in outbound SIP
197                                 ; messages if we're behind a NAT
198
199                                 ; The externip and localnet is used
200                                 ; when registering and communicating with other proxies
201                                 ; that we're registered with
202 ;externhost=foo.dyndns.net      ; Alternatively you can specify an 
203                                 ; external host, and Asterisk will 
204                                 ; perform DNS queries periodically.  Not
205                                 ; recommended for production 
206                                 ; environments!  Use externip instead
207 ;externrefresh=10               ; How often to refresh externhost if 
208                                 ; used
209                                 ; You may add multiple local networks.  A reasonable 
210                                 ; set of defaults are:
211 ;localnet=192.168.0.0/255.255.0.0; All RFC 1918 addresses are local networks
212 ;localnet=10.0.0.0/255.0.0.0    ; Also RFC1918
213 ;localnet=172.16.0.0/12         ; Another RFC1918 with CIDR notation
214 ;localnet=169.254.0.0/255.255.0.0 ;Zero conf local network
215
216 ; The nat= setting is used when Asterisk is on a public IP, communicating with
217 ; devices hidden behind a NAT device (broadband router).  If you have one-way
218 ; audio problems, you usually have problems with your NAT configuration or your
219 ; firewall's support of SIP+RTP ports.  You configure Asterisk choice of RTP
220 ; ports for incoming audio in rtp.conf
221 ;
222 ;nat=no                         ; Global NAT settings  (Affects all peers and users)
223                                 ; yes = Always ignore info and assume NAT
224                                 ; no = Use NAT mode only according to RFC3581 
225                                 ; never = Never attempt NAT mode or RFC3581 support
226                                 ; route = Assume NAT, don't send rport 
227                                 ; (work around more UNIDEN bugs)
228
229 ;canreinvite=yes                ; Asterisk by default tries to redirect the
230                                 ; RTP media stream (audio) to go directly from
231                                 ; the caller to the callee.  Some devices do not
232                                 ; support this (especially if one of them is behind a NAT).
233                                 ; The default setting is YES. If you have all clients
234                                 ; behind a NAT, or for some other reason wants Asterisk to
235                                 ; stay in the audio path, you may want to turn this off.
236
237 ;canreinvite=nonat              ; An additional option is to allow media path redirection
238                                 ; (reinvite) but only when the peer where the media is being
239                                 ; sent is known to not be behind a NAT (as the RTP core can
240                                 ; determine it based on the apparent IP address the media
241                                 ; arrives from).
242
243 ;canreinvite=update             ; Yet a third option... use UPDATE for media path redirection,
244                                 ; instead of INVITE. This can be combined with 'nonat', as
245                                 ; 'canreinvite=update,nonat'. It implies 'yes'.
246
247 ;----------------------------------------- REALTIME SUPPORT ------------------------
248 ; For additional information on ARA, the Asterisk Realtime Architecture,
249 ; please read realtime.txt and extconfig.txt in the /doc directory of the
250 ; source code.
251 ;
252 ;rtcachefriends=yes             ; Cache realtime friends by adding them to the internal list
253                                 ; just like friends added from the config file only on a
254                                 ; as-needed basis? (yes|no)
255
256 ;rtupdate=yes                   ; Send registry updates to database using realtime? (yes|no)
257                                 ; If set to yes, when a SIP UA registers successfully, the ip address,
258                                 ; the origination port, the registration period, and the username of
259                                 ; the UA will be set to database via realtime. 
260                                 ; If not present, defaults to 'yes'.
261 ;rtautoclear=yes                ; Auto-Expire friends created on the fly on the same schedule
262                                 ; as if it had just registered? (yes|no|<seconds>)
263                                 ; If set to yes, when the registration expires, the friend will
264                                 ; vanish from the configuration until requested again. If set
265                                 ; to an integer, friends expire within this number of seconds
266                                 ; instead of the registration interval.
267
268 ;ignoreregexpire=yes            ; Enabling this setting has two functions:
269                                 ;
270                                 ; For non-realtime peers, when their registration expires, the
271                                 ; information will _not_ be removed from memory or the Asterisk database
272                                 ; if you attempt to place a call to the peer, the existing information
273                                 ; will be used in spiteof it having expired
274                                 ;
275                                 ; For realtime peers, when the peer is retrieved from realtime storage,
276                                 ; the registration information will be used regardless of whether
277                                 ; it has expired or not; if it expires while the realtime peer 
278                                 ; is still in memory (due to caching or other reasons), the 
279                                 ; information will not be removed from realtime storage
280
281 ;----------------------------------------- SIP DOMAIN SUPPORT ------------------------
282 ; Incoming INVITE and REFER messages can be matched against a list of 'allowed'
283 ; domains, each of which can direct the call to a specific context if desired.
284 ; By default, all domains are accepted and sent to the default context or the
285 ; context associated with the user/peer placing the call.
286 ; Domains can be specified using:
287 ; domain=<domain>[,<context>]
288 ; Examples:
289 ; domain=myasterisk.dom
290 ; domain=customer.com,customer-context
291 ;
292 ; In addition, all the 'default' domains associated with a server should be
293 ; added if incoming request filtering is desired.
294 ; autodomain=yes
295 ;
296 ; To disallow requests for domains not serviced by this server:
297 ; allowexternaldomains=no
298
299 ;domain=mydomain.tld,mydomain-incoming
300                                 ; Add domain and configure incoming context
301                                 ; for external calls to this domain
302 ;domain=1.2.3.4                 ; Add IP address as local domain
303                                 ; You can have several "domain" settings
304 ;allowexternalinvites=no        ; Disable INVITE and REFER to non-local domains
305                                 ; Default is yes
306 ;autodomain=yes                 ; Turn this on to have Asterisk add local host
307                                 ; name and local IP to domain list.
308
309 ; fromdomain=mydomain.tld       ; When making outbound SIP INVITEs to
310                                 ; non-peers, use your primary domain "identity"
311                                 ; for From: headers instead of just your IP
312                                 ; address. This is to be polite and
313                                 ; it may be a mandatory requirement for some
314                                 ; destinations which do not have a prior
315                                 ; account relationship with your server. 
316
317 ;------------------------------ JITTER BUFFER CONFIGURATION --------------------------
318 ; jbenable = yes              ; Enables the use of a jitterbuffer on the receiving side of a
319                               ; SIP channel. Defaults to "no". An enabled jitterbuffer will
320                               ; be used only if the sending side can create and the receiving
321                               ; side can not accept jitter. The SIP channel can accept jitter,
322                               ; thus a jitterbuffer on the receive SIP side will be used only
323                               ; if it is forced and enabled.
324
325 ; jbforce = no                ; Forces the use of a jitterbuffer on the receive side of a SIP
326                               ; channel. Defaults to "no".
327
328 ; jbmaxsize = 200             ; Max length of the jitterbuffer in milliseconds.
329
330 ; jbresyncthreshold = 1000    ; Jump in the frame timestamps over which the jitterbuffer is
331                               ; resynchronized. Useful to improve the quality of the voice, with
332                               ; big jumps in/broken timestamps, usualy sent from exotic devices
333                               ; and programs. Defaults to 1000.
334
335 ; jbimpl = fixed              ; Jitterbuffer implementation, used on the receiving side of a SIP
336                               ; channel. Two implementations are currenlty available - "fixed"
337                               ; (with size always equals to jbmaxsize) and "adaptive" (with
338                               ; variable size, actually the new jb of IAX2). Defaults to fixed.
339
340 ; jblog = no                  ; Enables jitterbuffer frame logging. Defaults to "no".
341 ;-----------------------------------------------------------------------------------
342
343 [authentication]
344 ; Global credentials for outbound calls, i.e. when a proxy challenges your
345 ; Asterisk server for authentication. These credentials override
346 ; any credentials in peer/register definition if realm is matched.
347 ;
348 ; This way, Asterisk can authenticate for outbound calls to other
349 ; realms. We match realm on the proxy challenge and pick an set of 
350 ; credentials from this list
351 ; Syntax:
352 ;       auth = <user>:<secret>@<realm>
353 ;       auth = <user>#<md5secret>@<realm>
354 ; Example:
355 ;auth=mark:topsecret@digium.com
356
357 ; You may also add auth= statements to [peer] definitions 
358 ; Peer auth= override all other authentication settings if we match on realm
359
360 ;------------------------------------------------------------------------------
361 ; Users and peers have different settings available. Friends have all settings,
362 ; since a friend is both a peer and a user
363 ;
364 ; User config options:        Peer configuration:
365 ; --------------------        -------------------
366 ; context                     context
367 ; callingpres                 callingpres
368 ; permit                      permit
369 ; deny                        deny
370 ; secret                      secret
371 ; md5secret                   md5secret
372 ; dtmfmode                    dtmfmode
373 ; canreinvite                 canreinvite
374 ; nat                         nat
375 ; callgroup                   callgroup
376 ; pickupgroup                 pickupgroup
377 ; language                    language
378 ; allow                       allow
379 ; disallow                    disallow
380 ; insecure                    insecure
381 ; trustrpid                   trustrpid
382 ; progressinband              progressinband
383 ; promiscredir                promiscredir
384 ; useclientcode               useclientcode
385 ; accountcode                 accountcode
386 ; setvar                      setvar
387 ; callerid                    callerid
388 ; amaflags                    amaflags
389 ; call-limit                  call-limit
390 ; restrictcid                 restrictcid
391 ; allowoverlap                allowoverlap
392 ; allowsubscribe              allowsubscribe
393 ; allowtransfer               allowtransfer
394 ; subscribecontext            subscribecontext
395 ; videosupport                videosupport
396 ; maxcallbitrate              maxcallbitrate
397 ;                             mailbox
398 ;                             username
399 ;                             template
400 ;                             fromdomain
401 ;                             regexten
402 ;                             fromuser
403 ;                             host
404 ;                             port
405 ;                             qualify
406 ;                             defaultip
407 ;                             rtptimeout
408 ;                             rtpholdtimeout
409 ;                             sendrpid
410 ;                             outboundproxy
411
412 ;[sip_proxy]
413 ; For incoming calls only. Example: FWD (Free World Dialup)
414 ; We match on IP address of the proxy for incoming calls 
415 ; since we can not match on username (caller id)
416 ;type=peer
417 ;context=from-fwd
418 ;host=fwd.pulver.com
419
420 ;[sip_proxy-out]
421 ;type=peer                              ; we only want to call out, not be called
422 ;secret=guessit
423 ;username=yourusername                  ; Authentication user for outbound proxies
424 ;fromuser=yourusername                  ; Many SIP providers require this!
425 ;fromdomain=provider.sip.domain 
426 ;host=box.provider.com
427 ;usereqphone=yes                        ; This provider requires ";user=phone" on URI
428 ;call-limit=5                           ; permit only 5 simultaneous outgoing calls to this peer
429 ;outboundproxy=proxy.provider.domain    ; send outbound signaling to this proxy, not directly to the peer
430                                 ; Call-limits will not be enforced on real-time peers,
431                                 ; since they are not stored in-memory
432
433 ;------------------------------------------------------------------------------
434 ; Definitions of locally connected SIP devices
435 ;
436 ; type = user   a device that authenticates to us by "from" field to place calls
437 ; type = peer   a device we place calls to or that calls us and we match by host
438 ; type = friend two configurations (peer+user) in one
439 ;
440 ; For device names, we recommend using only a-z, numerics (0-9) and underscore
441
442 ; For local phones, type=friend works most of the time
443 ;
444 ; If you have one-way audio, you propably have NAT problems. 
445 ; If Asterisk is on a public IP, and the phone is inside of a NAT device
446 ; you will need to configure nat option for those phones.
447 ; Also, turn on qualify=yes to keep the nat session open
448
449 ;[grandstream1]
450 ;type=friend                    
451 ;context=from-sip               ; Where to start in the dialplan when this phone calls
452 ;callerid=John Doe <1234>       ; Full caller ID, to override the phones config
453                                 ; on incoming calls to Asterisk
454 ;host=192.168.0.23              ; we have a static but private IP address
455                                 ; No registration allowed
456 ;nat=no                         ; there is not NAT between phone and Asterisk
457 ;canreinvite=yes                ; allow RTP voice traffic to bypass Asterisk
458 ;dtmfmode=info                  ; either RFC2833 or INFO for the BudgeTone
459 ;call-limit=1                   ; permit only 1 outgoing call and 1 incoming call at a time
460                                 ; from the phone to asterisk
461                                 ; 1 for the explicit peer, 1 for the explicit user,
462                                 ; remember that a friend equals 1 peer and 1 user in
463                                 ; memory
464                                 ; This will affect your subscriptions as well.
465                                 ; There is no combined call counter for a "friend"
466                                 ; so there's currently no way in sip.conf to limit
467                                 ; to one inbound or outbound call per phone. Use
468                                 ; the group counters in the dial plan for that.
469                                 ;
470 ;mailbox=1234@default           ; mailbox 1234 in voicemail context "default"
471 ;disallow=all                   ; need to disallow=all before we can use allow=
472 ;allow=ulaw                     ; Note: In user sections the order of codecs
473                                 ; listed with allow= does NOT matter!
474 ;allow=alaw
475 ;allow=g723.1                   ; Asterisk only supports g723.1 pass-thru!
476 ;allow=g729                     ; Pass-thru only unless g729 license obtained
477 ;callingpres=allowed_passed_screen      ; Set caller ID presentation
478                                 ; See README.callingpres for more information
479
480
481 ;[xlite1]
482 ; Turn off silence suppression in X-Lite ("Transmit Silence"=YES)!
483 ; Note that Xlite sends NAT keep-alive packets, so qualify=yes is not needed
484 ;type=friend
485 ;regexten=1234                  ; When they register, create extension 1234
486 ;callerid="Jane Smith" <5678>
487 ;host=dynamic                   ; This device needs to register
488 ;nat=yes                        ; X-Lite is behind a NAT router
489 ;canreinvite=no                 ; Typically set to NO if behind NAT
490 ;disallow=all
491 ;allow=gsm                      ; GSM consumes far less bandwidth than ulaw
492 ;allow=ulaw
493 ;allow=alaw
494 ;mailbox=1234@default,1233@default      ; Subscribe to status of multiple mailboxes
495
496
497 ;[snom]
498 ;type=friend                    ; Friends place calls and receive calls
499 ;context=from-sip               ; Context for incoming calls from this user
500 ;secret=blah
501 ;subscribecontext=localextensions       ; Only allow SUBSCRIBE for local extensions
502 ;language=de                    ; Use German prompts for this user 
503 ;host=dynamic                   ; This peer register with us
504 ;dtmfmode=inband                ; Choices are inband, rfc2833, or info
505 ;defaultip=192.168.0.59         ; IP used until peer registers
506 ;mailbox=1234@context,2345      ; Mailbox(-es) for message waiting indicator
507 ;subscribemwi=yes               ; Only send notifications if this phone 
508                                 ; subscribes for mailbox notification
509 ;vmexten=voicemail              ; dialplan extension to reach mailbox 
510                                 ; sets the Message-Account in the MWI notify message
511                                 ; defaults to global vmexten which defaults to "asterisk"
512 ;restrictcid=yes                ; To have the callerid restriced -> sent as ANI
513 ;disallow=all
514 ;allow=ulaw                     ; dtmfmode=inband only works with ulaw or alaw!
515
516
517 ;[polycom]
518 ;type=friend                    ; Friends place calls and receive calls
519 ;context=from-sip               ; Context for incoming calls from this user
520 ;secret=blahpoly
521 ;host=dynamic                   ; This peer register with us
522 ;dtmfmode=rfc2833               ; Choices are inband, rfc2833, or info
523 ;username=polly                 ; Username to use in INVITE until peer registers
524                                 ; Normally you do NOT need to set this parameter
525 ;disallow=all
526 ;allow=ulaw                     ; dtmfmode=inband only works with ulaw or alaw!
527 ;progressinband=no              ; Polycom phones don't work properly with "never"
528
529
530 ;[pingtel]
531 ;type=friend
532 ;secret=blah
533 ;host=dynamic
534 ;insecure=port                  ; Allow matching of peer by IP address without 
535                                 ; matching port number
536 ;insecure=invite                ; Do not require authentication of incoming INVITEs
537 ;insecure=port,invite           ; (both)
538 ;qualify=1000                   ; Consider it down if it's 1 second to reply
539                                 ; Helps with NAT session
540                                 ; qualify=yes uses default value
541 ;
542 ; Call group and Pickup group should be in the range from 0 to 63
543 ;
544 ;callgroup=1,3-4                ; We are in caller groups 1,3,4
545 ;pickupgroup=1,3-5              ; We can do call pick-p for call group 1,3,4,5
546 ;defaultip=192.168.0.60         ; IP address to use if peer has not registred
547 ;deny=0.0.0.0/0.0.0.0           ; ACL: Control access to this account based on IP address
548 ;permit=192.168.0.60/255.255.255.0
549
550 ;[cisco1]
551 ;type=friend
552 ;secret=blah
553 ;qualify=200                    ; Qualify peer is no more than 200ms away
554 ;nat=yes                        ; This phone may be natted
555                                 ; Send SIP and RTP to the IP address that packet is 
556                                 ; received from instead of trusting SIP headers 
557 ;host=dynamic                   ; This device registers with us
558 ;canreinvite=no                 ; Asterisk by default tries to redirect the
559                                 ; RTP media stream (audio) to go directly from
560                                 ; the caller to the callee.  Some devices do not
561                                 ; support this (especially if one of them is 
562                                 ; behind a NAT).
563 ;defaultip=192.168.0.4          ; IP address to use until registration
564 ;username=goran                 ; Username to use when calling this device before registration
565                                 ; Normally you do NOT need to set this parameter
566 ;setvar=CUSTID=5678             ; Channel variable to be set for all calls from this device
567