From: Adam H. <ad...@te...> - 2004-02-08 22:30:55
|
> More Data: > > Watching the trace, the error seems to take place after the timeout for the > transfer attempt. As Adam pointed out, IAX2 always tries to establish a > native bridge. Somehow our clients, being both NATed behind the same NAT > device (i.e. both using the same real outside IP address) are unable to > connect natively (the NAT router is not smart enough to "pinwheel" IAX > packets?) so the connection does not work. I've been meaning to talk to Mark about this. I want to add something to IAX to allow two people behind the same nat to talk to each other (many NAT routers can't do "pinwheel") > > Oddly, the IAX protocol seems to default to switching over to a > native-bridged operation UNLESS it receives tacit failure messages from both > sides. > Neg, it's actually when it receives a confirmation from both sides. So in your situation where both parties can't talk to each other, it should remain communicating through the server. > Can we set a noreinvite flag for IAX (I know, I should look at the > source...) to prevent the system from event trying to reinvite the audio > point-to-point? > > I want to blame the "both clients behind the same NAT screen" factor, but I > have had client-to-client calls loose audio after 1 minute even when users > are calling in from outside. I think you're answered why before, from one of your emails >Question: If the client ultimately sends a transfer reject message back to >Asterisk, why would Asterisk stop relaying the mini-frames (i.e. why would >it assume the native transfer took place)? From the trace I attached >before, it looks like the client sends a TXCNT message, followed by a number >of TXREJ messages. It appears to never receive an ACK from the Asterisk for >the TXREJ message (or is it the other client it is rejecting?) so it sends >it multiple times. Ding Ding Ding, for whatever reason the TXREJ aren't getting ACK'd. IAX will kill any session when a packet times out. > > Thoughts? > > Adam, did you have anything like this spring up in Firefly? Nope, sorry |