RTP Proxy Issue - Calls made before 5 minutes have past fail to proxy

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Greetings,

I'm having an issue with RTP proxying.

In my scenario, I have a multihomed box, but for the time being, I'm just using one interface as I try to debug this.

I setup my two endpoints to register (A Polycom HDX 8000 and Polycom PVX)

Registration is fine. And I can always initiate a call between the two endpoints.

The problem comes in on RTP proxying.  

(Now before you ask, the reason I am proxying between two endpoints on the same network is merely for testing purposes for now.  Eventually I will be having one endpoint on the internal network and the rest on the public internet, but I at least wanted to get the proxying working first.)

So the first call I initiate between the two endpoints works flawlessly.  Audio, and video transfer and it works great.  If I hang up the call and try again, the call is initiated and both units seem to acknowledge the call, but no audio and video transfer.  When looking at the wireshark capture, Everything looks the same up through H.245 openLogicalchannel packets.  On a successful call, those packets are sent from both ends and acknowledged from the gateway.  On a failed call, packets from the client are sent, but then there are multiple TCP restransmits of that packet because the gatekeeper doesn't respond.  Of course because the negotiation doesn't complete, the call doesn't have any audio or video and will eventually time out and hang up on itself.

Now here is where it gets stranger.  If I wait 5 or so minutes between calls, the call is also always successful, but attempts before 5 minutes have passed fail.

I have already checked TCP_WAIT to make sure that sockets haven't been left open.  Even if I wait about 30-60 seconds before all the TCP_WAITs are cleared, that doesn't help, still need to wait the full 5 minutes.

Some details.

Running CVS openh323gk as of 12-26-2010 (originally started with latest release)

I have checked for errors on my local network (switches, network interfaces etc) and have found none.

Calls NOT proxied though the gatekeeper (but still using the gatekeeper to setup the calls) complete every time

IPTables is wide open for the two devices connecting to the gateway (And each other for that matter)

I always appear to be seeing my gateway ip address (as expected) on requests and RTP streams (when it works), when it doesn't I see no RTP stream in either direction.

Getting rid of ProxyAlways solves the issue, however the goal is to proxy all calls through the gateway so I don't have to firewall them. (also I eventually plan on adding some recording capability in the future)

Current config:

[Gatekeeper::Main]
FortyTwo=42
Name=GnuGk
TimeToLive=600
Home=10.200.2.1

[GkStatus::Auth]
rule=password
admin=W6JrwaYr2qQ=

[RoutedMode]
GKRouted=1
CallSignalPort=1720
RemoveH245AddressOnTunneling=1
DropCallsByReleaseComplete=1
SupportNATedEndpoints=1
Q931PortRange=30000-30099
H245PortRange=30100-30199

[Proxy]
Enable=1
ProxyAlways=1
T120PortRange=30200-30299
RTPPortRange=30300-30399

I can post some logs and packet captures if anybody thinks that will help, but I didn't want to initially post such a giant message in case there is something simple I am missing.

Thanks,


Raymond McKay
President
RAYNET Technologies LLC
http://www.raynettech.com
ph +1 (860) 693-2226 x 31
Toll Free (877) 693-2226 x 31
Fax +1 (860) 693-3919


------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________________

Posting: mailto:Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx
Archive: http://sourceforge.net/mailarchive/forum.php?forum_name=openh323gk-users
Unsubscribe: http://lists.sourceforge.net/lists/listinfo/openh323gk-users
Homepage: http://www.gnugk.org/


[Index of Archives]     [SIP]     [Open H.323]     [Gnu Gatekeeper]     [Asterisk PBX]     [ISDN Cause Codes]     [Yosemite News]

  Powered by Linux