[Asterisk-Users] Conecting to asterisk server through NAT using IAX
Bartosz Wegrzyn - asterisk
junk at lexon.ws
Sun Feb 20 14:58:02 MST 2005
Hello,
I have asterisk setup with Broadvoice.
It works great as PBX and Outgoing calling server for all local clients
withing 192.168.1.0 network. My asterisk is running over NAT.
I use linksys router.
Now, I am trying to connect from outside to my asterisk server.
I use Diax as iax client.
For some reason I cannot connect to my server from outside.
On my router I forward those ports to my asterisk server.
5060-5063
10000-20000
5036
4569
It works ok with broadvoice, but clinets cannot connect to the server.
This is my iax.conf file
[general]
port=5036
tos=lowdelay
jitterbuffer=no
disallow=all
allow=ulaw
allow=ilbc
allow=gsm
allow=adpcm
allow=alaw
register => xxx:xxx at gwiax-in-01.voicepulse.com
[guest]
type=user
context=abcxyz
auth=none
[voicepulse-in-01] ; <-- Name must be [voicepulse-in-01]
type=user
context=voicepulse-incoming ; <-- Should match the context you
; are using in extensions.conf
auth=rsa
inkeys=voicepulse01
[tester]
type=friend
context=sip
auth=plaintext
secret=secrwt
host=dynamic
allow=all
nat =1
Clients cannot connect to asterisk. WHY???
Am I doing something wrong?
Please help.
Thanks
Bart
More information about the asterisk-users
mailing list