[Asterisk-Users] Conecting to asterisk server through NAT using IAX

2005-02-20 Thread Bartosz Wegrzyn - asterisk
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
1-2
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:[EMAIL PROTECTED]

[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


___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Conecting to asterisk server through NAT using IAX

2005-02-20 Thread timebandit001
 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
 1-2
 5036
 4569
For 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=5036

well, here's your problem, port=5036. This is not the standard IAX
port. comment that line or replace it with port=4569

hth
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users