[asterisk-users] iax2: two users can't authenticate from same ip address
Eric Wieling
EWieling at nyigc.com
Mon Sep 9 10:04:34 CDT 2013
They are assigned by the router doing the NAT translations.
-----Original Message-----
From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Sean Darcy
Sent: Monday, September 09, 2013 10:56 AM
To: asterisk-users at lists.digium.com
Subject: Re: [asterisk-users] iax2: two users can't authenticate from same ip address
On 09/09/2013 08:04 AM, Julian Beach wrote:
> Hello Sean,
>
> Sunday, September 8, 2013, 11:25:24 PM, you wrote:
>
>> The problem is that once a phone has used the server, no other phone
>> can use it. The servers sees all the phones as having the same ip
>> address (though different ports).
>
> This sounds like the Peer v Friend problem I have had in the past.
> Try setting user=friend which will match on the username and not IP
> address. I found that asterisk was matching to the first account in
> the list in IAX.CONF and authentication was then failing (or in
> the case of incoming calls, ending up in the wrong context).
>
> http://www.voip-info.org/wiki/view/Asterisk+SIP+user+vs+peer
>
> Julian
>
>
Thanks for the response.
On the server each device has type=friend.
I do notice that peer "home" has the standard iax port 4569. The other peers are assigned 1026, 1027 and 1028. How are these ports assigned?
sean
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
More information about the asterisk-users
mailing list