I noticed candidates in the SDP with different IP addresses, including both of my public IP's as well as the private IP's. I'm still trying to wrap my head around how the candidates work. If you don't mind my asking, how can you tell the reflexive candidates are missing?
I'm reading
http://www.packetizer.com/rfc/rfc5245/, which has a diagram on page 9 that points to the public side of the Agents' NAT to indicate the "Server reflexive address". Looks like STUN or TURN is involved.
STUN and TURN configuration:
Not sure if this is the right thing to do, but I thought I'd try.... So.... I went into rtp.conf and res_stun_monitor.conf and added the following line in each:
I also added rtpchecksums=no to the rtp.conf file as well. Tried both with and without.
Additionally, I configured TURN settings as well in rtp.conf
turnusername=MYUSERNAME
turnpassword=MYPASSWORD
XLite To XLite:
The good news is that I can get two way audio between my 2 XLite clients!! This is the first time I've had two-way audio on this server. Success!! Sort of :)
XLite to Chrome results in the following WARNING:
[Sep 27 21:27:50] WARNING[9653]: chan_sip.c:4126 __sip_autodestruct: Autodestruct on dialog '35067d6609e84e0f...@50.20.W.W:5060' with owner SIP/1061-00000001 in place (Method: BYE). Rescheduling destruction for 10000 ms
There's no audio on XLite to Chrome
Chrome to Chrome
There's no audio here either. I've attached the console logs and Asterisk logs for this session as well.
Let me know if you think it's possible or not to get this working with NAT on both ends. We're more than happy to continue providing test cases if it helps move this along. If not, if it's best to use a completely public server with NO NAT, please let me know and we'll do that too. We're happy to help move the NAT side along if need be. Just let me know if this is something I need to report to Digium/Asterisk or if I should continue here.
50.10.Z.Z - Public IP in front of clients
10.X.Y.1 - Mac Chrome client private IP
10.X.Y.2 - XP Chrome client private IP
50.20.W.W - Public IP in front of Asterisk 11
10.1.2.3 - Private IP of Asterisk 11 server
Thanks again for your help!
James