Bartosz Wegrzyn - asterisk
2005-Feb-20 14:58 UTC
[Asterisk-Users] Conecting to asterisk server through NAT using IAX
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@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
timebandit001@gmail.com
2005-Feb-20 16:36 UTC
[Asterisk-Users] Conecting to asterisk server through NAT using IAX
> 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 > 4569For IAX, only port you have to forward is 4569 UDP Notice the UDP, not TCP I'm using Linksys WRT54G and it works without a hitch.> It works ok with broadvoice, but clinets cannot connect to the server. > This is my iax.conf file > [general] > port=5036well, here's your problem, port=5036. This is not the standard IAX port. comment that line or replace it with port=4569 hth
Apparently Analagous Threads
- Conecting to asterisk server through NAT usingIAX
- VoicePulse Connect DTMF with IAX2
- calls hang up even after Background() message eventhough response timeout is set to 10 sec
- calls hang up even after Background() messageeventhough response timeout is set to 10 sec
- Re: Asterisk-Users Digest, Vol 6, Issue 144