Index: configs/iax.conf.sample =================================================================== --- configs/iax.conf.sample (revision 401489) +++ configs/iax.conf.sample (working copy) @@ -16,7 +16,7 @@ ; ; Use the 'bindaddr' and 'bindport' options to specify on which address and port ; the IAX2 channel driver will listen for incoming requests. -; +; Binds to all addresses and port 4569 by default. ; ;bindport=4569 ; The default port to listen on @@ -141,9 +141,9 @@ ; ; Specify bandwidth of low, medium, or high to control which codecs are used ; in general. -; +; Default value: high +; bandwidth=low -; ; ; You can also fine tune codecs here using "allow" and "disallow" clauses with @@ -168,18 +168,21 @@ ; jitter buffer at the other end. ; ; jitterbuffer=yes|no: global default as to whether you want -; the jitter buffer at all. +; the jitter buffer at all. +; Default value: no. ; ; forcejitterbuffer=yes|no: in the ideal world, when we bridge VoIP channels ; we don't want to do jitterbuffering on the switch, since the endpoints ; can each handle this. However, some endpoints may have poor jitterbuffers ; themselves, so this option will force * to always jitterbuffer, even in this -; case. +; case. +; Default value: no. ; ; maxjitterbuffer: a maximum size for the jitter buffer. ; Setting a reasonable maximum here will prevent the call delay ; from rising to silly values in extreme situations; you'll hear ; SOMETHING, even though it will be jittery. +; Default value: 1000 ; ; resyncthreshold: when the jitterbuffer notices a significant change in delay ; that continues over a few frames, it will resync, assuming that the change in @@ -187,18 +190,21 @@ ; change in delay is measured as twice the measured jitter plus this resync ; threshold. ; Resyncing can be disabled by setting this parameter to -1. +; Default value: 1000 ; ; maxjitterinterps: the maximum number of interpolation frames the jitterbuffer ; should return in a row. Since some clients do not send CNG/DTX frames to ; indicate silence, the jitterbuffer will assume silence has begun after ; returning this many interpolations. This prevents interpolating throughout ; a long silence. +; Default value: 10 ; ; jittertargetextra: number of milliseconds by which the new jitter buffer ; will pad its size. the default is 40, so without modification, the new ; jitter buffer will set its size to the jitter value plus 40 milliseconds. ; increasing this value may help if your network normally has low jitter, ; but occasionally has spikes. +; Default value: 40 ; jitterbuffer=no @@ -273,20 +279,27 @@ ; all your trunks go directly to TDM, _and_ your trunkfreq equals the frame ; length for your codecs, you can probably suppress these. The receiver must ; also support this feature, although they do not also need to have it enabled. -; +; Default value: no +; ; trunktimestamps=yes ; Minimum and maximum amounts of time that IAX2 peers can request as a ; registration expiration interval (in seconds). +; Default value for both: 60 +; ; minregexpire = 60 ; maxregexpire = 60 ; IAX2 helper threads ; Establishes the number of iax helper threads to handle I/O. +; Default value: 10 +; ; iaxthreadcount = 10 ; Establishes the number of extra dynamic threads that may be spawned to handle I/O +; Default value: 100 +; ; iaxmaxthreadcount = 100 ; @@ -335,11 +348,12 @@ ; subscribe_network_change_event = yes ; on by default ; ; You can enable authentication debugging to increase the amount of -; debugging traffic. +; debugging traffic. ; -;authdebug = yes +;authdebug = yes ; off by default. ; ; See https://wiki.asterisk.org/wiki/display/AST/IP+Quality+of+Service for a description of these parameters. +; ;tos=ef ;cos=5 ; @@ -359,7 +373,7 @@ ; addition to 'yes' or 'no' you can also specify a number of milliseconds. ; See 'qualify' for individual peers to turn on for just a specific peer. ; -autokill=yes +autokill=yes ; off by default ; ; codecpriority controls the codec negotiation of an inbound IAX2 call. ; This option is inherited to all user entities. It can also be defined @@ -392,9 +406,10 @@ ;rtcachefriends=yes ; Cache realtime friends by adding them to the internal list ; just like friends added from the config file only on a ; as-needed basis? (yes|no) + ; Default is no ;rtsavesysname=yes ; Save systemname in realtime database at registration - ; Default = no + ; Default is no ;rtupdate=yes ; Send registry updates to database using realtime? (yes|no) ; If set to yes, when a IAX2 peer registers successfully, @@ -408,10 +423,12 @@ ; vanish from the configuration until requested again. ; If set to an integer, friends expire within this number of ; seconds instead of the registration interval. + ; Default is 120 ;rtignoreregexpire=yes ; When reading a peer from Realtime, if the peer's registration ; has expired based on its registration interval, used the stored ; address information regardless. (yes|no) + ; Default is no ;parkinglot=edvina ; Default parkinglot for IAX2 peers and users ; This can also be configured per device @@ -450,6 +467,7 @@ ; limit, no more new connections are allowed until the previous ones close. This ; option can be used in a peer definition as well, but only takes effect for ; the IP of a dynamic peer after it completes registration. +; Default value: 2048 ; ;maxcallnumbers=512 ; @@ -537,6 +555,8 @@ ; to the other side. Public keys are named /var/lib/asterisk/keys/.pub ; while private keys are named /var/lib/asterisk/keys/.key. Private ; keys should always be 3DES encrypted. +; Default value is 'md5,plaintext' and means that md5 is tried first, and, if +; fails, plaintext is used. ; ; ; NOTE: All hostnames and IP addresses in this file are for example purposes @@ -595,9 +615,9 @@ ; reduce falsely detected LAGGED hosts. The default ; is 'no.' ;qualifyfreqok = 60000 ; How frequently to ping the peer when everything - ; seems to be OK, in milliseconds. + ; seems to be OK, in milliseconds. Default: 60000 ;qualifyfreqnotok = 10000 ; How frequently to ping the peer when it's either - ; LAGGED or UNAVAILABLE, in milliseconds. + ; LAGGED or UNAVAILABLE, in ms. Default: 10000 ;jitterbuffer=no ; Turn off jitter buffer for this peer ; ;encryption=yes ; Enable IAX2 encryption. The default is no.