Hi folks, Ok, I've seen this question go unanswered on the mailing list, and I assume it's because no one had the heart to break the bad news to the guy asking, but be honest with me, I can take it. At this time it's flat impossible to have multiple IAX phones behind a NAT without using an * gateway because there's no way to have a client listen on a port besides 4569. Is my only option to learn about SIP and attempt to forward that through my NAT? Thanks, Will Fletcher -- Auburn University Department of Computer Science 107 Dunstan Hall Auburn, AL 36849 334-332-9544 fletchw@auburn.edu <mailto:fletchw@auburn.edu> -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20050311/1a2ea0d1/attachment.htm
Will Fletcher wrote:> Hi folks, > > Ok, I've seen this question go unanswered on the mailing list, and I > assume it's because no one had the heart to break the bad news to the > guy asking, but be honest with me, I can take it. At this time it's > flat impossible to have multiple IAX phones behind a NAT without using > an * gateway because there's no way to have a client listen on a port > besides 4569. Is my only option to learn about SIP and attempt to > forward that through my NAT?Not true; You just need the iax phones to register, and then they will work fine through the NAT; whatever port they're on on local machines, and whatever port they get NATted to won't matter. -SteveK
Steve: But how will that work for incoming calls? Assume that three phones have registered with an Asterisk box from inside a NAT, then * knows that these three users can be found at x.x.x.x port 4569. When * receives an incoming call intended for one of those users, all it can do is forward those calls to x.x.x.x:4569, right? In that case I don't understand how the NAT can know to which user the incoming call is referring. Will Fletcher Auburn University Department of Computer Science 107 Dunstan Hall Auburn, AL 36849 334-332-9544 fletchw@auburn.edu>>> stevek@stevek.com 03/11/05 11:22 AM >>>Will Fletcher wrote:> Hi folks, > > Ok, I've seen this question go unanswered on the mailing list, and I > assume it's because no one had the heart to break the bad news to the > guy asking, but be honest with me, I can take it. At this time it's > flat impossible to have multiple IAX phones behind a NAT without using> an * gateway because there's no way to have a client listen on a port > besides 4569. Is my only option to learn about SIP and attempt to > forward that through my NAT?Not true; You just need the iax phones to register, and then they will work fine through the NAT; whatever port they're on on local machines, and whatever port they get NATted to won't matter. -SteveK _______________________________________________ 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
The port for sip is 5060. Why no just map an ext to an internal and the problem us solved. Assuming you have FW access and enough Ips. W -----Original Message----- From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Harold Fletcher Sent: Friday, March 11, 2005 10:55 AM To: asterisk-users@lists.digium.com Subject: Re: [Asterisk-Users] Multiple IAX Phones Behind NAT Steve: But how will that work for incoming calls? Assume that three phones have registered with an Asterisk box from inside a NAT, then * knows that these three users can be found at x.x.x.x port 4569. When * receives an incoming call intended for one of those users, all it can do is forward those calls to x.x.x.x:4569, right? In that case I don't understand how the NAT can know to which user the incoming call is referring. Will Fletcher Auburn University Department of Computer Science 107 Dunstan Hall Auburn, AL 36849 334-332-9544 fletchw@auburn.edu>>> stevek@stevek.com 03/11/05 11:22 AM >>>Will Fletcher wrote:> Hi folks, > > Ok, I've seen this question go unanswered on the mailing list, and I > assume it's because no one had the heart to break the bad news to the > guy asking, but be honest with me, I can take it. At this time it's > flat impossible to have multiple IAX phones behind a NAT without using> an * gateway because there's no way to have a client listen on a port > besides 4569. Is my only option to learn about SIP and attempt to > forward that through my NAT?Not true; You just need the iax phones to register, and then they will work fine through the NAT; whatever port they're on on local machines, and whatever port they get NATted to won't matter. -SteveK _______________________________________________ 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 _______________________________________________ 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
> Ok, I've seen this question go unanswered on the mailing list, and I assume it's because noone had the heart to break the bad> news to the guy asking, but be honest with me, I can take it. At this time it's flatimpossible to have multiple IAX phones> behind a NAT without using an * gateway because there's no way to have a client listen on aport besides 4569. Is my only> option to learn about SIP and attempt to forward that through my NAT?Multiple iax phones behind a nat box is known to function correctly. However, some nat boxes do not properly handle this. The easiest way to analyze the problem is to use a packet sniffer (eg, ethereal) on the outside of the nat box to see what it's doing to you.