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

2013-09-10 Thread Sean Darcy
On 09/10/2013 12:15 PM, Joshua Colp wrote: Sean Darcy wrote: Maybe a different question would be helpful. Let's assume no NAT; the server is directly connected with an FQDN. Two iax devices register. Does asterisk assign them different ports? Asterisk does not assign ports. The IAX2 channel dr

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

2013-09-10 Thread Sean Darcy
On 09/10/2013 05:27 PM, Joshua Colp wrote: Sean Darcy wrote: On 09/10/2013 12:15 PM, Joshua Colp wrote: Sean Darcy wrote: Maybe a different question would be helpful. Let's assume no NAT; the server is directly connected with an FQDN. Two iax devices register. Does asterisk assign them differe

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

2013-09-10 Thread Joshua Colp
Sean Darcy wrote: On 09/10/2013 12:15 PM, Joshua Colp wrote: Sean Darcy wrote: Maybe a different question would be helpful. Let's assume no NAT; the server is directly connected with an FQDN. Two iax devices register. Does asterisk assign them different ports? Asterisk does not assign ports.

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

2013-09-10 Thread Sean Darcy
ESTABLISHED -Original Message- From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Sean Darcy Sent: Monday, September 09, 2013 7:00 PM To: asterisk-users@lists.digium.com Subject: Re: [asterisk-users] iax2: two users can't authentic

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

2013-09-10 Thread Joshua Colp
Sean Darcy wrote: Maybe a different question would be helpful. Let's assume no NAT; the server is directly connected with an FQDN. Two iax devices register. Does asterisk assign them different ports? Asterisk does not assign ports. The IAX2 channel driver, by default, binds to a single UDP por

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

2013-09-09 Thread Eric Wieling
s.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Sean Darcy Sent: Monday, September 09, 2013 7:00 PM To: asterisk-users@lists.digium.com Subject: Re: [asterisk-users] iax2: two users can't authenticate from same ip address On 09/09/2013 03:37 PM, Eric Wieling wrote

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

2013-09-09 Thread Sean Darcy
-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Sean Darcy Sent: Monday, September 09, 2013 3:30 PM To: asterisk-users@lists.digium.com Subject: Re: [asterisk-users] iax2: two users can't authenticate from same ip address Dial("IAX2/home-143

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

2013-09-09 Thread Joshua Colp
Sean Darcy wrote: home is from the home machine, which registers with the server: register => home:@ [home] type=friend insecure=port,invite secret= ; same secret as on server context=incoming host= You aren't specifying what username to authenticate as here. Add: username=home And give it

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

2013-09-09 Thread Eric Wieling
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Sean Darcy Sent: Monday, September 09, 2013 3:30 PM To: asterisk-users@lists.digium.com Subject: Re: [asterisk-users] iax2: two users can't authenticate from same ip address Dial("IAX2/home-14358", "IAX2/gn") in new stack

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

2013-09-09 Thread Sean Darcy
On 09/09/2013 01:54 PM, Joshua Colp wrote: Sean Darcy wrote: home is from the home machine, which registers with the server: register => home:@ [home] type=friend insecure=port,invite secret= ; same secret as on server context=incoming host= You aren't specifying what username to authentica

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

2013-09-09 Thread Sean Darcy
On 09/09/2013 11:08 AM, Joshua Colp wrote: Sean Darcy wrote: 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? The actual configuration entries (minus passwor

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

2013-09-09 Thread Sean Darcy
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 li

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

2013-09-09 Thread Joshua Colp
Sean Darcy wrote: 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? The actual configuration entries (minus password) for each one involved would be useful...

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

2013-09-09 Thread Eric Wieling
: [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

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

2013-09-09 Thread Julian Beach
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

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

2013-09-08 Thread Sean Darcy
I'm trying set up asterisk on an amazon instance in Sydney. It's to use for our kids in Sydney to connect with their friends in the States. We've found iax works better than sip with these distances. But we now have weird problem: everybody has a cell phone, and it's much cheaper/better to use