[Asterisk-Users] IAX2 + port translation

Dr. Michael J. Chudobiak mjc at avtechpulse.com
Fri May 26 08:33:54 MST 2006


Hi all,

I'm having trouble with incoming IAX2 calls on 1.2.7.1 - mostly they 
work, but sometimes the caller just gets dead air or disconnects. IAX2 
debugs show HANGUP and INVALID codes in these cases, rather than a 
proper RINGING transaction.

My firewall is doing NAT, and changing the source port from 4569 to 
something else - my IAX2 provider suggested this might be a problem. Is 
it? Should this work:

steerpike*CLI> iax2 show registry
Host                  Username    Perceived             Refresh  State
64.26.157.230:4569    8886708729  64.26.155.62:14353         60  Reg
64.26.157.230:4569    6134827945  64.26.155.62:14353         60  Reg
64.26.157.230:4569    6136866597  64.26.155.62:14353         60  Reg
64.26.157.230:4569    6136866675  64.26.155.62:14353         60  Reg

There are four DIDs, and all are registered to an odd port (14353). Is 
this OK? (I am using a Sonicwall TZ170 with "Enable Consistent NAT" on).


- Mike



More information about the asterisk-users mailing list