Re: RTP proxying

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

 



Hi Stewart,

At 01:41 PM 4/5/2005, you wrote:
Hi Ganbold,

> Does gnugk support RTP proxying?

Sure, see http://gnugk.org/gnugk-manual-4.html .
In section [RoutedMode], set:
GKRouted=1
H245Routed=1
SupportNATedEndpoints=1
then see section [Proxy] for various details.

> Because I'm having trouble making call in following scenario:
>
> endpoint1<->NAT<->endpoint2  (Both endpoints behind same NAT and NAT is
> Symmetric NAT)

Where is the GK? I assume that it is on a public IP.

Yes. It has public IP.

Is the NAT H.323-aware?

It is symmetric NAT and seems like it doesn't support h323 well. I checked the FAQ at gnugk site.
But there is strange scenario. There are 2 different kinds of h323 endpoint. One is IP phone (chinese brand),
the other one is Addpac AP200B. Addpac can make normal call to IP phone, but it can't receive a call.


When your endpoints register, do you
see the private address in the RCF console message?

Yes. I see private IP address both in radius and gnugk log messages.

2005/04/05 14:43:39.438 1 RasSrv.cxx(1056) GK RRQ Received
2005/04/05 14:43:39.439 3 radproto.cxx(1818) RADIUS Sending PDU to RADIUS server 202.179.0.x (202.179.0.x:1645) from port:10052[0,207-208], PDU: Access-Request, id 207
2005/04/05 14:43:39.495 3 radproto.cxx(1844) RADIUS Received PDU from RADIUS server 202.179.0.x (202.179.0.x:1645) by socket port:10052[0,207-208], PDU: Access-Accept, id 207
2005/04/05 14:43:39.496 3 gkauth.cxx(1201) GKAUTH RadAuth RRQ check ok
2005/04/05 14:43:39.499 2 RasSrv.cxx(1363) RCF|192.168.0.11:1720|1100001:dialedDigits=38306593:h323_ID|terminal|4225_endp;


2005/04/05 14:43:39.501 3 RasSrv.cxx(2632) GK Send to 202.179.0.164:65342
registrationConfirm {
--------------------------------------------------------------------------------------------------
User-Name = "38306593"
NAS-Identifier = "gnugk1"
NAS-Port-Type = Virtual
Service-Type = Login-User
Framed-IP-Address = 192.168.0.11
cisco-avpair = "h323-ivr-out=terminal-alias:1100001,38306593;"



If not, the NAT is not altering H.323 packets, and it should work
without RTP proxy.

I configured the endpoint in such way that it sends public IP to gnugk. This doesn't work either for incoming
calls.


However, for incoming calls to work at
all, you'll need to forward the call signaling ports across the
NAT.  This means that the endpoints must be capable of configuring
different call signal ports.

Yes. Exactly, That is why incoming call has a problem.
However if there are a lot of endpoints behind same NAT then there will be a problem
configuring NAT in such way. Too difficult to configure NAT on each customer side.


However, if you see only the public address in RCF, then the
NAT is trying to be smart, and might not handle the "hairpin"
case properly.  Try setting Enable=1 and ProxyForSameNAT=1 .

We tried above options, but didn't work.

Also, you might try setting CallSignalPort=1720.  If you already
have this, try removing it.

I will try.


> It seems like call signalling works fine, however RTP side is not working.
> Call connection is establishing, but no voice in both direction.
>

If the above does not help, try to find out precisely what is going
wrong.  Start by running Ethereal on the GK machine.  Do you see
public addresses inside H.323 packets coming from the endpoints?
If so, then either the NAT is modifying the packets, or the
endpoints might have some NAT traversal logic.  You may need to
capture packets on the LAN side of the NAT to see what is
happening.

OK. I will try. If it doesn't work, is there any h323 RTP proxy software available?
How can SIP phones work with Asterisk/SER/sipX without any NAT configuration?


thanks a lot,

Ganbold


Good luck,

Stewart

> thanks,
>
> Ganbold
>
>
>



------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

_______________________________________________________

List: Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx
Archive: http://sourceforge.net/mailarchive/forum.php?forum_id=8549
Homepage: http://www.gnugk.org/

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

  Powered by Linux