Page 367 - Asterisk™: The Future of Telephony
P. 367

authdebug=no
               autokill (global)
                   To  minimize  the  danger  of  stalling  when  a  host  is  unreachable,  you  can  set
                   autokill to yes to specify that any new connection should be torn down if an ACK
                   is not received within 2,000 ms. (This is obviously not advised for hosts with high
                   latency.) Alternatively, you can replace yes with the number of milliseconds to wait
                   before considering a peer unreachable. autokill configures the wait for all IAX2
                   peers, but you can configure it differently for individual peers with the use of the
                   qualify command:
                       autokill=1500
               bandwidth (channel)
                   bandwidth is a shortcut that may help you get around using disallow=all and mul-
                   tiple allow statements to specify which codecs to use. The valid options are:
                   high
                       Allows all codecs (G.723.1, GSM, µlaw, alaw, G.726, ADPCM, slinear, LPC10,
                       G.729, Speex, iLBC)
                   medium
                       Allows all codecs except slinear, µlaw, and alaw
                   low
                       Allows all medium codecs except G.726 and ADPCM
                          bandwidth=low|medium|high
               bindport and bindaddr (global)
                   These optional parameters allow you to control the IP interface and port on which
                   you wish to accept IAX connections. If omitted, the port will be set to 4569, and
                   all IP addresses in your Asterisk system will accept incoming IAX connections. If
                   multiple bind addresses are configured, only the defined interface will accept IAX
                              *
                   connections.  The address 0.0.0.0 tells Asterisk to listen on all interfaces:
                       bindport=4569
                       bindaddr=192.168.0.1
               codecpriority (channel)
                   The codecpriority option controls which end of an inbound call leg will have
                   priority over the negotiation of codecs. If set in the [general] section, the selected
                   options will be inherited by all user entries in the channel configuration file; how-
                   ever, they can be defined in the individual user entries for more granular control.
                   If set in both the [general] and user sections, the user entry will override the entry



               * Currently, Asterisk will only work with a single bindaddr option. If you wish to listen to more than one address,
                 you’ll need to use 0.0.0.0. Note that Asterisk will work in a multihomed environment, but not with multi-
                 address interfaces. Asterisk will use the system’s routing table to select which interface it sends the packet
                 out on and it will use the primary address on that interface as the source.

                                                                                IAX | 339
   362   363   364   365   366   367   368   369   370   371   372