[Asterisk-Users] Multiple IAX Phones Behind NAT
Steve Kann
stevek at stevek.com
Fri Mar 11 14:37:23 MST 2005
Harold Fletcher wrote:
>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.
>
Nope.
Asterisk would then know that these three users have registered from
NAT-ADDRESS:natted-port, where natted-port will be different for each user.
> 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?
>
No, asterisk will send it to the same port the registration came from,
which should be different for each user.
> In that case I don't
>understand how the NAT can know to which user the incoming call is
>referring.
>
>
Because when it sends out the registrations, each inside machine will
get a different external port assigned.
>Will Fletcher
>
>
>
>Auburn University
>Department of Computer Science
>107 Dunstan Hall
>Auburn, AL 36849
>334-332-9544
>fletchw at auburn.edu
>
>
>>>>stevek at 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 at 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 at 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
>
>
>
More information about the asterisk-users
mailing list