The iax.conf file begins with a general section, which sets global server options. Within the general section, we can also configure theAsterisk server to register as a client with a remote server, for accessto the dialplan of another Asterisk system.Following the general section, clients are defined, one per section.Sections are delineated by their name in brackets.
[general]
;set up some general items
port=5036
accountcode=iaxcalls
amaflags=default
bandwidth=low
allow=gsm
disallow=lpc10
jitterbuffer=yes
dropcount=3
maxjitterbuffer=500
maxexcessjitterbuffer=100
register =>
asterisk1:opensecret@telco.digium.com
context=iax
;from here on it’s client definitions
[trustedhost]
host=192.168.0.50
trunk=yes
context=trusted
[authhost]
secret=foobar
host=dynamic
defaultip=68.62.178.239
[rsahost]
auth=rsa
inkeys=rsapublickey
host=dynamic
defaultip=216.207.245.55
accountcode=log1234
callerid=”Mark Spencer” <256 428 6000>
Read More:http://bananabread.net/AsteriskHandbk_w_Bkmarks.pdf
0 comments:
Post a Comment