2000-01-06 13:24:57 +00:00
|
|
|
;
|
|
|
|
; Inter-Asterisk eXchange driver definition
|
|
|
|
;
|
|
|
|
;
|
|
|
|
; General settings, like port number to bind to, and
|
|
|
|
; an option address (the default is to bind to all
|
|
|
|
; local addresses).
|
|
|
|
;
|
|
|
|
[general]
|
|
|
|
port=5036
|
|
|
|
;bindaddr=192.168.0.1
|
|
|
|
;
|
|
|
|
; Specify bandwidth of low, medium, or high to control which codecs are used
|
|
|
|
; in general.
|
|
|
|
;
|
|
|
|
bandwidth=low
|
|
|
|
;
|
|
|
|
; You can also fine tune codecs here using "allow" and "disallow" clauses
|
|
|
|
; with specific codecs. Use "all" to represent all formats.
|
|
|
|
;
|
|
|
|
;allow=all ; same as bandwidth=high
|
|
|
|
;disallow=g723.1 ; Hm... Proprietary, don't use it...
|
|
|
|
disallow=lpc10 ; Icky sound quality... Mr. Roboto.
|
|
|
|
;allow=gsm ; Always allow GSM, it's cool :)
|
|
|
|
;
|
|
|
|
; You can also adjust several parameters relating to the jitter
|
|
|
|
; buffer. Specifically, you can provide a maximum jitter buffer,
|
|
|
|
; you can turn it off entirely, and you can specify an acceptable
|
|
|
|
; drop rate (per MEMORY_SIZE, by default 3 of 100). Disabling the
|
|
|
|
; jitter buffer is not recommended. Finally, you can specify the maximum
|
|
|
|
; excess jitter buffer, which if exceeded, causes the jitter buffer to
|
|
|
|
; slowly shrink in order to improve latency.
|
|
|
|
;
|
|
|
|
;jitterbuffer=no
|
|
|
|
;dropcount=3
|
|
|
|
;maxjitterbuffer=500
|
|
|
|
;maxexccessbuffer=100
|
|
|
|
;
|
2001-05-07 20:53:39 +00:00
|
|
|
; We can register with another IAX server to let him know where we are
|
|
|
|
; in case we have a dynamic IP address for example
|
|
|
|
;
|
|
|
|
;register => marko:secretpass@tormenta.linux-support.net
|
|
|
|
;register => joe@remotehost:5656
|
|
|
|
;
|
2001-10-04 20:02:12 +00:00
|
|
|
; Finally, you can set values for your TOS bits to help improve
|
|
|
|
; performance. Valid values are:
|
|
|
|
; lowdelay -- Minimize delay
|
|
|
|
; throughput -- Maximize throughput
|
|
|
|
; reliability -- Maximize reliability
|
|
|
|
; mincost -- Minimize cost
|
|
|
|
; none -- No flags
|
|
|
|
;
|
|
|
|
tos=lowdelay
|
|
|
|
;
|
|
|
|
; Trust Caller*ID Coming from iaxtel.com
|
|
|
|
;
|
|
|
|
[iaxtel]
|
|
|
|
type=user
|
|
|
|
context=default
|
|
|
|
deny=0.0.0.0/0.0.0.0
|
|
|
|
permit=216.207.245.47/255.255.255.255
|
2001-05-07 20:53:39 +00:00
|
|
|
|
2001-10-04 20:02:12 +00:00
|
|
|
;
|
2000-01-06 13:24:57 +00:00
|
|
|
; Guest sections for unauthenticated connection attempts. Just
|
|
|
|
; specify an empty secret, or provide no secret section.
|
|
|
|
;
|
|
|
|
[guest]
|
|
|
|
type=user
|
|
|
|
context=default
|
2001-10-04 20:02:12 +00:00
|
|
|
callerid="Guest IAX User"
|
2000-01-06 13:24:57 +00:00
|
|
|
;
|
|
|
|
; Further user sections may be added, specifying a context and a
|
|
|
|
; secret used for connections with that given authentication name.
|
|
|
|
; Limited IP based access control is allowed by use of "allow" and
|
|
|
|
; "deny" keywords. Multiple rules are permitted. Multiple permitted
|
|
|
|
; contexts may be specified, in which case the first will be the default.
|
2001-10-04 20:02:12 +00:00
|
|
|
; You can also override caller*ID so that when you receive a call you
|
|
|
|
; set the Caller*ID to be what you want instead of trusting what
|
|
|
|
; the remote user provides
|
2000-01-06 13:24:57 +00:00
|
|
|
;
|
|
|
|
;[markster]
|
|
|
|
;type=user
|
|
|
|
;context=default
|
|
|
|
;context=local
|
2001-05-07 20:53:39 +00:00
|
|
|
;auth=md5,plaintext
|
2000-01-06 13:24:57 +00:00
|
|
|
;secret=markpasswd
|
2001-10-04 20:02:12 +00:00
|
|
|
;callerid="Mark Spencer" <(256) 428-6275>
|
2000-01-06 13:24:57 +00:00
|
|
|
;deny=0.0.0.0/0.0.0.0
|
2001-10-04 20:02:12 +00:00
|
|
|
;permit=209.16.236.73/255.255.255.0
|
2000-01-06 13:24:57 +00:00
|
|
|
;
|
|
|
|
; Peers may also be specified, with a secret and
|
|
|
|
; a remote hostname.
|
|
|
|
;
|
|
|
|
[demo]
|
|
|
|
type=peer
|
|
|
|
username=asterisk
|
|
|
|
secret=supersecret
|
2001-03-30 22:04:14 +00:00
|
|
|
host=216.207.245.57
|
2000-01-06 13:24:57 +00:00
|
|
|
;host=asterisk.linux-support.net
|
|
|
|
;port=5036
|
|
|
|
;mask=255.255.255.255
|
2001-10-04 20:02:12 +00:00
|
|
|
|
|
|
|
;
|
|
|
|
; Peers can remotely register as well, so that they can be
|
|
|
|
; mobile. Default IP's can also optionally be given but
|
|
|
|
; are not required. Caller*ID can be suggested to the other
|
|
|
|
; side as well if it is for example a phone instead of another
|
|
|
|
; PBX.
|
|
|
|
;
|
|
|
|
|
|
|
|
;[dynamichost]
|
|
|
|
;host=dynamic
|
|
|
|
;secret=mysecret
|
|
|
|
;defaultip=216.207.245.34
|
|
|
|
;callerid="Some Host" <(256) 428-6011>
|
|
|
|
;
|
|
|
|
|
|
|
|
;
|
|
|
|
; Friends are a short cut for creating a user and
|
|
|
|
; a peer with the same values.
|
|
|
|
;
|
|
|
|
;[marko]
|
|
|
|
;type=friend
|
|
|
|
;host=dynamic
|
|
|
|
;secret=moofoo
|
|
|
|
;context=default
|
|
|
|
;allow=0.0.0.0/0.0.0.0
|