[asterisk-users] iax2: two users can't authenticate from same ip address

Julian Beach jb_soft at trink.co.uk
Mon Sep 9 07:04:31 CDT 2013


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


-- 
Best regards,
 Julian                            mailto:jb_soft at trink.co.uk




More information about the asterisk-users mailing list