Version 0.1.3 from FTP
[asterisk/asterisk.git] / configs / iax.conf.sample
1 ;
2 ; Inter-Asterisk eXchange driver definition
3 ;
4 ;
5 ; General settings, like port number to bind to, and
6 ; an option address (the default is to bind to all
7 ; local addresses).
8 ;
9 [general]
10 port=5036
11 ;bindaddr=192.168.0.1
12 ;
13 ; Specify bandwidth of low, medium, or high to control which codecs are used
14 ; in general.
15 ;
16 bandwidth=low
17 ;
18 ; You can also fine tune codecs here using "allow" and "disallow" clauses
19 ; with specific codecs.  Use "all" to represent all formats.
20 ;
21 ;allow=all                      ; same as bandwidth=high
22 ;disallow=g723.1                ; Hm...  Proprietary, don't use it...
23 disallow=lpc10                  ; Icky sound quality...  Mr. Roboto.
24 ;allow=gsm                      ; Always allow GSM, it's cool :)
25 ;
26 ; You can also adjust several parameters relating to the jitter
27 ; buffer.  Specifically, you can provide a maximum jitter buffer,
28 ; you can turn it off entirely, and you can specify an acceptable
29 ; drop rate (per MEMORY_SIZE, by default 3 of 100).  Disabling the
30 ; jitter buffer is not recommended.  Finally, you can specify the maximum
31 ; excess jitter buffer, which if exceeded, causes the jitter buffer to
32 ; slowly shrink in order to improve latency.
33 ;
34 ;jitterbuffer=no
35 ;dropcount=3
36 ;maxjitterbuffer=500
37 ;maxexccessbuffer=100
38
39 ;
40 ; Guest sections for unauthenticated connection attempts.  Just
41 ; specify an empty secret, or provide no secret section.
42 ;
43 [guest]
44 type=user
45 context=default
46 ;
47 ; Further user sections may be added, specifying a context and a
48 ; secret used for connections with that given authentication name.
49 ; Limited IP based access control is allowed by use of "allow" and
50 ; "deny" keywords.  Multiple rules are permitted.  Multiple permitted
51 ; contexts may be specified, in which case the first will be the default.
52 ;
53 ;[markster]
54 ;type=user
55 ;context=default
56 ;context=local
57 ;auth=md5,cleartext
58 ;secret=markpasswd
59 ;deny=0.0.0.0/0.0.0.0
60 ;allow=209.16.236.73/255.255.255.0
61 ;
62 ; Peers may also be specified, with a secret and
63 ; a remote hostname.
64 ;
65 [demo]
66 type=peer
67 username=asterisk
68 secret=supersecret
69 host=209.16.236.91
70 ;host=asterisk.linux-support.net
71 ;port=5036
72 ;mask=255.255.255.255